LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-14-2015, 04:09 PM   #1
ahc_fan
Member
 
Registered: Jan 2009
Location: Seattle, WA
Distribution: Slackware64 14.2
Posts: 259

Rep: Reputation: 11
How do I enable DRI3 with the radeon driver in current?


I created the file /etc/X11/xorg.conf.d/20-radeon.conf and put the following in:
Code:
Section "Module"
        Load "dri3"
EndSection

Section "Device"
   Identifier  "Radeon"
   Driver      "radeon"
   Option      "DRI" 	"3"
EndSection
But apparently it is not working:
Code:
# ~: grep DRI /var/log/Xorg.0.log
[    41.249] (II) glamor: EGL version 1.4 (DRI2):
[    41.425] (II) RADEON(0): [DRI2] Setup complete
[    41.425] (II) RADEON(0): [DRI2]   DRI driver: radeonsi
[    41.425] (II) RADEON(0): [DRI2]   VDPAU driver: radeonsi
[    41.535] (WW) RADEON(0): Option "DRI" is not used
[    41.537] (II) GLX: Initialized DRI2 GL provider for screen 0
What do I do?

Edit: I found this, so I guess DRI3 is already enabled and the file I created is not needed?
Code:
$ ~: grep -i dri3 /var/log/Xorg.0.log
[    54.097] (II) LoadModule: "dri3"
[    54.097] (II) Module "dri3" already built-in
[    55.514] (WW) RADEON(0): Option "DRI3" is not used

Last edited by ahc_fan; 11-14-2015 at 04:22 PM.
 
Old 11-14-2015, 06:37 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
This is how my 20-radeon.conf looks like on Arch Linux:
Code:
Section "Device"
        Identifier  "HD3200"
        Driver "radeon"
        option "swapbufferswait" "0"
        Option "ColorTiling" "on"
        Option "DRI3"        "1"
        option "AccelMethod"  "glamor"
Endsection
Code:
>>> grep DRI /var/log/Xorg.0.log
[     6.760] (**) RADEON(0): Option "DRI3" "1"
[     7.087] (II) glamor: EGL version 1.4 (DRI2):
[     7.126] (II) RADEON(0): [DRI2] Setup complete
[     7.126] (II) RADEON(0): [DRI2]   DRI driver: r600
[     7.126] (II) RADEON(0): [DRI2]   VDPAU driver: r600
[     7.126] (**) RADEON(0): DRI3 enabled
[     7.232] (II) GLX: Initialized DRI2 GL provider for screen 0

Last edited by TobiSGD; 11-14-2015 at 06:38 PM.
 
Old 11-15-2015, 08:52 AM   #3
ahc_fan
Member
 
Registered: Jan 2009
Location: Seattle, WA
Distribution: Slackware64 14.2
Posts: 259

Original Poster
Rep: Reputation: 11
I copied yours into mine, removed the Module section, and same deal:

Code:
# ~: grep DRI /var/log/Xorg.0.log
[    41.236] (II) glamor: EGL version 1.4 (DRI2):
[    41.412] (II) RADEON(0): [DRI2] Setup complete
[    41.412] (II) RADEON(0): [DRI2]   DRI driver: radeonsi
[    41.412] (II) RADEON(0): [DRI2]   VDPAU driver: radeonsi
[    41.523] (WW) RADEON(0): Option "DRI3" is not used
[    41.525] (II) GLX: Initialized DRI2 GL provider for screen 0
Is it a wrong version Xorg server perhaps?

Last edited by ahc_fan; 11-15-2015 at 09:45 AM.
 
Old 11-15-2015, 10:17 AM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
For DRI3 you need at least xf86-video-ati in version 7.6, as far as I know -current has 7.6.1, so if your system is fully upgraded it should work.
 
1 members found this post helpful.
Old 11-15-2015, 10:24 AM   #5
ahc_fan
Member
 
Registered: Jan 2009
Location: Seattle, WA
Distribution: Slackware64 14.2
Posts: 259

Original Poster
Rep: Reputation: 11
There's the problem. I haven't upgraded in a couple weeks and I still have version 7.5. Thanks, I will upgrade ASAP.
 
Old 11-29-2015, 05:06 PM   #6
Nille_kungen
Member
 
Registered: Jul 2005
Distribution: Slackware64-current
Posts: 587

Rep: Reputation: 201Reputation: 201Reputation: 201
I'm using dri3 and this is my /etc/X11/xorg.conf.d/20-radeon.conf
Code:
Section "Device"
        Identifier "Radeon mygraphicscard"
        Driver "radeon"
        Option "DRI" "3"
EndSection
It's not Option "DRI3" "1" as posted in this thread it's Option "DRI" "3".
You shouldn't need any of the other options on current and you need current until 14.2 is out.
You might want to try Option "AccelMethod" "glamor" if your hardware is pre tahiti since it's often faster for 2D.
To check the default options read radeon manpage "man radeon".
One thing with DRI3 is that you don't need to set "xrandr --setprovideroffloadsink" for dual GPU.

Last edited by Nille_kungen; 11-29-2015 at 05:17 PM.
 
Old 11-29-2015, 08:46 PM   #7
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Also this:

Code:
Section "Module"
        Load "dri3"
EndSection
should be changed to this:

Code:
Section "Module"
        Load "glx"
EndSection
GLX will automatically load the dri module. There is no dri3 module.
 
Old 11-29-2015, 09:56 PM   #8
Nille_kungen
Member
 
Registered: Jul 2005
Distribution: Slackware64-current
Posts: 587

Rep: Reputation: 201Reputation: 201Reputation: 201
I don't have that module section since it's not needed.
I didn't think that you needed to load glx separately since 3.12 with kms and egl, but I'm not sure since everything probes automagically these days.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
radeon driver problem slackware current 3.8.8 crashes SlackStephen Slackware 1 05-04-2013 10:28 AM
Xorg ATI Radeon Driver Crashing Slackware Current 3.8.8 Kernel SlackStephen Slackware 2 05-04-2013 12:51 AM
[SOLVED] Was Radeon driver support removed from -current? ReaperX7 Slackware 3 06-06-2012 02:50 PM
[SOLVED] Heat and video problem in -current with radeon-driver TobiSGD Slackware 3 03-30-2012 09:32 AM
--current, radeon r300 segfault glxgears, glxinfo with radeon.modeset=0 on dual head Old_Fogie Slackware 1 11-29-2010 02:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration