Radeon is the most buggy graphic card

I made one of the biggest mistakes - I changed old and progressively dying NVidia for Asus ATI Radeon HD 4670. This makes up my life.
I never expected that Radeon is so hardly installed.

I tried that: ATI - openSUSE
and that: No luck with Radeon HD 4870 and fglrx - Page 2 - openSUSE Forums for installation and troubleshouting.
I tried the original ATI driver and Catalyst => the command “sax2 -r -m 0=fglrx” gives black screen and locks up the rig. The driver from one of the SuSE repositories after installation and “sax2 -r -m 0=fglrx” affords funny parti-colored screen,but doesnt freeze the machine.
I tried many times to play around - in one case the driver installed and the X started, but the fglrx module was not loaded.

Now I’m running VESA driver, and the fglrx module is loaded:

lsmod | grep fglrx
fglrx 2447968 0

hwinfo --gfxcard ¦ card
11: PCI 8100.0: 0300 VGA compatible controller (VGA)
[Created at pci.310]
UDI: /org/freedesktop/Hal/devices/pci_1002_9490
Unique ID: rESj.MP_+tC9em7D
Parent ID: Exw8.wxFwtL2jas4
SysFS ID: /devices/pci0000:80/0000:80:0e.0/0000:81:00.0
SysFS BusID: 0000:81:00.0
Hardware Class: graphics card
Model: “ATI VGA compatible controller”
Vendor: pci 0x1002 “ATI Technologies Inc”
Device: pci 0x9490
SubVendor: pci 0x1043 “ASUSTeK Computer Inc.”
SubDevice: pci 0x0294
Driver: “fglrx_pci”
Driver Modules: “fglrx”
Memory Range: 0xd0000000-0xdfffffff (rw,prefetchable)
Memory Range: 0xc0900000-0xc090ffff (rw,non-prefetchable)
I/O Ports: 0x4000-0x4fff (rw)
Memory Range: 0xc0920000-0xc093ffff (ro,prefetchable,disabled)
IRQ: 19 (29587 events)
I/O Ports: 0x3c0-0x3df (rw)
Module Alias: “pci:v00001002d00009490sv00001043sd00000294bc03sc00i00”
Driver Info #0:
Driver Status: fglrx is active
Driver Activation Cmd: “modprobe fglrx”
Config Status: cfg=no, avail=yes, need=no, active=unknown
Attached to: #12 (PCI bridge)

glxinfo
name of display: :0.0
X Error of failed request: BadRequest (invalid request code or no such operation)
Major opcode of failed request: 143 (GLX)
Minor opcode of failed request: 19 (X_GLXQueryServerString)
Serial number of failed request: 14
Current serial number in output stream: 14

Please, can someone tell me what’s goning on ???

Thnx

I have found that radeons and kvm’s don’t go well together.
Try booting into single user mode (type 3 on the grub bootup screen) and then log in as root.
Now type: /usr/bin/aticonfig --initial or /usr/X11R6/bin/aticonfig --initial.
Now run sax2 to set up the card.
I have also found that setting the vga= line in the bootup to vga=0x31a gives a 1280x1024 boot up and makes it easier to sync the monitor.

I tried the both. No success.
I recompiled kernel without KVM. Doesn’t help. “sax2 -r -m 0=fglrx” locks up the machine completely in all cases.

Then I uninstalled native ATI driver & Catalyst and reinstalled the Suse Community driver. “aticonfig --initial” and "sax2 -r -m 0=fglrx"It gives a bit better result - it does not lock up the machine (vide supra) but renders a screen where I can see like four quadrants each one containing one and the same blured image, and the loading of the xserver is continuing, cause I get the diagnostic sound.
The content of the xorg.conf is:

/…/

SaX generated X11 config file

Created on: 2009-07-02T20:04:32+0200.

Version: 8.1

Contact: Marcus Schaefer <sax@suse.de>, 2005

Contact: SaX-User list <https://lists.berlios.de/mailman/listinfo/sax-users&gt;

Automatically generated by [ISaX] (8.1)

PLEASE DO NOT EDIT THIS FILE!

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”
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 “dbe”
Load “type1”
Load “freetype”
Load “extmod”
Load “glx”
EndSection

Section “ServerFlags”
Option “AllowMouseOpenFail” “on”
Option “ZapWarning” “on”
EndSection

Section “InputDevice”
Identifier “Keyboard[0]”
Driver “kbd”
Option “Protocol” “Standard”
Option “XkbLayout” “fr”
Option “XkbModel” “pc102”
Option “XkbOptions” “caps:shiftlock”
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 “1600x1200” 162.0 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
EndSection

Section “Monitor”
Identifier “Monitor[0]”
VendorName “SAM”
ModelName “SAMSUNG SYNCMASTER”
UseModes “Modes[0]”
DisplaySize 408 306
HorizSync 30.0 - 81.0
VertRefresh 43.0 - 75.0
Option “CalcAlgorithm” “XServerPool”
Option “DPMS”
Option “PreferredMode” “1280x960”
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 “Device[0]”
Driver “fbdev”
VendorName “VESA”
BoardName “Framebuffer Graphics”
EndSection

Section “Device”
Identifier “aticonfig-Device[0]-0”
Driver “fglrx”
BusID “PCI:2:0:0”
EndSection

Section “Screen”
Identifier “Screen[0]”
Device “Device[0]”
Monitor “Monitor[0]”
SubSection “Display”
Depth 15
Modes “default”
EndSubSection
SubSection “Display”
Depth 16
Modes “default”
EndSubSection
SubSection “Display”
Depth 24
Modes “default”
EndSubSection
SubSection “Display”
Depth 8
Modes “default”
EndSubSection
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

And the fglrx daemon is not loaded (lsmod | grep fglrx renders nothing).

Unfortunately, I’m not able to turn SaX2 back to using VESA driver. Sax2 doesnt boot, for instance, SaX2 -a and then SaX2 doesnt help.
Only the uninstalling of the driver enables running X with VESA…

I do not understand what’s going on. ATI must pay me for my wasted time and all these troubles. More, they have to highlight everywhere that their graphic cards are NOT suitable for Linux (in most cases: see, how many complaints are on the forum).
Merde.

Ket_nn
>I do not understand what’s going on. ATI must pay me for my >wasted time and all these troubles. More, they have to highlight >everywhere that their graphic cards are NOT suitable for Linux >(in most cases: see, how many complaints are on the forum).
>Merde.

Welcome to linux and the surprises! We all do a lot of unpaid work for the major vendors. In the early days linux was for geeks and you had to know exactly what hardware you had and for it to even install and then for Xwindows, exactly what your moonitor’s specs were.
Thankfully most of that has changed.

I would either try:

  1. Start in run level 3 and then type the aticonfig --initial and then configure sax2. If you get sax to run, start with a vesa monitor at 60 hz.

or

  1. run it all by unplugging the monitor from the kvm and plugging it all into the pc and starting afresh.

Some of the cheaper kvm’s don’t allow a pass through for the monitor and the same goes for some of the high end ones (my old hp/compaq rackmount one is the same - it was designed for a max screen of 1024x768) and this messes up sax’s autodetect routine.

Sorry, I didn’t get what is kvm . Normally, it is “Kernel-based Virtual Machine”. Is it in your case keyboard-mouse-video ?
thnx

KVM here is for a Keyboard, Video, Monitor switch.

In this context what the the following means :

  1. run it all by unplugging the monitor from the kvm and plugging it all into the pc and starting afresh.
    ?

sorry

knet_nn
Make sure that your monitor is directly connected to the pc - ie it doesn’t have any keyboard, video, mouse switch in the loop.
Boot to run level 3
login as root and run /usr/bin/aticonfig --initial.
Next configure sax by typing: sax2 -r -m 0=fglrx
(The 0 is number zero not a letter)

Once you have monitor configured, exit sax and type startx to get the xServer running.
If everything is fine, reboot and login as usual.

If you are still having problems, use yast in level 3 to remove the ati repo driver and download and install the ati driver from their site.
Do the automated install in run level 3. Make sure you have first downloaded the latest kernel development for your kernel (also from yast.)

Thanks much for the tip, but this doesn’t work. I tried to reinstall the driver using yast2 (in addition I installed all the packages from the list of the kernel development menu).
The “sax2 -r -m 0=fglrx” gives again a screen composed of 4 quadrants - a sort of blured pink & black picture in each quadrant. No progress. Thus, I had to shut it with ctrl-alt-del. Surprisingly, the yast2-mediated deinstallation of the fglrx drivers removed some configuration files (an authority issue) of the xorg server, thus, I had to reinstall it…
What can I say. These drivers are not compatible with the card I have (Asus HD4670).
If somebody would like to buy my graphic card (it is brand new), I can sell this crap for 40-50 euros (the origonal price 67 euros in France)…

We may want to contact ATI, saying that they must publish on the ASUS site that their cards/drivers are not compatible with the Linux 64bit environment.

Summing up, I re-tried two configurations: ATI native driver ati-driver-installer-9-1-x86.x86_64.run and
Suse community driver. The both are not working with Radeon HD4670.
The xorg.conf files are:

/…/

SaX generated X11 config file

Created on: 2009-07-04T17:34:40+0200.

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 “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”
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 “dbe”
Load “type1”
Load “freetype”
Load “extmod”
Load “glx”
EndSection

Section “ServerFlags”
Option “AllowMouseOpenFail” “on”
Option “ZapWarning” “on”
EndSection

Section “InputDevice”
Identifier “Keyboard[0]”
Driver “kbd”
Option “Protocol” “Standard”
Option “XkbLayout” “fr”
Option “XkbModel” “pc102”
Option “XkbOptions” “caps:shiftlock”
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 “1600x1200” 162.0 1600 1664 1856 2160 1200 1201 1204 1250 +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”
BusID “PCI:2: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


/…/

SaX generated X11 config file

Created on: 2009-07-04T16:21:02+0200.

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”
InputDevices “/dev/gpmdata”
InputDevices “/dev/input/mice”
EndSection

Section “ServerFlags”
Option “AIGLX” “on”
Option “AllowMouseOpenFail” “on”
Option “IgnoreABI” “on”
Option “ZapWarning” “on”
EndSection

Section “Module”
Load “dbe”
Load “type1”
Load “freetype”
Load “extmod”
Load “glx”
Load “dri”
EndSection

Section “InputDevice”
Driver “kbd”
Identifier “Keyboard[0]”
Option “Protocol” “Standard”
Option “XkbLayout” “fr”
Option “XkbModel” “pc102”
Option “XkbOptions” “caps:shiftlock”
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 408 306
HorizSync 30-81
Identifier “Monitor[0]”
ModelName “SAMSUNG SYNCMASTER”
Option “DPMS”
Option “PreferredMode” “1600x1200”
VendorName “SAM”
VertRefresh 43-75
UseModes “Modes[0]”
EndSection

Section “Modes”
Identifier “Modes[0]”
Modeline “1600x1200” 162.00 1600 1664 1856 2160 1200 1201 1204 1250
EndSection

Section “Screen”
DefaultDepth 24
SubSection “Display”
Depth 15
Modes “1600x1200” “1600x1024” “1600x1000” “1400x1050” “1280x1024” “1440x900” “1280x960” “1366x768” “1280x800” “1152x864” “1280x768” “1280x720” “1024x768” “1280x600” “1024x600” “800x600” “768x576” “640x480”
EndSubSection
SubSection “Display”
Depth 16
Modes “1600x1200” “1600x1024” “1600x1000” “1400x1050” “1280x1024” “1440x900” “1280x960” “1366x768” “1280x800” “1152x864” “1280x768” “1280x720” “1024x768” “1280x600” “1024x600” “800x600” “768x576” “640x480”
EndSubSection
SubSection “Display”
Depth 24
Modes “1600x1200” “1600x1024” “1600x1000” “1400x1050” “1280x1024” “1440x900” “1280x960” “1366x768” “1280x800” “1152x864” “1280x768” “1280x720” “1024x768” “1280x600” “1024x600” “800x600” “768x576” “640x480”
EndSubSection
SubSection “Display”
Depth 8
Modes “1600x1200” “1600x1024” “1600x1000” “1400x1050” “1280x1024” “1440x900” “1280x960” “1366x768” “1280x800” “1152x864” “1280x768” “1280x720” “1024x768” “1280x600” “1024x600” “800x600” “768x576” “640x480”
EndSubSection
Device “Device[0]”
Identifier “Screen[0]”
Monitor “Monitor[0]”
EndSection

Section “Device”
BoardName “ATI Radeon Graphics Processor (RV730 9490)”
Driver “fglrx”
Identifier “Device[0]”
Option “XAANoOffscreenPixmaps” “true”
Option “Capabilities” “0x00000000”
Option “OpenGLOverlay” “off”
Option “FSAAScale” “0”
Option “FSAAEnable” “off”
Option “VideoOverlay” “on”
VendorName “ATI”
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 “Composite” “on”
EndSection

Any ideas ???

  1. Take a look at your /var/log/Xorg.0.log file, see what error and warning messages are present.

  2. The importance of /etc/X11/xorg.conf is diminishing these days. A lot of the traditional entries are superfluous now. E.g. all those font and module statements, and mode lines, can come out.

  3. Over in Setup an ATI card with the new FGLRX drivers for Compiz-Fusion - Compiz Community Forums, member djdoo has authored hundreds of notes regarding ATI driver setup in OpenSUSE.

  4. Remove your /etc/ati/amdpcsdb file, restart X. Don’t worry, it gets rebuilt.

  5. Take a look at /usr/share/ati/fglrx-install.log, see where things go wrong.

  6. The latest ATI driver notes recommend not running SAX2, just amdcccle.

  7. I have a radeon 2600 card. With the latest ATI fglrx driver, I just run it and accept all the defaults. It works fine.

HTH

  • Tried, din’t help.

  • The content of /usr/share/ati/fglrx-install.log:

[Message] Kernel Module : Trying to install a precompiled kernel module.
[Message] Kernel Module : Precompiled kernel module version mismatched.
[Message] Kernel Module : Found kernel module build environment, generating kernel module now.
AMD kernel module generator version 2.1
doing Makefile based build for kernel 2.6.x and higher
rm -rf *.c *.h *.o .ko .GCC .?? *.symvers
make -C /lib/modules/2.6.25.20-0.4-default/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory /usr/src/linux-2.6.25.20-0.4-obj/x86_64/default' make -C /usr/src/linux-2.6.25.20-0.4 O=/usr/src/linux-2.6.25.20-0.4-obj/x86_64/default/. modules CC [M] /lib/modules/fglrx/build_mod/2.6.x/firegl_public.o CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.o CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl_agp.o CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl_debug.o CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl_ioctl.o CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl_io.o CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl_pci.o CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl_str.o CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl_wait.o LD [M] /lib/modules/fglrx/build_mod/2.6.x/fglrx.o Building modules, stage 2. MODPOST 1 modules CC /lib/modules/fglrx/build_mod/2.6.x/fglrx.mod.o LD [M] /lib/modules/fglrx/build_mod/2.6.x/fglrx.ko make[1]: Leaving directory /usr/src/linux-2.6.25.20-0.4-obj/x86_64/default’
build succeeded with return value 0
duplicating results into driver repository…
done.
You must change your working directory to /lib/modules/fglrx
and then call ./make_install.sh in order to install the built module.

  • recreating module dependency list
  • trying a sample load of the kernel modules
    failed.
    [Error] Kernel Module : Failed to install compiled kernel module - please consult readme.

  • Now the content of /var/log/Xorg.0.log (last paragraph):

(II) fglrx(0): driver needs X.org 7.1.x.y with x.y >= 0.0
(WW) fglrx(0): could not detect X server version (query_status=-1)
(EE) fglrx(0): atiddxDriScreenInit failed, GPS not been initialized.
(WW) fglrx(0): ***********************************************
(WW) fglrx(0): * DRI initialization failed! *
(WW) fglrx(0): * (maybe driver kernel module missing or bad) *
(WW) fglrx(0): * 2D acceleraton available (MMIO) *
(WW) fglrx(0): * no 3D acceleration available *
(WW) fglrx(0): ********************************************* *
(II) fglrx(0): FBADPhys: 0x0 FBMappedSize: 0x10000000
(WW) fglrx(0): Failed to set up write-combining range (0xc0000000,0x10000000)
(II) fglrx(0): FBMM initialized for area (0,0)-(1600,8191)
(II) fglrx(0): FBMM auto alloc for area (0,0)-(1600,1200) (front color buffer - assumption)
(II) fglrx(0): Largest offscreen area available: 1600 x 6991
(==) fglrx(0): Backing store disabled
(II) Loading extension FGLRXEXTENSION
(II) Loading extension ATITVOUT
() fglrx(0): DPMS enabled
(WW) fglrx(0): Textured Video not supported without DRI enabled.
(II) LoadModule: “glesx”
(II) Loading /usr/lib64/xorg/modules//glesx.so
(II) Module glesx: vendor=“X.Org Foundation”
compiled for 7.1.0, module version = 1.0.0
ABI class: X.Org Server Extension, version 0.3
(II) Loading extension GLESX
(II) fglrx(0): GLESX enableFlags = 74
(II) fglrx(0): Acceleration enabled
(II) LoadModule: “amdxmm”
(II) Loading /usr/lib64/xorg/modules//amdxmm.so
(II) Module amdxmm: vendor=“X.Org Foundation”
compiled for 7.1.0, module version = 1.0.0
ABI class: X.Org Server Extension, version 0.3
(EE) fglrx(0): XMM failed to open CMMQS connection.
(II) fglrx(0): XMM failed to initialize!
(WW) fglrx(0): Option “VendorName” is not used
(WW) fglrx(0): Option “ModelName” is not used
(==) fglrx(0): Silken mouse enabled
(==) fglrx(0): Using hardware cursor
(==) RandR enabled
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension XC-APPGROUP
(II) Initializing built-in extension XAccessControlExtension
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(II) Initializing built-in extension XFree86-Bigfont
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
(II) Initializing built-in extension XEVIE
(II) AIGLX: Screen 0 is not DRI capable
(II) Loading sub module “GLcore”
(II) LoadModule: “GLcore”
(II) Loading /usr/lib64/xorg/modules//extensions/libGLcore.so
(II) Module GLcore: vendor=“X.Org Foundation”
compiled for 1.4.0.90, module version = 1.0.0
ABI class: X.Org Server Extension, version 0.3
(II) GLX: Initialized MESA-PROXY GL provider for screen 0
[glesx] __glESXExtensionInit: No GL ES2.0 capable screen found!
(
) 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” “pc102”
(
) Keyboard[0]: XkbModel: “pc102”
() Option “XkbLayout” “fr”
(
) Keyboard[0]: XkbLayout: “fr”
() Option “XkbOptions” “caps:shiftlock”
(
) Keyboard[0]: XkbOptions: “caps:shiftlock”
() 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 (Mouse[1])
(II) XINPUT: Adding extended input device “Mouse[1]” (type: MOUSE)
(II) evaluating device (Keyboard[0])
(II) XINPUT: Adding extended input device “Keyboard[0]” (type: KEYBOARD)
(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!
(EE) fglrx(0): PPLIB: PPLIB is not initialized!.
(EE) fglrx(0): PPLIB: swlPPLibNotifyEventToPPLib() failed!
(EE) fglrx(0): ulEventType = 0000000c, ulEventData = 00000001


any ideas, please ?

ket@server:/lib/modules/fglrx # ./make_install.sh

  • recreating module dependency list
  • trying a sample load of the kernel modules
    FATAL: Error inserting fglrx (/lib/modules/2.6.25.20-0.4-default/kernel/drivers/char/drm/fglrx.ko):Invalid module format failed.

are there ideas what’s going on with that module ?

Something is blocking you from making or installing the fglrx module.

Are you sure you are building as root?

Do you have /usr/lib/dri/fglrx_dri.so ?

/usr/lib64/dri/fglrx_dri.so ?

Directory permissions look OK?

Remove any old modules before adding new one?

md5 check OK on the ATI driver file?

The last few times I loaded the ATI driver in my AMD64 box, I was at runlevel 3 as root; ran the file accepting all defaults, did aticonfig --initial, then reboot. No sax2. I did copy over a somewhat abbreviated xorg.conf file that is working fine for me, But aticonfig’s version should work.

FYI, the last few lines of my fglrx-install.log file are:

  LD [M]  /lib/modules/fglrx/build_mod/2.6.x/fglrx.ko            
make[1]: Leaving directory `/usr/src/linux-2.6.27.23-0.1-obj/x86_64/default'
build succeeded with return value 0  
duplicating results into driver repository...                    
done.                                                            
You must change your working directory to /lib/modules/fglrx
and then call ./make_install.sh in order to install the built module.
- recreating module dependency list                              
- trying a sample load of the kernel modules                     
done.

I note that my kernel is a bit newer than yours. Probably not the problem.
HTH

As root, enter rpm -qa | grep -i kernel
Verify that your kernel-default, kernel-source, and kernel-syms all reference the same kernel version.

HTH

See
Can’t create //usr/X11R6/lib/modules/dri/fglrx_dri.so: File exists - Phoronix Forums

rpm -qa | grep -i kernel
linux-kernel-headers-2.6.25-8.1
kernel-default-2.6.25.20-0.4
kernel-syms-2.6.25.20-0.4
kernel-source-2.6.25.20-0.4
kernel-docs-2.6.25.20-0.4

it appears that the version of the headers is different. Should I recompile kernel headers then ? How I do ?

/usr/lib/dri # dir
total 24984
lrwxrwxrwx 1 root root 12 2009-06-30 23:57 dri -> /usr/lib/dri
-rwxr-xr-x 1 root root 221952 2008-06-07 01:24 ffb_dri.so
-rw-r–r-- 1 root root 20778356 2009-07-05 22:42 fglrx_dri.so
-rwxr-xr-x 1 root root 257748 2008-06-07 01:24 i810_dri.so
-rwxr-xr-x 1 root root 374000 2008-06-07 01:24 i915_dri.so
-rwxr-xr-x 1 root root 375636 2008-06-07 01:24 i915tex_dri.so
-rwxr-xr-x 1 root root 357020 2008-06-07 01:24 i965_dri.so
-rwxr-xr-x 1 root root 327524 2008-06-07 01:24 mach64_dri.so
-rwxr-xr-x 1 root root 376712 2008-06-07 01:24 mga_dri.so
-rwxr-xr-x 1 root root 253824 2008-06-07 01:24 r128_dri.so
-rwxr-xr-x 1 root root 331556 2008-06-07 01:24 r200_dri.so
-rwxr-xr-x 1 root root 262908 2008-06-07 01:24 r300_dri.so
-rwxr-xr-x 1 root root 296388 2008-06-07 01:24 radeon_dri.so
-rwxr-xr-x 1 root root 220900 2008-06-07 01:24 s3v_dri.so
-rwxr-xr-x 1 root root 299008 2008-06-07 01:24 savage_dri.so
-rwxr-xr-x 1 root root 315428 2008-06-07 01:24 tdfx_dri.so
-rwxr-xr-x 1 root root 168916 2008-06-07 01:24 trident_dri.so
-rwxr-xr-x 1 root root 249796 2008-06-07 01:24 unichrome_dri.so

/usr/lib64/dri> dir
total 22972
lrwxrwxrwx 1 root root 14 2009-06-30 23:57 dri -> /usr/lib64/dri
-rw-r–r-- 1 root root 19214600 2009-07-05 22:42 fglrx_dri.so
-rwxr-xr-x 1 root root 400088 2008-06-07 02:26 i915_dri.so
-rwxr-xr-x 1 root root 406008 2008-06-07 02:26 i915tex_dri.so
-rwxr-xr-x 1 root root 395376 2008-06-07 02:26 i965_dri.so
-rwxr-xr-x 1 root root 357576 2008-06-07 02:26 mach64_dri.so
-rwxr-xr-x 1 root root 406760 2008-06-07 02:26 mga_dri.so
-rwxr-xr-x 1 root root 275608 2008-06-07 02:26 r128_dri.so
-rwxr-xr-x 1 root root 381328 2008-06-07 02:26 r200_dri.so
-rwxr-xr-x 1 root root 288936 2008-06-07 02:26 r300_dri.so
-rwxr-xr-x 1 root root 335856 2008-06-07 02:26 radeon_dri.so
-rwxr-xr-x 1 root root 325288 2008-06-07 02:26 savage_dri.so
-rwxr-xr-x 1 root root 349560 2008-06-07 02:26 tdfx_dri.so
-rwxr-xr-x 1 root root 275736 2008-06-07 02:26 unichrome_dri.so
drwxr-xr-x 2 root root 4096 2009-06-05 22:23 updates