You are not logged in.

#1 Today 09:36:50

markusgalileo
Member
Registered: Today
Posts: 1

how to set/check nvidia module parameters

Hello,

I have random video crashes with my nvidia GPU (using nvidia drivers, not nouveau), and I'm trying to exclude possible causes, e.g. the GSP firmware,
but I cant seem to be able to disable it.

I've added this line to /etc/modprobe.d/nvidia.conf:

options nvidia NVreg_EnableGpuFirmware=0

Here are all nvidia mod options:

 $ systemd-analyze cat-config modprobe.d | grep -i nvidia
...
# /etc/modprobe.d/nvidia.conf
options nvidia NVreg_EnableGpuFirmware=0
options nvidia_drm modeset=1

and I made sure mkinitcpio loads this file:

$ cat /etc/mkinitcpio.conf | grep nvidia
FILES=(/etc/modprobe.d/nvidia.conf)

and the generated initramfs.img seems to include it:

$ sudo lsinitcpio /boot/initramfs-linux.img | grep 'nvidia.conf'
etc/modprobe.d/nvidia.conf

Yet (after rebooting), the nvidia module does not list any parameter at all:

 ls -l /sys/module/nvidia
total 0
-r--r--r-- 1 root root 4096 Feb 25 09:35 coresize
drwxr-xr-x 2 root root    0 Feb 25 09:36 drivers
drwxr-xr-x 2 root root    0 Feb 25 09:35 holders
-r--r--r-- 1 root root 4096 Feb 25 09:36 initsize
-r--r--r-- 1 root root 4096 Feb 25 09:35 initstate
drwxr-xr-x 2 root root    0 Feb 25 09:36 notes
-r--r--r-- 1 root root 4096 Feb 25 09:35 refcnt
drwxr-xr-x 2 root root    0 Feb 25 09:36 sections
-r--r--r-- 1 root root 4096 Feb 25 09:36 srcversion
-r--r--r-- 1 root root 4096 Feb 25 09:36 taint
--w------- 1 root root 4096 Feb 25 09:35 uevent
-r--r--r-- 1 root root 4096 Feb 25 09:36 version

while the nvidia_drm parameter appears as expected:

$ sudo cat /sys/module/nvidia_drm/parameters/modeset
Y

(granted, it could be coming from somewhere else/by default now, not sure)

and ultimately, the GSP firmware is still active:

$ nvidia-smi -q | grep GSP
    GSP Firmware Version                               : 590.48.01

Any idea what's missing here, any other way to force the NVreg_EnableGpuFirmware=0 module parameter?

Thanks for your input!

Offline

#2 Today 13:45:47

ifaigios
Member
Registered: 2012-07-09
Posts: 9

Re: how to set/check nvidia module parameters

The nvidia-open driver (which is now the default in Arch) relies on the GSP firmware to bring up the GPU, so you cannot disable it. As the wiki article you mentioned states:  "This only works with the proprietary NVIDIA driver"

Offline

Board footer

Powered by FluxBB