i3 freezes after waking from screen turned off #2618

Open
ru-wang opened this Issue Dec 28, 2016 · 4 comments

Projects

None yet

6 participants

@ru-wang
ru-wang commented Dec 28, 2016

Output of i3 --moreversion 2>&- || i3 --version:

Binary i3 version:  4.13 (2016-11-08) © 2009 Michael Stapelberg and contributors
Running i3 version: 4.13 (2016-11-08) (pid 507)to abort…)
Loaded i3 config: /home/ru/.config/i3/config (Last modified: Mon 12 Dec 2016 10:27:49 AM CST, 1378755 seconds ago)

The i3 binary you just called: /usr/bin/i3
The i3 binary you are running: i3

URL to a logfile as per http://i3wm.org/docs/debugging.html:

http://logs.i3wm.org/logs/5727950116749312.bz2

What I did:

I'm using Archlinux. My laptop's screen is automatically turned off after several minutes(not suspend), and after it wakes up, i3 freezes everytime when i try to switch workspaces or toggle i3status bar.

A config file of i3 is attached: config.zip

What I saw:

i3 freezes after waking from screen and after several seconds i can't even switch to another tty(not yet exit i3). The only thing i can do is to press the power button and force to power off.
There is no error message in the output of dmesg or journalctl.

Output of uname -a:

Linux ArchXPS13 4.8.13-1-hda #1 SMP PREEMPT Tue Dec 13 10:07:50 CST 2016 x86_64 GNU/Linux

What I expected instead:
i3 works properly.

@i3bot i3bot added the 4.13 label Dec 28, 2016
@nmschulte
Contributor
nmschulte commented Dec 28, 2016 edited

This sounds very similar to an issue I've been experiencing lately. I haven't totally figured out the interaction, but it seems that if the screensaver turns on (or perhaps the screen turns to powersave mode), when trying to "wake" the machine after, I receive nothing but a black screen and all key combinations generally seem to have no effect (even SysReq/REISUB). Force power-off is the only way back in.

I am using mobile i915/Intel-based hardware. It seems I only have the issue when there is no external display plugged in to the laptop; otherwise I never see the problem. When i use the laptop without an external display, I execute killall xscreensaver; xset s off; xset -dpms to avoid problems (and powersaving, unfortunately).

Binary i3 version:  4.13-28-g8d739b7 (2016-12-09, branch "next") © 2009 Michael Stapelberg and contributors
Running i3 version: 4.13-28-g8d739b7 (2016-12-09, branch "next") (pid 1724)
Loaded i3 config: /home/nmschulte/.config/i3/config (Last modified: Tue 27 Dec 2016 08:24:43 PM CST, 2752 seconds ago)

The i3 binary you just called: /home/nmschulte/.local/bin/i3
The i3 binary you are running: i3

The laptops bluetooth remains connected, the keyboard backlight functions, etc.

@Airblader Airblader added the bug label Dec 28, 2016
@stapelberg
Member

When your GUI freezes, can you SSH into your machine and run e.g. “i3-msg -t get_tree”? If so, i3 isn’t frozen, and the problem rather is your X server and/or driver (which I suspect).

@nmschulte
Contributor

I recently performed a fresh Debian Sid install on my machine and I've been running up against other issues with the installation. I don't run xscreensaver anymore, but my screen still occasionally freezes and the system locks up; usually changing vttys and back fixes things.

I have a feeling this isn't related to i3; next time I reach the scenario described above I'll give sshd a poke and report back. As I didn't open the report, I won't recommend it be closed.

@tmarchst

Maybe I'm able to point you in the right direction.
Had some freezes with i3 on screen powersave, standby and some applications.

It tourned out that a widget in my statusbar which displayed the window title was responsible.
The segmet used python-i3ipc to get the window name. Experienced no freezes since I uninstalled python-i3ipc and disabled the segment.
Changing to another tty worked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment