WebGL on WebRender is slow on Linux
Categories
(Core :: Graphics: WebRender, defect, P3)
Tracking
()
People
(Reporter: jrmuizel, Unassigned)
References
(Depends on 1 open bug, Blocks 1 open bug)
Details
I think we don't have the proper fast path in place to do what accelerated layers does.
Comment 1•4 years ago
|
||
See bug 1572697
DMABUF allows to directly share memory between WebGL and Webrender. The above bug is only about Wayland, but on X11 we also don't have it (while technically possible). AFAIK Chromium supports it and also uses it for hardware accelerated video decoding.
Updated•4 years ago
|
Comment 2•4 years ago
•
|
||
Basically a dupe of bug 1010527 (X11: bug 1010527 comment 32). See also bug 1586696, bug 1583731.
Comment 3•4 years ago
|
||
There are a few questions to ask here, to see if this blocks a bigger roll out on Linux:
- How does the performance of WebGL + basic compositor compare to WebGL + WebRender? WebGL + OpenGL compositor?
- If the performance is not good, can we do better today without relying upon DMABUF? (E.g. perhaps we are spending a lot of time in allocations and memory mapping.)
Updated•4 years ago
|
Updated•3 years ago
|
Comment 4•3 years ago
|
||
We now have a proper fast path with dmabuf on EGL. So this will get fixed as part of bug 788319
Comment 6•3 years ago
|
||
bug 1600412 was about hardware WebRender.
"windowProtocol": "wayland",
"windowLayerManagerType": "WebRender",
"adapterDescription": "Mesa DRI Intel(R) HD Graphics 630 (Kaby Lake GT2) ",
- bug 1646007 enabled Dmabuf WebGL on Wayland
- bug 1655026 + bug 1695933 enabled Dmabuf WebGL on X11+Xwayland
Description
•