https://bugs.kde.org/show_bug.cgi?id=521864
--- Comment #8 from Evert Vorster <[email protected]> --- Created attachment 193611 --> https://bugs.kde.org/attachment.cgi?id=193611&action=edit The log, now with drmdebug goodness. Sorry for the delay. Here is the file with the drmdebug info. I was actually able to switch to a tty with Ctrl+Alt+F4, but the information was captured automatically with this script: ``` #!/bin/bash # Capture kernel DRM debug log during a suspend/resume cycle # for KWin DRM bug #521864 debugging. # Place at: /usr/lib/systemd/system-sleep/drm-debug-capture # Then: chmod +x /usr/lib/systemd/system-sleep/drm-debug-capture LOGDIR="/home/evert" TIMESTAMP=$(date +%Y%m%d-%H%M%S) case "$1" in pre) echo 0x1FF > /sys/module/drm/parameters/debug dmesg -C > /dev/null 2>&1 dmesg -w > /tmp/drm-debug-dmesg.log 2>&1 & echo $! > /tmp/drm-debug-dmesg.pid ;; post) sleep 5 if [ -f /tmp/drm-debug-dmesg.pid ]; then kill $(cat /tmp/drm-debug-dmesg.pid) 2>/dev/null rm -f /tmp/drm-debug-dmesg.pid fi echo 0 > /sys/module/drm/parameters/debug if [ -f /tmp/drm-debug-dmesg.log ]; then mv /tmp/drm-debug-dmesg.log "$LOGDIR/drm-debug-resume-$TIMESTAMP.log" fi ;; esac ``` I copied it like so: sudo cp /home/evert/drm-debug-capture /usr/lib/systemd/system-sleep/ sudo chmod +x /usr/lib/systemd/system-sleep/drm-debug-capture This will of course run the script on suspend and resume, and on resume output the log file. I was assuming that I won't be able to log into the system with no screens, so it needed to run automatically. -- You are receiving this mail because: You are watching all bug changes.
