2nd GPU only visible to root user

Hey there, maybe it’s not a bug but rather something Gnome does/does not but today I noticed after swapping in a 2nd GPU in my system that the 2nd one is not exposed to the user.

Running nvidia-smi -L as a regular user results in:

nvidia-smi -L
GPU 0: NVIDIA GeForce RTX 3080 (UUID: GPU-6f98b267-20cc-5347-51dc-8bad07fd2ad0)

Running with sudo gives:

sudo nvidia-smi -L
GPU 0: NVIDIA GeForce RTX 3080 (UUID: GPU-6f98b267-20cc-5347-51dc-8bad07fd2ad0)
GPU 1: NVIDIA GeForce GTX 1060 6GB (UUID: GPU-57758772-7c41-0af5-7444-6b07b30ddb94)

I am running Gnome 44.1 with Wayland but the 2nd GPU is also not exposed to the user running it on X11.
In addition I have the following kernel parameters set:

options nvidia_drm modeset=1
options nvidia NVreg_PreserveVideoMemoryAllocations=1
options nvidia NVreg_OpenRmEnableUnsupportedGpus=1

I used the open kernel module before swapping in the GTX 1060 but reverted back to the closed module as Pascal is not supported by the open module.
That’s why the NVreg_OpenRmEnableUnsupportedGpus option is shown in the above configuration.

nvidia-bug-report.log.gz (552.6 KB)

Nevermind, wrong permissions set.

After running:

sudo chmod 0666 /dev/nvidia*

The 2nd GPU appeared also for the regular user.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.