Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
eselect opengl list doesn't list ATI drivers
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
fafner2000
n00b
n00b


Joined: 16 Feb 2013
Posts: 6

PostPosted: Sat Feb 16, 2013 1:53 pm    Post subject: eselect opengl list doesn't list ATI drivers Reply with quote

I recently installed a Radeon HD 7850 in my computer, then installed the drivers, and I end up with no hardware acceleration (the graphics are fully functional, just incredibly slow). I found out that basically the problem is that OpenGL doesn't know about the ATI drivers despite the fact that they are installed:
Code:
VIDEO_CARDS="radeon"

> uname -a
Linux localhost 3.6.0 #7 SMP Sat Feb 9 19:00:38 CET 2013 i686 Intel(R) Core(TM)2 Duo CPU E8500 @ 3.16GHz GenuineIntel GNU/Linux

> lspci
...
01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI PITCAIRN PRO [Radeon HD 7800 Series]
...

> emerge --pretend xf86-video-ati
[ebuild   R    ] x11-drivers/xf86-video-ati-7.0.0

> eselect mesa list
i915 (Intel 915, 945)
i965 (Intel 965, G/Q3x, G/Q4x)
r300 (Radeon R300-R500)
  [1]   gallium *
r600 (Radeon R600-R700, Evergreen, Northern Islands)
  [1]   gallium *
sw (Software renderer)
  [1]   classic
  [2]   gallium *

> eselect opengl list
Available OpenGL implementations:
  [1]   xorg-x11 *


I tried with both proprietary fglrx and open-source radeon with same problem, tried to recompile mesa, nothing seems to work. I'm rather sure that I missed something trivial, but can't figure out what. I would appreciate some hints :-)
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1600
Location: US

PostPosted: Sat Feb 16, 2013 3:28 pm    Post subject: Reply with quote

fafner2000,

Hardware acceleration requires x11-drivers/ati-drivers. Setting VIDEO_CARDS="fglrx" and emerge -av $(qlist -IC x11-drivers) should do it.

Kernel modifications are also required depending on the driver. Further info can be found at http://www.gentoo.org/doc/en/ati-faq.xml.
_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
fafner2000
n00b
n00b


Joined: 16 Feb 2013
Posts: 6

PostPosted: Sun Feb 17, 2013 11:06 am    Post subject: Reply with quote

Apparently, installing the proprietary fgrlx allows to select it for OpenGL, somehow I must have missed it. However, it still doesn't work. Without a xorg.conf file, it just doesn't work. X seems to believe the driver is called "ati", so I ran aticonfig to create a supposedly working configuration file. With it, I suppose that X loads the correct driver because I end up with a black-screen-of-death freeze. By "freeze" I really mean "freeze" : the computer is completely locked up with ctrl+alt+Fn not working, frozen keyboard lights, and no network contact. Of course, after reboot /var/log/xorg.log.0 doesn't exist (might be too easy).

I did some searches on black screens, but the nearest I found was this thread where the video card was actually a Nvidia instead of an ATI. Might hint that my video card isn't supported, but being a 7850 I think it is well in the 5000+ officially supported by fgrlx.

Something tells me I won't have 3D acceleration the evening either :P
Back to top
View user's profile Send private message
fafner2000
n00b
n00b


Joined: 16 Feb 2013
Posts: 6

PostPosted: Mon Apr 08, 2013 8:36 pm    Post subject: Reply with quote

Small update. I found how to solve the problem, in case it can help someone.

First I installed the latest driver for ATI (13.1) . This however wasn't enough, because the rendering was bogus at best (glxgears reported 3500 FPS but didn't actually update the window, I had to move a window above it to get something that could remotely look like some kind of animation). Finally the problem was an option in KDE that specified XRender of OpenGL as the compositing type. I have no idea why it suddenly changed (or why it didn't cause troubles before in case it never change). Here is the magical incantation: start "System Settings", then click on "Desktop Effects", then the "Advanced" tab, and make sure that "Compositing type" is set to OpenGL. This made the trick for me, 3D acceleration is now perfect.

I can't believe I lost almost 2 months with that stupid option :oops:
Back to top
View user's profile Send private message
s4e8
Guru
Guru


Joined: 29 Jul 2006
Posts: 311

PostPosted: Tue Apr 09, 2013 3:08 am    Post subject: Reply with quote

3D support for AMD 7xxx aka S.Islands still be in progress.
http://xorg.freedesktop.org/wiki/RadeonFeature
The mesa driver for 7xxx called si or radeonsi.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum