FS#72903 - [nvidia] dbus spamming

Attached to Project: Arch Linux
Opened by Nigel Kukard (nkukard) - Thursday, 02 December 2021, 15:40 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Monday, 07 February 2022, 06:59 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Felix Yan (felixonmars)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

ref NVidia bug report https://forums.developer.nvidia.com/t/bug-nvidia-v495-29-05-driver-spamming-dbus-enabled-applications-with-invalid-messages/192892/20

Is there possibly any way we can get the fix from Gentoo added?
https://gitweb.gentoo.org/repo/gentoo.git/tree/x11-drivers/nvidia-drivers/nvidia-drivers-495.44-r2.ebuild#n178


This fills up the logs in Arch: (on a 5900X its about 100-200 messages per second)
Dec 02 13:14:37 nkukard-desktop3.local dbus-daemon[880]: [system] Rejected: destination has a full message queue, 0 matched rules; type="error", sender="(unset)" ((bus)) interface="(unset)>
Dec 02 13:14:37 nkukard-desktop3.local dbus-daemon[880]: [system] Rejected: destination has a full message queue, 0 matched rules; type="error", sender="(unset)" ((bus)) interface="(unset)>
Dec 02 13:14:37 nkukard-desktop3.local dbus-daemon[880]: [system] Rejected: destination has a full message queue, 0 matched rules; type="error", sender="(unset)" ((bus)) interface="(unset)>
Dec 02 13:14:37 nkukard-desktop3.local dbus-daemon[880]: [system] Rejected: destination has a full message queue, 0 matched rules; type="error", sender="(unset)" ((bus)) interface="(unset)>
Dec 02 13:14:37 nkukard-desktop3.local dbus-daemon[880]: [system] Rejected: destination has a full message queue, 0 matched rules; type="error", sender="(unset)" ((bus)) interface="(unset)>
Dec 02 13:14:37 nkukard-desktop3.local dbus-daemon[880]: [system] Rejected: destination has a full message queue, 0 matched rules; type="error", sender="(unset)" ((bus)) interface="(unset)>
Dec 02 13:14:37 nkukard-desktop3.local dbus-daemon[880]: [system] Rejected: destination has a full message queue, 0 matched rules; type="error", sender="(unset)" ((bus)) interface="(unset)>
Dec 02 13:14:37 nkukard-desktop3.local dbus-daemon[880]: [system] Rejected: destination has a full message queue, 0 matched rules; type="error", sender="(unset)" ((bus)) interface="(unset)>
Dec 02 13:14:37 nkukard-desktop3.local dbus-daemon[880]: [system] Rejected: destination has a full message queue, 0 matched rules; type="error", sender="(unset)" ((bus)) interface="(unset)>
Dec 02 13:14:37 nkukard-desktop3.local dbus-daemon[880]: [system] Rejected: destination has a full message queue, 0 matched rules; type="error", sender="(unset)" ((bus)) interface="(unset)>
Dec 02 13:14:37 nkukard-desktop3.local dbus-daemon[880]: [system] Rejected: destination has a full message queue, 0 matched rules; type="error", sender="(unset)" ((bus)) interface="(unset)>
Dec 02 13:14:37 nkukard-desktop3.local dbus-daemon[880]: [system] Rejected: destination has a full message queue, 0 matched rules; type="error", sender="(unset)" ((bus)) interface="(unset)>
Dec 02 13:14:37 nkukard-desktop3.local dbus-daemon[880]: [system] Rejected: destination has a full message queue, 0 matched rules; type="error", sender="(unset)" ((bus)) interface="(unset)>
Dec 02 13:14:37 nkukard-desktop3.local dbus-daemon[880]: [system] Rejected: destination has a full message queue, 0 matched rules; type="error", sender="(unset)" ((bus)) interface="(unset)>
Dec 02 13:14:37 nkukard-desktop3.local dbus-daemon[880]: [system] Rejected: destination has a full message queue, 0 matched rules; type="error", sender="(unset)" ((bus)) interface="(unset)>
Dec 02 13:14:37 nkukard-desktop3.local dbus-daemon[880]: [system] Rejected: destination has a full message queue, 0 matched rules; type="error", sender="(unset)" ((bus)) interface="(unset)>
Dec 02 13:14:37 nkukard-desktop3.local dbus-daemon[880]: [system] Rejected: destination has a full message queue, 0 matched rules; type="error", sender="(unset)" ((bus)) interface="(unset)>
Dec 02 13:14:37 nkukard-desktop3.local dbus-daemon[880]: [system] Rejected: destination has a full message queue, 0 matched rules; type="error", sender="(unset)" ((bus)) interface="(unset)>
Dec 02 13:14:37 nkukard-desktop3.local dbus-daemon[880]: [system] Rejected: destination has a full message queue, 0 matched rules; type="error", sender="(unset)" ((bus)) interface="(unset)>
Dec 02 13:14:37 nkukard-desktop3.local dbus-daemon[880]: [system] Rejected: destination has a full message queue, 0 matched rules; type="error", sender="(unset)" ((bus)) interface="(unset)>
Dec 02 13:14:37 nkukard-desktop3.local dbus-daemon[880]: [system] Rejected: destination has a full message queue, 0 matched rules; type="error", sender="(unset)" ((bus)) interface="(unset)>
Dec 02 13:14:37 nkukard-desktop3.local dbus-daemon[880]: [system] Rejected: destination has a full message queue, 0 matched rules; type="error", sender="(unset)" ((bus)) interface="(unset)>
This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Monday, 07 February 2022, 06:59 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed with current drivers
Comment by Mark Wagie (yochananmarqos) - Thursday, 02 December 2021, 17:12 GMT
This should have been filed against nvidia-utils, not nvidia.

If Gentoo's patch were to be implemented, both nvidia-utils and lib32-nvidia-utils would need a sed line:


nvidia-utils:

# temporary workaround for dbus powerd spam in 495 series
# https://forums.developer.nvidia.com/t/bug-nvidia-v495-29-05-driver-spamming-dbus-enabled-applications-with-invalid-messages/192892/14
sed 's/\x0f\x84\[\x01\x00\x00\x4c\x8d/\xe9\x5c\x01\x00\x00\x00\x4c\x8d/' \
-i libnvidia-glcore.so.495.44

lib32-nvidia-utils:

# temporary workaround for dbus powerd spam in 495 series
# https://forums.developer.nvidia.com/t/bug-nvidia-v495-29-05-driver-spamming-dbus-enabled-applications-with-invalid-messages/192892/14
sed 's/\x0f\x84\x65\x01\x00\x00\x83\xec\x08\x89/\xe9\x66\x01\x00\x00\x00\x83\xec\x08\x89/' \
-i libnvidia-glcore.so.495.44
Comment by Sven-Hendrik Haase (Svenstaro) - Thursday, 02 December 2021, 21:55 GMT
Changing the binary data from nvidia would potentially give us legal trouble so I won't do that.
Comment by Mark Wagie (yochananmarqos) - Thursday, 02 December 2021, 22:49 GMT
@Sven: Good call.
Comment by Jonathon (jonathon) - Monday, 20 December 2021, 13:34 GMT
Adding a data point, fixing this also fixes an issue with 100% CPU or lagging external panel when internal panel is disabled on a Nvidia-based laptop.
Comment by Martin Rys (C0rn3j) - Tuesday, 11 January 2022, 10:28 GMT
Workaround for now (after making noise in the Nvidia forum) is to install and enable https://aur.archlinux.org/packages/nvidia-fake-powerd/
Comment by Martin Rys (C0rn3j) - Tuesday, 11 January 2022, 16:50 GMT
This bug is fixed in the next series, the 510.xx beta changelog mentions it:

* Fixed a bug which caused OpenGL and Vulkan applications to generate excessive traffic over dbus while attempting to communicate with nvidia-powerd, even though nvidia-powerd was not running.

https://www.nvidia.com/Download/driverResults.aspx/184911/en-us

I guess there's nothing to do but wait for it to hit stable.

Loading...