Hyprland icon indicating copy to clipboard operation
Hyprland copied to clipboard

Firefox freezes after switching ttys

Open thejch opened this issue 11 months ago • 8 comments

Hyprland Version

System/Version info
Hyprland, built from branch main at commit 5824b0f305e95132184241832653d528b12c75e2 dirty (hyprctl: fix showing invalid instances).
Date: Sat Feb 24 09:36:43 2024
Tag: v0.35.0-92-g5824b0f3

Bug or Regression?

Bug

Description

Firefox freezes if i switch to another tty and back Edit: after some testing pretty sure it's not a regression so it might be some new firefox changes or something, but doesn't happen on sway.

Maybe related: https://github.com/hyprwm/Hyprland/issues/4781

How to reproduce

Open firefox Ctrl+alt+f2 to tty2 Ctrl+alt+f1 back to tty1 Firefox is frozen

Crash reports, logs, images, videos

No response

thejch avatar Feb 25 '24 21:02 thejch

bisect if regression, you can also check older ff vers (worth noting never happened to me)

vaxerski avatar Feb 25 '24 22:02 vaxerski

bisect if regression, you can also check older ff vers (worth noting never happened to me)

After some testing pretty sure it's not a regression so it might be some new firefox changes or something, also could be related to green gpu, but it doesn't happen on sway so I'm keeping this for now.

thejch avatar Feb 25 '24 22:02 thejch

I cant reproduce Firefox 123.0 (64-bit) with MOZ_ENABLE_WAYLAND=1 from Arch repos Hyprland https://github.com/hyprwm/Hyprland/commit/f590505daf90dfb4059289a906863b59663e70a6

rurigk avatar Feb 29 '24 23:02 rurigk

I cant reproduce Firefox 123.0 (64-bit) with MOZ_ENABLE_WAYLAND=1 from Arch repos Hyprland f590505

I suspect it's green gpu related then.

thejch avatar Mar 01 '24 00:03 thejch

I think I can reproduce on an AMD iGPU AMD Renoir [Radeon RX Vega 6 ] in a AMD Ryzen 7 PRO 4750U

Hyprland, built from branch main at commit 063708df26e8b930f492200e1907eb47950f50e6 dirty (config: improve config value infrastructure). Date: Sun Mar 3 19:41:38 2024 Tag: v0.36.0-43-g063708df

My Firefox 123.0 from the Debian unstable package "firefox/unstable,now 123.0-1 amd64" Doesn't freeze totally, only mouse input is unresponsive, it still reacts to keyboard input

When starting it from a terminal it spams "Error: WaylandMessage::Write() too many files to send" after the VT switch

talpadk avatar Mar 08 '24 17:03 talpadk

Do not occur on an firefox-esr/unstable,now 115.8.0esr-1

talpadk avatar Mar 08 '24 17:03 talpadk

Can also confirm that it does not seem to be a problem on sway/unstable,now 1.9-1

talpadk avatar Mar 08 '24 18:03 talpadk

Does not seem to affect the nightly build of firefox "firefox-125.0a1.en-GB.linux-x86_64.tar.bz2"

talpadk avatar Mar 09 '24 10:03 talpadk

Also affects firefox/unstable,now 124.0.1-1 amd64 , hopeful that when Debian packages 125 this will fix it for me

talpadk avatar Mar 23 '24 13:03 talpadk

For me the mouse input is not working in firefox after switching ttys, keyboard still works though.

sungyoonc avatar Apr 05 '24 14:04 sungyoonc

Firefox seemed to have fixed the issue. https://bugzilla.mozilla.org/show_bug.cgi?id=1882449

And like @talpadk said, the issue doesn't happen since 125.0a1 (Build ID: 20240229210642)

sungyoonc avatar Apr 06 '24 02:04 sungyoonc

can this be closed then?

vaxerski avatar Apr 06 '24 02:04 vaxerski

Maybe after @thejch confirms this fixes the issue?

sungyoonc avatar Apr 06 '24 02:04 sungyoonc