[Mesa-dev] [Bug 79629] [Dri3 bisected] piglit glx_GLX_ARB_create_context_current_with_no_framebuffer fail

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Feb 4 01:58:36 PST 2015


--- Comment #17 from Chris Wilson <chris at chris-wilson.co.uk> ---
(In reply to Eero Tamminen from comment #14)
> (In reply to XiongZhang from comment #13)
> > Yes, I test with DRI3. When I compile xf86-video-intel and mesa, I add
> > --enable-dri3 option.
> > Without the proposed patch, I could easily reproduce this issue. And adding
> > "DRI 2" option to Xorg.conf, this issue disappear.
> I assume you refer to the original bug and versions of SW at that time.
> In the meanwhile X intel driver defaulted back to DRI2 from DRI3.  I think
> you need now to set DRI to version 3 specifically in xorg.conf.  Chris?

Yes. You also needed to manually --enable-dri3. I've just fixed it that so we
build DRI3 (if available) and just limit to DRI2 at runtime (and so allow
selection of DRI3 with a normal build).

commit db629a38342883176d58357fa014176c9e45115d
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Wed Feb 4 09:34:14 2015 +0000

    Allow runtime selection between DRI levels

    Rather than imposing a maximum DRI level at compile time by compiling
    out unwanted protocol handlers, default to limiting it at runtime so
    that we can switch between any level.

    Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150204/03a44f89/attachment.html>

More information about the mesa-dev mailing list