Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 663660 - media-libs/mesa-18.2.0_rc2: VDPAU state tracker requires at least one of the following gallium drivers: ...
Summary: media-libs/mesa-18.2.0_rc2: VDPAU state tracker requires at least one of the ...
Status: RESOLVED FIXED
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:
: 663876 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-08-15 07:24 UTC by Michał Górny
Modified: 2018-08-18 04:53 UTC (History)
4 users (show)

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


Attachments
media-libs:mesa-18.2.0_rc2:20180815-070942.log (media-libs:mesa-18.2.0_rc2:20180815-070942.log,5.42 KB, text/plain)
2018-08-15 07:24 UTC, Michał Górny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-08-15 07:24:39 UTC
Created attachment 543502 [details]
media-libs:mesa-18.2.0_rc2:20180815-070942.log

* USE:        abi_x86_32 classic dri3 egl elibc_glibc gallium gbm gles1 gles2 kernel_linux llvm osmesa userland_GNU vdpau video_cards_intel wayland x86

meson.build:401:4: ERROR:  Problem encountered: VDPAU state tracker requires at least one of the following gallium drivers: r300, r600, radeonsi, nouveau.
Comment 1 Dennis Schridde 2018-08-15 08:27:38 UTC
In addition to REQUIRED_USE="
  vaapi? ( gallium || ( video_cards_{r600,radeon,nouveau} ) )
  d3d9? ( gallium || (video_cards_{i915,r300,r600,radeonsi,nouveau} ) )
  vdpau? ( gallium || ( video_cards_{r300,r600,radeonsi,nouveau} ) )"

We also need REQUIRED_USE="...
  xvmc? ( gallium || ( video_cards_{r600,nouveau} ) )
  xa? ( gallium || ( video_cards_{i915,freedreno,nouveau} ) )
  omx? ( gallium || ( video_cards_{r600,radeonsi,nouveau} ) )

See-Also: https://bugs.gentoo.org/663470
See-Also: https://bugs.gentoo.org/663418
See-Also: https://bugs.gentoo.org/663546
See-Also: https://bugs.gentoo.org/663660
Comment 2 Manfred Knick 2018-08-15 12:14:26 UTC
For generations, mesa and nvidia-drivers trotted side-by-side:

https://de.wikipedia.org/wiki/Video_Decode_and_Presentation_API_for_Unix

https://wiki.gentoo.org/wiki/NVidia/nvidia-drivers#Enabling_global_nvidia_support

https://wiki.gentoo.org/wiki/VDPAU

# cd /var/tmp/portage/media-libs/mesa-18.2.0_rc2/work/mesa-18.2.0-rc2
# grep "VDPAU state tracker" meson.build 
    error('VDPAU state tracker can only be build on unix-like OSes.')
    error('VDPAU state tracker requires X11 support.')
    error('VDPAU state tracker requires at least one of the following 
                          gallium drivers: r300, r600, radeonsi, nouveau.')


Please c.f. meson.build, lines 385 ff.,
esp. lines 398..402:

elif not (with_gallium_r300 or with_gallium_r600 or with_gallium_radeonsi or
          with_gallium_nouveau)
  if _vdpau == 'true'
    error('VDPAU state tracker requires at least one of the following gallium drivers: r300, r600, radeonsi, nouveau.')


# equery uses =media-libs/mesa-18.1.5:0  =media-libs/mesa-18.2.0_rc2:0

does not reveal any related difference (only +lm_sensors) at all.
Comment 3 Manfred Knick 2018-08-15 14:32:13 UTC
WORKSFORME: media-libs/mesa-18.1.6:0

SIMILAR:
Bug 663470 - media-libs/mesa-18.2.0_rc2 needs radeon or nouveau for vaapi
Comment 4 Brian Evans (RETIRED) gentoo-dev 2018-08-17 13:31:15 UTC
*** Bug 663876 has been marked as a duplicate of this bug. ***
Comment 5 Juergen Rose 2018-08-17 14:05:43 UTC
Does anybody know a combination of USE  VIDEO_CARDS settings which allow to emerge mesa-18.2.0_rc2 on intel VGA card?

root@cheetahnew:/root(24)# lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
Comment 6 Manfred Knick 2018-08-17 17:29:21 UTC
(In reply to Juergen Rose from comment #5)
> Does anybody know a combination of USE  VIDEO_CARDS settings which allow to
> emerge mesa-18.2.0_rc2 on intel VGA card?

Simpliest should be setting

  VIDEO_CARDS = intel

in make.conf
Comment 7 Juergen Rose 2018-08-17 21:15:48 UTC
(In reply to Manfred Knick from comment #6)
> (In reply to Juergen Rose from comment #5)
> > Does anybody know a combination of USE  VIDEO_CARDS settings which allow to
> > emerge mesa-18.2.0_rc2 on intel VGA card?
> 
> Simpliest should be setting
> 
>   VIDEO_CARDS = intel
> 
> in make.conf

'VIDEO_CARDS="intel" in make.conf' was my starting point. It results in 
https://bugs.gentoo.org/663578 .

Then I used 'VIDEO_CARDS="intel i965", which gave 
meson.build:401:4: ERROR:  Problem encountered: VDPAU state tracker requires at least one of the following gallium drivers: r300, r600, radeonsi, nouveau.

I tried also 'VIDEO_CARDS="intel i915"', which failed as well.

I also remove the vdpau vaapi xvmc USE flags. Nothing helped.
Comment 8 Larry the Git Cow gentoo-dev 2018-08-18 04:53:28 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0ece8925e0d757751a9b9d26eeae2796f5aa4b8

commit a0ece8925e0d757751a9b9d26eeae2796f5aa4b8
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2018-08-18 04:36:07 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2018-08-18 04:53:17 +0000

    media-libs/mesa: Replace REQUIRED_USE with ewarns
    
    Mesa has a lot of configuration options and many of them are only
    meaningful when specific Gallium drivers are enabled. Previously we
    attempted to specify all of those dependencies with REQUIRED_USE logic
    which was tedious for users to configure but ensured they knew what they
    were getting.
    
    With the transition to Meson, some configuration combinations that had
    not been specified in REQUIRED_USE (and with autotools were silently
    ignored) began producing configuration errors. Rather than extend
    REQUIRED_USE instead provide a warning in pkg_prepare().
    
    Closes: https://bugs.gentoo.org/658892
    Closes: https://bugs.gentoo.org/658938
    Closes: https://bugs.gentoo.org/663418
    Closes: https://bugs.gentoo.org/663470
    Closes: https://bugs.gentoo.org/663660

 media-libs/mesa/mesa-9999.ebuild | 126 ++++++++++++++++++++++++++++++++++-----
 1 file changed, 111 insertions(+), 15 deletions(-)