Hide Forgot
Hi, I can't use vdpau on my laptop, i always get core dumps: [user@localhost ~]$ vdpauinfo display: :0 screen: 0 libva info: VA-API version 0.39.4 libva info: va_getDriverName() returns -1 libva info: User requested driver 'i965' libva info: Trying to open /usr/lib64/dri/i965_drv_video.so libva info: Found init function __vaDriverInit_0_39 vdpauinfo: intel_driver.c:100: intel_driver_init: Assertion `VA_CHECK_DRM_AUTH_TYPE(ctx, VA_DRM_AUTH_DRI1) || VA_CHECK_DRM_AUTH_TYPE(ctx, VA_DRM_AUTH_DRI2) || VA_CHECK_DRM_AUTH_TYPE(ctx, VA_DRM_AUTH_CUSTOM)' failed. Hardware/Software: HP Omen 15-5100np Kernel 4.8.8-300.fc25.x86_64 [user@localhost ~]$ env | grep VDPAU VDPAU_DRIVER=va_gl [user@localhost ~]$ env | grep LIBVA LIBVA_DRIVER_NAME=i965 [user@localhost ~]$ vainfo libva info: VA-API version 0.39.4 libva info: va_getDriverName() returns 0 libva info: User requested driver 'i965' libva info: Trying to open /usr/lib64/dri/i965_drv_video.so libva info: Found init function __vaDriverInit_0_39 libva info: va_openDriver() returns 0 vainfo: VA-API version: 0.39 (libva 1.7.3) vainfo: Driver version: Intel i965 driver for Intel(R) Haswell Mobile - 1.7.2 vainfo: Supported profile and entrypoints VAProfileMPEG2Simple : VAEntrypointVLD VAProfileMPEG2Simple : VAEntrypointEncSlice VAProfileMPEG2Main : VAEntrypointVLD VAProfileMPEG2Main : VAEntrypointEncSlice VAProfileH264ConstrainedBaseline: VAEntrypointVLD VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice VAProfileH264Main : VAEntrypointVLD VAProfileH264Main : VAEntrypointEncSlice VAProfileH264High : VAEntrypointVLD VAProfileH264High : VAEntrypointEncSlice VAProfileH264MultiviewHigh : VAEntrypointVLD VAProfileH264MultiviewHigh : VAEntrypointEncSlice VAProfileH264StereoHigh : VAEntrypointVLD VAProfileH264StereoHigh : VAEntrypointEncSlice VAProfileVC1Simple : VAEntrypointVLD VAProfileVC1Main : VAEntrypointVLD VAProfileVC1Advanced : VAEntrypointVLD VAProfileNone : VAEntrypointVideoProc VAProfileJPEGBaseline : VAEntrypointVLD [root@localhost ~]# rpm -qa | grep libva libva-1.7.3-1.fc25.i686 libva-utils-1.7.3-1.fc25.x86_64 libva-intel-driver-1.7.2-1.fc25.x86_64 libva-1.7.3-1.fc25.x86_64 libva-devel-1.7.3-1.fc25.x86_64 libva-intel-driver-1.7.2-1.fc25.i686 [root@localhost ~]# rpm -qa | grep vdpa libvdpau-va-gl-0.4.2-2.fc25.x86_64 libvdpau-1.1.1-3.fc24.i686 vdpauinfo-1.0-5.fc24.x86_64 libvdpau-1.1.1-3.fc24.x86_64 libvdpau-devel-1.1.1-3.fc24.x86_64
Can you verify to have the appropriate version of the vaapi backend ? dnf update --enablerepo=rpmfusion-free-updates-testing libva-intel-driver
Done. Still the same problem.
Are you under wayland ?
Yes.
I'm pretty sure the vdpau/vaapi bridge is not compatible with wayland. But you are hitting this bug because you have explicitely set the VDPAU_DRIVER and LIBVA_DRIVER_NAME env. If both are unset you should probably have vaapi working in wayland and both should work in xorg , which is accurate for the supported environment. Can you confirm this ?
Hi, i didn't knew that this was the behavior on wayland. And yes i can confirm i can use vaapi for example with mpv: . . . [vo/opengl] retrieving framebuffer depth: OpenGL error INVALID_OPERATION. libva info: VA-API version 0.39.4 libva info: va_getDriverName() returns 0 libva info: User requested driver 'i965' libva info: Trying to open /usr/lib64/dri/i965_drv_video.so libva info: Found init function __vaDriverInit_0_39 libva info: va_openDriver() returns 0 AO: [pulse] 48000Hz 5.1(side) 6ch float Using hardware decoding (vaapi). VO: [opengl] 1280x536 vaapi AV: 00:00:04 / 02:14:06 (0%) A-V: 0.000 Cache: 10s+73MB Exiting... (Quit)