Open Bug 2012301 Opened 5 months ago Updated 1 month ago

[Linux/Plasma/Wayland] Turning on HDR and then scrolling in a specific way causes window to freeze

Categories

(Core :: Widget: Gtk, defect, P3)

Firefox 147
defect

Tracking

()

UNCONFIRMED

People

(Reporter: v19930312, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:147.0) Gecko/20100101 Firefox/147.0

Steps to reproduce:

Starting from a clean profile:

  1. Turn on gfx.wayland.hdr and gfx.wayland.hdr.force-enabled in aboutsaw:config, restart the browser so that these changes are applied
  2. Open https://rtypetactics.com, wait for it to load (not the only page where I had this happen, but it works for reproduction)
  3. Using a touchpad, overscroll upwards a little and then scroll downwards; repeat a few times if the issue does not trigger at first

Actual results:

Rendering completely stops for the entire Firefox window; sometimes a crash happens.

Expected results:

No hangs happen; browser continues to function normally.

The Bugbug bot thinks this bug should belong to the 'Core::Widget: Gtk' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Widget: Gtk
Product: Firefox → Core

Please attach your about:support page.

Please try to get backtrace of the crash:
https://fedoraproject.org/wiki/Debugging_guidelines_for_Mozilla_products#Using_Mozilla_crash_reporter

Thanks.

Flags: needinfo?(v19930312)
Priority: -- → P3
Attached file about:support

Which Plasma version is that?
Thanks.

Flags: needinfo?(v19930312)

(kde) wp_viewporter#35: error 0: the specified surface already has a viewport
Proxy: WP:E WP:CA WP:CPCA

That's interesting, Thanks.

Can you please run on terminal with WAYLAND_DEBUG=1 MOZ_LOG="WidgetWayland:5" env variables and attach the log here?

Flags: needinfo?(v19930312)
Attached file firefox.log.zip

Log from inducing a hang with WAYLAND_DEBUG=1 MOZ_LOG="WidgetWayland:5" set. No crash as I'm unable to cause these reliably.

Flags: needinfo?(v19930312)
Flags: needinfo?(stransky)

Could be Bug 2013572.

Flags: needinfo?(stransky)
See Also: → 2013572

I recently turned on HDR on Firefox 147 on Linux using the gfx.wayland.hdr flag and started experiencing this an issue where typically after scrolling the current Firefox window would freeze for awhile. I'm also using Plasma and Wayland. I found this bug report after a few days of experiencing it and turned the flag back off, which has fixed the issue, so I assume it's the same/a related problem.

Same issue here on Gnome with gfx.wayland.hdr.

Yes, I can reproduce that on Gnome too.

I experience the same thing on KDE Plasma 6.5.5, after diabling gfx.wayland.hdr, everything turns normal.
GPU: RX9070XT
MESA: 26.1-devel

I can confirm this bug as well on CachyOS running KDE Plasma 6.6.2
GPU: RX 7900XT
Mesa: 26.0.1

I often click on a new tab (nothing happens), minimize firefox, then open it again and it unfreezes.

Duplicate of this bug: 2024594
Severity: -- → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: