Bug#1008776: intel-media-va-driver: Segmentation fault with gstreamer based applications
Hi Kai On 2022-04-06 17:27:46 +1000, Kai Weber wrote: > * Sebastian Ramacher : > > > That could be another case of the driver expecting to have a kernel > > available which in fact is disabled in the open source build. If > > 22.3.1+dfsg1-1 doesn't fix the issue for you, please let my know your > > CPU/GPU so that the issue can be reported upstream. > > Unfortunately it does not solve the issue. Here are my CPU/GPU types: > > CPU: Intel® Core™ i7-8550U CPU @ 1.80GHz × 8 > GPU: Mesa Intel® UHD Graphics 620 (KBL GT2) Could you please follow up to the question at https://github.com/intel/media-driver/issues/1394#issuecomment-1108086538? Thanks Cheers -- Sebastian Ramacher signature.asc Description: PGP signature
Bug#1008776: intel-media-va-driver: Segmentation fault with gstreamer based applications
* Sebastian Ramacher : > That could be another case of the driver expecting to have a kernel > available which in fact is disabled in the open source build. If > 22.3.1+dfsg1-1 doesn't fix the issue for you, please let my know your > CPU/GPU so that the issue can be reported upstream. Unfortunately it does not solve the issue. Here are my CPU/GPU types: CPU: Intel® Core™ i7-8550U CPU @ 1.80GHz × 8 GPU: Mesa Intel® UHD Graphics 620 (KBL GT2)
Bug#1008776: intel-media-va-driver: Segmentation fault with gstreamer based applications
Control: tags -1 moreinfo Hi Kai On 2022-04-01 20:10:56, Kai Weber wrote: > Package: intel-media-va-driver > Version: 22.3.0+dfsg1-1 > Severity: grave > Justification: renders package unusable > X-Debbugs-Cc: kai.weber+deb...@glorybox.de > > Dear Maintainer, > > since a recent update (can not excalty determine the date) gstreamer based > applications like totem or gst-play-1.0 itself segfault on video files. > > Removing intel-media-va-driver resolves the issue. > Installing intel-media-va-driver-non-free resolves the issue. > > Attached is a backtrace. I have no experience getting backtraces. This one > was achieved after install the intel-media-va-driver-dbgsym package and > running > > $ export DEBUGINFOD_URLS="https://debuginfod.debian.net; > $ gdb --args gst-play-1.0 /home/kai/Downloads/pony.mp4 --videosink=glimagesink > Thread 14 "qtdemux0:sink" received signal SIGSEGV, Segmentation fault. > [Switching to Thread 0x7fffb77fe640 (LWP 22147)] > 0x7fffb5f906be in KernelDll_AllocateStates (pKernelBin=, > uKernelSize=0, pFcPatchCache=0x0, > uFcPatchCacheSize=, pDefaultRules=0x0, > ModifyFunctionPointers=0x0) > at ./media_driver/agnostic/common/vp/kdll/hal_kerneldll.c:2791 > Download failed: Invalid argument. Continuing without source file > ./obj-x86_64-linux-gnu/media_driver/./media_driver/agnostic/common/vp/kdll/hal_kerneldll.c. > 2791./media_driver/agnostic/common/vp/kdll/hal_kerneldll.c: No such file > or directory. > (gdb) set logging file backtrace.log > (gdb) set logging on > Copying output to backtrace.log. > (gdb) bt > ... > (gdb) set logging off > Done logging to backtrace.log. > (gdb) quit That could be another case of the driver expecting to have a kernel available which in fact is disabled in the open source build. If 22.3.1+dfsg1-1 doesn't fix the issue for you, please let my know your CPU/GPU so that the issue can be reported upstream. Cheers > > -- System Information: > Debian Release: bookworm/sid > APT prefers unstable-debug > APT policy: (500, 'unstable-debug'), (500, 'unstable') > Architecture: amd64 (x86_64) > > Kernel: Linux 5.16.0-6-amd64 (SMP w/8 CPU threads; PREEMPT) > Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE > Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), > LANGUAGE=en_US:en > Shell: /bin/sh linked to /usr/bin/dash > Init: systemd (via /run/systemd/system) > LSM: AppArmor: enabled > > Versions of packages intel-media-va-driver depends on: > ii libc6 2.33-7 > ii libgcc-s1 12-20220319-1 > ii libigdgmm12 22.1.2+ds1-1 > ii libstdc++6 12-20220319-1 > ii libva2 [libva-driver-abi-1.14] 2.14.0-1 > > intel-media-va-driver recommends no packages. > > intel-media-va-driver suggests no packages. > > -- no debconf information > #0 0x7fffb5f906be in KernelDll_AllocateStates (pKernelBin= out>, uKernelSize=0, pFcPatchCache=0x0, > uFcPatchCacheSize=, pDefaultRules=0x0, > ModifyFunctionPointers=0x0) > at ./media_driver/agnostic/common/vp/kdll/hal_kerneldll.c:2791 > #1 0x7fffb5f82028 in VphalRenderer::Initialize (this=0x7fffa813d480, > pSettings=0x7fffb77fae80, isApoEnabled=) > at ./media_driver/agnostic/common/vp/hal/vphal_renderer.cpp:1418 > #2 0x7fffb5f67a89 in VphalState::Allocate (this=0x7fffa8123e50, > pVpHalSettings=0x7fffb77fae80) > at ./media_driver/agnostic/common/vp/hal/vphal.cpp:201 > #3 0x7fffb61848a2 in DdiVp_InitVpHal (pVpCtx=0x7fffa812add0) at > ./media_driver/linux/common/vp/ddi/media_libva_vp.c:1811 > #4 0x7fffb6189460 in DdiVp_InitCtx (pVaDrvCtx=, > pVpCtx=0x7fffa812add0) > at ./media_driver/linux/common/vp/ddi/media_libva_vp.c:1671 > #5 0x7fffb618985e in DdiVp_CreateContext > (pVaDrvCtx=pVaDrvCtx@entry=0x7fffa8081e20, vaConfigID=vaConfigID@entry=0, > iWidth=iWidth@entry=0, iHeight=iHeight@entry=0, iFlag=iFlag@entry=0, > vaSurfIDs=vaSurfIDs@entry=0x0, iNumSurfs=0, > pVaCtxID=0x7fffb77fb1ac) at > ./media_driver/linux/common/vp/ddi/media_libva_vp.c:3291 > #6 0x7fffb6147be2 in DdiMedia_PutImage (ctx=0x7fffa8081e20, surface=0, > image=, src_x=0, src_y=0, src_width=64, > src_height=64, dest_x=0, dest_y=0, dest_width=64, dest_height=64) at > ./media_driver/linux/common/ddi/media_libva.cpp:5535 > #7 0x7fffd425521c in vaPutImage () from /lib/x86_64-linux-gnu/libva.so.2 > #8 0x7fffd42def8d in ?? () from > /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstvaapi.so > #9 0x7fffd429d686 in ?? () from > /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstvaapi.so > #10 0x7fffd42a480e in ?? () from > /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstvaapi.so > #11 0x777ac5cb in ?? () from /lib/x86_64-linux-gnu/libgstbase-1.0.so.0 > #12 0x777b014d in ?? () from /lib/x86_64-linux-gnu/libgstbase-1.0.so.0 > #13 0x77b912f0 in gst_pad_query () from > /lib/x86_64-linux-gnu/libgstreamer-1.0.so.0 > #14
Bug#1008776: intel-media-va-driver: Segmentation fault with gstreamer based applications
Package: intel-media-va-driver Version: 22.3.0+dfsg1-1 Severity: grave Justification: renders package unusable X-Debbugs-Cc: kai.weber+deb...@glorybox.de Dear Maintainer, since a recent update (can not excalty determine the date) gstreamer based applications like totem or gst-play-1.0 itself segfault on video files. Removing intel-media-va-driver resolves the issue. Installing intel-media-va-driver-non-free resolves the issue. Attached is a backtrace. I have no experience getting backtraces. This one was achieved after install the intel-media-va-driver-dbgsym package and running $ export DEBUGINFOD_URLS="https://debuginfod.debian.net; $ gdb --args gst-play-1.0 /home/kai/Downloads/pony.mp4 --videosink=glimagesink Thread 14 "qtdemux0:sink" received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fffb77fe640 (LWP 22147)] 0x7fffb5f906be in KernelDll_AllocateStates (pKernelBin=, uKernelSize=0, pFcPatchCache=0x0, uFcPatchCacheSize=, pDefaultRules=0x0, ModifyFunctionPointers=0x0) at ./media_driver/agnostic/common/vp/kdll/hal_kerneldll.c:2791 Download failed: Invalid argument. Continuing without source file ./obj-x86_64-linux-gnu/media_driver/./media_driver/agnostic/common/vp/kdll/hal_kerneldll.c. 2791./media_driver/agnostic/common/vp/kdll/hal_kerneldll.c: No such file or directory. (gdb) set logging file backtrace.log (gdb) set logging on Copying output to backtrace.log. (gdb) bt ... (gdb) set logging off Done logging to backtrace.log. (gdb) quit -- System Information: Debian Release: bookworm/sid APT prefers unstable-debug APT policy: (500, 'unstable-debug'), (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 5.16.0-6-amd64 (SMP w/8 CPU threads; PREEMPT) Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages intel-media-va-driver depends on: ii libc6 2.33-7 ii libgcc-s1 12-20220319-1 ii libigdgmm12 22.1.2+ds1-1 ii libstdc++6 12-20220319-1 ii libva2 [libva-driver-abi-1.14] 2.14.0-1 intel-media-va-driver recommends no packages. intel-media-va-driver suggests no packages. -- no debconf information #0 0x7fffb5f906be in KernelDll_AllocateStates (pKernelBin=, uKernelSize=0, pFcPatchCache=0x0, uFcPatchCacheSize=, pDefaultRules=0x0, ModifyFunctionPointers=0x0) at ./media_driver/agnostic/common/vp/kdll/hal_kerneldll.c:2791 #1 0x7fffb5f82028 in VphalRenderer::Initialize (this=0x7fffa813d480, pSettings=0x7fffb77fae80, isApoEnabled=) at ./media_driver/agnostic/common/vp/hal/vphal_renderer.cpp:1418 #2 0x7fffb5f67a89 in VphalState::Allocate (this=0x7fffa8123e50, pVpHalSettings=0x7fffb77fae80) at ./media_driver/agnostic/common/vp/hal/vphal.cpp:201 #3 0x7fffb61848a2 in DdiVp_InitVpHal (pVpCtx=0x7fffa812add0) at ./media_driver/linux/common/vp/ddi/media_libva_vp.c:1811 #4 0x7fffb6189460 in DdiVp_InitCtx (pVaDrvCtx=, pVpCtx=0x7fffa812add0) at ./media_driver/linux/common/vp/ddi/media_libva_vp.c:1671 #5 0x7fffb618985e in DdiVp_CreateContext (pVaDrvCtx=pVaDrvCtx@entry=0x7fffa8081e20, vaConfigID=vaConfigID@entry=0, iWidth=iWidth@entry=0, iHeight=iHeight@entry=0, iFlag=iFlag@entry=0, vaSurfIDs=vaSurfIDs@entry=0x0, iNumSurfs=0, pVaCtxID=0x7fffb77fb1ac) at ./media_driver/linux/common/vp/ddi/media_libva_vp.c:3291 #6 0x7fffb6147be2 in DdiMedia_PutImage (ctx=0x7fffa8081e20, surface=0, image=, src_x=0, src_y=0, src_width=64, src_height=64, dest_x=0, dest_y=0, dest_width=64, dest_height=64) at ./media_driver/linux/common/ddi/media_libva.cpp:5535 #7 0x7fffd425521c in vaPutImage () from /lib/x86_64-linux-gnu/libva.so.2 #8 0x7fffd42def8d in ?? () from /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstvaapi.so #9 0x7fffd429d686 in ?? () from /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstvaapi.so #10 0x7fffd42a480e in ?? () from /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstvaapi.so #11 0x777ac5cb in ?? () from /lib/x86_64-linux-gnu/libgstbase-1.0.so.0 #12 0x777b014d in ?? () from /lib/x86_64-linux-gnu/libgstbase-1.0.so.0 #13 0x77b912f0 in gst_pad_query () from /lib/x86_64-linux-gnu/libgstreamer-1.0.so.0 #14 0x77b91a1b in gst_pad_peer_query () from /lib/x86_64-linux-gnu/libgstreamer-1.0.so.0 #15 0x77bd14b8 in gst_pad_peer_query_caps () from /lib/x86_64-linux-gnu/libgstreamer-1.0.so.0 #16 0x777afe28 in ?? () from /lib/x86_64-linux-gnu/libgstbase-1.0.so.0 #17 0x77b912f0 in gst_pad_query () from /lib/x86_64-linux-gnu/libgstreamer-1.0.so.0 #18 0x77b91a1b in gst_pad_peer_query () from /lib/x86_64-linux-gnu/libgstreamer-1.0.so.0 #19 0x77bcb858 in ?? () from /lib/x86_64-linux-gnu/libgstreamer-1.0.so.0 #20