modesetting and DRI2/3

Steven Newbury steve at snewbury.org.uk
Fri Aug 5 11:09:17 UTC 2016


On Wed, 2016-07-27 at 18:24 +0200, zahlenmeer at gmx.de wrote:
> Hey everyone,
> I am struggling to understand how the modesetting driver and DRI play
> together.
> This is from Xorg.0.log:
> 
> [  2350.977] (II) Loading
> /usr/lib/xorg/modules/drivers/modesetting_drv.so
> [  2350.977] (II) modeset(0): using drv /dev/dri/card0
> [  2350.984] (II) glamor: OpenGL accelerated X.org driver based.
> [  2351.387] (II) modeset(0): [DRI2]   DRI driver: i965
> [  2351.387] (II) modeset(0): [DRI2]   VDPAU driver: i965
> 
> And this is from glxinfo:
> 
> libGL: Using DRI3 for screen 0
> 
> I read that modesetting uses DRI3 by default so I am a bit surprised
> to
> read something like "modeset(0): [DRI2]" in my logs. I also tried and
> compiled xorg with the --disable-dri2 flag. In this case I get aiglx
> errors that modesetting failed to initalize the DRI2 extension.
> Could anyone explain this behaviour to me?
> 
> Kind regards
> _______________________________________________
> xorg at lists.x.org: X.Org support
> Archives: http://lists.freedesktop.org/archives/xorg
> Info: https://lists.x.org/mailman/listinfo/xorg
> Your subscription address: %(user_address)s

VDPAU doesn't use DRI3 as yet, AFAIK.

DRI2 is still available unless it's build time disabled, even if DRI3
is default.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <https://lists.x.org/archives/xorg/attachments/20160805/2279711c/attachment.sig>


More information about the xorg mailing list