lahwaacz / sxlock

MIT License
41 stars 21 forks source link

Crashes sometimes on screen off #19

Open TapGhoul opened 7 years ago

TapGhoul commented 7 years ago

When hitting esc to blank the screen, sometimes instead of blanking, sxlock crashes with this:

  Major opcode of failed request:  147 (DPMS)
  Minor opcode of failed request:  6 (DPMSForceLevel)
  Serial number of failed request:  215
  Current serial number in output stream:  218

Running antegos on x86_64

uname details:

Linux pikatop 4.11.9-1-ARCH #1 SMP PREEMPT Wed Jul 5 18:23:08 CEST 2017 x86_64 GNU/Linux

Xorg details:

Release Date: 2017-03-15
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.9.11-1-ARCH x86_64 
Current Operating System: Linux pikatop 4.11.9-1-ARCH #1 SMP PREEMPT Wed Jul 5 18:23:08 CEST 2017 x86_64
Kernel command line: initrd=\intel-ucode.img initrd=\initramfs-linux.img cryptdevice=UUID=c08f94cc-6ff0-4064-a79b-d7467a29bca1:root  root=UUID=a73f1e78-1871-4bb2-91d2-fc1499b70688 rw quiet
Build Date: 07 April 2017  05:42:48PM

Current version of pixman: 0.34.0
lahwaacz commented 7 years ago

Does this phenomenon correlate with kernel or driver or Xorg upgrades? When it happens, does it happen consistently again when you start sxlock again? Do other DPMS tools work normally?

TapGhoul commented 6 years ago

It seems to happen most often right after resume, but not all the time. A good way I've found to reproduce that is semi-reliable is to go into sleep, wait some time (time shift), type a letter or 2 and hit esc very quickly while the software is still lagging behind. It will crash like this at this point.

This has happened with every xorg and kernel update since, so it appears to not be a one-time bug.