You are not logged in.

#1 2015-01-19 18:57:14

Adriannho
Member
Registered: 2009-06-20
Posts: 18

DRI3 support in arch

Hi all.

I was just curious to know if DRI3 is supported by default in Arch's Mesa and Xorg server. I have a dual radeon configuration. I know that it is disabled for intel, but I was wondering if it's the case with radeon too.

Also...isn't there any command (utility) to check the DRI version.

Thanks.

Offline

#2 2015-01-19 20:18:19

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: DRI3 support in arch

DRI3 seems to be disabled by default in Intel, it's not an Arch decision: https://projects.archlinux.org/svntogit … d99d783be9
https://bugs.archlinux.org/task/41448

You can check X logs to see what version is being used:

$ grep DRI2 ~/.local/share/xorg/Xorg.0.log
[    16.731] (II) intel(0): [DRI2] Setup complete
[    16.731] (II) intel(0): [DRI2]   DRI driver: i965
[    16.731] (II) intel(0): [DRI2]   VDPAU driver: i965
[    16.750] (II) intel(0): DRI2: Enabled
[    16.943] (II) GLX: Initialized DRI2 GL provider for screen 0

Offline

#3 2015-01-19 20:52:07

Adriannho
Member
Registered: 2009-06-20
Posts: 18

Re: DRI3 support in arch

karol wrote:

DRI3 seems to be disabled by default in Intel, it's not an Arch decision: https://projects.archlinux.org/svntogit … d99d783be9
https://bugs.archlinux.org/task/41448

You can check X logs to see what version is being used:

$ grep DRI2 ~/.local/share/xorg/Xorg.0.log
[    16.731] (II) intel(0): [DRI2] Setup complete
[    16.731] (II) intel(0): [DRI2]   DRI driver: i965
[    16.731] (II) intel(0): [DRI2]   VDPAU driver: i965
[    16.750] (II) intel(0): DRI2: Enabled
[    16.943] (II) GLX: Initialized DRI2 GL provider for screen 0

Well, just found out that X in arch defaults to DRI2 even for radeon for the moment:

[   103.515] (II) glamor: EGL version 1.4 (DRI2):
[   103.519] (II) RADEON(G0): [DRI2] Setup complete
[   103.519] (II) RADEON(G0): [DRI2]   DRI driver: radeonsi
[   103.519] (II) RADEON(G0): [DRI2]   VDPAU driver: radeonsi
[   103.664] (II) RADEON(0): [DRI2] Setup complete
[   103.664] (II) RADEON(0): [DRI2]   DRI driver: r600
[   103.664] (II) RADEON(0): [DRI2]   VDPAU driver: r600
[   103.680] (II) GLX: Initialized DRI2 GL provider for screen 0

and nothing is returned when checking for DRI3.

Just hope it gets enabled soon (maybe 1.17).

Offline

#4 2015-01-20 10:55:22

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 7,390

Re: DRI3 support in arch

mesa ./configure --help wrote:

--enable-dri3           enable DRI3 [default=auto]

That basically means by default the mesa buildscript & devs decides whether dri3 is enabled or not .

If you really want it, you'll have to compile a custom mesa that has --enable-dri3 in the configure flags.

Are you sure DRI3 has benefits for radeon ?

My aur mesa-r*-git package has a few non-standard flags enabled, i could add DRI3 easily.


Multi-init booting with apg Openrc and systemd coexisting
Automounting : not needed, i prefer pmount
Aur helpers : makepkg + my own local repo === rarely need them

Offline

#5 2015-02-07 11:10:53

nTia89
Banned
From: varese, italy
Registered: 2008-12-22
Posts: 1,230

Re: DRI3 support in arch

I'm curious about DRI3 support but on nouveau.
If I would to try it, I don't need just to recompile mesa, but I need to recompile everything rely on it?


+pc: custom | AMD Opteron 175 | nForce4 Ultra | 2GB ram DDR400 | nVidia 9800GT 1GB | ArchLinux x86_64 w/ openbox
+laptop: Apple | MacBook (2,1) | 2GB ram | Mac OS X 10.4 -> DIED
+ultrabook: Dell | XPS 13 (9343) | 8GB ram | 256GB ssd | FullHD display | Windows 8.1 64bit ArchLinux x86_64 w/ Gnome

Offline

#6 2015-02-08 21:39:20

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 7,390

Re: DRI3 support in arch

Normally rebuilding just the things in mesa package is enough.
Keep in mind that mesa is a split package and has these sub-packages currently (10.4.4-1) :

opencl-mesa
libva-mesa-driver
mesa-vdpau
mesa
mesa-libgl

They can be build in one go, to install them you should use a pacman -U command listing all of them.


Multi-init booting with apg Openrc and systemd coexisting
Automounting : not needed, i prefer pmount
Aur helpers : makepkg + my own local repo === rarely need them

Offline

Board footer

Powered by FluxBB