Closed Bug 1620821 Opened 4 years ago Closed 4 years ago

[Wayland] VA-API fails to initialize and content process crashes with security.sandbox.content.level less than 4

Categories

(Core :: Audio/Video: Playback, defect, P5)

75 Branch
Unspecified
Linux
defect

Tracking

()

RESOLVED DUPLICATE of bug 1619585
Tracking Status
firefox75 --- disabled

People

(Reporter: ke5trel, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: crash)

Crash Data

VA-API initializes successfully for me on Ubuntu 19.10 without crashing unless I reduce the sandbox level below 4.

security.sandbox.content.level = 4

[AVHWDeviceContext @ 0x7fb7106c4bc0] Cannot open X11 display :0.
[AVHWDeviceContext @ 0x7fb7106c4bc0] Opened VA display via DRM device /dev/dri/renderD128.
[AVHWDeviceContext @ 0x7fb7106c4bc0] libva: VA-API version 1.5.0
[AVHWDeviceContext @ 0x7fb7106c4bc0] libva: va_getDriverName() returns 0
[AVHWDeviceContext @ 0x7fb7106c4bc0] libva: Trying to open /usr/lib/x86_64-linux-gnu/dri/r600_drv_video.so
[AVHWDeviceContext @ 0x7fb7106c4bc0] libva: Found init function __vaDriverInit_1_5
[AVHWDeviceContext @ 0x7fb7106c4bc0] libva: va_openDriver() returns 0
[AVHWDeviceContext @ 0x7fb7106c4bc0] Initialised VAAPI connection: version 1.5

security.sandbox.content.level < 4

[AVHWDeviceContext @ 0x7f7c4d415800] Opened VA display via X11 display :0.
[AVHWDeviceContext @ 0x7f7c4d415800] libva: VA-API version 1.5.0
[AVHWDeviceContext @ 0x7f7c4d415800] libva: va_getDriverName() returns -1
[AVHWDeviceContext @ 0x7f7c4d415800] libva: va_getDriverName() failed with unknown libva error,driver_name=(null)
[AVHWDeviceContext @ 0x7f7c4d415800] Failed to initialise VAAPI connection: -1 (unknown libva error).

Crash: bp-1ba87c4c-a475-47c4-af9c-2e6a50200307

Same crash signature as Bug 1619544.

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE

This crash seems to happen if Kestrel disables the sandbox instead of leaving it enabled. Is this really a duplicate?
This seemed strange:

Opened VA display via X11 display :0.

See Also: → 1658430
You need to log in before you can comment on or make changes to this bug.