https://bugzilla.suse.com/show_bug.cgi?id=1234858 Bug ID: 1234858 Summary: Intel hybrid driver "hybrid_drv_video.so" for VA API (VAAPI) does not work Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.6 Hardware: x86-64 OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: X11 3rd Party Driver Assignee: gfx-bugs@suse.de Reporter: kaykaykay123@gmail.com QA Contact: sndirsch@suse.com Target Milestone: --- Found By: Community User Blocker: --- Intel hybrid driver "hybrid_drv_video.so" for VA API (VAAPI) does not work. It provides VP9 decoding for Intel GPUs from Haswell (maybe Ivy Bridge) till Skylake by using CPU together with GPU shaders. Package intel-hybrid-driver installs "hybrid_drv_video.so", requires package libcmrt1 to work. Link to package: https://software.opensuse.org/package/intel-hybrid-driver Intel-hybrid-driver is available for Leap - backported from SLE (bp156, bp155 prefixes). OpenSUSE uses 2 from 5 available patches. Possibly patch "U_Update-the-dependency-to-libva-2.0.patch" is not needed any more. https://build.opensuse.org/projects/X11:XOrg/packages/intel-hybrid-driver/fi... Intel hybrid driver versions: https://repology.org/project/intel-hybrid-driver/versions Intel hybrid driver patches from Gentoo: https://gitweb.gentoo.org/repo/gentoo.git/tree/media-libs/intel-hybrid-codec... After applying all 5 patches driver can be versioned as 2.0.0. To test intel-hybrid-driver you need to explicitly require it by using environment variable: "LIBVA_DRIVER_NAME=hybrid": Now it is :~> LIBVA_DRIVER_NAME=hybrid vainfo libva info: VA-API version 1.16.0 libva info: User environment variable requested driver 'hybrid' libva info: Trying to open /usr/lib64/dri/hybrid_drv_video.so libva error: /usr/lib64/dri/hybrid_drv_video.so has no function __vaDriverInit_1_0 libva info: va_openDriver() returns -1 vaInitialize failed with error code -1 (unknown libva error),exit Output for working driver radeonsi_drv_video.so: :~> vainfo libva info: VA-API version 1.16.0 libva info: Trying to open /usr/lib64/dri/radeonsi_drv_video.so libva info: Found init function __vaDriverInit_1_16 libva info: va_openDriver() returns 0 vainfo: VA-API version: 1.16 (libva 2.15.0) vainfo: Driver version: Mesa Gallium driver 22.3.5 for AMD Radeon Graphics (raven, LLVM 15.0.7, DRM 3.49, 5.14.21-150500.55.88-default) vainfo: Supported profile and entrypoints VAProfileMPEG2Simple : VAEntrypointVLD VAProfileMPEG2Main : VAEntrypointVLD VAProfileVC1Simple : VAEntrypointVLD VAProfileVC1Main : VAEntrypointVLD VAProfileVC1Advanced : VAEntrypointVLD VAProfileH264ConstrainedBaseline: VAEntrypointVLD VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice VAProfileH264Main : VAEntrypointVLD VAProfileH264Main : VAEntrypointEncSlice VAProfileH264High : VAEntrypointVLD VAProfileH264High : VAEntrypointEncSlice VAProfileHEVCMain : VAEntrypointVLD VAProfileHEVCMain : VAEntrypointEncSlice VAProfileHEVCMain10 : VAEntrypointVLD VAProfileJPEGBaseline : VAEntrypointVLD VAProfileVP9Profile0 : VAEntrypointVLD VAProfileVP9Profile2 : VAEntrypointVLD VAProfileNone : VAEntrypointVideoProc Output for working hybrid_drv_video.so on some old system: timo@Zeo ~ % export LIBVA_DRIVER_NAME=hybrid timo@Zeo ~ % vainfo libva info: VA-API version 0.38.0 libva info: va_getDriverName() returns 0 libva info: User requested driver 'hybrid' libva info: Trying to open /usr/lib64/va/drivers/hybrid_drv_video.so libva info: Found init function __vaDriverInit_0_34 libva info: va_openDriver() returns 0 vainfo: VA-API version: 0.38 (libva 1.6.1.pre1) vainfo: Driver version: Intel hybrid driver - 1.0.1.pre1 vainfo: Supported profile and entrypoints VAProfileVP8Version0_3 : VAEntrypointEncSlice VAProfileVP9Profile0 : VAEntrypointVLD Exploring error "libva error: /usr/lib64/dri/hybrid_drv_video.so has no function __vaDriverInit_1_0" -> Finding vaDriverInit in intel-hybrid-driver driver: :~> /usr/bin/nm --demangle -D /home/mypc/Temp/intel-hybrid-driver-1.0.2-bp156.4.4.x86_64/usr/lib64/dri/hybrid_drv_video.so | grep vaDriverInit 000000000001c530 T __vaDriverInit_0_34 Finding vaDriverInit in radeonsi_drv_video.so driver from Mesa 22.3.5: :~> /usr/bin/nm --demangle -D /home/mypc/Temp/radeonsi_drv_video.so | grep vaDriverInit 0000000000068a90 T __vaDriverInit_1_16 ILL patch https://gitweb.gentoo.org/repo/gentoo.git/tree/media-libs/intel-hybrid-codec... is needed to solve that error. Conclusion: please apply all 5 patches: https://gitweb.gentoo.org/repo/gentoo.git/tree/media-libs/intel-hybrid-codec... -- You are receiving this mail because: You are on the CC list for the bug.