Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chromium-based applications periodically "freeze" #3698

Open
0o220 opened this issue May 5, 2019 · 8 comments

Comments

Projects
None yet
6 participants
@0o220
Copy link

commented May 5, 2019

I'm submitting a…

[x] Bug
[ ] Feature Request
[ ] Documentation Request
[ ] Other (Please describe in detail)

Current Behavior

For the past 2–3 months (but never before then, so perhaps this issue began with the i3 upgrade to 4.16.1 on 27 Jan 2019), Chromium-based applications such as qutebrowser and Slack will periodically "freeze", requiring a SIGKILL and restart. I'll be able to move my cursor across the application window, but it won't respond to input from the keyboard or mouse. If I switch to another workspace and then back again, the frozen application's window won't be redrawn—that window will simply continue to display whatever was on the last workspace I just switched from. Affected applications tend to display this behavior at the same time. I've been monitoring application-specific logs without finding any clues to the root cause. This issue appears to be related to #1720.

Expected Behavior

Applications should not freeze.

Reproduction Instructions

I've not been able to trigger this issue manually. It's quite unpredictable. I can go days without it happening—but sometimes, it'll occur several times back-to-back with no apparent cause.

Environment

Output of i3 --moreversion 2>&-:

i3 version: 4.16.1 (2019-01-27)
set $mod Mod4
font pango:monospace 8
floating_modifier $mod
bindsym $mod+Return exec "$HOME/.config/i3/cwd.sh"
bindsym $mod+Shift+q kill
bindsym $mod+d exec dmenu_run
bindsym $mod+h focus left
bindsym $mod+j focus down
bindsym $mod+k focus up
bindsym $mod+l focus right
bindsym $mod+Left focus left
bindsym $mod+Down focus down
bindsym $mod+Up focus up
bindsym $mod+Right focus right
bindsym $mod+Shift+h move left
bindsym $mod+Shift+j move down
bindsym $mod+Shift+k move up
bindsym $mod+Shift+l move right
bindsym $mod+Shift+Left move left
bindsym $mod+Shift+Down move down
bindsym $mod+Shift+Up move up
bindsym $mod+Shift+Right move right
bindsym $mod+g split h
bindsym $mod+v split v
bindsym $mod+f fullscreen toggle
bindsym $mod+s layout stacking
bindsym $mod+w layout tabbed
bindsym $mod+e layout toggle split
bindsym $mod+Shift+space floating toggle
bindsym $mod+space focus mode_toggle
bindsym $mod+a focus parent
set $ws1 "term"
set $ws2 "web"
set $ws3 "chat"
set $ws4 "edit"
set $ws5 "read"
set $ws6 "vm"
set $ws7 "vnc"
set $ws8 "8"
set $ws9 "9"
set $ws10 "10"
bindsym $mod+1 workspace $ws1
bindsym $mod+2 workspace $ws2
bindsym $mod+3 workspace $ws3
bindsym $mod+4 workspace $ws4
bindsym $mod+5 workspace $ws5
bindsym $mod+6 workspace $ws6
bindsym $mod+7 workspace $ws7
bindsym $mod+8 workspace $ws8
bindsym $mod+9 workspace $ws9
bindsym $mod+0 workspace $ws10
bindsym $mod+Shift+1 move container to workspace $ws1
bindsym $mod+Shift+2 move container to workspace $ws2
bindsym $mod+Shift+3 move container to workspace $ws3
bindsym $mod+Shift+4 move container to workspace $ws4
bindsym $mod+Shift+5 move container to workspace $ws5
bindsym $mod+Shift+6 move container to workspace $ws6
bindsym $mod+Shift+7 move container to workspace $ws7
bindsym $mod+Shift+8 move container to workspace $ws8
bindsym $mod+Shift+9 move container to workspace $ws9
bindsym $mod+Shift+0 move container to workspace $ws10
bindsym $mod+Shift+c reload
bindsym $mod+Shift+r restart
bindsym $mod+Shift+t exec "$HOME/.config/i3blocks/update.sh"
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'"
mode "resize" {
        bindsym h resize shrink width 10 px or 10 ppt
        bindsym j resize grow height 10 px or 10 ppt
        bindsym k resize shrink height 10 px or 10 ppt
        bindsym l resize grow width 10 px or 10 ppt
        bindsym Left resize shrink width 10 px or 10 ppt
        bindsym Down resize grow height 10 px or 10 ppt
        bindsym Up resize shrink height 10 px or 10 ppt
        bindsym Right resize grow width 10 px or 10 ppt
        bindsym Return mode "default"
        bindsym Escape mode "default"
        bindsym $mod+r mode "default"
}
bindsym $mod+r mode "resize"
bar {
        status_command i3blocks
	      tray_output none
        font pango:source code pro, 9
}
gaps inner 10
gaps outer 5
bindsym XF86AudioMute         exec amixer -q set Master toggle;      exec pkill -RTMIN+10 i3blocks
bindsym XF86AudioRaiseVolume  exec amixer -q set Master 2dB+ unmute; exec pkill -RTMIN+10 i3blocks
bindsym XF86AudioLowerVolume  exec amixer -q set Master 2dB- unmute; exec pkill -RTMIN+10 i3blocks
bindsym XF86AudioMicMute      exec amixer set Capture toggle;        exec pkill -RTMIN+9 i3blocks
bindsym XF86MonBrightnessDown exec xbacklight -dec 5;                exec pkill -RTMIN+9 i3blocks
bindsym XF86MonBrightnessUp   exec xbacklight -inc 5;                exec pkill -RTMIN+9 i3blocks
exec --no-startup-id feh --bg-fill $HOME/.config/img.png
new_window 1pixel
bindsym $mod+shift+z exec i3lock -tfi $HOME/.config/img.png
exec --no-startup-id redshift -l `cat $HOME/.config/i3blocks/coord.txt | tr -d '\n'` &
exec --no-startup-id $HOME/.dropbox-dist/dropboxd &
bindsym Shift+$mod+bracketright move workspace to output right
bindsym Shift+$mod+bracketleft move workspace to output left
- Linux Distribution & Version: 5.0.7-arch1-1-ARCH x86_64
- Are you using a compositor (e.g., xcompmgr or compton): No
@i3bot

This comment has been minimized.

Copy link

commented May 5, 2019

I don’t see a link to logs.i3wm.org. Did you follow https://i3wm.org/docs/debugging.html? (In case you actually provided a link to a logfile, please ignore me.)

@i3bot i3bot added the 4.16 label May 5, 2019

@0o220

This comment has been minimized.

Copy link
Author

commented May 10, 2019

@ohfill, @KubaJastrz, are you still experiencing this issue?

@aksel

This comment has been minimized.

Copy link
Contributor

commented May 11, 2019

Happens for me as well, but I haven't been able to reproduce it either.

@KubaJastrz

This comment has been minimized.

Copy link

commented May 11, 2019

Yes, I see it almost everyday for the past few months. As I said here, I'd connect this issue with hardware acceleration in blink-based software. After appending --disable-gpu flag to executables the issue doesn't occur.

For software like Figma, that requires hardware acceleration, you can temporarily solve the bug by killing gpu process:

alias find-gpu='ps aux | grep gpu-process | grep'

function kill-gpu() {
   find-gpu $1 | egrep -o -e "[0-9]+" | head -n 1 | xargs -p kill
}

And just call kill-gpu <process-name> everytime it happens.

@JeffLabonte

This comment has been minimized.

Copy link

commented May 12, 2019

It has happen to me with a bunch of electron apps! Not only with I3 but with Awesome also!

@orestisf1993

This comment has been minimized.

Copy link
Member

commented May 13, 2019

Signs point to this being a bug in chromium, someone should find the bug in their tracker or open a new issue there and reply with the link here

but never before then, so perhaps this issue began with the i3 upgrade to 4.16.1 on 27 Jan 2019

4.16.1 included only a handful of regression fixes so this is probably a coincidence.

@KubaJastrz

This comment has been minimized.

Copy link

commented May 13, 2019

I'm fairly certain that this issue started happening after this upgrade: https://pastebin.com/raw/urbwzv6p

@KubaJastrz

This comment has been minimized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.