( Ubuntu 22.04.1 Nvidia 525.60.11 Kernel: 5.15.0-56-generic )
I have the line “options nvidia-drm modeset=1” in three files:
grep --include=*.conf -rnw ‘/’ -e “nvidia-drm” 2>/dev/null
“/usr/lib/modprobe.d/nvidia-kms.conf:3:options nvidia-drm modeset=1”
“/etc/modprobe.d/nvidia-graphics-drivers-kms.conf:3:options nvidia-drm modeset=1”
“/etc/modprobe.d/nvidia-nomodset.conf:1:options nvidia-drm modeset=1”
If the lines are commented out, the error message disappears.
If you leave this uncommented in at least one of the files, the error message will appear again.