Yes... you guessed it, another of these. Anyway to my point.

I've done plenty of searching, have XGL and ATI working nicely together. However occasionally the graphics card isn't handling the task brilliantly, especially when there are a lot of applications (or even just iceweasel) open. I did a small glxgears test when few apps were open and here's my result:

Code:
chadders@laptop:~$ glxgears 
1157 frames in 5.0 seconds = 229.974 FPS
1120 frames in 5.1 seconds = 217.558 FPS
1400 frames in 5.3 seconds = 263.538 FPS
1120 frames in 5.2 seconds = 217.102 FPS
980 frames in 5.2 seconds = 189.689 FPS
There results as you can see are far from spectacular. Anybody have a clue on how to fix this, or if you need any more information.

I obtained my XGL server from the ubuntu repository (Hardy Alpha 2), but other stable XGL servers on ubuntu have also proven poor. I have also tried the autistici.org XGL repository withe even less success. My /etc/X11/xorg.conf look like this:

Code:
Section "Files"
EndSection

Section "Module"
	Load	"i2c"
	Load	"bitmap"
	Load	"ddc"
	Load	"dri"
	Load	"extmod"
	Load	"freetype"
	Load	"glx"
	Load	"int10"
	Load	"vbe"
	Load	"GLcore"
EndSection

#
#Section "Devices"
#	Option   "XAANoOffscreenPixmaps"   "true"
#EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"us"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ImPS/2"
	Option		"Emulate3Buttons"	"true"
EndSection

Section "InputDevice"
	Identifier	"Synaptics Touchpad"
	Driver		"synaptics"
	Option		"SendCoreEvents"	"true"
	Option		"Device"		"/dev/psaux"
	Option		"Protocol"		"auto-dev"
	Option		"HorizScrollDelta"	"0"
EndSection

Section "Device"
	Identifier	"Generic Video Card"
	Driver		"fglrx"
	BusID		"PCI:1:0:0"
EndSection

Section "Monitor"
	Identifier	"Generic Monitor"
	Option		"DPMS"
	HorizSync	30-70
	VertRefresh	50-160
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"Generic Video Card"
	Monitor		"Generic Monitor"
	DefaultDepth	24
	SubSection "Display"
		Modes		"1280x800"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
	InputDevice	"Synaptics Touchpad"
#	Identifier      "Default Layout" #otherwise will give an error and fail to load GDM
#        Option          "AIGLX" "true"
EndSection

#
Section   "Extensions"
	Option   "Composite"   "0"
	Option   "RENDER"      "Enable"
EndSection

#
Section "DRI"
	Mode	0666
EndSection
Alternatively if someone can find a working AIGLX and ATI solution please link me.

Cheers,

Chadders.