Crash in [@ XDisplayString] when enabling VAAPI on proprietary Nvidia (deprecated libva-vdpau-driver does not support Dmabuf)
Categories
(Core :: Widget: Gtk, defect, P5)
Tracking
()
People
(Reporter: gsvelto, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: crash)
Crash Data
Crash report: https://crash-stats.mozilla.org/report/index/275123e4-52e0-4872-bde5-849fd0200930
Reason: SIGSEGV /SEGV_MAPERR
Top 10 frames of crashing thread:
0 libX11.so.6 XDisplayString /usr/src/debug/libX11-1.6.12-1.fc32.x86_64/src/Macros.c:119
1 vdpau_drv_video.so __vaDriverInit_1_6 /usr/src/debug/libva-vdpau-driver-0.7.4-107.fc32.x86_64/src/vdpau_driver.c:317
2 libva.so.2 va_openDriver /usr/src/debug/libva-2.7.1-1.fc32.x86_64/va/va.c:521
3 libva.so.2 vaInitialize /usr/src/debug/libva-2.7.1-1.fc32.x86_64/va/va.c:742
4 libxul.so mozilla::FFmpegVideoDecoder<58>::CreateVAAPIDeviceContext dom/media/platforms/ffmpeg/FFmpegVideoDecoder.cpp:241
5 libxul.so mozilla::FFmpegVideoDecoder<58>::InitVAAPIDecoder dom/media/platforms/ffmpeg/FFmpegVideoDecoder.cpp:280
6 libxul.so mozilla::FFmpegVideoDecoder<58>::Init dom/media/platforms/ffmpeg/FFmpegVideoDecoder.cpp:378
7 libxul.so mozilla::MediaChangeMonitor::CreateDecoderAndInit dom/media/platforms/wrappers/MediaChangeMonitor.cpp:494
8 libxul.so mozilla::MediaChangeMonitor::CheckForChange dom/media/platforms/wrappers/MediaChangeMonitor.cpp:579
9 libxul.so mozilla::MediaChangeMonitor::Decode dom/media/platforms/wrappers/MediaChangeMonitor.cpp:294
This appears to be a NULL-pointer access when creating a VA-API context on Linux. Given that the actual access happens within external code the issue might not be caused directly by Firefox.
Comment 1•4 years ago
|
||
Hi all. Is there any news about this bug?
Here is my crash report: https://crash-stats.mozilla.org/report/index/d0305b58-8ce9-4680-afdf-862240201121
I can reproduce bug and test the fix if there is one. I'm using Nvidia GT 730 with proprietary drivers 450.80.02. Ask if you need more info.
Comment 2•4 years ago
|
||
Make sure media.ffmpeg.vaapi.enabled is disabled. The proprietary Nvidia driver doesn't support VAAPI and DMABUF.
Comment 3•4 years ago
|
||
If I disable media.ffmpeg.vaapi.enabled then I stop getting the crash.
But VDPAU or NVDEC hardware decoding support on Linux ( https://bugzilla.mozilla.org/show_bug.cgi?id=1210729 ) is not ready, so I'm trying to use vdpau-va-driver.
Comment 4•4 years ago
|
||
The line in question doesn't look specious to me, thus I'd assume a bug in one of the downstream components.
Aleksey: unfortunately there's no chance on the proprietary nvidia - it has to support dmabuf, which again is blocked by the kernel (the part in question is GPL-only). So until nvidia and kernel devs have not settled on some solution, there's nothing we can do about it. Nouveau should/might work though.
Reporter | ||
Comment 5•3 years ago
|
||
Linux Arch crash signature.
Updated•3 years ago
|
Comment 6•3 years ago
|
||
That's dupe of Bug 1751710.
Updated•3 years ago
|
Description
•