Bug 71397 - [llvmpipe] configure: error: Package requirements (dri3proto >= 1.0) were not met
[llvmpipe] configure: error: Package requirements (dri3proto >= 1.0) were not...
Status: RESOLVED NOTABUG
Product: Mesa
Classification: Unclassified
Component: Mesa core
git
x86-64 (AMD64) Linux (All)
: medium blocker
Assigned To: mesa-dev
: regression
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-11-08 19:27 UTC by Vinson Lee
Modified: 2013-11-09 17:45 UTC (History)
3 users (show)

See Also:


Attachments
v2 --disable-dri3 Patch (5.30 KB, patch)
2013-11-08 22:25 UTC, Aaron Watry
Details | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Vinson Lee 2013-11-08 19:27:01 UTC
mesa: f41c01c68847a2d3df8f3c8786ef803428a0be13 (master)

$ ./autogen.sh --with-dri-drivers= --with-gallium-drivers=swrast
[...]
checking for DRI2PROTO... yes
checking for DRI3PROTO... no
configure: error: Package requirements (dri3proto >= 1.0) were not met:

No package 'dri3proto' found



commit 2d94601582e4f0fcaf8c02a15b23cba39dec7bb1
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Nov 4 18:15:51 2013 -0800

    Add DRI3+Present loader
    
    Uses the __DRIimage loader interfaces.
    
    v2: Fix _XIOErrors when DRI3 isn't present (change by anholt).  Apparently
        XCB just terminates your connection if you don't check for extensions
        before using them, instead of returning an error like you'd expect.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>
    Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
    Reviewed-by: Eric Anholt <eric@anholt.net>
Comment 1 Armin K 2013-11-08 21:42:25 UTC
Does http://lists.freedesktop.org/archives/mesa-dev/2013-November/048072.html fix your issue? Note that you have to use --disable-dri3
Comment 2 Aaron Watry 2013-11-08 22:25:30 UTC
Created attachment 88912 [details] [review]
v2 --disable-dri3 Patch

I had to use the modified version of the original that I attached here.
Comment 3 Chris Rankin 2013-11-09 17:26:36 UTC
I've just tested this with the following command line:

$ autogen.sh --prefix=/usr/local --libdir=/usr/local/lib64 --with-gallium-drivers=r600 --with-llvm-shared-libs --with-dri-drivers= --enable-texture-float --enable-64-bit --disable-dri3

Success!