Closed DanielAW closed 4 months ago
It seems the UI is still updating but I can not send any commands.
Difficult to reproduce. Seems like some interactions with the UI are causing the hang
Need to be more specific than that. What were you doing before the freeze? What is your exact setup? What's a "virtual display"?
It seems random to me, I'm just starting a new application (like virt-manager) or even just starting a new terminal in a new workspace. These interactions work for a good long time and then after some minutes the same interaction can cause the hang. A "virtual display" means I'm not running X on $DISPLAY:0. Instead, I stopped my login manager and I'm starting i3 on a "virtual display" (DISPLAY:1001) in order to be able to match the resolution of the system which I'm using to connect to the NoMachine server.
One of the last messages I see in the log seems to be:
ERROR: Expected one of these tokens: <end>, '[', 'move', 'exec', 'exit', 'restart', 'reload', 'shmlog', 'debuglog', 'border', 'layout', 'append_layout', 'workspace', 'focus', 'kill', 'open', 'fullscreen', 'sticky', 'split', 'floating', 'mark', 'unmark', 'resize', 'rename', 'nop', 'scratchpad', 'swap', 'title_format', 'title_window_icon', 'mode', 'bar', 'gaps'
@DanielAW @orestisfl, I have been having trouble with a similar issue while just running i3 normally. I play proton games and have firefox on a second monitor. Sometimes while playing the game i3 will stutter, stop accepting inputs and freeze until it flickers a bunch and accepts inputs again. I'm sorry I can't be specific either, please let me know if there are any monitoring commands I can run to show you these errors. I've tried journalctl -xe
and didn't seem to get anything of value :/... just
May 12 14:47:26 zeak rtkit-daemon[855]: Supervising 16 threads of 6 processes of 1 users.
May 12 14:47:27 zeak rtkit-daemon[855]: Supervising 16 threads of 6 processes of 1 users.
May 12 14:47:27 zeak rtkit-daemon[855]: Supervising 16 threads of 6 processes of 1 users.
May 12 14:49:06 zeak rtkit-daemon[855]: Supervising 16 threads of 6 processes of 1 users.
May 12 14:49:06 zeak rtkit-daemon[855]: Supervising 16 threads of 6 processes of 1 users.
May 12 14:51:37 zeak rtkit-daemon[855]: Supervising 16 threads of 6 processes of 1 users.
May 12 14:51:37 zeak rtkit-daemon[855]: Supervising 16 threads of 6 processes of 1 users.
May 12 14:51:51 zeak rtkit-daemon[855]: Supervising 16 threads of 6 processes of 1 users.
May 12 14:51:51 zeak rtkit-daemon[855]: Supervising 16 threads of 6 processes of 1 users.
May 12 14:51:52 zeak rtkit-daemon[855]: Supervising 16 threads of 6 processes of 1 users.
May 12 14:51:52 zeak rtkit-daemon[855]: Supervising 16 threads of 6 processes of 1 users.
May 12 14:51:52 zeak rtkit-daemon[855]: Supervising 16 threads of 6 processes of 1 users.
May 12 14:51:52 zeak rtkit-daemon[855]: Supervising 16 threads of 6 processes of 1 users.
May 12 14:53:38 zeak sudo[1066114]: zeak : TTY=pts/0 ; PWD=/home/zeak ; USER=root ; COMMAND=/usr/bin/pacman -Syu
May 12 14:53:38 zeak sudo[1066114]: pam_unix(sudo:session): session opened for user root(uid=0) by zeak(uid=1000)
May 12 14:56:35 zeak sudo[1066114]: pam_unix(sudo:session): session closed for user root
May 12 15:01:53 zeak rtkit-daemon[855]: Supervising 16 threads of 6 processes of 1 users.
May 12 15:01:53 zeak rtkit-daemon[855]: Supervising 16 threads of 6 processes of 1 users.
May 12 15:08:29 zeak rtkit-daemon[855]: Supervising 16 threads of 6 processes of 1 users.
May 12 15:08:29 zeak rtkit-daemon[855]: Supervising 16 threads of 6 processes of 1 users.
I think I found the source of my issue, its this line:
for_window [class="^.*"] client.focused #77dd77 #285577 #ffffff #2e9ef4 #285577
If I have this line in my config and I change focus "too fast" using the mouse between windows i3 will freeze as described above at some point. Without the line I can not reproduce it.
client.focused
is a configuration directive, not a command, so you can't use it with for_window
.
See here for a list of commands: https://i3wm.org/docs/userguide.html#list_of_commands
Welcome
Current Behavior
i3 does not accept inputs anymore, I also can not restart it (neither key bindings nor i3-msg do work). I'm running it via NoMachine on a virtual desktop when lightdm is stopped.
Expected Behavior
i3 does not stop accepting inputs
Reproduction Instructions
Difficult to reproduce. Seems like some interactions with the UI are causing the hang
i3 version
Config file
Linux distribution & Version
Arch Linux
Are you using a compositor?
I am sure I don't run any compositor
Logfile
https://logs.i3wm.org/logs/6216700622012416.bz2