VLC keeps crashing upon opening videos 07 January 2023, 17:35:51 Code: [Select]VLC media player 3.0.18 Vetinari (revision 3.0.13-8-g41878ff4f2)[000055ad99734600] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.[000055ad997c3a70] main playlist: playlist is empty[00007fb39c007630] gl gl: Initialized libplacebo v5.229.0 (API v229)libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)[00007fb39c007630] glconv_vaapi_x11 gl error: vaInitialize: unknown libva errorSegmentation fault
Re: VLC keeps crashing upon opening videos Reply #1 – 07 January 2023, 17:36:17 I've tried changing settings in inputs/codecs from VDPAU to VAAPI but nothing works. I'm stumped
Re: VLC keeps crashing upon opening videos Reply #2 – 07 January 2023, 17:39:56 this error happens from my other computer, but it works. I use NVIDIA on both.Code: [Select]VLC media player 3.0.18 Vetinari (revision 3.0.13-8-g41878ff4f2)[0000559c9b425600] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.[0000559c9b4b7da0] main playlist: playlist is empty[0000559c9b4fa6a0] main audio output error: too low audio sample frequency (0)[00007fa6e8d142e0] main decoder error: failed to create audio output[0000559c9b4fa6a0] vlcpulse audio output error: digital pass-through stream connection failure: Not supported[0000559c9b4fa6a0] main audio output error: module not functional[00007fa6e8d142e0] main decoder error: failed to create audio output[00007fa6c0007400] gl gl: Initialized libplacebo v5.229.0 (API v229)libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)[00007fa6c0007400] glconv_vaapi_x11 gl error: vaInitialize: unknown libva error[00007fa6c0007400] glconv_vaapi_drm gl error: vaInitialize: unknown libva error[00007fa6c0007400] glconv_vaapi_drm gl error: vaInitialize: unknown libva error[00007fa6c0007400] gl gl: Initialized libplacebo v5.229.0 (API v229)[00007fa6e8c1c320] avcodec decoder: Using NVIDIA VDPAU Driver Shared Library 525.60.11 Wed Nov 23 22:48:12 UTC 2022 for hardware decoding
Re: VLC keeps crashing upon opening videos Reply #3 – 07 January 2023, 17:44:24 Code: [Select]display: :0 screen: 0API version: 1Information string: NVIDIA VDPAU Driver Shared Library 525.60.11 Wed Nov 23 22:48:12 UTC 2022Video surface:name width height types-------------------------------------------420 8192 8192 NV12 YV12 422 8192 8192 UYVY YUYV 444 8192 8192 NV24 YV24 420_16 8192 8192 P010 P016 422_16 8192 8192 UYVY YUYV 444_16 8192 8192 Y_U_V_444_16 Decoder capabilities:name level macbs width height----------------------------------------------------MPEG1 0 65536 4096 4096MPEG2_SIMPLE 3 65536 4096 4096MPEG2_MAIN 3 65536 4096 4096H264_BASELINE 51 65536 4096 4096H264_MAIN 51 65536 4096 4096H264_HIGH 51 65536 4096 4096VC1_SIMPLE 1 8190 2048 2048VC1_MAIN 2 8190 2048 2048VC1_ADVANCED 4 8190 2048 2048MPEG4_PART2_SP 3 8192 2048 2048MPEG4_PART2_ASP 5 8192 2048 2048DIVX4_QMOBILE 0 8192 2048 2048DIVX4_MOBILE 0 8192 2048 2048DIVX4_HOME_THEATER 0 8192 2048 2048DIVX4_HD_1080P 0 8192 2048 2048DIVX5_QMOBILE 0 8192 2048 2048DIVX5_MOBILE 0 8192 2048 2048DIVX5_HOME_THEATER 0 8192 2048 2048DIVX5_HD_1080P 0 8192 2048 2048H264_CONSTRAINED_BASELINE 51 65536 4096 4096H264_EXTENDED 51 65536 4096 4096H264_PROGRESSIVE_HIGH 51 65536 4096 4096H264_CONSTRAINED_HIGH 51 65536 4096 4096H264_HIGH_444_PREDICTIVE 51 65536 4096 4096VP9_PROFILE_0 1 262144 8192 8192VP9_PROFILE_1 --- not supported ---VP9_PROFILE_2 --- not supported ---VP9_PROFILE_3 --- not supported ---HEVC_MAIN 153 262144 8192 8192HEVC_MAIN_10 153 262144 8192 8192HEVC_MAIN_STILL --- not supported ---HEVC_MAIN_12 153 262144 8192 8192HEVC_MAIN_444 --- not supported ---HEVC_MAIN_444_10 --- not supported ---HEVC_MAIN_444_12 --- not supported ---AV1_MAIN --- not supported ---AV1_HIGH --- not supported ---AV1_PROFESSIONAL --- not supported ---Output surface:name width height nat types----------------------------------------------------B8G8R8A8 32768 32768 y Y8U8V8A8 V8U8Y8A8 A4I4 I4A4 A8I8 I8A8 R10G10B10A2 32768 32768 y Y8U8V8A8 V8U8Y8A8 A4I4 I4A4 A8I8 I8A8 Bitmap surface:name width height------------------------------B8G8R8A8 32768 32768R8G8B8A8 32768 32768R10G10B10A2 32768 32768B10G10R10A2 32768 32768A8 32768 32768Video mixer:feature name sup------------------------------------DEINTERLACE_TEMPORAL yDEINTERLACE_TEMPORAL_SPATIAL yINVERSE_TELECINE yNOISE_REDUCTION ySHARPNESS yLUMA_KEY yHIGH QUALITY SCALING - L1 yHIGH QUALITY SCALING - L2 -HIGH QUALITY SCALING - L3 -HIGH QUALITY SCALING - L4 -HIGH QUALITY SCALING - L5 -HIGH QUALITY SCALING - L6 -HIGH QUALITY SCALING - L7 -HIGH QUALITY SCALING - L8 -HIGH QUALITY SCALING - L9 -parameter name sup min max-----------------------------------------------------VIDEO_SURFACE_WIDTH y 1 8192VIDEO_SURFACE_HEIGHT y 1 8192CHROMA_TYPE y LAYERS y 0 4attribute name sup min max-----------------------------------------------------BACKGROUND_COLOR y CSC_MATRIX y NOISE_REDUCTION_LEVEL y 0.00 1.00SHARPNESS_LEVEL y -1.00 1.00LUMA_KEY_MIN_LUMA y LUMA_KEY_MAX_LUMA y
Re: VLC keeps crashing upon opening videos Reply #4 – 07 January 2023, 19:01:59 with extra repo's nvidia-dkms/nvidia-utilsCode: [Select]display: :0 screen: 0API version: 1Information string: NVIDIA VDPAU Driver Shared Library 525.78.01 Mon Dec 26 05:38:00 UTC 2022Video surface:name width height types-------------------------------------------420 8192 8192 NV12 YV12 422 8192 8192 UYVY YUYV 444 8192 8192 NV24 YV24 420_16 8192 8192 P010 P016 422_16 8192 8192 UYVY YUYV 444_16 8192 8192 Y_U_V_444_16 Decoder capabilities:name level macbs width height----------------------------------------------------MPEG1 0 65536 4096 4096MPEG2_SIMPLE 3 65536 4096 4096MPEG2_MAIN 3 65536 4096 4096H264_BASELINE 51 65536 4096 4096H264_MAIN 51 65536 4096 4096H264_HIGH 51 65536 4096 4096VC1_SIMPLE 1 8190 2048 2048VC1_MAIN 2 8190 2048 2048VC1_ADVANCED 4 8190 2048 2048MPEG4_PART2_SP 3 8192 2048 2048MPEG4_PART2_ASP 5 8192 2048 2048DIVX4_QMOBILE 0 8192 2048 2048DIVX4_MOBILE 0 8192 2048 2048DIVX4_HOME_THEATER 0 8192 2048 2048DIVX4_HD_1080P 0 8192 2048 2048DIVX5_QMOBILE 0 8192 2048 2048DIVX5_MOBILE 0 8192 2048 2048DIVX5_HOME_THEATER 0 8192 2048 2048DIVX5_HD_1080P 0 8192 2048 2048H264_CONSTRAINED_BASELINE 51 65536 4096 4096H264_EXTENDED 51 65536 4096 4096H264_PROGRESSIVE_HIGH 51 65536 4096 4096H264_CONSTRAINED_HIGH 51 65536 4096 4096H264_HIGH_444_PREDICTIVE 51 65536 4096 4096VP9_PROFILE_0 1 262144 8192 8192VP9_PROFILE_1 --- not supported ---VP9_PROFILE_2 --- not supported ---VP9_PROFILE_3 --- not supported ---HEVC_MAIN 153 262144 8192 8192HEVC_MAIN_10 153 262144 8192 8192HEVC_MAIN_STILL --- not supported ---HEVC_MAIN_12 153 262144 8192 8192HEVC_MAIN_444 --- not supported ---HEVC_MAIN_444_10 --- not supported ---HEVC_MAIN_444_12 --- not supported ---AV1_MAIN --- not supported ---AV1_HIGH --- not supported ---AV1_PROFESSIONAL --- not supported ---Output surface:name width height nat types----------------------------------------------------B8G8R8A8 32768 32768 y Y8U8V8A8 V8U8Y8A8 A4I4 I4A4 A8I8 I8A8 R10G10B10A2 32768 32768 y Y8U8V8A8 V8U8Y8A8 A4I4 I4A4 A8I8 I8A8 Bitmap surface:name width height------------------------------B8G8R8A8 32768 32768R8G8B8A8 32768 32768R10G10B10A2 32768 32768B10G10R10A2 32768 32768A8 32768 32768Video mixer:feature name sup------------------------------------DEINTERLACE_TEMPORAL yDEINTERLACE_TEMPORAL_SPATIAL yINVERSE_TELECINE yNOISE_REDUCTION ySHARPNESS yLUMA_KEY yHIGH QUALITY SCALING - L1 yHIGH QUALITY SCALING - L2 -HIGH QUALITY SCALING - L3 -HIGH QUALITY SCALING - L4 -HIGH QUALITY SCALING - L5 -HIGH QUALITY SCALING - L6 -HIGH QUALITY SCALING - L7 -HIGH QUALITY SCALING - L8 -HIGH QUALITY SCALING - L9 -parameter name sup min max-----------------------------------------------------VIDEO_SURFACE_WIDTH y 1 8192VIDEO_SURFACE_HEIGHT y 1 8192CHROMA_TYPE y LAYERS y 0 4attribute name sup min max-----------------------------------------------------BACKGROUND_COLOR y CSC_MATRIX y NOISE_REDUCTION_LEVEL y 0.00 1.00SHARPNESS_LEVEL y -1.00 1.00LUMA_KEY_MIN_LUMA y LUMA_KEY_MAX_LUMA y
Re: VLC keeps crashing upon opening videos Reply #5 – 07 January 2023, 19:08:07 vainfo:Code: [Select]vainfoTrying display: waylandTrying display: x11libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)vaInitialize failed with error code -1 (unknown libva error),exit
Re: VLC keeps crashing upon opening videos Reply #6 – 07 January 2023, 19:17:38 I uninstalled libva-vdpau-driver and now it works. Was this package not supposed to be installed?
Re: VLC keeps crashing upon opening videos Reply #7 – 07 January 2023, 20:00:48 Your result states an affirmative to that. I use Nvidia "dkms" video driver with only libvdpau and lib32-libvdpau and stuff has worked so far. One has to tweak their environment to the unique combination of variables when getting a system running and running well.
Re: VLC keeps crashing upon opening videos Reply #8 – 07 January 2023, 20:29:17 This is still potentially a vlc bug. Having a package installed shouldn't crash an application. In your case, VDPAU is pretty dated and abandoned (nvidia uses nvdec nowadays) so maybe consider not using it at all. Depends on your gpu and all that of course.