https://bugs.kde.org/show_bug.cgi?id=388020
--- Comment #2 from Mauro Carvalho Chehab <mchehab+...@kernel.org> --- (In reply to Mauro Carvalho Chehab from comment #1) > 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. Btw, pointing to a wrong driver here shows the point at libvlc where it crashes, with vlc-3.0.0-0.43.git20171208.fc27.x86_64: #0 0x00007fff7e92c4c6 in vlc_vaapi_InitializeInstanceDRM () at /usr/lib64/vlc/plugins/video_output/libglconv_vaapi_drm_plugin.so #1 0x00007fff7e92bfa2 in Open () at /usr/lib64/vlc/plugins/video_output/libglconv_vaapi_drm_plugin.so #2 0x00007ffff0905da3 in module_load.isra () at /lib64/libvlccore.so.9 #3 0x00007ffff090618f in vlc_module_load () at /lib64/libvlccore.so.9 #4 0x00007fff855212f3 in opengl_init_program () at /usr/lib64/vlc/plugins/video_output/libgl_plugin.so #5 0x00007fff855224c2 in vout_display_opengl_New () at /usr/lib64/vlc/plugins/video_output/libgl_plugin.so #6 0x00007fff85527412 in Open () at /usr/lib64/vlc/plugins/video_output/libgl_plugin.so #7 0x00007ffff0905da3 in module_load.isra () at /lib64/libvlccore.so.9 #8 0x00007ffff090618f in vlc_module_load () at /lib64/libvlccore.so.9 #9 0x00007ffff094214f in DisplayNew () at /lib64/libvlccore.so.9 #10 0x00007ffff0943493 in vout_NewDisplay () at /lib64/libvlccore.so.9 #11 0x00007ffff094ff40 in vout_OpenWrapper () at /lib64/libvlccore.so.9 #12 0x00007ffff0946283 in ThreadStart () at /lib64/libvlccore.so.9 #13 0x00007ffff0947c61 in Thread () at /lib64/libvlccore.so.9 #14 0x00007ffff1356609 in start_thread () at /lib64/libpthread.so.0 #15 0x00007ffff1687e6f in clone () at /lib64/libc.so.6 On previous libVLC versions, when libva fails to open a driver, it falls back to a non-accelerated driver. Clearly, there's a bug somewhere at libVLC. -- You are receiving this mail because: You are watching all bug changes.