You are not logged in.

#1 2015-12-06 18:27:45

o-d-i-m
Member
Registered: 2015-12-06
Posts: 3

Radeon video card and DRI3

Hello Archers, this is my first post here in the forums.
I have a problem with DRI3, I tried setting it in the Xorg conf files and after a reboot, cat /var/log/Xorg.0.log| grep -i DRI3 still popped out a:

[  3041.974] (==) RADEON(0): DRI3 disabled

I have an ATI Radeon HD 6670 card.

Here's my /etc/X11/xorg.conf.d/20-radeon.conf:

Section "Device"
        Identifier  "HD6670"
        Driver "radeon"
        option "swapbuffersait" "0"
        Option "ColorTiling" "on"
        Option "DRI3"        "1"
        option "Acce\Method"  "glamor"
Endsection

Have I done something wrong? I have the mesa-git repo in my pacman.conf and mesa-git and xf86-video-ati-git installed.

Is there a alternate way to enable DRI3? I have kernel modesetting on. Kernel is linux-ck-core2 from the repo-ck repository.

Can the 6670 run under amdgpu driver? I'd like to test it.

Last edited by o-d-i-m (2015-12-06 18:30:24)

Offline

#2 2015-12-07 00:38:55

o-d-i-m
Member
Registered: 2015-12-06
Posts: 3

Re: Radeon video card and DRI3

bump

Offline

#3 2015-12-07 12:52:11

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,165

Re: Radeon video card and DRI3

looks like you have some typos in 20-radeon.conf

        option "swapbuffersait" "0"
        option "Acce\Method"  "glamor"

it should be swapbufferswait    and AccelMethod


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

#4 2015-12-07 13:47:50

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: Radeon video card and DRI3

Is DRI3 even enabled for the radeon driver/mesa in the repos? I remember seeing something about that here on the forums.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#5 2015-12-08 14:15:31

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Radeon video card and DRI3

R00KIE wrote:

Is DRI3 even enabled for the radeon driver/mesa in the repos? I remember seeing something about that here on the forums.

~ > pacman -Qs xf86-video-ati
local/xf86-video-ati 1:7.6.1-1 (xorg-drivers xorg)
    X.org ati video driver
~ > cat /etc/X11/xorg.conf.d/20-radeon.conf 
Section "Device"
  Identifier "Radeon R9 270"
  Option     "Monitor-DVI-0"      "DVI-0 screen"
  Option     "Monitor-DVI-1"      "DVI-1 screen"
  Option     "SWCursor"           "True"
  Option     "DRI"                "3"
  Option     "TearFree"           "True"
EndSection

Section "Monitor"
  Identifier "DVI-0 screen"
EndSection

Section "Monitor"
  Identifier "DVI-1 screen"
  Option     "RightOf"            "DVI-0 screen"
EndSection
~ > grep DRI3 .local/share/xorg/Xorg.0.log
[  5253.579] (**) RADEON(0): DRI3 enabled
~ > grep TearFree .local/share/xorg/Xorg.0.log
[  5253.397] (**) RADEON(0): Option "TearFree" "True"
[  5253.439] (**) RADEON(0): TearFree enabled
[  5253.439] (WW) RADEON(0): KMS Pageflipping: disabled because of ShadowPrimary/TearFree
~ > grep Present .local/share/xorg/Xorg.0.log
[  5253.579] (II) RADEON(0): Present extension enabled

Offline

#6 2015-12-08 18:44:44

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: Radeon video card and DRI3

@skottish
Have you tried to grep by DRI only? I get:

[ 27155.763] (**) RADEON(0): Option "DRI" "3"
[ 27155.860] (II) RADEON(0): [DRI2] Setup complete
[ 27155.860] (II) RADEON(0): [DRI2]   DRI driver: r600
[ 27155.860] (II) RADEON(0): [DRI2]   VDPAU driver: r600
[ 27155.861] (**) RADEON(0): DRI3 enabled
[ 27155.923] (II) GLX: Initialized DRI2 GL provider for screen 0

Maybe it's just my card that is too old or unsupported but it seems to me that even with DRI3 enabled things are still working with DRI2.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#7 2015-12-08 19:30:44

john29
Member
Registered: 2014-11-27
Posts: 29

Re: Radeon video card and DRI3

Section "Device"
        Identifier  "HD7850"
        Driver "radeon"
        option "swapbufferwait" "0"
        Option "ColorTiling" "on"
        Option "DRI3"        "1"
        option "AccelMethod"  "glamor"
Endsection
$ LIBGL_DEBUG=verbose glxinfo
name of display: :0
libGL: pci id for fd 4: 1002:6819, driver radeonsi
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/tls/radeonsi_dri.so
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/radeonsi_dri.so
libGL: Using DRI3 for screen 0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:

Last edited by john29 (2016-01-23 11:18:17)

Offline

#8 2015-12-10 21:19:48

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Radeon video card and DRI3

R00KIE wrote:

@skottish
Have you tried to grep by DRI only? I get:

[ 27155.763] (**) RADEON(0): Option "DRI" "3"
[ 27155.860] (II) RADEON(0): [DRI2] Setup complete
[ 27155.860] (II) RADEON(0): [DRI2]   DRI driver: r600
[ 27155.860] (II) RADEON(0): [DRI2]   VDPAU driver: r600
[ 27155.861] (**) RADEON(0): DRI3 enabled
[ 27155.923] (II) GLX: Initialized DRI2 GL provider for screen 0

Maybe it's just my card that is too old or unsupported but it seems to me that even with DRI3 enabled things are still working with DRI2.

There are a number of people here that understand X deeply and I'm not one of them, so take whatever I say lightly.

DRI2 and DRI3 are not mutually exclusive. For instance, I know that VDPAU under radeon uses DRI2 at least in the stable branches. I *believe* that radeon itself is using DRI3 at least for some things. The time stamps from Xorg.0.log are based off of boot time and DRI2 is the default. So when you see the "DRI3 enabled" line, it switched on. 

Again, I really don't know much about this and most of what I know comes from trying to parse useful information from forum posts at Phoronix. That's like one out of every 25 posts, so it's a bit murky.

Offline

#9 2015-12-11 01:37:24

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: Radeon video card and DRI3

skottish wrote:

There are a number of people here that understand X deeply and I'm not one of them, so take whatever I say lightly.

DRI2 and DRI3 are not mutually exclusive. For instance, I know that VDPAU under radeon uses DRI2 at least in the stable branches. I *believe* that radeon itself is using DRI3 at least for some things. The time stamps from Xorg.0.log are based off of boot time and DRI2 is the default. So when you see the "DRI3 enabled" line, it switched on.

I'm in the same boat as you, for me X is mostly a black box that just works™. I was asking because of this [1] which is not too old. After looking at it now it seems that "DRI3 enabled" implies it is being used, but everything else still says DRI2.

skottish wrote:

Again, I really don't know much about this and most of what I know comes from trying to parse useful information from forum posts at Phoronix. That's like one out of every 25 posts, so it's a bit murky.

Hear, hear, and I think you may be in a good mood today to say the signal to noise ratio is 1/25 wink

[1] https://bbs.archlinux.org/viewtopic.php?id=204902


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#10 2015-12-11 16:29:20

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Radeon video card and DRI3

R00KIE wrote:

Hear, hear, and I think you may be in a good mood today to say the signal to noise ratio is 1/25 wink

Hah! True story!

The fact that the AMD open source people post there is a big deal to me. These are really smart people that have major skills, so I trudge through the noise.

**EDIT**

Singling out the AMD coders isn't enough. The Mesa devs in general are awesome. These people are doing really difficult work and I appreciate all of it.

Last edited by skottish (2015-12-11 16:49:45)

Offline

Board footer

Powered by FluxBB