You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 1, 2021. It is now read-only.
Scott Anderson edited this page Feb 18, 2020
·
7 revisions
The DRM subsystem has a module parameter affecting the amount of debug output it prints.
For several kinds of DRM errors, this is the only way we can find out why something failed, especially if it's Invalid Argument. If this appears as a DRM error in the wlroots log, please include this debug log in any issues.
echo 0xFE | sudo tee /sys/module/drm/parameters/debug # Enable verbose DRM logging
sudo dmesg -C
dmesg -w >dmesg.log &# Continuously write DRM logs to a file
sway -d >sway.log 2>&1# Reproduce the bug, then exit swayfg# Kill dmesg with Ctrl+Cecho 0x00 | sudo tee /sys/module/drm/parameters/debug
Replace sway with whatever program/compositor you're testing.
Please note that the DRM debugging log is EXTREMELY verbose. Reproduce your issue as quickly as you can, so we don't have to sift through potentially hundreds of thousands of log messages.