Closed Bug 1828098 Opened 2 years ago Closed 2 years ago

Linux AMD R600: Scrolling and UI became laggy after 112.0

Categories

(Core :: Graphics, defect)

Firefox 112
x86_64
Linux
defect

Tracking

()

RESOLVED FIXED
115 Branch
Tracking Status
firefox-esr102 --- disabled
firefox112 --- wontfix
firefox114 --- wontfix
firefox115 --- fixed

People

(Reporter: erydit, Assigned: bradwerth)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: regression)

Attachments

(1 file)

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

Steps to reproduce:

After last update (from 111.0.1 to 112.0) Firefox interface and especially scrolling became working very laggy.
After downgrading back to the 111.0.1 everything work as expected.

Actual results:

OS: Manjaro 22.1.0 Talos
Kernel: x86_64 Linux 6.1.23-1-MANJARO
DE: Xfce4
WM: Xfwm4
CPU: AMD FX-8350 Eight-Core @ 8x 4GHz
GPU: AMD RS780 (DRM 2.50.0 / 6.1.23-1-MANJARO, LLVM 15.0.7)
RAM: 2932MiB / 19483MiB

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

Component: Untriaged → Graphics
Product: Firefox → Core

Thanks for the report! Please open about:support, click on "Copy text to clipboard" and paste it here.

Attached file about:support

Can the problem be fixed by opening about:config, setting gfx.webrender.software to true and restarting Firefox?

(In reply to Darkspirit from comment #4)

Can the problem be fixed by opening about:config, setting gfx.webrender.software to true and restarting Firefox?

Yes. It seems that gfx.webrender.software = true helped. Thank you!

So, what is the base problem? My old integrated Radeon video card does not supported for hardware rendering anymore?

bug 1798360 re-enabled OpenGL hardware rendering for old AMD R600 GPUs in Firefox 112.
So it seems your GPU is worse than your CPU.

Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: regression
OS: Unspecified → Linux
Regressed by: 1798360
Hardware: Unspecified → x86_64
Summary: Scrolling and UI became laggy after 112.0 → Linux AMD R600: Scrolling and UI became laggy after 112.0

:bradwerth, since you are the author of the regressor, bug 1798360, could you take a look? Also, could you set the severity field?

For more information, please visit auto_nag documentation.

Flags: needinfo?(bwerth)

It looks like the decision to un-blacklist hardware WebRender for R600 in Bug 1798360 has more tradeoffs than expected. We enabled hardware in that Bug because of poor video performance in software.

erydit, two requests for you:

  1. Mesa drivers for R600 family were just updated to 23.1. Would you please update your driver to that version if possible, and try again?
  2. Would you please activate the Firefox Profiler and record a session of the bad scrolling behavior, using the "Graphics" preset? Upload that profile and post the link here on this Bug.
Severity: -- → S2
Flags: needinfo?(bwerth) → needinfo?(erydit)

(In reply to Brad Werth [:bradwerth] from comment #8)

It looks like the decision to un-blacklist hardware WebRender for R600 in Bug 1798360 has more tradeoffs than expected. We enabled hardware in that Bug because of poor video performance in software.

erydit, two requests for you:

  1. Mesa drivers for R600 family were just updated to 23.1. Would you please update your driver to that version if possible, and try again?
  2. Would you please activate the Firefox Profiler and record a session of the bad scrolling behavior, using the "Graphics" preset? Upload that profile and post the link here on this Bug.

Sorry for the long time to reply.

  1. Unfortunately, mesa 23.1 is not available in the stable repositories of my OS yet.
  2. https://share.firefox.dev/3MWiLDs
Flags: needinfo?(erydit)
Assignee: nobody → bwerth
Depends on: 1831598

Scrolling is laggy with mesa 21.2.6 (used by snap), 23.0.2 and latest 23.2.0 on RS880 (R600) (Ubuntu 23.04).

Chromium (snap using mesa 21.2.6) with hardware acceleration (Canvas, Compositing and Rasterization) is completely smooth.

The sticky search toolbar on about:config significantly impacts scroll performance. Setting gfx.webrender.compositor.force-enabled = true greatly improves scrolling smoothness.

Testing on reddit.com with short scrolls, there is a definite performance regression in the 2020-01-11 build with Webrender enabled.

Regression window:
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=12bf9dc0978e049c367ba4c22052569c3acb1e50&tochange=fb64636dad2ce36de6b609c09dc1ea990308e943

Possible regressors:
Bug 1600472 - Disable allowing sacrificing subpixel anti-aliasing for small screens.
Bug 1604412 - Give CompositorWidgetChild more window info.

Disabling font AA with gfx.text.disable-aa = true makes no difference.

Regressed by: 1600472
Depends on: 1836726

We've re-disabled Hardware WebRender for R600 drivers in Bug 1821892. Would you please try an updated Nightly and report if this Bug is still happening for you?

Flags: needinfo?(erydit)
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 115 Branch
Depends on: 1821892
No longer depends on: 1831598, 1836726
See Also: → 1831598, 1836726
Flags: needinfo?(erydit)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: