https://bugs.kde.org/show_bug.cgi?id=388020

--- Comment #1 from Mauro Carvalho Chehab <mchehab+...@kernel.org> ---
It actually seems to be a bug at va-api or libvlc. From the logs, it is trying
to load libva-intel-driver,
but either your machine is using a different GPU or this package is not
installed.

Here, when I start Kaffeine (on a machine with an Intel GPU), it displays:

libva info: VA-API version 0.40.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_40
failed to open /usr/lib64/dri/hybrid_drv_video.so
Failed to wrapper hybrid_drv_video.so
libva info: va_openDriver() returns 0
[00007f3a18f5d000] avcodec decoder: Using Intel i965 driver for Intel(R)
Skylake - 1.8.3 for hardware decoding

And video plays.

If, otherwise, I force Kaffeine to use a wrong driver:

$ LIBVA_DRIVER_NAME="r600" kaffeine

libva info: VA-API version 0.40.0
libva info: va_getDriverName() returns 0
libva info: User requested driver 'r600'
libva info: Trying to open /usr/lib64/dri/r600_drv_video.so
libva info: Found init function __vaDriverInit_0_40
libva error: /usr/lib64/dri/r600_drv_video.so init failed
libva info: va_openDriver() returns 2
[00007fcc10001e80] glconv_vaapi_x11 gl error: vaInitialize: resource allocation
failed

It tries it three times, then it crashes.

On your machine, it is either selecting a wrong driver (maybe LIBVA_DRIVER_NAME
is set?) or your specific video adapter is not supported by the Intel driver.

A simple solution is to remove the libva package.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to