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.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1803179

Title:
  System does not reliably come out of suspend

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/1803179/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to