[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[solved]Radeon 9250 and free drivers[Was: Re: fglrx, I should ask...}



Hello everybody,

I have solved my performances problem with the help of "the wner" thanks to him. Here is the full report. I hope this can help some guys there.

1 - The history:
----------------
I had a Excalibur Radeon 9500 pro and I was using sucessfully the fglrx drivers (based on flavio work). It was running both in 64 bit and 32 bit.

I decided to use a Radeon 9250 for two reasons:
- it has free drivers
- it is fanless (passive heatsink) so noiseless
So I bought an Asustek A9250T/D.

To ease the change, I used first the fglrx drivers. I had nothing to change to the system and I got 920fps in glxgears (windowed) with XFree86 4.3.0. Only tuxracer was not working giving me a corrupted screen.

Then I decided to switch to the "radeon" driver.
I removed the fglrx driver packages and changed my XF86Config-4 file to reflect the changes.

2 - The problems:
-----------------
As related before I got 2 problems:
The fps was low: 450fps and glxinfo reported that dri was not in use
[... ]
name of display: :0.0
display: :0  screen: 0
direct rendering: No
[...]
And some strange things:
[...]
client glx vendor string: SGI
client glx version string: 1.2
[...]
OpenGL renderer string: Mesa GLX Indirect

In the same time, XFree86.0.log reported the dri wan enabled:
(II) RADEON(0): [drm] register handle = 0xfbe00000
(II) RADEON(0): [dri] Visual configs initialized
(II) RADEON(0): [DRI] installation complete

If I tried to restart gdm I got a machine exception as reported before.

3 - the solution:
-----------------
"the owner" (thanks to him) pointed me to the possible use of the fglrx libs instead of the xfree ones.
I double checked.
Removing the fglrx packages removed the diversion of LibGL but didnt restore the symlinks.
After the reinstallation of xlibmesa-gl, the problem got fixed:
glxinfo reports:
direct rendering: Yes
[ ... ]
client glx vendor string: ATI
client glx version string: 1.3
[ ... ]
OpenGL vendor string: Tungsten Graphics, Inc.
OpenGL renderer string: Mesa DRI R200 20020827 AGP 4x x86/MMX/3DNow!/
SSE TCL
OpenGL version string: 1.2 Mesa 4.0.4

4 - configuration:
------------------
I've hardcoded in the kernel agpgart, amd64_agp and radeon.
My XF86Config-4 is attached.

5 caveat:
---------
I have set explicitely AGPFastWrite to off.
Option      "AGPFastWrite"    "off"

If it is set to on I've the Machine Check reported before.

Regards

Jean-Luc

I've the same if I don preload amd64_agp, agmgart and radeon modules in this order with the free drivers.

And BTW, glxinfo reports direnct rendering=No. glgars repors 450fps
while I get 920fps with fglrx drivers. with fglrx, the radeon driver
shouldnt be loaded.

When the screen is black, I've a beep after a while and a machine check in the logs.

tangerine-64 kernel: agpgart: Putting AGP V3 device at 0000:01:00.0
into 8x mode
tangerine-64 kernel: CPU 0: Machine Check Exception: 0000000000000004
tangerine-64 kernel: Bank 4: b200000000070f0f
tangerine-64 kernel: Kernel panic - not syncing: CPU context corrupt

I manage in this casre to use the magic keys to do an Emergy sync
[Altgr-Syst request-S], umount R/O [Altgr-Syst request-U] ans emergency rebbot [Altgr-Syst request-B]

I've the same behaviour with both 64 bit and 32 bit system.

I've remarked the same machine check with a Radeon 9200SE on a friend
machine.

My card is an Asus A9250T/D and I sue only the analog output.

I've never the machine check with the fglrx drivers.
# XF86Config-4 (XFree86 server configuration file) generated by Dexconf, the
# Debian X Configuration tool, using values from the debconf database.
#
# Edit this file with caution, and see the XF86Config manual page.
# (Type "man XF86Config" at the shell prompt.)

Section "Files"
	FontPath	"unix/:7110"			# local font server
	FontPath	"unix/:7100"			# local font server

#        FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
#	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"		

	# if the local font server has problems, we can fall back on these
	FontPath	"/usr/lib/X11/fonts/misc"
	FontPath	"/usr/lib/X11/fonts/100dpi/:unscaled"
	FontPath	"/usr/lib/X11/fonts/75dpi/:unscaled"
	FontPath	"/usr/lib/X11/fonts/Speedo"
	FontPath	"/usr/lib/X11/fonts/100dpi"
	FontPath	"/usr/lib/X11/fonts/75dpi"
	FontPath	"/usr/lib/X11/fonts/Type1"
EndSection

Section "ServerFlags"
EndSection

Section "Module"
	Load	"GLcore"
	Load	"ddc"
	Load	"dbe"
	Load	"extmod"
	Load	"glx"
	Load	"dri"
#	Load	"pex5"
	Load	"record"
#	Load	"xie"
	Load	"bitmap"
	Load	"freetype"
	Load	"speedo"
	Load	"type1"
	Load	"vbe"
	Load	"int10"
	Load	"wacom"
EndSection

Section "InputDevice"
	Identifier	"French Keyboard"
	Driver		"keyboard"
	Option		"CoreKeyboard"
	Option		"XkbRules"			"xfree86"
	Option		"XkbModel"			"logicdo"
	Option		"XkbLayout"			"fr-latin9"
	Option		"XkbOptions"		"compose:rwin"
EndSection

Section "InputDevice"	
	Identifier	"USB Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"			"/dev/input/mice"
	Option		"SendCoreEvents"	"true"
	Option		"Protocol"			"IMPS/2"
	Option		"ZAxisMapping"		"4 5"
	Option		"Buttons"			"8"
EndSection

Section "InputDevice"	
	Identifier	"PS2 Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"			"/dev/psaux"
	Option		"Protocol"			"IMPS/2"
	Option		"Emulate3Buttons"	"false"
	Option		"ZAxisMapping"		"4 5"
EndSection

# Settings for wacom pen
Section "InputDevice"
	Identifier	"Stylus"
	Driver		"wacom"
	Option		"Device"			"/dev/input/wacom"
	Option		"Type"				"stylus"
	Option		"Mode"				"Absolute"
	Option		"Threshold"			"20"
	Option		"USB"				"on"			
#	Option		"Debuglevel"		"2"
EndSection

# Settings for wacom eraser
Section "InputDevice"
	Identifier	"Eraser"
	Driver      "wacom"
	Option      "Device"			"/dev/input/wacom"
	Option      "Type"				"eraser"
	Option		"Mode"				"Absolute"
	Option		"Threshold"			"2"
	Option		"USB"				"on"
#	Option		"Debuglevel"		"2"
EndSection

# Settings for wacom cursor
Section "InputDevice"
	Identifier	"Pointer"
	Driver		"wacom"
	Option		"Device"			"/dev/input/wacom"
	Option		"Type"				"cursor"
	Option		"Mode"				"Relative"
	Option		"USB"				"on"
#	Option		"Debuglevel"		"2"
EndSection
				
Section "Device"
	Identifier	"Asus Radeon A9250 T/D"
	Driver		"radeon"
#	Option 		"backingstore"
	Option		"AGPMode"			"4"
	Option		"AGPFastWrite"		"off"
	Option		"EnablePageFlip"	"on"
EndSection

Section "Monitor"
	Identifier	"IBM P200"
	HorizSync	29-90
	VertRefresh	50-120
	Option		"DPMS" "on"
	Modeline	"1280x1024"   135.00 1280 1284 1428 1672 1024 1025 1028 1054 +hsync +vsync
	Modeline	"1024x768"     94.50 1024 1088 1184 1376  768  769  772  808 +hsync +vsync
	Modeline	"800x600"      56.30  800  848  912 1048  600  601  604  631 +hsync +vsync
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"Asus Radeon A9250 T/D"
	Monitor		"IBM P200"
	DefaultDepth	24
	SubSection "Display"
		Depth		1
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1280x1024" "1024x768" "800x600"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier		"Default Layout"
	Screen			"Default Screen"
	InputDevice		"French Keyboard"	"CoreKeyboard"
	InputDevice		"USB Mouse"			"Corepointer"
	InputDevice     "Stylus"			"AlwaysCore"
	InputDevice     "Eraser"			"AlwaysCore"
	InputDevice     "Pointer"			"AlwaysCore"
EndSection

Section "DRI"
	Mode			0666
EndSection

# End of XF86Config
# vim:ts=4:sw=4

Attachment: pgpvDqBTZUujq.pgp
Description: PGP signature


Reply to: