Comment 139 for bug 1803179

Revision history for this message
In , kris7topher (kris7topher-linux-kernel-bugs) wrote :

Played around even more. If I set "su -c 'env DISPLAY=:0 DRI_PRIME=1 glxinfo' my_username >/dev/null" as a post-suspend hook in systemd, my GPU returns to state 1 after resume. It would be better to set this hook in KDE, so I don't have to jump through hooks to run in on the X server / with the correct authentication cookie, but I couldn't find a way to do that. I guess this could much rather be done from the kernel, but I am not familiar with nouveau source code at all to write a patch.

Resuming from hibernation, on the other hand, is completely broken and leads to a lockup.