PDA

View Full Version : Slow 3D acceleration under radeonhd 1.2.4 with "X errors"


frojnd
02-13-2009, 05:04 PM
What a beautiful day out there...

I have a problem with radeonhd drivers.
Specs that might help someone help me:
- graphic card: mobility x1400
- kernel: 2.6.27.7-9-pae
- system: openSuse 11.1
- desktop: KDE 4.2

- glxinfo | grep Open:
OpenGL vendor string: DRI R300 Project
OpenGL renderer string: Mesa DRI R300 20060815 x86/MMX/SSE2 TCL
OpenGL version string: 1.3 Mesa 7.2
OpenGL extensions:


I've upgraded to 1.2.4_121202_4e89726-2.1 recently in hope that my 3d acceleration would be any faster that is currently. I know that glxgears aren't the benchmark for speed but still, when I run em and maximize 'em here is what I get:

935 frames in 5.0 seconds = 186.786 FPS
299 frames in 5.1 seconds = 59.183 FPS
307 frames in 5.0 seconds = 61.362 FPS
297 frames in 5.0 seconds = 59.277 FPS


Heck I can't even normally play frets on fire or Assault Cube. I can't see any icons in system tray ("X errors"):
http://www.shrani.si/f/25/wU/4R4SvJwg/posnetek9.png

And here is my xorg.conf:
Section "Files"
FontPath "/usr/share/fonts/misc:unscaled"
FontPath "/usr/share/fonts/local"
FontPath "/usr/share/fonts/75dpi:unscaled"
FontPath "/usr/share/fonts/100dpi:unscaled"
FontPath "/usr/share/fonts/Type1"
FontPath "/usr/share/fonts/URW"
FontPath "/usr/share/fonts/Speedo"
FontPath "/usr/share/fonts/PEX"
FontPath "/usr/share/fonts/cyrillic"
FontPath "/usr/share/fonts/latin2/misc:unscaled"
FontPath "/usr/share/fonts/latin2/75dpi:unscaled"
FontPath "/usr/share/fonts/latin2/100dpi:unscaled"
FontPath "/usr/share/fonts/latin2/Type1"
FontPath "/usr/share/fonts/latin7/75dpi:unscaled"
FontPath "/usr/share/fonts/baekmuk:unscaled"
FontPath "/usr/share/fonts/japanese:unscaled"
FontPath "/usr/share/fonts/kwintv"
FontPath "/usr/share/fonts/truetype"
FontPath "/usr/share/fonts/uni:unscaled"
FontPath "/usr/share/fonts/CID"
FontPath "/usr/share/fonts/ucs/misc:unscaled"
FontPath "/usr/share/fonts/ucs/75dpi:unscaled"
FontPath "/usr/share/fonts/ucs/100dpi:unscaled"
FontPath "/usr/share/fonts/hellas/misc:unscaled"
FontPath "/usr/share/fonts/hellas/75dpi:unscaled"
FontPath "/usr/share/fonts/hellas/100dpi:unscaled"
FontPath "/usr/share/fonts/hellas/Type1"
FontPath "/usr/share/fonts/misc/sgi:unscaled"
FontPath "/usr/share/fonts/xtest"
FontPath "/opt/kde3/share/fonts"
InputDevices "/dev/gpmdata"
InputDevices "/dev/input/mice"
EndSection

Section "ServerFlags"
Option "AllowMouseOpenFail" "on"
EndSection

Section "Module"
Load "dri"
Load "dbe"
Load "freetype"
Load "extmod"
Load "glx"
EndSection

Section "InputDevice"
Driver "kbd"
Identifier "Keyboard[0]"
Option "Protocol" "Standard"
Option "XkbLayout" "si"
Option "XkbModel" "microsoftpro"
Option "XkbRules" "xfree86"
EndSection


Section "InputDevice"
Driver "mouse"
Identifier "Mouse[1]"
Option "Buttons" "9"
Option "Device" "/dev/input/mice"
Option "Name" "Dell Premium USB Optical Mouse"
Option "Protocol" "explorerps/2"
Option "Vendor" "Sysp"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
Driver "synaptics"
Identifier "Mouse[3]"
Option "Buttons" "5"
Option "Device" "/dev/input/mice"
Option "Emulate3Buttons" "on"
Option "HorizScrollDelta" "0"
Option "InputFashion" "Mouse"
Option "Name" "Synaptics;Touchpad"
Option "Protocol" "explorerps/2"
Option "SHMConfig" "on"
Option "Vendor" "Sysp"
Option "ZAxisMapping" "4 5"
EndSection


Section "Monitor"
DisplaySize 332 207
HorizSync 30-70
Identifier "Monitor[0]"
ModelName "XU2972N154C1 LCD MONITOR"
Option "DPMS"
Option "PreferredMode" "1440x900"
VendorName "CMO"
VertRefresh 43-60
UseModes "Modes[0]"
EndSection


Section "Modes"
Identifier "Modes[0]"
Modeline "1440x900" 106.47 1440 1520 1672 1904 900 901 904 932
Modeline "1440x900" 87.25 1440 1488 1520 1600 900 903 909 926 +HSync -Vsync
EndSection


Section "Screen"
DefaultDepth 24
SubSection "Display"
Depth 15
Modes "1440x900"
Virtual 3840 1200
EndSubSection
SubSection "Display"
Depth 16
Modes "1440x900"
Virtual 3840 1200
EndSubSection
SubSection "Display"
Depth 24
Modes "1440x900"
Virtual 3840 1200
EndSubSection
SubSection "Display"
Depth 8
Modes "1440x900"
Virtual 3840 1200
EndSubSection
Device "Device[0]"
Identifier "Screen[0]"
Monitor "Monitor[0]"
EndSection


Section "Device"
BoardName "Mobility Radeon X1400"
Driver "radeonhd"
Identifier "Device[0]"
Option "monitor-PANEL" "Monitor[0]"
VendorName "ATI"
Option "DRI"
Option "AccelMethod" "EXA"
Option "EXANoComposite"
EndSection



Section "ServerLayout"
Identifier "Layout[all]"
InputDevice "Keyboard[0]" "CoreKeyboard"
InputDevice "Mouse[1]" "CorePointer"
InputDevice "Mouse[3]" "SendCoreEvents"
Option "Clone" "off"
Option "Xinerama" "off"
Screen "Screen[0]"
EndSection


Section "DRI"
Group "video"
Mode 0660
EndSection

Section "Extensions"
EndSection

NOTE: When there is no "DRI", "AccelMethod" "EXA" and "EXANoComposite" under Device section I'm not able to play movies with Xv codecs but with X11 also I 'm not able to use kwin if I don't have those three options and the last one is I do have icons in the sytem tray if I don't have those 3 options under Device section.

Please be free to advice anything and help me solve this problem/bug.


frojnd.

frojnd
02-17-2009, 02:05 PM
I'm not pro with the whole radeonhd stuff so feel free to reply if u got something on your mind.

poofyyoda
02-17-2009, 02:20 PM
OpenGL vendor string: DRI R300 Project
OpenGL renderer string: Mesa DRI R300 20060815 x86/MMX/SSE2 TCL
OpenGL version string: 1.3 Mesa 7.2
OpenGL extensions:



You have an r300 series card. Shouldn't you be using the radeon driver instead of radeonhd?

Make sure you have the xserver-xorg-video-radeon package installed and change xorg.conf to:

Section "Device"
BoardName "Mobility Radeon X1400"
Driver "radeon"
Identifier "Device[0]"
Option "monitor-PANEL" "Monitor[0]"
VendorName "ATI"
Option "DRI"
Option "AccelMethod" "EXA"
Option "EXANoComposite"
EndSection

Radeonhd is for r500 and newer only I think.

agd5f
02-17-2009, 02:41 PM
radeon supports all radeons (r1xx-r7xx), radeonhd only supports r5xx-r7xx.

Also r3xx-r5xx share a similar programming model for 3D so they are all covered by the same 3D driver (r300).

frojnd
02-18-2009, 08:39 AM
poofyyoda: I did change xorg.conf as you told me. Looks like in openssue 11.1 and maybe in earlier versions too is the package xorg-x11-driver-video-radeonhd that supports radeonhd & radeon...

But still I didn't loose system tray errors, some of the icons can't be seen:
http://www.shrani.si/f/K/11K/4qQPvpMG/posnetek12.png

Despite more fast fps if I rin glxgears If I play game like extreme tuxracer it's very slow...

TechMage89
02-18-2009, 11:32 AM
Could you post your xorg log?

frojnd
02-18-2009, 02:16 PM
TechMage89: http://pastebin.ca/1341291

TechMage89
02-20-2009, 07:34 PM
TechMage89: http://pastebin.ca/1341291

Hmmm...linky doesn't work... could you try again?

frojnd
02-21-2009, 05:08 AM
Sure: http://pastebin.ca/1343588 and for just to make it sure: http://pastebin.com/f1d8f552e

nhaehnle
02-22-2009, 02:28 PM
I know that glxgears aren't the benchmark for speed but still, when I run em and maximize 'em here is what I get:

935 frames in 5.0 seconds = 186.786 FPS
299 frames in 5.1 seconds = 59.183 FPS
307 frames in 5.0 seconds = 61.362 FPS
297 frames in 5.0 seconds = 59.277 FPS

Your refresh rate doesn't happen to be 60Hz? This looks like vsync is active.

The other problems sound genuine, though.

frojnd
02-22-2009, 03:26 PM
How can I know if it's 60HZ :) since it's attached to the laptop.
What should I change if it's vsync ?

bridgman
02-22-2009, 04:13 PM
According to your log you're actually running radeon (aka xf86-video-ati), not radeonhd (xf86-video-radeonhd), and I *think* it's a pretty old version.

Something is funny because your conf file seemed to specify "radeonhd".

frojnd
02-26-2009, 03:27 PM
bridgman, can you please show me which line does this tell ? So I can ask on open Suse forums what's going on?

agd5f
02-26-2009, 03:30 PM
Maximizing gears will reduce the frame rate since the window is bigger.

bridgman
02-26-2009, 03:40 PM
bridgman, can you please show me which line does this tell ? So I can ask on open Suse forums what's going on?

(II) Loading /usr/lib/xorg/modules//drivers/radeon_drv.so
(II) Module radeon: vendor="X.Org Foundation"
compiled for 1.5.2, module version = 4.3.0
Module class: X.Org Video Driver
ABI class: X.Org Video Driver, version 4.1
(II) LoadModule: "kbd"

Also, all of the lines printed by the driver start with RADEON, not RADEONHD :

(II) RADEON: Driver for ATI Radeon chipsets:

I would double-check your config file and log before posting though; I suspect you may have posted an old log or something.

I was looking at the log you posted at :

http://pastebin.ca/1343588

frojnd
02-26-2009, 05:26 PM
Nop, this is the newest log. I checked a few mins ago and it matches with the one I pasted before.

Also the version that should me in use of radeonhd package is: i | xorg-x11-driver-video-radeonhd | package | 1.2.4_121202_4e89726-2.1 | i586 | radeonHD