Bug 107502 - Newest libdrm is required by amdgpu, but drm_intel error is emitted
Summary: Newest libdrm is required by amdgpu, but drm_intel error is emitted
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Other (show other bugs)
Version: git
Hardware: Other Linux (All)
: lowest minor
Assignee: Dylan Baker
QA Contact: mesa-dev
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-06 22:30 UTC by mirh
Modified: 2018-10-23 16:07 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
meson build log (58.85 KB, text/plain)
2018-08-06 22:30 UTC, mirh
Details

Description mirh 2018-08-06 22:30:47 UTC
Created attachment 140986 [details]
meson build log

Build options can be seen here
https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=mesa-git#n44

And build log is of course attached. 

If I change _drm_amdgpu_ver to some fictional version number, drm_intel is promptly required to be that - so I hypothesize there must be some problem with the check.
Comment 1 Dylan Baker 2018-08-06 22:57:00 UTC
This is just a bug with the error message. It's not supported to mix and match different libdrm_<vendor> and libdrm core versions, so what meson does is checks each vendor's libdrm requirements based on the mesa drivers being built, then searches for the libdrm version that matches that. I guess we should probably fix the error message, although that might be no-trivial
Comment 2 mirh 2018-08-06 23:18:34 UTC
Sure, I can see that in the comment. 
But that would make for a hell of headbanging, was I to decide to just disable X vendor instead of upgrading the whole libdrm.
Comment 3 Dylan Baker 2018-10-23 16:07:12 UTC
I think this has been addressed, we now emit a message telling you which driver bumped the drm version.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.