[Flatpak] [vaapi] GL context creation fails with DMABufSurfaceYUV::VerifyTextureCreation() UID 2
Categories
(Core :: Audio/Video: Playback, defect, P3)
Tracking
()
People
(Reporter: akarshanbiswas, Unassigned)
References
(Blocks 1 open bug)
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:100.0) Gecko/20100101 Firefox/100.0
Steps to reproduce:
- Enable vaapi
- Disable RDD sandbox by pass MOZ_DISABLE_RDD_SANDBOX=1 and run firefox with MOZ_LOG using this command:
flatpak run --env=MOZ_DISABLE_RDD_SANDBOX=1 --env==MOZ_LOG="PlatformDecoderModule:5 Dmabuf:5" run org.mozilla.firefox
- Try to play a video which is supported by GPU and observe the results.
Actual results:
Firefox tries to use vaapi but fails and switches back to software.
On the log, we can observe that it fails around here:
[RDD 289: MediaPDecoder #3]: D/PlatformDecoderModule FFMPEG: VA-API Got one frame output with pts=0dts=80000 duration=40000 opaque=-9223372036854775808
[RDD 289: MediaPDecoder #3]: D/Dmabuf DMABufSurfaceYUV::CreateYUVSurface() UID 1 from desc
[RDD 289: MediaPDecoder #3]: D/Dmabuf DMABufSurfaceYUV::UpdateYUVData() UID 1
[RDD 289: MediaPDecoder #3]: D/Dmabuf plane 0 size 320 x 176 format 20203852
[RDD 289: MediaPDecoder #3]: D/Dmabuf plane 1 size 160 x 88 format 38385247
[RDD 289: MediaPDecoder #3]: D/PlatformDecoderModule Created new VA-API DMABufSurface UID = 1
[RDD 289: MediaPDecoder #3]: D/PlatformDecoderModule VideoFrameSurface: creating surface UID = 1
[RDD 289: MediaPDecoder #3]: D/Dmabuf DMABufSurfaceYUV::VerifyTextureCreation() UID 1
[RDD 289: MediaPDecoder #3]: D/Dmabuf failed to create GL context!
[RDD 289: MediaPDecoder #3]: D/PlatformDecoderModule failed to create texture over DMABuf memory!
[RDD 289: MediaPDecoder #3]: D/PlatformDecoderModule VideoFrameSurface: deleting dmabuf surface UID = 1
[RDD 289: MediaPDecoder #3]: D/PlatformDecoderModule VideoFrameSurface: VAAPI releasing dmabuf surface UID = 1
[RDD 289: MediaPDecoder #3]: D/Dmabuf DMABufSurfaceYUV::ReleaseSurface() UID 1
[RDD 289: MediaPDecoder #3]: D/Dmabuf DMABufSurfaceYUV::ReleaseTextures() UID 1
[RDD 289: MediaPDecoder #3]: D/Dmabuf DMABufSurface::ReleaseDMABuf() UID 1
[Child 112: MediaSupervisor #1]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type
[RDD 289: MediaSupervisor #1]: D/PlatformDecoderModule FFMPEG: FFmpegVideoDecoder::FFmpegVideoDecoder MIME video/avc Codec ID 27
[RDD 289: MediaSupervisor #1]: D/PlatformDecoderModule FFMPEG: VAAPI is disabled by parent decoder module.
Expected results:
vaapi should have played normally as it is on distro version of firefox.
More info : Similar type of regression occurred in Firefox 98(both distro package version and the flatpak version) and got fixed in Firefox 100 (only the distro version) and mozregression tool pinpointed to this fix.
Comment 1•4 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Audio/Video: Playback' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 2•4 years ago
|
||
The severity field is not set for this bug.
:jimm, could you have a look please?
For more information, please visit auto_nag documentation.
Updated•4 years ago
|
| Reporter | ||
Comment 3•4 years ago
|
||
This bug should be closed. It has been fixed.
Description
•