You are not logged in.

#1 2018-01-04 08:12:06

olive
Member
From: Belgium
Registered: 2008-06-22
Posts: 1,490

DRI version 2 or 3

My laptop has a intel HD3000 graphic card (sandy bridge Core(TM) i5-2450M). It appears to support DRI3 and we can enable it in /etc/X11/xorg.conf.d/<file>.conf However the default is DRI2. I wonder why. Is there a reason not enabling by default the newer version on a supported graphic card? Is it buggy?

Note that what I say is somewhat general relating to graphic configuration. I see often advice to use something on newer graphic cards but there is often a discrepancy between the minimal hardware you need to enable the feature and the hardware where it is advice or set as default.  I think of using glamor as an accelmethod; some people say to use the modesetting graphic driver instead of the intel driver for new graphic cards (but the modesetting with glamor run fine with older graphic card too).

Offline

#2 2018-01-04 09:07:44

seth
Member
Registered: 2012-09-03
Posts: 64,524

Re: DRI version 2 or 3

Sure?

LIBGL_DEBUG=verbose glxinfo | grep libgl

DRI3 is supposed to be default (on archlinux, you're not running ubuntu, are you?) and the ability to control it vary with the used ddx driver.

https://wiki.archlinux.org/index.php/In … RI3_issues
https://bbs.archlinux.org/viewtopic.php?id=211792

Offline

#3 2018-01-04 09:15:26

olive
Member
From: Belgium
Registered: 2008-06-22
Posts: 1,490

Re: DRI version 2 or 3

@seth You are right; my fault. I was reading /var/log/Xorg.0.log which is somewhat confusing. Note that the question remain for the other components where the discrepancy of what is supported and what is enabled by default is still there.

Last edited by olive (2018-01-04 09:16:54)

Offline

#4 2018-01-04 10:48:30

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,772

Re: DRI version 2 or 3

Check https://en.wikipedia.org/wiki/X.Org_Ser … nt_X_(DDX) .

For Intel cards there are 3 options :
UXA  , SNA (only works on sandy bridge and later) , GLAMOR .

The UXA development was stopped completely years ago, SNA performance/quality varies a lot.
GLAMOR (aka X modesetting driver) has improved substantially and became the default for intel cards on most distros, including arch .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#5 2018-01-04 11:09:09

olive
Member
From: Belgium
Registered: 2008-06-22
Posts: 1,490

Re: DRI version 2 or 3

@Lone_Wolf Are you sure about the intel cards? It does not seems to be enabled for me on a sandy bridge intel HD3000 (according to /var/log/Xorg.0.log, is it another way to check?) unless I force the modesetting driver instead of the intel one. Is that recommended? I have read mixed comment about it. The wiki says some people recommend it for the fourth generation GPU while mine is only the second. It nevertheless appears to works properly but I have not done extended testing.

Last edited by olive (2018-01-04 11:09:19)

Offline

#6 2018-01-04 12:17:36

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,772

Re: DRI version 2 or 3

You're right, I should have checked instead of rely on memory .

Rephrasing :
If you have xf86-video-intel installed, X will use SNA by default, possibly even on pre-sandy bridge cards.
You can override this to use UXA or GLAMOR/modesetting.

In case xf86-vidoe-intel is absent, X will use GLAMOR.

Which of the 3 options works best varies a lot.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

Board footer

Powered by FluxBB