Bug 2391242 - Graphical glitches, slow performance and/or crashes using Firefox on AMD graphics adapters
Summary: Graphical glitches, slow performance and/or crashes using Firefox on AMD grap...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: firefox
Version: 43
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Gecko Maintainer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: https://discussion.fedoraproject.org/...
Depends On:
Blocks: F43FinalBlocker
TreeView+ depends on / blocked
 
Reported: 2025-08-27 09:51 UTC by Lukas Ruzicka
Modified: 2025-10-01 07:26 UTC (History)
26 users (show)

Fixed In Version: firefox-143.0.1-3.fc43
Clone Of:
Environment:
Last Closed: 2025-09-27 00:16:20 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Journalctl logs from Firefox (141.22 KB, text/plain)
2025-08-27 09:52 UTC, Lukas Ruzicka
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Mozilla Foundation 1986254 0 -- UNCONFIRMED Firefox slows down significantly when private mode invoked 2025-09-01 16:53:38 UTC
freedesktop.org Gitlab drm amd issues 4568 0 None opened Firefox Webrender crashes on 6.16.4 and above with RX 590 2025-09-22 16:14:43 UTC
freedesktop.org Gitlab mesa mesa issues 13877 0 None opened Firefox's renderer often crashes on AMD cards with various content. 2025-09-15 13:35:29 UTC

Description Lukas Ruzicka 2025-08-27 09:51:39 UTC
Recently, I have seen Firefox slowing down significantly in web rendering when I tried to start a new private window. The content of the pages would only show in areas where I would hover the mouse cursor (similar to painting in graphical apps), or it would be shown if I started moving or resizing the window. 
After a while, the situation settles and everything seems to work normally. However, there are errors in journalctl, see below.
I can reproduce this on version 141 and 142. Chromium works normally.

Reproducible: Always

Steps to Reproduce:
1.Open several panels in FF and switch between them -> should work fine.
2.Open a new private window -> the private window does not load properly, not do the older tabs when navigating to them, you need to brush your mouse over it to "paint" the content or resize the windows.
3.After some time, the situation gets better.
Actual Results:
Problems with content rendering.

Expected Results:
No problems should be seen.

Additional Information:
There are errors in journalctl, see attachments.

Comment 1 Lukas Ruzicka 2025-08-27 09:52:31 UTC
Created attachment 2104990 [details]
Journalctl logs from Firefox

Comment 2 Lukas Ruzicka 2025-08-27 10:21:56 UTC
After a longer observation, I can say, that although the rendering issue goes away after a while and "painting" with the mouse is not necessary anymore, the whole application is much slower than before.

Comment 3 Lukas Ruzicka 2025-08-27 10:23:11 UTC
I am using the following graphical card: c2:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Strix Halo [Radeon Graphics / Radeon 8050S Graphics / Radeon 8060S Graphics] (rev c4)

Comment 4 Martin Stransky 2025-08-27 18:28:15 UTC
srp 27 11:17:07 framebox org.mozilla.firefox.desktop[3811]: [GFX1-]: Handling webrender error 2
srp 27 11:17:07 framebox org.mozilla.firefox.desktop[3811]: [GFX1-]: Fallback WR to SW-WR

Please report at https://bugzilla.mozilla.org/ and cc me there (component core / graphics).
Thanks.

Comment 5 Lukas Ruzicka 2025-09-01 08:25:27 UTC
I have opened it there. Thanks.

Comment 6 Fedora Blocker Bugs Application 2025-09-01 08:26:42 UTC
Proposed as a Blocker for 43-final by Fedora user lruzicka using the blocker tracking app because:

 https://fedoraproject.org/wiki/Fedora_43_Final_Release_Criteria#Default_application_functionality

Comment 7 Kamil Páral 2025-09-01 10:34:36 UTC
(In reply to Lukas Ruzicka from comment #5)
> I have opened it there. Thanks.

Lukas, please add an upstream link.

Comment 8 Kamil Páral 2025-09-01 11:32:41 UTC
I can't reproduce this bug with the following:

firefox-142.0-3.fc43.x86_64
mesa-dri-drivers-25.1.4-2.fc43.x86_64
gnome-shell-49~alpha.1-2.fc43.x86_64
mutter-49~alpha.1-3.fc43.x86_64

on Thinkpad T14s Gen6:
AMD Ryzen AI 5 PRO 340 w/ Radeon 840M
c4:00.0 Display controller [0380]: Advanced Micro Devices, Inc. [AMD/ATI] Krackan [Radeon 840M / 860M Graphics] [1002:1114] (rev d3)

Comment 9 Kamil Páral 2025-09-01 16:53:39 UTC
Here's the upstream link:
https://bugzilla.mozilla.org/show_bug.cgi?id=1986254

Comment 10 Adam Williamson 2025-09-01 16:54:01 UTC
Lukas isn't crazy, this has been hitting me constantly on my main system - using Rawhide Silverblue, but it's clearly the same thing. It seems for me to be triggered by certain *page content* - graphically heavy pages, maybe pages with video? It doesn't have anything to do with private mode, I don't think.

My system is also recent AMD:

c3:00.0 Display controller [0380]: Advanced Micro Devices, Inc. [AMD/ATI] Strix [Radeon 880M / 890M] [1002:150e] (rev c4)

Comment 11 Lukas Ruzicka 2025-09-01 17:40:29 UTC
Discussed at the 2025-09-01 (blocker / freeze exception) review meeting:

This is clearly too fuzzy to vote on right now. We need to punt it for further investigation to try to nail down the details.

https://meetbot-raw.fedoraproject.org//blocker-review_matrix_fedoraproject-org/2025-09-01/f43-blocker-review.2025-09-01-16.00.txt

Comment 12 Lukas Ruzicka 2025-09-08 17:39:52 UTC
Discussed at the 2025-09-08 (blocker / freeze exception) review meeting:

The causes and affected systems are still being narrowed down. We will hold off on any voting at this time.

https://meetbot-raw.fedoraproject.org//blocker-review_matrix_fedoraproject-org/2025-09-08/f43-blocker-review.2025-09-08-16.00.txt

Comment 13 Kamil Páral 2025-09-15 13:35:29 UTC
I finally managed to reproduce this issue on a laptop with this GPU:
c4:00.0 Display controller [0380]: Advanced Micro Devices, Inc. [AMD/ATI] Krackan [Radeon 840M / 860M Graphics] [1002:1114] (rev d3)

It was also accompanied with "Detect DeviceReset" and then "Failed to compile vertex shader" error messages as in the upstream issue.


On my other laptop with an Intel GPU, I see no such behavior:
00:02.0 VGA compatible controller [0300]: Intel Corporation TigerLake-H GT1 [UHD Graphics] [8086:9a60] (rev 01)

Comment 14 Lukas Ruzicka 2025-09-15 19:04:29 UTC
Discussed at the 2025-09-15 (blocker / freeze exception) review meeting:

We agreed to postpone this one as the exact details of the problem are still not clear. We will continue working with upstream to clarify the issue for next week's meeting.

https://meetbot-raw.fedoraproject.org//blocker-review_matrix_fedoraproject-org/2025-09-15/f43-blocker-review.2025-09-15-16.00.txt

Comment 15 Kamil Páral 2025-09-17 08:16:43 UTC
I just reproduced this on a desktop with Radeon 6700 XT dedicated GPU, using the F43 Beta Workstation Live image. In https://pagure.io/fedora-qa/blocker-review/issue/1896 we have another affected user with Radeon 6800 XT. So it looks quite possible that this affects all or a large majority of AMD GPU users (running the amdgpu kernel driver), with both integrated and dedicated cards.

Comment 16 Dr. David Alan Gilbert 2025-09-17 16:18:39 UTC
I can reproduce this 80% reliably by uploading an image into the mastodon web interface.  As soon as the file selector comes up the firefox windows go blank.
Running under X/xfce

09:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Lexa PRO [Radeon 540/540X/550/550X / RX 540X/550/550X] (rev c7)

Comment 17 Geraldo Simião 2025-09-18 04:13:31 UTC
I can reproduce this too, like 90% of the time, on normal firefox usage (not private window). If I acces the https://get.webgl.org/ page, sometimes I see the cube, sometimes I don't. I already change the "performance" settings at about:preferences and reset again, and sometimes it helps, and sometimes it doesn't.

firefox-142.0.1-1.fc43.x86_64

Operating System: Fedora Linux 43
KDE Plasma Version: 6.4.4
KDE Frameworks Version: 6.17.0
Qt Version: 6.9.2
Kernel Version: 6.17.0-0.rc6.49.fc43.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5700U with Radeon Graphics
Memory: 24 GiB of RAM (22.8 GiB usable)
Graphics Processor: AMD Radeon Graphics

Comment 18 Geraldo Simião 2025-09-18 04:16:46 UTC
I forgot to mention:
mesa-dri-drivers-25.2.2-6.fc43.x86_64

Comment 19 Jens Petersen 2025-09-18 10:33:40 UTC
I think this bug should be moved to mesa, no?

Comment 20 Lukas Ruzicka 2025-09-18 10:43:05 UTC
(In reply to Jens Petersen from comment #19)
> I think this bug should be moved to mesa, no?

This bug was moved to Mesa a long time ago. See https://gitlab.freedesktop.org/mesa/mesa/-/issues/13877

Comment 21 Luya Tshimbalanga 2025-09-18 23:57:40 UTC
I confirm the issue occurs on normal Firefox 142.0.1 with AMD Hawk Point:

## Hardware Information:
- **Hardware Model:**                              Dell Inc. Inspiron 14 7445 2-in-1
- **Memory:**                                      64.0 GiB
- **Processor:**                                   AMD Ryzen™ 7 8840HS w/ Radeon™ 780M Graphics × 16
- **Graphics:**                                    AMD Radeon™ 780M Graphics
- **Disk Capacity:**                               4.0 TB

## Software Information:
- **Firmware Version:**                            1.13.1
- **OS Name:**                                     Fedora Linux 43 (Design Suite Prerelease)
- **OS Type:**                                     64-bit
- **GNOME Version:**                               49
- **Windowing System:**                            Wayland
- **Kernel Version:**                              Linux 6.17.0-0.rc6.49.fc43.x86_64
- **Driver**                                       mesa-dri-drivers-25.2.2-6.fc43

Comment 22 Geraldo Simião 2025-09-20 03:18:08 UTC
(In reply to Adam Williamson from comment #10)
> 
> My system is also recent AMD:
> 
> c3:00.0 Display controller [0380]: Advanced Micro Devices, Inc. [AMD/ATI]
> Strix [Radeon 880M / 890M] [1002:150e] (rev c4)

Adam, I'm running here with your kernel scratch build https://gitlab.freedesktop.org/mesa/mesa/-/issues/13877#note_3105382 and so far it seems to me the bug is gone.

Kernel Version: 6.17.0-0.1awb.rc6.49.fc43.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5700U with Radeon Graphics
Memory: 24 GiB of RAM (22.8 GiB usable)
Graphics Processor: AMD Radeon Graphics

Comment 23 Geraldo Simião 2025-09-20 03:21:52 UTC
05:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Lucienne (rev c1) (prog-if 00 [VGA controller])
	Subsystem: Acer Incorporated [ALI] Device 152b
	Flags: bus master, fast devsel, latency 0, IRQ 47, IOMMU group 7
	Memory at fce0000000 (64-bit, prefetchable) [size=256M]
	Memory at fcf0000000 (64-bit, prefetchable) [size=2M]
	I/O ports at 1000 [size=256]
	Memory at d0400000 (32-bit, non-prefetchable) [size=512K]
	Capabilities: <access denied>
	Kernel driver in use: amdgpu
	Kernel modules: amdgpu

Comment 24 Adam Williamson 2025-09-20 03:50:22 UTC
Thanks Geraldo! Can other affected folks please try with the kernel above and see if they can still reproduce the issue? Note if you have Secure Boot enabled you'll have to disable it, obviously I cannot properly sign a scratch built kernel. You can check the .src.rpm to make sure I didn't put anything nasty in it.

Comment 25 Adam Williamson 2025-09-20 05:53:24 UTC
Direct link: https://koji.fedoraproject.org/koji/taskinfo?taskID=137288826

Comment 26 Dr. David Alan Gilbert 2025-09-21 15:56:14 UTC
Adam, that's looking pretty good - been using it for a few hours now and not had any problems:

dg@dalek:~$ uname -a
Linux dalek 6.17.0-0.1awb.rc6.49.fc43.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Sep 19 22:37:44 UTC 2025 x86_64 GNU/Linux
dg@dalek:~$ inxi -G
Graphics:
  Device-1: Advanced Micro Devices [AMD/ATI] Lexa PRO [Radeon
    540/540X/550/550X / RX 540X/550/550X] driver: amdgpu v: kernel
  Display: x11 server: X.Org v: 21.1.18 with: Xwayland v: 24.1.8 driver: X:
    loaded: amdgpu unloaded: modesetting dri: radeonsi gpu: amdgpu resolution:
    1: 1920x1080~60Hz 2: 3840x2160~60Hz
  API: EGL v: 1.5 drivers: kms_swrast,radeonsi,swrast
    platforms: gbm,x11,surfaceless,device
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 25.2.2 renderer: AMD
    Radeon RX 550 / 550 Series (radeonsi polaris12 ACO DRM 3.64
    6.17.0-0.1awb.rc6.49.fc43.x86_64)
  API: Vulkan v: 1.4.321 drivers: radv,llvmpipe surfaces: N/A
  Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo de: kscreen-console,
    kscreen-doctor, xfce4-display-settings gpu: radeontop,umr wl: wayland-info
    x11: xdriinfo, xdpyinfo, xprop, xrandr

Comment 27 Adam Williamson 2025-09-22 16:14:24 UTC
+6 in https://pagure.io/fedora-qa/blocker-review/issue/1896 , marking accepted. Latest news is in https://gitlab.freedesktop.org/drm/amd/-/issues/4568#note_3106986 - in a shocking turn of events this has been kicked right back up the stack to firefox (doing something it shouldn't be doing with OpenGL in forked processes, apparently).

This is accepted under the 'basic functionality' criterion, as Firefox is borderline unusable on all or at least most adapters which use amdgpu, which is a pretty wide range.

Comment 28 Adam Williamson 2025-09-23 01:19:55 UTC
There's now an upstream fix for glycin - https://gitlab.gnome.org/GNOME/glycin/-/commit/8af36048dbdda27a05b87b2fc896c05161d21f64 - though I'm not sure if this is more of a case of 'workaround Firefox's bad behaviour', i.e. whether we should re-assign this to glycin or still expect Firefox to change something here.

Comment 29 Adam Williamson 2025-09-25 00:38:38 UTC
There's also a Firefox fix (I think) - https://bugzilla.mozilla.org/show_bug.cgi?id=1990162 . Here is a scratch build with that patch backported, for testing: https://koji.fedoraproject.org/koji/taskinfo?taskID=137452120

Comment 30 Luya Tshimbalanga 2025-09-25 01:21:00 UTC
The scratch build seems resolving the issue on Ryzen 7 8840HS powering Dell Inspiron 7445 convertible. 
The painting effect and the slowness are gone as tested with the latest kernel 6.17.0-0.rc7.56.fc43.x86_64.
Running from terminal showed this message:

> [GFX1-]: RenderCompositorSWGL failed mapping default framebuffer, no dt

Ideally, that warning should get resolved but it seems harmless for now in practice.

Comment 31 Fedora Update System 2025-09-26 17:50:52 UTC
FEDORA-2025-edd4efffa4 (firefox-143.0.1-3.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-edd4efffa4

Comment 32 Fedora Update System 2025-09-27 00:16:20 UTC
FEDORA-2025-edd4efffa4 (firefox-143.0.1-3.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 33 Lukas Ruzicka 2025-10-01 07:26:27 UTC
With the latest updates, I confirm that I have not seen any issue for the entire day of using it.


Note You need to log in before you can comment on or make changes to this bug.