[Nouveau] How to set debug parameters to get the information I want?
Paul Dufresne
dufresnep at zoho.com
Sat Dec 2 20:17:33 UTC 2023
I now have something like:
GRUB_CMDLINE_LINUX="pcie_aspm=off nouveau.debug=\"info,PDISP=debug\""
in /etc/default/grub
in case you want to know why the pcie_aspm=off
it remove the AER corrected errors on PCIE device that my GTX 660 to generate
nouveau.debug=info
does not give me the information I want,
which is the state of the different engines with faulted 1 or faulted 0 after:
Apr 10 18:22:59 jenny kernel: nouveau 0000:02:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
to add more useful info in https://gitlab.freedesktop.org/xorg/driver/xf86-video-nouveau/-/issues/339
nouveau.debug=debug
produce so much "crap" that when I "dmesg > somefile"
somefile does not have all messages from boot, because there is so much unneeded info, that only unneeded info is in the file.
unneeded info looks like this:
[ 338.951804] nouveau: DRM-master:00000000:8000900b: fini completed in 7us
[ 338.951811] nouveau: DRM-master:00000000:8000900b: destroy children...
[ 338.951818] nouveau: DRM-master:00000000:8000900b: destroy running...
[ 338.951825] nouveau: DRM-master:00000000:8000900b: destroy completed in 6us...
[ 338.954303] nouveau: DRM-master:00000000:8000900b: init running...
[ 338.954313] nouveau: DRM-master:00000000:8000900b: init children...
[ 338.954319] nouveau: DRM-master:00000000:8000900b: init completed in 7us
[ 338.954911] nouveau: DRM-master:00000000:8000900b: init running...
and appears too often, but less often:
[ 339.029792] nouveau 0000:01:00.0: therm: FAN target request: 31%
[ 339.029805] nouveau 0000:01:00.0: therm: FAN target: 31
[ 339.029816] nouveau 0000:01:00.0: therm: FAN update: 31
I think, the DRM-master should not be at debug level, but on a more "paranoia" level.
Anyway, I need help to build a nouveau.debug= line that would make me achieve my goal... please!
More information about the Nouveau
mailing list