Why are nvidia module parameters not available in /sys/module/nvidia/parameters/*?

As the topic says:
Why are nvidia module parameters not available in /sys/module/nvidia/parameters/* ?
Took me a while to find them in /proc/driver/nvidia/params.

Actually there is one parameter present:
/sys/module/nvidia/parameters/nv_cap_enable_devfs

But those I defined in /etc/modprobe.d/nvidia.conf are not there.
So standard tools like systool -vm nvidia fail to provide the desired information.

I found other people during a search, looking for the parameter values, so I’m not alone.

System: Linux Mint 19.3
Kernel: 5.11.10 (custom vanilla)
Driver version: 460.67

I’ll omit a bug-report for now, as I don’t think it’s required for this.

Thanks a bunch… :-)

2 Likes

I guess this stems from the fact the nvidia driver had compatibility to kernels before sysfs had been added. Though that compatibility has been dropped recently so it is due to be dropped.