Freeze when seeking a web video from Firefox or Chrome, due to dbus messages flooding towards the GNOME Shell MPRIS media widget
Steps to reproduce:
- Open Firefox
- Play a video in Instagram
- Use the seek-bar to navigate
This causes the shell to freeze; possibly it's Wayland, I'm not certain. The keyboard no longer responds (can't switch to a new TTY session, can't even change the backlight, which is something that works even in the BIOS, so seems tied to hardware rather than software. This fact makes me think it's not just the shell freezing, but something else.)
The audio of the video continues playing, and I'm able to SSH into the system. The process "Web content" (the video playing) is using around 150% of my CPU, and Gnome Shell uses around 60%. Killing Firefox lets the shell unfreeze after a while.
When the freeze happens, this shows up in the system journal:
11月 22 23:47:12 burka gnome-shell[12133]: Window manager warning: last_user_time (2251371) is greater than comparison timestamp (2251370). This most likely represents a buggy client sending inaccurate timestamps in messages such as _NET_ACTIVE_WINDOW. Trying to work around...
11月 22 23:47:12 burka gnome-shell[12133]: Window manager warning: W14 appears to be one of the offending windows with a timestamp of 2251371. Working around...
When Firefox is killed and the shell unfreezes after a while, the log is full of hundreds of lines of errors all of the form:
11月 22 23:47:58 burka gsd-power[12349]: Error setting property 'PowerSaveMode' on interface org.gnome.Mutter.DisplayConfig: Timeout was reached (g-io-error-quark, 24)
11月 22 23:47:58 burka gsd-power[12349]: Failed to acquire idle monitor proxy: Timeout was reached
11月 22 23:47:58 burka gsd-power[12349]: Failed to acquire idle monitor proxy: Timeout was reached
11月 22 23:47:58 burka gsd-power[12349]: Failed to acquire idle monitor proxy: Timeout was reached
11月 22 23:47:58 burka gsd-power[12349]: Error setting property 'PowerSaveMode' on interface org.gnome.Mutter.DisplayConfig: Timeout was reached (g-io-error-quark, 24)
11月 22 23:47:58 burka gnome-session[12119]: gnome-session-binary[12119]: GnomeDesktop-WARNING: Failed to acquire idle monitor proxy: Timeout was reached
Perhaps all these log messages are what was freezing the system up?
Honestly, the inaccurate timestamp message sounds like a Firefox bug perhaps, but the shell is at fault for freezing up on me at the end of the day.
Version information:
- OS: Arch Linux, updated earlier today
- Firefox: 70.0.1
- Gnome: 3.34.1 Intel UHD Graphics 620