benruijl / sflock

Simple X display locker, with basic user feedback. Based on slock.
MIT License
50 stars 21 forks source link

Screen not woken up after resume from suspend. Kernel 3.7.4 #7

Open firecat53 opened 11 years ago

firecat53 commented 11 years ago

Hey...I just upgraded kernels from 3.6 to 3.7 (Archlinux). I have sflock in my systemd service file like this:

[Unit]
Description=User suspend actions
Before=sleep.target

[Service]
User=firecat53
Type=forking
Environment=DISPLAY=:0
ExecStartPre= -/usr/bin/pkill -u %u unison ;
/home/firecat53/.local/bin/music.sh stop ; /usr/bin/mysql -e 'slave stop'
ExecStart=/usr/bin/sflock

[Install]
WantedBy=sleep.target

Now, when resuming from suspend, I get a completely black screen (no backlight). I can type my password to unlock sflock , but then have to hit C-A-F1 to get back to my X VT (this also wakes up the backlight). Occasionally have to Ctrl-alt-backspace and kill X entirely to get the backlight on and back to normal again.

Commenting out sflock corrects the problem and results in a normal resume cycle.

The only other updates that could possibly be relevant (happened at the same time as the kernel upgrade) are libgl, ati-dri, and xf86-video-intel.

I did try re-compiling, but got the same result.

Thanks! Scott