Bug 98875 - xf86-video-modesetting does not report DRI3 in Xorg.0.log
Summary: xf86-video-modesetting does not report DRI3 in Xorg.0.log
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/modesetting (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
Depends on:
Reported: 2016-11-27 17:30 UTC by N. W.
Modified: 2018-12-13 18:10 UTC (History)
8 users (show)

See Also:
i915 platform:
i915 features:


Description N. W. 2016-11-27 17:30:31 UTC

does anyone know how to enable DRI3 for xf86-video-modesetting?

Comment 1 Timo Aaltonen 2016-11-27 22:04:33 UTC
it's on by default
Comment 2 N. W. 2016-11-29 22:15:27 UTC
(In reply to Timo Aaltonen from comment #1)
> it's on by default

But Xorg.0.log only mentions DRI2, see:

user@machine:/var/log$ grep DRI Xorg.0.log
[    13.309] (II) glamor: EGL version 1.4 (DRI2):
[    13.952] (II) modeset(0): [DRI2] Setup complete
[    13.952] (II) modeset(0): [DRI2]   DRI driver: i965
[    13.952] (II) modeset(0): [DRI2]   VDPAU driver: i965
[    13.976] (II) GLX: Initialized DRI2 GL provider for screen 0

Why doesn't it say anything about DRI3? When enabling DRI3 in xf86-video-intel for example, Xorg.0.log lists DRI3, but with xf86-video-modesetting it does not (see above).
Comment 3 Mike Russo 2017-01-11 19:42:10 UTC
Try running this command from a bash prompt:

LIBGL_DEBUG=verbose glxinfo | grep -i libgl 

Whether I use modesetting or intel with DRI3 enabled, I get:

libGL: Using DRI3 for screen 0

(BTW I was just as confused as you about why I didn't see DRI3 in the Xorg log before I found someone who quoted this command. I think that the modesetting driver just isn't programmed to print it out properly.)
Comment 4 Marcos Mello 2017-11-02 16:24:32 UTC
While a cosmetic issue, it is very confusing indeed. Please keep this bug open. It needs fixing.
Comment 5 mercuriete 2018-05-05 11:21:33 UTC
still happen in xorg drivers 1.19
Comment 6 GitLab Migration User 2018-12-13 18:10:43 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/xserver/issues/46.

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.