Poor WebRender graphics performance in Nightly 84 on GNOME w/ Wayland
Categories
(Core :: Graphics: WebRender, defect)
Tracking
()
| Performance Impact | high |
People
(Reporter: lolrepeatlol, Unassigned)
References
(Blocks 3 open bugs)
Details
(Keywords: perf:responsiveness)
Attachments
(1 file)
|
27.11 KB,
text/plain
|
Details |
User Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:82.0) Gecko/20100101 Firefox/82.0
Steps to reproduce:
I went to https://fishgl.com/ and tested performance with WebRender enabled.
Actual results:
I noticed that in Firefox 82.0.3, I had a buttery 60 fps. When I opened the same profile in Nightly, I noticed that the fps had dropped by more than half to about 20.
Note: when I had WebRender disabled, performance was also poor on Stable 82.0.3, so this seems to be a WebRender issue in newer versions.
Expected results:
I should have had the same performance on both browsers.
System information:
- Ryzen 7 1700
- MSI B350 PC Mate
- 16GB RAM
- Gigabyte RX 5700 XT
Video demonstration: https://streamable.com/udpeqd
| Reporter | ||
Updated•5 years ago
|
| Reporter | ||
Comment 1•5 years ago
|
||
Profiler of Stable 82 while messing around in https://fishgl.com/: https://share.firefox.dev/3eYPeWZ
Profiler of Nightly 84 while messing around in https://fishgl.com/: https://share.firefox.dev/3f2HjYs
Comment 2•5 years ago
|
||
Moving to graphics for a closer look.
Comment 3•5 years ago
|
||
Please open about:support in Nightly, click on "Copy text to clipboard" and paste it here. Thanks!
Updated•5 years ago
|
Updated•5 years ago
|
Comment 4•5 years ago
|
||
Do you by any chance use Fedora? :)
Good WebGL performance only comes in combination with EGL + DMAbuf. Thus you need to:
- have either
MOZ_X11_EGL=1orMOZ_ENABLE_WAYLAND=1set (the later obviously only working in a wayland session - note that Fedora does this by default) - check that
widget.dmabuf-webgl.enabledis enabled inabout:config(should be by default these days
Does that work for you?
| Reporter | ||
Comment 5•5 years ago
|
||
(In reply to Robert Mader [:rmader] from comment #4)
Do you by any chance use Fedora? :)
Good WebGL performance only comes in combination with EGL + DMAbuf. Thus you need to:
- have either
MOZ_X11_EGL=1orMOZ_ENABLE_WAYLAND=1set (the later obviously only working in a wayland session - note that Fedora does this by default)- check that
widget.dmabuf-webgl.enabledis enabled inabout:config(should be by default these daysDoes that work for you?
I used Fedora in the test, but now am on Arch and unfortunately have the same issue in Firefox 83, w/ about 30fps on FishGL. MOZ_ENABLE_WAYLAND=1 is on, and so is widget.dmabuf-webgl.enabled.
| Reporter | ||
Comment 6•5 years ago
|
||
I switched to Arch but have the same issue there. I hope this helps.
| Reporter | ||
Comment 7•5 years ago
|
||
And yes, if it wasn't clear, I have this issue on Stable 83 now, albeit in Arch (on GNOME Wayland). I therefore assume this issue started in 83.
| Reporter | ||
Comment 8•5 years ago
|
||
Ugh, I'm a little stupid. Indeed, starting Firefox with MOZ_ENABLE_WAYLAND=1 does indeed fix the issue on Wayland, and starting Firefox with MOZ_X11_EGL=1 fixes the issue in Xorg. I'm sorry for multiple incorrect comments. :(
| Reporter | ||
Updated•5 years ago
|
Updated•3 years ago
|
Description
•