Nvidia-smi does not recognize two GPUs (shows 1)

Hello,

My device has two NVIDIA RTX 3090s, Ubuntu 20.04, with the latest NVIDIA driver.
However, nvidia-smi only shows one GPU:

The output of lspci | grep -i nvidia is as follows:

0b:00.0 VGA compatible controller: NVIDIA Corporation Device 2204 (rev a1)
0b:00.1 Audio device: NVIDIA Corporation Device 1aef (rev a1)
0c:00.0 VGA compatible controller: NVIDIA Corporation Device 2204 (rev a1)
0c:00.1 Audio device: NVIDIA Corporation Device 1aef (rev a1)

which shows that two GPUs are detected by the PCI bus.

I am confused why two GPUs are not detected by nvidia-smi.
Any help is greatly appreciated, thanks!
I have also attached the nvidia bug report, if that helps.
nvidia-bug-report.log.gz (319.3 KB)

Please blacklist the nvidiafb module.

1 Like

It worked! Thank you so much!