Open Bug 1828752 Opened 1 year ago Updated 1 year ago

[AMD Radeon Vega] Firefox crashes system when browsing google maps

Categories

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

Firefox 112
x86_64
Linux
defect

Tracking

()

People

(Reporter: graeme.w.murray, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: crash)

Attachments

(2 files)

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36

Steps to reproduce:

open firefox and browse google maps, select satellite images and zoom in.

Actual results:

System freezes, screen goes blank, keyboard or mouse do not respond, screen returns but system is non-responsive.

Expected results:

browse google maps as normal.

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 content of about:support page here.
Do you have anything in journal? Run

journalctl -b -1

on terminal to get log from previous session.
Thanks.

Flags: needinfo?(graeme.w.murray)
Attached file log output as requested (deleted) —
Flags: needinfo?(graeme.w.murray)
Attached file about:support output (deleted) —
also as requested about:support, thanks.

still a problem with latest updates. If i switch hardware acceleration off, it's slow but doesn't crash the system

Yes, looks like a problem with dmabuf / WebGL & radeonrsi drivers.
There's no need to disable acceleration completely, you may need to disable dmabuf for WebGL only (i.e. WebGL direct rendering to GPU memory).

Please go to about:config, flip 'widget.dmabuf-webgl.enabled' to false and restart browser. Do you still see the problem?

Would be also great to report it to Mesa so driver developers may to fix that: https://gitlab.freedesktop.org/mesa/mesa/-/issues
Please post there the logs you attached here and also give me Mesa issue number so I can link that.

Thanks.

Flags: needinfo?(graeme.w.murray)

btw. the 'Hera kernel: amdgpu 0000:05:00.0: amdgpu:' lines from the log looks significant.

Thanks for this, when dmabuf-webgl.enabled is set to false, it fixes the problem.
I have raised the issue with mesa #9015.

Flags: needinfo?(graeme.w.murray)
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: crash
OS: Unspecified → Linux
Hardware: Unspecified → x86_64
Summary: Firefox crashes system when browsing google maps → Dmabuf WebGL/Fedora Firefox 112/KDE Wayland/Mesa 22.3.7/AMD Radeon Vega 10 raven: Firefox crashes system when browsing google maps

(In reply to graeme.w.murray from comment #8)

Thanks for this, when dmabuf-webgl.enabled is set to false, it fixes the problem.
I have raised the issue with mesa #9015.

Can the problem also be fixed by setting widget.dmabuf-webgl.enabled=true, webgl.threadsafe-gl.force-disabled=true and restarting Firefox?

Flags: needinfo?(graeme.w.murray)

No, when widget.dmabuf-webgl.enabled=true, webgl.threadsafe-gl.force-disabled=true, system crashes. I did notice that another variable called webgl.threadsafe-gl.force-enable was set to false?
Thanks,

Flags: needinfo?(graeme.w.murray)

Do you get the system crash on https://webglsamples.org/aquarium/aquarium.html as well?

No, aquarium.html works fine.

Summary: Dmabuf WebGL/Fedora Firefox 112/KDE Wayland/Mesa 22.3.7/AMD Radeon Vega 10 raven: Firefox crashes system when browsing google maps → Firefox crashes system when browsing google maps

Does Google Maps still crash after setting widget.dmabuf-webgl.enabled=true + gfx.canvas.accelerated=false and restarting Firefox?

Yes it does, crashes with widget.dmabuf-webgl.enabled=true + gfx.canvas.accelerated=false

Priority: -- → P3
Summary: Firefox crashes system when browsing google maps → [AMD Radeon Vega] Firefox crashes system when browsing google maps
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: