PDA

View Full Version : Suse ATi Driver


Gegenki
01-14-2007, 01:06 PM
Using Suse 10.2 X64 - Fresh install
Trying to install ATi Radeon X1950pro

Installed Ati Drivers as suggested here:
http://www.suse.de/~sndirsch/ati-installer-HOWTO.html#manual
using
ati-driver-installer-8.33.6-x86.x86_64.run

Created an X64 Suse 10.2 RPM
fglrx64_7_1_0_SUSE102-8.33.6-1.x86_64.rpm

Ran the install kernel didn't compile because I didn't have the source or gcc installed. Installed both then ran
/usr/X11R6/bin/fglrx-kernel-build.sh

which then gave me back
/usr/src/kernel-modules/fglrx /home/gegenki/Desktop
rm: cannot remove `Modules.symvers': No such file or directory
rm: cannot remove `*.o': No such file or directory
rm: cannot remove `*.ko': No such file or directory
rm: cannot remove `*.mod.*': No such file or directory
make: Entering directory `/usr/src/linux-2.6.18.2-34-obj/x86_64/default'
make -C ../../../linux-2.6.18.2-34 O=../linux-2.6.18.2-34-obj/x86_64/default
LD /usr/src/kernel-modules/fglrx/built-in.o
CC [M] /usr/src/kernel-modules/fglrx/firegl_public.o
/usr/src/kernel-modules/fglrx/firegl_public.c:468: warning: initialization from incompatible pointer type
/usr/src/kernel-modules/fglrx/firegl_public.c: In function ‘firegl_stub_open’:
/usr/src/kernel-modules/fglrx/firegl_public.c:591: warning: assignment discards qualifiers from pointer target type
/usr/src/kernel-modules/fglrx/firegl_public.c: In function ‘firegl_put_user_ptr’:
/usr/src/kernel-modules/fglrx/firegl_public.c:1360: warning: cast from pointer to integer of different size
/usr/src/kernel-modules/fglrx/firegl_public.c:1360: warning: cast from pointer to integer of different size
/usr/src/kernel-modules/fglrx/firegl_public.c:1360: warning: cast from pointer to integer of different size
/usr/src/kernel-modules/fglrx/firegl_public.c:1360: warning: cast from pointer to integer of different size
/usr/src/kernel-modules/fglrx/firegl_public.c: In function ‘__ke_unregister_ioctl32_conversion’:
/usr/src/kernel-modules/fglrx/firegl_public.c:2603: warning: ‘return’ with a value, in function returning void
/usr/src/kernel-modules/fglrx/firegl_public.c: In function ‘KAS_ExecuteAtLevel’:
/usr/src/kernel-modules/fglrx/firegl_public.c:4449: warning: ‘flags’ may be used uninitialized in this function
LD [M] /usr/src/kernel-modules/fglrx/fglrx.o
Building modules, stage 2.
MODPOST
WARNING: could not find /usr/src/kernel-modules/fglrx/.libfglrx_ip.a.GCC4.cmd for /usr/src/kernel-modules/fglrx/libfglrx_ip.a.GCC4
CC /usr/src/kernel-modules/fglrx/fglrx.mod.o
LD [M] /usr/src/kernel-modules/fglrx/fglrx.ko
make: Leaving directory `/usr/src/linux-2.6.18.2-34-obj/x86_64/default'
make: Entering directory `/usr/src/linux-2.6.18.2-34-obj/x86_64/default'
make -C ../../../linux-2.6.18.2-34 O=../linux-2.6.18.2-34-obj/x86_64/default modules_install
INSTALL /usr/src/kernel-modules/fglrx/fglrx.ko
DEPMOD 2.6.18.2-34-default
make: Leaving directory `/usr/src/linux-2.6.18.2-34-obj/x86_64/default'
/home/gegenki/Desktop


GLX gears only gave

2430 frames in 5.2 seconds = 465.944 FPS
2640 frames in 5.2 seconds = 505.125 FPS

Direct rending was off. I remembered when I installed my nvidia I had to run SAX2 so I looked that up



SonicS:/home/gegenki/Desktop # sax2 -r -m 0=fglrx
SaX: initializing please wait...
SaX: your current configuration will not be read in

SaX: access to your display has been granted
SPP: prepare device [0] profile: FireGL
SPP: including prepared profile(s)...

SaX: startup
SaX: X-Server: :0.0 -> grant
SaX: using cache data...

SonicS:/home/gegenki/Desktop # sax2 -r -m 0=fglrx -b /usr/share/doc/packages/fglrx/sax2-profile
SaX: initializing please wait...
SaX: your current configuration will not be read in

SaX: access to your display has been granted
SPP: prepare device [0] profile: FireGL
SPP: including prepared profile(s)...
SPP: prepare device [0] profile: sax2-profile
SPP: profile will add new section(s) -> moving: 1
SPP: including prepared profile(s)...
ServerLayout -> all -> Screen -> 0 -> top =
^ line <6>: syntax error: invalid KEY in LValue specification or invalid assignment: expected LValue=RValue with LValue=KEY sequence and RValue=STRING
ServerLayout -> all -> Screen -> 0 -> bottom =
^ line <7>: syntax error: invalid KEY in LValue specification or invalid assignment: expected LValue=RValue with LValue=KEY sequence and RValue=STRING
ServerLayout -> all -> Screen -> 0 -> left =
^ line <8>: syntax error: invalid KEY in LValue specification or invalid assignment: expected LValue=RValue with LValue=KEY sequence and RValue=STRING
ServerLayout -> all -> Screen -> 0 -> right =
^ line <9>: syntax error: invalid KEY in LValue specification or invalid assignment: expected LValue=RValue with LValue=KEY sequence and RValue=STRING

SaX: startup

SonicS:/home/gegenki/Desktop #

Stuck now.
Sax doesn't seem to do anything
ATi control asks for password then doesn't do anything

Garfunkel
01-14-2007, 01:16 PM
I am sorry mate but if you have xorg 7.2, you will not be able to install it. ATI sux with drivers on Linux and they don't support xorg 7.2 or higher. You will either have to do without or fall back to 7.1.

hope that helps.

EDIT: no wait, a new driver has snuck under the radar which does, so that can't be it.

i found this thread which may help you and contains some links to how to's etc.

http://www.suseforums.net/index.php?showtopic=28101

EDIT: now i am not sure, on ATI's website they still list up to 7.1, and then in the release notes it says 7.2...damn you ATI

Gegenki
01-14-2007, 01:33 PM
Thanks!
It was suprisingly quick and easy. All I had to do was run a slightly shorter command fox SaX and save the settings and restart the graphical server. Took about a minute

Garfunkel
01-14-2007, 01:38 PM
glad you got it working, i still don't know why ATI's website says it only supports 7.1 and then the release notes say 7.2...i wish they'd get their act together and release decent drivers for Linux.

just out of curiosity, does opensuse 10.2 come with beryl/compiz?

Gegenki
01-14-2007, 01:45 PM
Yes, not that its easy to get working lol
edit: Compiz is Beryl isnt.
Some if it is installed some of it isn't, so thats a no.

Garfunkel
01-14-2007, 02:09 PM
ah, ok, thanks. Same story as ubuntu, except feisty will have beryl preinstalled (i am testing herd 2 ATM).

Gegenki
01-14-2007, 11:22 PM
I'm not sure when it happened but


gegenki@SonicS:~> fglrxinfo
Xlib: extension "XFree86-DRI" missing on display ":0.0".
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: Radeon X1950 Series Generic
OpenGL version string: 1.2 (2.0.6286 (8.33.6))


Direct rendering is also off

Whenever I try to run SaX I get thrown off X and when I put in StartX it tells me X is already running

My X.org looks like this.
After looking up
Xlib: extension "XFree86-DRI" missing on display ":0.0".

I found that I had to add Option "Composite" "false" at the bottom. Was supposed to fix it but well... it didn't


# /.../
# SaX generated X11 config file
# Created on: 2007-01-14T12:30:54+0000.
#
# Version: 8.1
# Contact: Marcus Schaefer <sax@suse.de>, 2005
# Contact: SaX-User list <https://lists.berlios.de/mailman/listinfo/sax-users>
#
# Automatically generated by [ISaX] (8.1)
# PLEASE DO NOT EDIT THIS FILE!
#

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"
FontPath "unix/:7100"
InputDevices "/dev/gpmdata"
InputDevices "/dev/input/mice"
EndSection

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

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

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


Section "InputDevice"
Driver "mouse"
Identifier "Mouse[1]"
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 "Monitor"
Option "CalcAlgorithm" "XServerPool"
DisplaySize 371 222
HorizSync 30-61
Identifier "Monitor[0]"
ModelName "SAMSUNG SYNCMASTER"
Option "DPMS"
VendorName "SAM"
VertRefresh 43-75
UseModes "Modes[0]"
EndSection


Section "Modes"
Identifier "Modes[0]"
EndSection


Section "Screen"
DefaultDepth 24
SubSection "Display"
Depth 15
Modes "1280x768" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x768" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x768" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x768" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480"
EndSubSection
Device "Device[0]"
Identifier "Screen[0]"
Monitor "Monitor[0]"
EndSection


Section "Device"
BoardName "Framebuffer Graphics"
BusID "1:0:0"
Driver "fglrx"
Identifier "Device[0]"
Option "FSAADisableGamma" "no"
Option "CapabilitiesEx" "0x00000000"
Option "CenterMode" "off"
Option "FSAAMSPosX3" "0.000000"
Option "FSAAMSPosX4" "0.000000"
Option "mtrr" "off"
Option "FSAAMSPosY1" "0.000000"
Option "FSAAScale" "1"
Option "FSAAMSPosY2" "0.000000"
Option "FSAAMSPosX5" "0.000000"
Option "ForceGenericCPU" "no"
Option "GammaCorrectionI" "0x00000000"
Option "FSAAMSPosX0" "0.000000"
Option "FSAAMSPosY3" "0.000000"
Option "FSAAMSPosY4" "0.000000"
Option "no_accel" "no"
Option "FSAACustomizeMSPos" "no"
Option "FSAAMSPosY5" "0.000000"
Option "UseFastTLS" "0"
Option "GammaCorrectionII" "0x00000000"
Option "BlockSignalsOnLock" "on"
Option "FSAAEnable" "no"
Option "KernelModuleParm" "locked-userpages=0"
Option "Capabilities" "0x00000000"
Option "VideoOverlay" "on"
Option "no_dri" "no"
Option "StereoSyncEnable" "1"
Option "PseudoColorVisuals" "off"
Option "UseInternalAGPGART" "no"
Option "FSAADisableGamma" "no"
Option "CapabilitiesEx" "0x00000000"
Option "Capabilities" "0x00000000"
Option "FSAAMSPosX0" "0.000000"
Option "FSAAMSPosX1" "0.000000"
Option "FSAAMSPosX1" "0.000000"
Option "OpenGLOverlay" "off"
Option "FSAAMSPosX2" "0.000000"
Option "Stereo" "off"
Option "FSAAMSPosX3" "0.000000"
Option "CenterMode" "off"
Option "ScreenOverlap" "0"
Option "FSAAMSPosY0" "0.000000"
Option "FSAAMSPosY1" "0.000000"
Option "mtrr" "off"
Option "FSAAMSPosX4" "0.000000"
Option "Stereo" "off"
Option "ForceGenericCPU" "no"
Option "FSAAMSPosX5" "0.000000"
Option "FSAAMSPosY2" "0.000000"
Option "FSAAScale" "1"
Option "FSAAMSPosY3" "0.000000"
Option "GammaCorrectionI" "0x00000000"
Option "no_accel" "no"
Option "FSAAMSPosY4" "0.000000"
Option "UseFastTLS" "0"
Option "FSAAMSPosY5" "0.000000"
Option "FSAAMSPosX2" "0.000000"
Option "FSAACustomizeMSPos" "no"
Option "FSAAEnable" "no"
Option "BlockSignalsOnLock" "on"
Option "GammaCorrectionII" "0x00000000"
Option "KernelModuleParm" "locked-userpages=0"
Option "no_dri" "no"
Option "VideoOverlay" "on"
Option "UseInternalAGPGART" "no"
Option "PseudoColorVisuals" "off"
Option "StereoSyncEnable" "1"
Option "OpenGLOverlay" "off"
Option "FSAAMSPosY0" "0.000000"
Option "ScreenOverlap" "0"
VendorName "VESA"
EndSection


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


Section "DRI"
Group "video"
Mode 0660
EndSection

Section "Extensions"
Option "DAMAGE" "false"
Option "Composite" "false"
EndSection

Garfunkel
01-15-2007, 12:07 AM
don't you have to enable dri?

Gegenki
01-16-2007, 10:31 PM
DRI is enabled when you install the driver.
It seems Beryl doesn't like the ATI drivers. I reformatted, changed some things to suit me better, then reinstalled the ATI driver and left beryl