Closed Bug 1627486 Opened 4 years ago Closed 4 years ago

WebGL fails due to sandboxing with libdrm >= 2.4.101

Categories

(Core :: Security: Process Sandboxing, defect, P1)

Unspecified
Linux
defect

Tracking

()

RESOLVED DUPLICATE of bug 1623885

People

(Reporter: aguertin+bugzilla, Unassigned)

References

Details

With libdrm >= 2.4.101, webgl doesn't work on linux

The following lines appear in the browser console (on e.g. https://get.webgl.org/)
Failed to create WebGL context: WebGL creation failed:

  • tryNativeGL
  • Exhausted GL driver options.

Setting in about:config
security.sandbox.content.read_path_whitelist = /sys/devices/pci0000:00/0000:00:02.0/subsystem
fixes the problem (exact path may be specific to my computer)

The relevant commit in libdrm seems to be https://gitlab.freedesktop.org/mesa/drm/-/commit/8a73372e62a73fe8d874aa39458c508cdb5bb6f4

Priority: -- → P1
See Also: → 1628746
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.