You are not logged in.

#1 2022-04-04 14:18:52

dakush
Member
Registered: 2022-04-04
Posts: 3

[SOLVED] Hardware video acceleration stopped working

I have a Lenovo Carbon X1 Gen4 laptop, with an Intel core i5 and a graphic card Skylake GT2 (HD Graphics 520). Hardware acceleration has been working fine since I installed Arch (3-4 years ago) with intel-media-driver.

However, in the last days (weeks?) it stopped working (I can't tell exactly when because it's not something I use on a regular basis). I found out because I can't start kodi anymore, I just get a blank screen and then this:

[dakush@x1gen4] ~ $ kodi
libva error: /lib/dri/iHD_drv_video.so init failed
Failed to open VDPAU backend libvdpau_va_gl.so: cannot open shared object file: No such file or directory
/usr/bin/kodi: line 186: 52783 Segmentation fault      (core dumped) ${KODI_BINARY} $SAVED_ARGS

If I run the verification suggested in the wiki, the video plays out but I get these error messages:

[dakush@x1gen4] ~ $ mpv --hwdec=auto FKToM-ZXMAg1u5s.mp4 
 (+) Video --vid=1 (*) (h264 480x270 14.966fps)
[vo/gpu] Interpolation now requires enabling display-sync mode.
[vo/gpu] E.g.: --video-sync=display-resample
[vaapi] libva: /lib/dri/iHD_drv_video.so init failed
Cannot load libcuda.so.1
[ffmpeg] AVHWDeviceContext: Cannot load libcuda.so.1
[ffmpeg] AVHWDeviceContext: Could not dynamically load CUDA
[vaapi] libva: /lib/dri/iHD_drv_video.so init failed
Failed to open VDPAU backend libvdpau_va_gl.so: cannot open shared object file: No such file or directory
[ffmpeg/video] h264_v4l2m2m: Could not find a valid device
[ffmpeg/video] h264_v4l2m2m: can't configure decoder
Could not open codec.
VO: [gpu] 480x270 yuv420p
V: 00:00:01 / 00:00:01 (95%)

Exiting... (End of file)

And finally, if I run vainfo:

[dakush@x1gen4] ~ $ vainfo
libva error: /lib/dri/iHD_drv_video.so init failed
vaInitialize failed with error code 1 (operation failed),exit

I've checked that /lib/dri/iHD_drv_video.so actually exists:

[dakush@x1gen4] ~ $ ls -la /lib/dri/iHD_drv_video.so 
-rwxr-xr-x 1 root root 36M Mar  4 23:30 /lib/dri/iHD_drv_video.so

And:

[dakush@x1gen4] ~ $ ldd /lib/dri/iHD_drv_video.so 
	linux-vdso.so.1 (0x00007ffedfde5000)
	libigdgmm.so.12 => /usr/lib/libigdgmm.so.12 (0x00007f4bc950e000)
	libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f4bc92e8000)
	libm.so.6 => /usr/lib/libm.so.6 (0x00007f4bc9200000)
	libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007f4bc91e5000)
	libc.so.6 => /usr/lib/libc.so.6 (0x00007f4bc8fdb000)
	/usr/lib64/ld-linux-x86-64.so.2 (0x00007f4bcb8fd000)

I tried to uninstall and reinstall intel-media-driver but it still doesn't work. Any idea about what could be wrong? Thanks.

Last edited by dakush (2022-04-04 18:05:45)

Offline

#2 2022-04-04 15:02:30

martinc2
Member
Registered: 2011-09-23
Posts: 60

Re: [SOLVED] Hardware video acceleration stopped working

See FS#74330.

Offline

#3 2022-04-04 18:04:03

dakush
Member
Registered: 2022-04-04
Posts: 3

Re: [SOLVED] Hardware video acceleration stopped working

OK then, thanks

Offline

#4 2022-04-07 20:01:00

decader
Member
Registered: 2021-03-19
Posts: 1

Re: [SOLVED] Hardware video acceleration stopped working

fixed in intel-media-driver 22.2.2-2

Offline

#5 2022-04-07 21:21:27

dakush
Member
Registered: 2022-04-04
Posts: 3

Re: [SOLVED] Hardware video acceleration stopped working

Confirmed, it works again

Offline

Board footer

Powered by FluxBB