Phoronix Forums  

Go Back   Phoronix Forums > Linux Graphics / X.Org Drivers > AMD/ATI Linux

AMD/ATI Linux Technical support and discussion of the ATI/AMD proprietary Linux driver.

Reply
 
Thread Tools Display Modes
  #1  
Old 11-18-2006, 07:45 PM
pmatiello pmatiello is offline
Junior Member
 
Join Date: Nov 2006
Posts: 5
Unhappy xorg, ati r200 free driver, suddenly no hardware acceleration

Hardware acceleration seems to be completely gone from one day to another. It was working ok and today I noticed it isn't anymore. I'm using radeon r200 free driver.

[pedro@spacelab ~]$ $ glxgears -info
GL_RENDERER = Mesa GLX Indirect
GL_VERSION = 1.2 (1.5 Mesa 6.5.1)
GL_VENDOR = Mesa project: www.mesa3d.org (...)



I tried to delete xorg.conf and restart X, but the situation didn't changed. system-config-display couldn't help also, but it correctly reports my card as Radeon 9200 SE. I don't have any idea why this is happening since it was working before.

Here goes my xorg.conf. I'd appreciate if someone could compare with his own copy to see if mine is lacking something:

[root@spacelab X11]# cat xorg.conf
# Xorg configuration created by system-config-display

Section "ServerLayout"
Identifier "single head configuration"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "abnt2"
Option "XkbLayout" "br"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "radeon"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1152x864" "1152x864" "1152x768" "1152x768" "1024x768" "1024x768" "800x600" "800x600" "640x480" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1152x864" "1152x864" "1152x768" "1152x768" "1024x768" "1024x768" "800x600" "800x600" "640x480" "640x480"
EndSubSection
EndSection

From my /var/log/Xorg.0.log:

(...)
(WW) RADEON(0): [agp] AGP not available
(EE) RADEON(0): [agp] AGP failed to initialize. Disabling the DRI.
(II) RADEON(0): [agp] You may want to make sure the agpgart kernel module is loaded before the radeon kernel module. (...)

Any ideas?

Last edited by pmatiello; 11-18-2006 at 07:47 PM.
Reply With Quote
  #2  
Old 11-18-2006, 08:59 PM
Michael Michael is offline
Phoronix
 
Join Date: Jun 2006
Location: United States
Posts: 4,564
Default

Just to make sure, you are wanting to use the open-source Radeon drivers, correct? (And not the proprietary fglrx drivers).

Had you tried specifying any additional options for your config (see here)?
Reply With Quote
  #3  
Old 11-18-2006, 10:04 PM
pmatiello pmatiello is offline
Junior Member
 
Join Date: Nov 2006
Posts: 5
Default

Yes, I want the open source drivers.

I tried enabling dri by hand editing xorg.conf, but I got the same results. Seems like there's some problem with agp; maybe a kernel update broke something?

I'll keep trying; thanks for the help.
Reply With Quote
  #4  
Old 11-18-2006, 10:07 PM
Michael Michael is offline
Phoronix
 
Join Date: Jun 2006
Location: United States
Posts: 4,564
Default

A kernel update shouldn't have broken it for the open-source drivers.

The options I was referring to were mainly with the xorg.conf AGP options.
Reply With Quote
  #5  
Old 11-18-2006, 10:17 PM
pmatiello pmatiello is offline
Junior Member
 
Join Date: Nov 2006
Posts: 5
Default

I understand, but xorg options didn't help. :/

Last edited by pmatiello; 11-18-2006 at 11:09 PM.
Reply With Quote
  #6  
Old 11-18-2006, 11:19 PM
pmatiello pmatiello is offline
Junior Member
 
Join Date: Nov 2006
Posts: 5
Default

Some more information:

[pedro@spacelab ~]$ dmesg |grep drm
[drm] Initialized drm 1.0.1 20051102
[drm] Initialized radeon 1.25.0 20060524 on minor 0
[drm:radeon_cp_init] *ERROR* radeon_cp_init called without lock held
[drm:drm_unlock] *ERROR* Process 2470 using kernel context 0
[drm:radeon_cp_init] *ERROR* radeon_cp_init called without lock held
[drm:drm_unlock] *ERROR* Process 2914 using kernel context 0

Google says it happens when radeon driver is loaded before agpgart.
Reply With Quote
  #7  
Old 11-19-2006, 09:30 AM
pmatiello pmatiello is offline
Junior Member
 
Join Date: Nov 2006
Posts: 5
Default

I did it!

I booted with a xen-enabled kernel and it worked. I guess it's because I was using a xen kernel before and the system has configured itself to it, but something broke when I started using non-xen kernels beceuse mono would segfault under them.

Now, mono works under the new xen-kernel and dri too.
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 02:15 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright ©2004 - 2009 by Phoronix Media.