Love to live, and live to love

When it can be simple, keep it simple. When it can’t, make it simple!

nvidia-smi with RTX 5090 on Ubuntu 24.04.3

Diposkan oleh: ardnahc pada 4 Oktober, 2025

How frustating owning an RTX5090 and the driver is missing automagically? Some of the error messages according to our RTX 5090 GPU are shown here

Failed to initialize NVML: Driver/library version mismatch NVML library version: 580.95
02:00.0 VGA compatible controller: NVIDIA Corporation Device 2b85 (rev a1) 02:00.1 Audio device: NVIDIA Corporation Device 22e8 (rev a1)
ERROR: Failed to load DKMS tarball: Error! nvidia-570.181 is already added! Aborting.
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
Error! Bad return status for module build on kernel: 6.14.0-32-generic (x86_64) Consult /var/lib/dkms/nvidia/570.181/build/make.log for more information.
no devices were found
[ 9.685859] NVRM: The NVIDIA GPU 0000:02:00.0 (PCI ID: 10de:2b85) NVRM: installed in this system requires use of the NVIDIA open kernel modules.
[ 9.685875] NVRM: GPU 0000:02:00.0: RmInitAdapter failed! (0x22:0x56:884)
[ 9.686401] NVRM: GPU 0000:02:00.0: rm_init_adapter failed, device minor number 0
[ 9.712112] NVRM: The NVIDIA GPU 0000:02:00.0 (PCI ID: 10de:2b85) NVRM: installed in this system requires use of the NVIDIA open kernel modules.
[ 9.712145] NVRM: GPU 0000:02:00.0: RmInitAdapter failed! (0x22:0x56:884) [ 9.712511] NVRM: GPU 0000:02:00.0: rm_init_adapter failed, device minor number 0
[ 9.742219] NVRM: The NVIDIA GPU 0000:02:00.0 (PCI ID: 10de:2b85) NVRM: installed in this system requires use of the NVIDIA open kernel modules.
[ 9.742237] NVRM: GPU 0000:02:00.0: RmInitAdapter failed! (0x22:0x56:884)
[ 9.742773] NVRM: GPU 0000:02:00.0: rm_init_adapter failed, device minor number 0 [ 9.769103] NVRM: The NVIDIA GPU 0000:02:00.0 (PCI ID: 10de:2b85) NVRM: installed in this system requires use of the NVIDIA open kernel modules.
[ 9.769125] NVRM: GPU 0000:02:00.0: RmInitAdapter failed! (0x22:0x56:884)
[ 9.769694] NVRM: GPU 0000:02:00.0: rm_init_adapter failed, device minor number 0
[ 110.198707] NVRM: The NVIDIA GPU 0000:02:00.0 (PCI ID: 10de:2b85) NVRM: installed in this system requires use of the NVIDIA open kernel modules.
[ 110.198727] NVRM: GPU 0000:02:00.0: RmInitAdapter failed! (0x22:0x56:884)
[ 110.199156] NVRM: GPU 0000:02:00.0: rm_init_adapter failed, device minor number 0
02:00.0 VGA compatible controller [0300]: NVIDIA Corporation Device [10de:2b85] (rev a1)
02:00.1 Audio device [0403]: NVIDIA Corporation Device [10de:22e8] (rev a1)

how to solve?
sudo apt update
sudo apt --purge remove "*nvidia*" "*cuda*" "*libnvidia*"
sudo apt autoremove
sudo apt autoclean
sudo rm -rf /var/lib/dkms/nvidia/
sudo update-initramfs -u
sudo reboot


then install the official drivers from nvidia, ours was NVIDIA-Linux-x86_64-580.95.05.run .
./NVIDIA-Linux-x86_64-580.95.05.run
and… magic happens!!

CHEERS!

Posted in Diary | Dengan kaitkata: , , , , | Leave a Comment »

Train YOLO with COCO Format Dataset (Finally Solved)

Diposkan oleh: ardnahc pada 2 Oktober, 2025

After facing and wasting some days, i’m successfully trained yolo using coco dataset format. The code is available here (https://github.com/chandraw/convert_coco_to_yolo)

Started from:

  • (0 images, 118287 backgrounds, 0 corrupt)
  • labels are missing or empty in working directory
  • running the training process with 0 accuracy

Now the result is changed!!

val: New cache created: /home/aiuser/chandra/datasets/coco17/labels/val2017.cache
Plotting labels to /home/aiuser/chandra/datasets/coco17/coco2017_training/yolov8_coco/labels.jpg…
optimizer: ‘optimizer=auto’ found, ignoring ‘lr0=0.01’ and ‘momentum=0.937’ and determining best ‘optimizer’, ‘lr0’ and ‘momentum’ automatically…
optimizer: AdamW(lr=0.000119, momentum=0.9) with parameter groups 57 weight(decay=0.0), 64 weight(decay=0.0005), 63 bias(decay=0.0)
Image sizes 640 train, 640 val
Using 8 dataloader workers
Logging results to /home/chandra/yolov8_coco
Starting training for 1 epochs…

  Epoch    GPU_mem   box_loss   cls_loss   dfl_loss  Instances       Size
    1/1      3.25G      1.177        1.7      1.232        297        640: 100% ━━━━━━━━━━━━ 6111/6111 21.3it/s 4:47
             Class     Images  Instances      Box(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 130/130 16.6it/s 7.8s
               all       4151      29389      0.597      0.451      0.483      0.338

1 epochs completed in 0.082 hours.
Optimizer stripped from /home/chandra/yolov8_coco/weights/last.pt, 6.5MB
Optimizer stripped from /home/chandra/yolov8_coco/weights/best.pt, 6.5MB

Validating /home/chandra/yolov8_coco/weights/best.pt…
Ultralytics 8.3.203 🚀 Python-3.10.18 torch-2.8.0+cu128 CUDA:0 (NVIDIA GeForce RTX 5080, 15851MiB)
Model summary (fused): 72 layers, 3,151,904 parameters, 0 gradients, 8.7 GFLOPs
Class Images Instances Box(P R mAP50 mAP50-95): 100% ━━━━━━━━━━━━ 130/130 21.3it/s 6.1s
all 4151 29389 0.598 0.451 0.483 0.338
person 2395 9965 0.79 0.621 0.721 0.489
bicycle 138 298 0.655 0.383 0.435 0.25
car 502 1804 0.638 0.501 0.544 0.35
motorcycle 156 365 0.688 0.553 0.65 0.392
airplane 96 142 0.787 0.73 0.806 0.616
bus 180 269 0.743 0.647 0.721 0.588
train 152 185 0.763 0.749 0.803 0.599
truck 240 402 0.536 0.378 0.412 0.27
boat 114 408 0.518 0.301 0.349 0.183
traffic light 183 616 0.672 0.299 0.382 0.199
fire hydrant 82 97 0.785 0.691 0.738 0.575
parking meter 68 74 0.49 0.648 0.644 0.588
bench 36 59 0.659 0.525 0.56 0.436
bird 217 392 0.48 0.265 0.264 0.173
cat 116 410 0.652 0.327 0.399 0.257
dog 138 154 0.759 0.818 0.813 0.577
horse 158 193 0.767 0.653 0.709 0.556
sheep 122 264 0.78 0.625 0.699 0.512
cow 65 361 0.575 0.609 0.629 0.416
elephant 84 374 0.721 0.566 0.648 0.443
bear 88 254 0.688 0.839 0.801 0.588
zebra 49 71 0.877 0.702 0.747 0.606
giraffe 85 268 0.795 0.78 0.853 0.627
backpack 100 231 0.771 0.805 0.851 0.648
handbag 203 330 0.408 0.133 0.153 0.0727
tie 162 393 0.637 0.468 0.481 0.297
skis 256 483 0.455 0.0932 0.124 0.0666
snowboard 131 230 0.628 0.309 0.356 0.217
sports ball 92 271 0.486 0.351 0.376 0.246
kite 84 115 0.825 0.615 0.729 0.54
baseball bat 120 241 0.542 0.286 0.324 0.166
baseball glove 49 69 0.385 0.319 0.32 0.193
skateboard 166 258 0.671 0.348 0.396 0.28
surfboard 89 334 0.573 0.518 0.528 0.345
tennis racket 95 131 0.453 0.29 0.356 0.193
bottle 100 148 0.607 0.419 0.443 0.251
wine glass 125 177 0.668 0.565 0.596 0.375
cup 146 266 0.539 0.402 0.449 0.247
fork 164 222 0.65 0.544 0.601 0.341
knife 211 539 0.551 0.425 0.438 0.293
bowl 84 255 0.72 0.322 0.425 0.277
banana 256 550 0.604 0.465 0.541 0.394
apple 138 185 0.399 0.303 0.272 0.187
sandwich 143 202 0.454 0.119 0.183 0.113
orange 114 180 0.27 0.0611 0.104 0.0654
broccoli 211 419 0.509 0.518 0.501 0.378
carrot 84 354 0.466 0.35 0.339 0.2
hot dog 55 197 0.35 0.299 0.241 0.176
pizza 89 153 0.555 0.379 0.409 0.313
donut 75 260 0.401 0.431 0.353 0.273
cake 67 298 0.495 0.349 0.371 0.198
chair 73 340 0.469 0.229 0.296 0.19
couch 46 120 0.602 0.358 0.403 0.287
potted plant 143 264 0.646 0.606 0.633 0.479
bed 59 319 0.529 0.429 0.462 0.365
dining table 107 268 0.682 0.303 0.427 0.289
toilet 388 1243 0.523 0.27 0.306 0.182
tv 97 121 0.406 0.421 0.358 0.242
laptop 77 158 0.508 0.291 0.293 0.16
mouse 96 104 0.543 0.514 0.529 0.367
keyboard 378 519 0.436 0.493 0.389 0.274
oven 75 97 0.637 0.722 0.743 0.596
sink 101 155 0.631 0.555 0.578 0.454
refrigerator 116 151 0.778 0.557 0.634 0.516
book 62 70 0.753 0.6 0.699 0.544
clock 91 174 0.49 0.132 0.206 0.106
vase 71 97 0.543 0.701 0.624 0.474
scissors 169 204 0.528 0.328 0.353 0.244
teddy bear 14 14 0.438 0.502 0.486 0.413
hair drier 42 53 0.412 0.283 0.259 0.161
toothbrush 2 2 1 0 0 0
Speed: 0.0ms preprocess, 0.3ms inference, 0.0ms loss, 0.4ms postprocess per image
Results saved to /home/chandra/yolov8_coco
Training completed!

Posted in Diary | Dengan kaitkata: , , , , , | Leave a Comment »

Perpanjang Masa Aktif Telkomsel

Diposkan oleh: ardnahc pada 25 September, 2023

Setelah sekian tahun gak ngisi blog ini lagi, akhirnya diniatin untuk ngisi blog ini lagi. Kebetulan saat ini gak ada di indonesia, dan mulai kerasa kalau harus beli paket internet, atau beli pulsa, tapi gak bisa dipake karena stay di luar negeri. Setelah dikasih tahu bahwa ada yang namanya pembelian masa aktif, langsung deh cari-cari. Ternyata beneran ada fitur itu.

Pertama, coba via aplikasi My Telkomsel, dan seperti biasa, tentunya ada menu yang berubah alias menunya gak muncul. Browsing-browsing, munculah hasil dari https://www.telkomsel.com/vas/perpanjangan-masa-aktif . Coba langsung langkah kedua alias *888# , eh muncul menunya walaupun gak lagi di indonesia. Coba-coba isi pulsa dan pilih paket, akhirnya berhasil untuk memperpanjang masa aktif kartu. Lumayan kan, daripada beli paket, tapi gak bisa dipake karena lagi ada diluar indonesia.

Posted in Diary, Indonesia, Lain-lain | Leave a Comment »

Pesan cinta, “There is no connected camera” di Mac Air.

Diposkan oleh: ardnahc pada 7 Oktober, 2015

Lagi pengen ngaca, eh tiba2 dapet pesen “There is no connected camera”. WTH, WTD, WTB, WYATB, DLL. Jelas2 camera integrated, mana bisa dicabut.

Tanya google, dapet artikel berikut:

https://discussions.apple.com/thread/4158054

Fixing “There is no connected camera” Error with a Mac FaceTime Camera

Langsung aja deh, ketik ini di terminal “sudo killall VDCAssistant“. Dan, akhirnya normal lagi deh kameranya.

Ceritanya sih, ada service yang lagi pake si kamera, tapi ternyata gagal untuk menyalakan kameranya. Dan dibiarin menggantung………… *kasian* Setelah dibunuh, si kamera bisa dijalanin lagi deh.

Posted in Diary, Mac | 1 Comment »

Saatnya berkenalan dengan Investasi

Diposkan oleh: ardnahc pada 13 Agustus, 2015

Sebuah kata yang memiliki makna penanaman uang/modal untuk mendapatkan untung. Pentingkah berinvestasi? Untuk saya pribadi, tentu saja penting dibandingkan hanya menyimpan uang saja di bank. Dimana nilai dari uang tersebut akan kalah dengan yang namanya inflasi. Dulu dengan Rp. 500 sudah bisa kencing di wc umum, sekarang udah gk bisa. Seperti itulah jahatnya inflasi. Dengan investasi, paling tidak Rp. 500 yang dulu di-invest, sekarang sudah mencapai Rp. 750 atau bahkan Rp. 1000. Dibandingkan hanya menabung di bank biasa yang paling uang yang disimpan menjadi Rp. 550-600. Paham?

Baca entri selengkapnya »

Posted in Diary, Investasi | Dengan kaitkata: , , , , , , , , , , , | Leave a Comment »

Symptoms and Causes of Network Troubleshooting

Diposkan oleh: ardnahc pada 19 Agustus, 2014

 

1
Baca entri selengkapnya »

Posted in Diary, Komputer | Dengan kaitkata: , , , | Leave a Comment »

Finding duplicate record on mysql? here it is.

Diposkan oleh: ardnahc pada 16 Juli, 2014

SELECT barcode, periode, COUNT( * )
FROM air
WHERE periode = ‘2014-07’
GROUP BY barcode
HAVING COUNT( * ) >1
LIMIT 0 , 30

Posted in Diary | Leave a Comment »

4 Alasan Kenapa Pegawai Tak Pernah Kaya

Diposkan oleh: ardnahc pada 20 Juni, 2014

Liputan6.com, New York – Bekerja kepada orang lain selamanya tak akan membuat Anda kaya. Pasalnya, Anda mengorbankan waktu dan tenaga hanya untuk membantu pemilik perusahaan menambah kekayaannya.

Mengutip laman Lifehack, Kamis (12/6/2014), meski sulit untuk memulai, tapi Anda harus berani melakukan perubahan dan mengambil risiko. Mencoba mendirikan bisnis sendiri merupakan salah satu cara untuk meningkatkan kekayaan pribadi.

Menjadi bos untuk diri sendiri tentu lebih menguntungkan karena semua pendapatan menjadi milik Anda. Berikut empat alasan mengapa karyawan tak akan pernah menjadi kaya raya:
1. Anda takut mengambil risiko

Persoalan utama para pegawai adalah zona nyaman karena terbiasa menerima uang. Dengan gaji yang diterima setiap bulan, Anda merasa dapat membayar semua tagihan dan memenuhi kebutuhan hidup sehari-hari.

Anda harus berani mendorong diri Anda keluar dari perubahan. Pekerjaan tersebut membuat Anda takut mengambil risiko keluar dan memulai bisnis sendiri. Tanpa bisnis sendiri, jarang seseorang bisa menjadi kaya raya.

2. Anda membangun kekayaan orang lain

Menjadi pegawai artinya Anda membantu atasan Anda untuk menjadi kaya raya. Anda juga menghabiskan banyak waktu pribadi untuk fokus membangun kekayaan orang lain.

Lantas bagaimana dengan Anda? Berhenti bekerja dan memulai bisnis pribadi akan membantu diri sendiri untuk kaya.

3. Anda lebih menghargai uang dari pada waktu

Ingat, waktu lebih berharga dibandingkan uang. Sejauh ini, uang adalah sesuatu yang bisa Anda simpan tapi tidak dengan waktu. Anda tak pernah bisa mengambil kembali waktu yang telah berlalu.

Sebagai pegawai, Anda menghabiskan banyak waktu untuk membantu orang lain dan bukan untuk diri sendiri. Perusahaan akan selalu mendikte jadwal pegawai dan membuat Anda sulit berusaha menambah kekayaan pribadi.

4. Anda terlalu sibuk menabung

Menyimpan uang baik untuk Anda. Tapi menabung tak membantu Anda menghasilkan uang lebih banyak. Anda memiliki pendapatan tetap dan menyisihkannya untuk digunakan di masa depan.

Dalam kondisi itu, lebih baik Anda menginvestasikan uang ke dalam bisnis Anda. Jika tidak siap Anda bisa belajar bermain saham dan melihat uang Anda terus bertambah. (Sis/Ahm)

(Agustina Melani) – See more at: http://bisnis.liputan6.com/read/2061842/4-alasan-kenapa-pegawai-tak-pernah-kaya#sthash.rKQizm7R.dpuf

Posted in Lain-lain | Leave a Comment »

Update table from the other field of the same table

Diposkan oleh: ardnahc pada 19 Juni, 2014

hell yeah.. got some tips from stackoverflow about how to update record from the other record from the same table. here is my code:

 

update `tblname` as dudul, (select id,record2 from `air` where record3=’2014-06′) AS dudul2
set dudul.record1 = dudul2.record2
where dudul.record3=’2014-07′ and dudul.id=dudul2.id;

 

thanks so.

ref: http://stackoverflow.com/questions/45494/mysql-error-1093-cant-specify-target-table-for-update-in-from-clause

Posted in Diary | Dengan kaitkata: , , , , | Leave a Comment »

how to use pin b6 and b7 on atmega 8/16/32 with arduino

Diposkan oleh: ardnahc pada 10 Mei, 2014

find something like pins_arduino.c or pin_arduino.h (mine in hardware/arduino/variants/standar/pin_arduino.h) and open it using your favorite text editor. find text below and add each 2 lines from this const.

const uint8_t PROGMEM digital_pin_to_port_PGM[] = {

PD, /* 0 */
PD,
PD,
PD,
PD,
PD,
PD,
PD,
PB, /* 8 */
PB,
PB,
PB,
PB,
PB,
PC, /* 14 */
PC,
PC,
PC,
PC,
PC,
PB, /* 20 – PB6*/
PB, /* 21 – PB7*/
};
 
const uint8_t PROGMEM digital_pin_to_bit_mask_PGM[] = {
_BV(0), /* 0, port D */
_BV(1),
_BV(2),
_BV(3),
_BV(4),
_BV(5),
_BV(6),
_BV(7),
_BV(0), /* 8, port B */
_BV(1),
_BV(2),
_BV(3),
_BV(4),
_BV(5),
_BV(0), /* 14, port C */
_BV(1),
_BV(2),
_BV(3),
_BV(4),
_BV(5),
_BV(6), /* 20 – PB6 */
_BV(7), /* 21 – PB7 */
};

Posted in Diary | Dengan kaitkata: , , , , | Leave a Comment »

 
Rancang situs seperti ini dengan WordPress.com
Mulai