Google maps very slow on 4k screen with Nvidia Quadro M2000M (Mate X11, Nvidia driver 495)
Categories
(Core :: Graphics: WebRender, defect, P3)
Tracking
()
People
(Reporter: mar.kolya, Unassigned)
Details
(Keywords: perf)
Attachments
(1 file)
24.36 KB,
text/plain
|
Details |
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:96.0) Gecko/20100101 Firefox/96.0
Steps to reproduce:
- Open FF on Linux on 4k screen with window covering the whole screen
- Go to google maps, into relatively populated area
- Switch to satellite view (3d)
- This will take quite some time to fully render
- zoom out a bit - it will take 10s of seconds to fully render
- zoom in - it will take 10 of seconds to fully refresh again
Network is not a problem - there is almost no network activity. WebContent process is pegged at 100+% CPU
Actual results:
Zoom in/out panning is very slow. More specifically - you can move/pan existing image just fine. Rendering 'new' bits is very slow.
If I reduce the window size to ~FHD equivalent there seems to be no problem
Expected results:
Zoom/pan of google maps should not be slow.
Enabling/disabling EGL and webrender doesn't seem to change anything.
Setup:
Ubuntu
FF nightly
Latest nvidia binary drivers,
GM107GLM [Quadro M2000M]
Problem has existed for a very long time
Comment 1•3 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Graphics: WebRender' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.
Comment 2•3 years ago
|
||
Thanks for the report!
Please capture a performance profile:
- Open https://www.google.com/maps
- Open https://profiler.firefox.com in another tab
- Click on "Enable Firefox Profiler Menu Button"
- Select "Graphics" in the Settings dropdown
- Start Recording
- Reproduce the problem on google maps (the first tab)
- Click on the blue profiler button next to the main menu button to end the recording
- Click on "Upload Locale Profile" and "Upload"
- Post the https://share.firefox.dev/ url here on Bugzilla
Reporter | ||
Comment 3•3 years ago
|
||
Comment 4•3 years ago
|
||
The profile doesn't have working symbols. Can you try again with a Firefox nightly build?
You may also want to try using the nouveau drivers to see if they give you better performance.
Reporter | ||
Comment 5•3 years ago
|
||
Hi.
This is firefox-nightly on ubuntu 21.04 with firefox-trunk-dbg and firefox-trunk-mozsymbols packages installed.
Is there anything else I need to install to get zymbols resolving?
Thanks!
Comment 6•3 years ago
|
||
Are you using a ubuntu packaged firefox nightly or one from here? http://ftp.mozilla.org/pub/firefox/nightly/2021/12/. You may need to use an official build from ftp.mozilla.org for it to work properly.
Comment 7•3 years ago
|
||
Can you also attach the graphics section of about:support?
Comment 8•3 years ago
|
||
https://nightly.mozilla.org is the official and secure download page. Unfortunately, it doesn't provide a deb package, you need to extract the folder and run the firefox binary directly. (You might want to create your own Nightly.desktop file in ~/.local/share/applications.)
Reporter | ||
Comment 9•3 years ago
|
||
Reporter | ||
Comment 10•3 years ago
|
||
To clarify: last profile was take with new, fresh user-profile in FF
Comment 11•3 years ago
|
||
Please check if enabling "Force Composition Pipeline" in Nvidia X Server Settings > X Server Display Configuration > Advanced
and restarting Nightly helps. (bug 1736245)
Comment 12•3 years ago
|
||
We're not reading back the WebGL content so this is expected to be slow. I'm not sure what the current expected status is on the Nvidia binary drivers and whether this should be working better there now.
Comment 13•3 years ago
|
||
Slow WebGL is still expected on X11/Nvidia: bug 1735929
Slower OpenGL is still expected on X11/Nvidia (EGL=bug 1736245,workaround:Force Composition Pipeline. GLX=bug 1716049,workaround: gfx.swap-interval.glx=false).
(In reply to Nikolay Martynov)
Please also check if you are able to log in to Ubuntu Wayland. You might be able to select it in the bottom-right corner of the login screen.
Then start Nightly with $ MOZ_ENABLE_WAYLAND=1 ./firefox
. Is Google Maps now smooth?
Nvidia Wayland support might have regressed between the 495 beta driver and 495 stable. It might work or not.
Reporter | ||
Comment 14•3 years ago
|
||
Couple of more data points:
I already have 'Option "ForceFullCompositionPipeline" "on"' in xorg.conf. Enabling composition pipeline has no effect on google maps performance - I have tried that.
I have tried with and without EGL (using gfx.x11-egl.force-enabled) - there is no noticeable perf difference.
Reporter | ||
Comment 15•3 years ago
|
||
When using nouveau performance is even worse (down to mouse movements being jerky) + there is a lot of blinking
When using nouveau + EGL FF shows artifacts and crashes.
Reporter | ||
Comment 16•3 years ago
|
||
I'm not able to try wayland at this point - I'm using Ubuntu Mate and I do not think it has wayland support.
Reporter | ||
Comment 17•3 years ago
|
||
Sorry for spamy messages, but I just wanted to make sure I provide all the information.
There is one more thing I should mention: the 'slow' part of this bug is, for lack of better term, slow process of 'detalization' of the image. Even on 4k screen I can comfortably move, zoom or even 'tilt' (i.e. 'pilot view') the scene. So the problem is not in FPS being low - FPS are actually quite comfortable.
The problem is that details of the scene (e.g. bits of the map that were not visible before) are very slow to appear. It is seems more details how up - slower it becomes. However 'movement' FPS doesn't change much.
Networking is not a problem - there is hardly any network activity going on and I have quite fast connection.
Please let me know if my explanation makes sense :).
Updated•3 years ago
|
Reporter | ||
Comment 18•3 years ago
|
||
I've tried running it on Wayland - if anything it makes experience worse. Although I must say that whole FF UI was sluggish on Wayland so maybe I was hitting some other issue.
I would like to also point out that FF on macOS doesn't have this problem and works very well with Google maps.
Comment 19•3 years ago
|
||
510 beta: https://www.nvidia.com/Download/driverResults.aspx/184911/en-us
- Wayland: WebGL should be fast when starting Firefox with MOZ_ENABLE_WAYLAND=1 environment variable (bug 1749174) with Gnome Wayland on Ubuntu 22.04.
- X11: bug 1735929
Description
•