Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 657980

Summary: media-libs/mesa-9999 build failure with Intel & Vdpau & Vaapi
Product: Gentoo Linux Reporter: Wojciech Myrda <vojcek>
Component: Current packagesAssignee: Gentoo X packagers <x11>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Wojciech Myrda 2018-06-12 14:38:12 UTC
After switch to mason build system mesa is no longer satisfied with selecting Intel for VAAPI or VDPAU. Following config

media-libs/mesa-9999::gentoo  USE="classic dri3 egl gallium gbm llvm lm_sensors%* opencl osmesa vaapi vdpau -bindist -d3d9 -debug -gles1 -gles2 -openmax -pax_kernel -pic (-selinux) {-test%} -unwind -valgrind -vulkan -wayland -xa -xvmc (-nptl%*)" ABI_X86="32 (64) (-x32)" VIDEO_CARDS="i965 intel (-freedreno) -i915 (-imx) -nouveau -r100 -r200 -r300 -r600 -radeon -radeonsi (-vc4) -virgl (-vivante) -vmware" 0 KiB

errors out on vdpau section. Deselecting vdpau leads to another error this time VA.

meson.build:62: WARNING: Floating-point texture enabled. Please consult docs/patents.txt and your lawyer before building mesa.
Program pkg-config found: YES (/usr/bin/pkg-config)

meson.build:549:4: ERROR:  Problem encountered: VA state tracker requires at least one of the following gallium drivers: r600, radeonsi, nouveau.

It all worked just fine for Intel & Vaapi & Vdpau on previous build system

Reverting to previous build system for now would be welcomed
Comment 1 Matt Turner gentoo-dev 2018-06-12 18:23:58 UTC
It did not work properly. VA-API and VDPAU code is only for Gallium drivers. i965 is not a Gallium driver.

Admittedly, all of this is rather confusing and unclear to users. Suggestions welcome for improving things, but to be honest the suggestion

> Reverting to previous build system for now would be welcomed

just makes me mad.