Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 657980 - media-libs/mesa-9999 build failure with Intel & Vdpau & Vaapi
Summary: media-libs/mesa-9999 build failure with Intel & Vdpau & Vaapi
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-12 14:38 UTC by Wojciech Myrda
Modified: 2018-06-12 18:24 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.