1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

nvidia-smiがNo devices were foundで困った時に試したこと

Posted at

env

Ubuntu24.04(x86_64)
GeForece RTX 50 series

grub設定

pci=reallocと追記した

/etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash pci=realloc"

適用する

update-grub
reboot

参考:
https://github.com/NVIDIA/open-gpu-kernel-modules/issues/862

ドライバをrunインストールする際に、MIT/GPLを選んだ

chmod +x NVIDIA-Linux-x86_64-580.105.08.run
./NVIDIA-Linux-x86_64-580.105.08.run 
reboot

ubuntu-drivers devicesも試したが、どうしても認識してもらえず、切り分けのためドライバのrunインストールをした。MIT/GPLライセンスを選ぶと上手く入った。

check

nvidia-smi
output
Wed Nov 26 04:20:20 2025       
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 580.105.08             Driver Version: 580.105.08     CUDA Version: 13.0     |
+-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA GeForce RTX 5080        Off |   00000000:01:00.0 Off |                  N/A |
|  0%   37C    P8             10W /  400W |      15MiB /  16303MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+

+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI              PID   Type   Process name                        GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|    0   N/A  N/A            1665      G   /usr/lib/xorg/Xorg                        4MiB |
+-----------------------------------------------------------------------------------------+

補遺

Ubuntu22.04だからダメなのかなってUbuntu24.04にアップグレードしてしまった。22.04でも同じ方法で入ったのかもしれない。余力あればいずれ試すが、PyTorch使う分には24.04でも大丈夫そう。

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?