Slow loading of wasm webgl app in ubuntu (Xfce X11, Nvidia Quadro M1200, driver 460)
Categories
(Core :: Graphics: WebRender, defect)
Tracking
()
People
(Reporter: jean-sylvestre.zirani, Unassigned)
Details
Attachments
(1 file)
48.30 KB,
application/json
|
Details |
Steps to reproduce:
I load this page:
https://dev.luciad.com/portal/packed-samples/ria/bim/index.html?webgl&reference=epsg:4978
in Firefox 95.0.1 (64 bit)
Mozilla Firefox for Ubuntu canonical - 1.0
user agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0
Actual results:
It loads slowly and the cpu load stays at 100%.
It loads relatively fast on Firefox/Windows or on MacOS and also relatively fast with other browsers on ubuntu.
If I look at the debugger/performance time, 98% of the time is spent in DOM without much information. On windows, that DOM part is almost nothing.
Expected results:
Similar loading time across platforms.
We are trying to understand what is happening but so far we have no clue.
Reporter | ||
Comment 1•3 years ago
|
||
It appears that same page is fine with Firefox 82.0.3
Comment 2•3 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Canvas: WebGL' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.
Updated•3 years ago
|
Comment 3•3 years ago
|
||
This does not appear to be a wasm issue, but a webrender / webgl issue. I can confirm that this is sluggish on fedora and pins one of my cores, while it is smooth and not performance-intensive on a mac w/ same architecture.
Comment 4•3 years ago
|
||
When DMABuf fast path is not enabled, readback makes WebGL very slow.
Profiler shows https://share.firefox.dev/3fEHbQ6
Updated•3 years ago
|
Comment 5•3 years ago
|
||
jean-sylvestre.zirani , can you upload about:support to this bug?
Comment 6•3 years ago
|
||
As requested, I attached the raw data of about:support
Reporter | ||
Comment 7•3 years ago
|
||
Sotaro ikdea(In reply to Sotaro Ikeda [:sotaro] from comment #4)
When DMABuf fast path is not enabled, readback makes WebGL very slow.
Profiler shows https://share.firefox.dev/3fEHbQ6
Hi Sotaro ikdea
Is there a way to detect from the application if the the DMABuf fast path has been disabled ?
Comment 8•3 years ago
|
||
DMABUF in Decision Log in Graphics section in about:support says if DMABUF is available. WebRender with EGL is needed for DMABUF.
Comment 9•3 years ago
|
||
(In reply to jean-sylvestre.zirani from comment #7)
Is there a way to detect from the application if the the DMABuf fast path has been disabled ?
Yes, in about:support
look for DMABUF
. It's generally not available yet on the proprietary nvidia driver, especially not in old versions. If your card is supported by the 495 driver series, it should theoretically work but there's bug 1735929 which also prevents it to work there.
Comment 10•3 years ago
•
|
||
This is Xfce X11 on Nvidia Quadro M1200.
Quadro M1200 is supported by Nvidia driver 495 and later.
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 on Gnome Wayland on Ubuntu 22.04.
- X11: bug 1735929
Description
•