Intel HD Graphics crash when resuming from suspend

Technical issues/questions of an intermediate or advanced nature.
tome
Contributor
Contributor
Posts: 675
Joined: 26 Jun 2013, 14:03
Distribution: x64 Openbox
Location: Russia is causing the immense damage to humanity
Contact:

Intel HD Graphics crash when resuming from suspend

Post#1 by tome » 16 Dec 2016, 17:45

Does anyone know how to avoid graphics corruption when resuming from suspend (I click mouse in one point but start thing from another point, and similar behavior). A workaround could be switching virtual terminals and then suspend/resume (chvt 1 && suspend-command && chvt 7) but I want do it without root privileges.
EDIT: Another solution is to switch to display manager:

Code: Select all

/usr/bin/dbus-send --system --print-reply --dest="org.freedesktop.UPower" /org/freedesktop/UPower org.freedesktop.UPower.Suspend
/usr/sbin/lxdm -c USER_SWITCH
EDIT: Solved with new xorg http://forum.porteus.org/viewtopic.php?f=75&t=6721
You have mind and feelings. Be wise and clever.