Video playback problems with intel graphics [solved]

Hi,

Freshly installed i3 and xfce on a Dell XPS 9315 (intel graphics). I get sound from videos, but no moving pictures.

Running mpv from the shell shows no errors. With vlc I get the following output:

LC media player 3.0.18 Vetinari (revision 3.0.13-8-g41878ff4f2)
[00005650e99c55e0] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[00007fc758007a40] gl gl: Initialized libplacebo v5.229.2 (API v229)
[00007fc758007a40] glconv_vaapi_x11 gl error: vaInitialize: unknown libva error
[00007fc758007a40] glconv_vaapi_drm gl error: vaInitialize: unknown libva error
[00007fc758007a40] glconv_vaapi_drm gl error: vaInitialize: unknown libva error
[00007fc758007a40] gl gl: Initialized libplacebo v5.229.2 (API v229)
Failed to open VDPAU backend libvdpau_va_gl.so: cannot open shared object file: No such file or directory
[00007fc758007a40] gl gl: Initialized libplacebo v5.229.2 (API v229)

Any suggestions?

Look at this thread.

https://bbs.archlinux.org/viewtopic.php?id=252428

I have installed libva-intel-driver, rebooted and now get:

VLC media player 3.0.18 Vetinari (revision 3.0.13-8-g41878ff4f2)
[000055b5e03b65e0] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[00007f254c007a40] gl gl: Initialized libplacebo v5.229.2 (API v229)
libva error: /usr/lib/dri/i965_drv_video.so init failed
[00007f254c007a40] glconv_vaapi_x11 gl error: vaInitialize: unknown libva error
libva error: /usr/lib/dri/i965_drv_video.so init failed
[00007f254c007a40] glconv_vaapi_drm gl error: vaInitialize: unknown libva error
libva error: /usr/lib/dri/i965_drv_video.so init failed
[00007f254c007a40] glconv_vaapi_drm gl error: vaInitialize: unknown libva error
[00007f254c007a40] gl gl: Initialized libplacebo v5.229.2 (API v229)
Failed to open VDPAU backend libvdpau_va_gl.so: cannot open shared object file: No such file or directory
[00007f254c007a40] gl gl: Initialized libplacebo v5.229.2 (API v229)

It looks like it is not finding a lib file still, if you install libvdpau-va-gl that should provide it for you.

Also, there is a newer driver now, which may or may not work better for you

Pulled from optional dependancies of libva

Thanks for helping out.

I installed libvdpau-va-gl and intel-media-driver and rebooted and still no luck. libva-intel-driver was already installed.

When running VLC from the command line I get no errors, but the image still does not move. When quitting VLC I get (opening an mp4 file):

VLC media player 3.0.18 Vetinari (revision 3.0.13-8-g41878ff4f2)
[000056227c30b5e0] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[00007f8620007a40] gl gl: Initialized libplacebo v5.229.2 (API v229)
[00007f8644c211e0] avcodec decoder: Using Intel iHD driver for Intel(R) Gen Graphics - 23.1.0 () for hardware decoding
^C[h264 @ 0x7f8644ef34c0] get_buffer() failed
[h264 @ 0x7f8644ef34c0] thread_get_buffer() failed
[h264 @ 0x7f8644ef34c0] decode_slice_header error
[h264 @ 0x7f8644ef34c0] no frame!

With mpv I see no errors in the console, but still no moving pictures.

It always worked perfectly until recently :frowning:

Interestingly, video playback works fine when running directly from the installation medium in xfce (I use i3).

Oh! Knowing it had worked until recently triggered a thought. By recently, would that be today? The libplacebo pkg was updated today.

yay -Qi libplacebo

Name : libplacebo
Version : 5.229.2-1
Description : Reusable library for GPU-accelerated video/image rendering primitives
Architecture : x86_64
URL : https://github.com/haasn/libplacebo
Licenses : LGPL2.1
Groups : None
Provides : libplacebo.so=229-64
Depends On : vulkan-icd-loader libvulkan.so=1-64 glslang lcms2 liblcms2.so=2-64 shaderc libshaderc_shared.so=1-64 glibc gcc-libs libunwind
Optional Deps : None
Required By : mpv
Optional For : None
Conflicts With : None
Replaces : None
Installed Size : 1186.67 KiB
Packager : Levente Polyak anthraxx@archlinux.org
Build Date : Sat 25 Feb 2023 06:05:01 AM CST
Install Date : Sat 25 Feb 2023 02:00:38 PM CST
Install Reason : Installed as a dependency for another package
Install Script : No
Validated By : Signature

From the last error, it looks like you have v5.229.2, so you could try to downgrade it to the previous.

sudo downgrade libplacebo

If this works, you may want to report the error upstream at https://github.com/haasn/libplacebo

At the moment, that seems like it would support the theory that downgrading the libplacebo library will help. There are still other factors at play between the ISO and bare metal, so that might only be wishful thinking.

Edit:
I also use i3, but on a HP Omen Optimus laptop. I did find an mp4 in my library, and it plays in mpv on my system. As I am using nvidia, this doesn’t really provide much help as to whether it is libplacebo, or still hunting a missing lib or config, unfortunately.

I downgraded to 5.229.1-1 without luck. Going down to version 4 breaks an mpv dependency.

What analysis can I do to compare the live ISO with the installed version?

I removed the xf86-video-intel driver, according to this page.

I also installed the same packages as in the live distro. VLC still gives some errors, but plays videos.

2 Likes

Sorry, had to run a couple of errands.

Sounds like you figured out how to compare and find the differences for ISO and installed files.

Glad to hear you got it working. Not sure why it would have stopped working for you, but you might take a look at Arch Wiki Intel, to see if you can get direction for any of the remaining errors.

1 Like

Thanks. That looks very technical. It works so I stick with what I have now. I am sure any issues will fix themselves in future updates. I don’t know enough about hardware to properly troubleshoot this issue.

Postscriptum: I did a fresh install, removed xf86-video-intel, rebooted and presto.

2 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.