Closed Bug 1655323 Opened 4 years ago Closed 4 years ago

DMABUF WebGL: Aquarium becomes black after a minute

Categories

(Core :: Graphics: CanvasWebGL, defect)

Desktop
Linux
defect

Tracking

()

RESOLVED FIXED
81 Branch
Tracking Status
firefox-esr68 --- unaffected
firefox-esr78 --- unaffected
firefox78 --- unaffected
firefox79 --- disabled
firefox80 --- disabled
firefox81 --- fixed

People

(Reporter: jan, Assigned: stransky)

References

(Blocks 1 open bug, )

Details

(Keywords: nightly-community, regression)

Attachments

(3 files)

Attached file wayland.debug.txt

Gnome Wayland, Debian Testing, desktop pc with APU: Intel HD Graphics 630 (KBL GT2)
It happens with MOZ_ENABLE_WAYLAND=1 and MOZ_X11_EGL=1.
EGL/X11 log: bug 1655026 comment 5

It happened with 2020-07-01 as well:
MOZ_ENABLE_WAYLAND=1 mozregression --launch 2020-07-01 --pref gfx.webrender.all:true -a https://webglsamples.org/aquarium/aquarium.html

Same with any WebGL application, does the same after a while on google maps, lucidcharts, etc.

  • last good: DMABUF working and not black after a minute:
    MOZ_ENABLE_WAYLAND=1 mozregression --repo autoland --launch ca8139d58d58ea03def4ff2375ab9010cbd2a1b3 --pref gfx.webrender.all:true widget.wayland-dmabuf-webgl.enabled:true -a https://webglsamples.org/aquarium/aquarium.html
  • first bad: DMABUF not functional:
    bug 1646007 (567a8768593eb06a86deb263f94d9de2d3d3e8fa by bug 1632249)
  • first partly good: DMABUF working again, but black after a minute:
    bug 1646007 comment 4: MOZ_ENABLE_WAYLAND=1 mozregression --repo autoland --launch da3c1f47c514fc75270fbe81910df3408f528c9c --pref gfx.webrender.all:true widget.wayland-dmabuf-webgl.enabled:true -a https://webglsamples.org/aquarium/aquarium.html

If this regression wasn't caused by bug 1632249:
Autoland commits between "last good" and "working, but black after a minute":
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=ca8139d58d58ea03def4ff2375ab9010cbd2a1b3&tochange=da3c1f47c514fc75270fbe81910df3408f528c9c
These DMABUF commits happened in the mean time:

7cb09c402732afc111838970f1807f7c1ce03412 Martin Stransky — Bug 1645704 [Wayland] Rename WaylandDMABufSurface to DMABufSurface at ffmpeg, r=jya
b57b2912400cd8f9c971fe642f4e662a059a32bf Martin Stransky — Bug 1645704 [Wayland] Rename WaylandDMABufSurface to DMABufSurface at gxf, r=sotaro
8a86a47f77d21f85a7b84b575f0933b55d6c8f19 Martin Stransky — Bug 1645704 [Wayland] Rename WaylandDMABufSurface to DMABufSurface at widget/gtk, r=jhorak

e9de35da7a75c9fd9ec6ca13d45030c55faf1148 Martin Stransky — Bug 1646051 [Wayland] Use dmabuf video textures when vaapi is enabled, r=jhorak

Yes, I see that too.

Assignee: nobody → stransky

It's caused by failing dup() call.

The error is 24 - Too many open files

Pushed by ccoroiu@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d03d3ef33824
[Linux/WebGL] Release duplicated file descriptor from GL Fence, r=jhorak
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 81 Branch

A Fedora 32 user ran into this: bug 1660675 comment 8
(=Please don't forget to backport.)

Fedora 32 has disabled WebGL/dmabuf by default due to recent regressions there.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: