ATI Driver problems

Just installed the 9-4 driver
Installed ATI drivers before but not had it working properly since switching to opensuse 11.1

Now since the latest install Direct Rendering isn’t working and the biggest problem which I can’t find any help for online is this:


gegenki@linux-sllc:~> fgl_glxgears
Using GLX_SGIX_pbuffer
Error: couldn't get fbconfig

All the relavant info is below


gegenki@linux-sllc:~> uname -a
Linux linux-sllc 2.6.27.21-0.1-default #1 SMP 2009-03-31 14:50:44 +0200 x86_64 x86_64 x86_64 GNU/Linux


name of display: :0.0                                                                                 
display: :0  screen: 0                                                                                
direct rendering: No                                                                                  
server glx vendor string: SGI                                                                         
server glx version string: 1.2                                                                        
  

client glx vendor string: ATI                                                                         
client glx version string: 1.4 

OpenGL vendor string: ATI Technologies Inc.                                                           
OpenGL renderer string: ATI Radeon HD 3870                                                            
OpenGL version string: 1.2 (2.1.8591)

This is the xorg log. It looks fine up to this point which is the last few lines. Couldnt find much info about any of this either


(WW) AIGLX: 3D driver claims to not support visual 0x23                       
(WW) AIGLX: 3D driver claims to not support visual 0x24                       
(WW) AIGLX: 3D driver claims to not support visual 0x25                       
(WW) AIGLX: 3D driver claims to not support visual 0x26                       
(WW) AIGLX: 3D driver claims to not support visual 0x27                       
(WW) AIGLX: 3D driver claims to not support visual 0x28                       
(WW) AIGLX: 3D driver claims to not support visual 0x29                       
(WW) AIGLX: 3D driver claims to not support visual 0x2a                       
(WW) AIGLX: 3D driver claims to not support visual 0x2b                       
(WW) AIGLX: 3D driver claims to not support visual 0x2c                       
(WW) AIGLX: 3D driver claims to not support visual 0x2d                       
(WW) AIGLX: 3D driver claims to not support visual 0x2e                       
(WW) AIGLX: 3D driver claims to not support visual 0x2f                       
(WW) AIGLX: 3D driver claims to not support visual 0x30                       
(WW) AIGLX: 3D driver claims to not support visual 0x31                       
(WW) AIGLX: 3D driver claims to not support visual 0x32                       
(WW) AIGLX: 3D driver claims to not support visual 0x33                       
(WW) AIGLX: 3D driver claims to not support visual 0x34                       
(WW) AIGLX: 3D driver claims to not support visual 0x35                       
(WW) AIGLX: 3D driver claims to not support visual 0x36                       
(WW) AIGLX: 3D driver claims to not support visual 0x37                       
(WW) AIGLX: 3D driver claims to not support visual 0x38                       
(WW) AIGLX: 3D driver claims to not support visual 0x39                       
(WW) AIGLX: 3D driver claims to not support visual 0x3a                       
(WW) AIGLX: 3D driver claims to not support visual 0x3b                       
(WW) AIGLX: 3D driver claims to not support visual 0x3c                       
(WW) AIGLX: 3D driver claims to not support visual 0x3d                       
(WW) AIGLX: 3D driver claims to not support visual 0x3e                       
(WW) AIGLX: 3D driver claims to not support visual 0x3f                       
(WW) AIGLX: 3D driver claims to not support visual 0x40                       
(WW) AIGLX: 3D driver claims to not support visual 0x41                       
(WW) AIGLX: 3D driver claims to not support visual 0x42                       
(WW) AIGLX: 3D driver claims to not support visual 0x43                       
(WW) AIGLX: 3D driver claims to not support visual 0x44                       
(WW) AIGLX: 3D driver claims to not support visual 0x45                       
(WW) AIGLX: 3D driver claims to not support visual 0x46                       
(WW) AIGLX: 3D driver claims to not support visual 0x47                       
(WW) AIGLX: 3D driver claims to not support visual 0x48                       
(WW) AIGLX: 3D driver claims to not support visual 0x49                       
(WW) AIGLX: 3D driver claims to not support visual 0x4a                       
(WW) AIGLX: 3D driver claims to not support visual 0x4b                       
(WW) AIGLX: 3D driver claims to not support visual 0x4c                       
(WW) AIGLX: 3D driver claims to not support visual 0x4d                       
(WW) AIGLX: 3D driver claims to not support visual 0x4e                       
(WW) AIGLX: 3D driver claims to not support visual 0x4f                       
(WW) AIGLX: 3D driver claims to not support visual 0x50                       
(WW) AIGLX: 3D driver claims to not support visual 0x51                       
(WW) AIGLX: 3D driver claims to not support visual 0x52                       
(WW) AIGLX: 3D driver claims to not support visual 0x53                       
(WW) AIGLX: 3D driver claims to not support visual 0x54                       
(WW) AIGLX: 3D driver claims to not support visual 0x55                       
(WW) AIGLX: 3D driver claims to not support visual 0x56                       
(WW) AIGLX: 3D driver claims to not support visual 0x57                       
(WW) AIGLX: 3D driver claims to not support visual 0x58                       
(WW) AIGLX: 3D driver claims to not support visual 0x59                       
(WW) AIGLX: 3D driver claims to not support visual 0x5a                       
(WW) AIGLX: 3D driver claims to not support visual 0x5b                       
(WW) AIGLX: 3D driver claims to not support visual 0x5c                       
(WW) AIGLX: 3D driver claims to not support visual 0x5d                       
(WW) AIGLX: 3D driver claims to not support visual 0x5e                       
(WW) AIGLX: 3D driver claims to not support visual 0x5f                       
(WW) AIGLX: 3D driver claims to not support visual 0x60                       
(WW) AIGLX: 3D driver claims to not support visual 0x61                       
(WW) AIGLX: 3D driver claims to not support visual 0x62                       
(WW) AIGLX: 3D driver claims to not support visual 0x63                       
(WW) AIGLX: 3D driver claims to not support visual 0x64                       
(WW) AIGLX: 3D driver claims to not support visual 0x65                       
(WW) AIGLX: 3D driver claims to not support visual 0x66                       
(WW) AIGLX: 3D driver claims to not support visual 0x67                       
(WW) AIGLX: 3D driver claims to not support visual 0x68                       
(WW) AIGLX: 3D driver claims to not support visual 0x69                       
(WW) AIGLX: 3D driver claims to not support visual 0x6a                       
(WW) AIGLX: 3D driver claims to not support visual 0x6b                       
(WW) AIGLX: 3D driver claims to not support visual 0x6c                       
(WW) AIGLX: 3D driver claims to not support visual 0x6d                       
(WW) AIGLX: 3D driver claims to not support visual 0x6e                       
(WW) AIGLX: 3D driver claims to not support visual 0x6f                       
(WW) AIGLX: 3D driver claims to not support visual 0x70                       
(WW) AIGLX: 3D driver claims to not support visual 0x71                       
(WW) AIGLX: 3D driver claims to not support visual 0x72                       
(II) AIGLX: Loaded and initialized /usr/X11R6/lib64/modules/dri/fglrx_dri.so  
(II) GLX: Initialized DRI GL provider for screen 0                            
(II) fglrx(0): Enable the clock gating!                                       
(II) fglrx(0): Setting screen physical size to 698 x 392                      
(**) Option "CoreKeyboard"                                                    
(**) Keyboard[0]: always reports core events                                  
(**) Option "Protocol" "Standard"                                             
(**) Keyboard[0]: Protocol: Standard                                          
(**) Option "AutoRepeat" "500 30"                                             
(**) Option "XkbRules" "xfree86"                                              
(**) Keyboard[0]: XkbRules: "xfree86"                                         
(**) Option "XkbModel" "microsoftpro"                                         
(**) Keyboard[0]: XkbModel: "microsoftpro"                                    
(**) Option "XkbLayout" "gb"                                                  
(**) Keyboard[0]: XkbLayout: "gb"                                             
(**) Option "CustomKeycodes" "off"                                            
(**) Keyboard[0]: CustomKeycodes disabled                                     
(**) Option "Protocol" "explorerps/2"
(**) Mouse[1]: Device: "/dev/input/mice"
(**) Mouse[1]: Protocol: "explorerps/2"
(**) Option "CorePointer"
(**) Mouse[1]: always reports core events
(**) Option "Device" "/dev/input/mice"
(**) Option "Buttons" "9"
(==) Mouse[1]: Emulate3Buttons, Emulate3Timeout: 50
(**) Option "ZAxisMapping" "4 5"
(**) Mouse[1]: ZAxisMapping: buttons 4 and 5
(**) Mouse[1]: Buttons: 13
(**) Mouse[1]: Sensitivity: 1
(II) evaluating device (Keyboard[0])
(II) XINPUT: Adding extended input device "Keyboard[0]" (type: KEYBOARD)
(II) evaluating device (Mouse[1])
(II) XINPUT: Adding extended input device "Mouse[1]" (type: MOUSE)
(II) Mouse[1]: ps2EnableDataReporting: succeeded
Could not init font path element /usr/share/fonts/TTF/, removing from list!
Could not init font path element /usr/share/fonts/OTF, removing from list!
Could not init font path element /usr/share/fonts/Type1/, removing from list!
Could not init font path element /usr/share/fonts/100dpi:unscaled, removing from list!
swlDalGetDisplayIndex:ERROR: The number of Active Displays is 0
swlDalGetDisplayIndex:ERROR: The number of Active Displays is 0
(II) AIGLX: Suspending AIGLX clients for VT switch



Section "ServerLayout"
	Identifier     "Layout[all]"
	Screen      0  "aticonfig-Screen[0]-0" 0 0
	InputDevice    "Keyboard[0]" "CoreKeyboard"
	InputDevice    "Mouse[1]" "CorePointer"
	Option	    "Clone" "off"
	Option	    "Xinerama" "off"
	Option 	    "AIGLX" "on"
EndSection

Section "Files"
	InputDevices   "/dev/gpmdata"
	InputDevices   "/dev/input/mice"
	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"
EndSection

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

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

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

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

Section "Modes"
	Identifier     "Modes[0]"
	ModeLine     "1920x1080" 148.0 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync
EndSection

Section "Monitor"
	Identifier   "aticonfig-Monitor[0]-0"
	Option	    "VendorName" "ATI Proprietary Driver"
	Option	    "ModelName" "Generic Autodetecting Monitor"
	Option	    "DPMS" "true"
EndSection

Section "Device"
	Identifier  "aticonfig-Device[0]-0"
	Driver      "fglrx"
	Option	    "VideoOverlay" "off"
	Option	    "OpenGLOverlay" "on"
	BusID       "PCI:1:0:0"
EndSection

Section "Screen"
	Identifier "aticonfig-Screen[0]-0"
	Device     "aticonfig-Device[0]-0"
	Monitor    "aticonfig-Monitor[0]-0"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection

Section "DRI"
	Group        "video"
	Mode         0660
EndSection

Section "Extensions"
Option "Composite" "1"
EndSection


I added in the composite and AIGLX lines this morning, made no difference.

I found that the best way of installing the driver from ati’s website is to run the install as root in runlevel 3 and not using the xwindows ati install gui. Accept the default install and when it finishes, run sax2. Once configured, you can then startx and it should work.

I’m certainly no expert at this, but as I recall ATI specifically recommends not using sax2 following installation, and insteads says to use “aticonfig --initial” or some such proprietary configuration tool.

when I use aticonfig --initial, it only screws up.
I always recommend sax2 -r -m 0=fglrx