Hi,
I just upgraded my kernel today to 2.6.11. You have to re-install the ati drivers if you upgrade your kernel, which is what I did. I downloaded the latest ATI driver for x.org 6.8 (fglrx_6_8_0-8.10.19-1.i386.rpm). After initialy trying and failing to install it, I found out you have to apply several patches to the driver source code to get it to compile. So I did;
Code:
[root@thabox ~/radeon]# rpm -i --nodeps --force fglrx_6_8_0-8.10.19-1.i386.rpm
[root@thabox ~/radeon]# cd /lib/modules/fglrx/build_mod
[root@thabox /lib/modules/fglrx/build_mod]# patch < 2.6.11_fglrx.patch
patching file agpgart_be.c
patching file firegl_public.c
Hunk #1 succeeded at 2719 (offset 129 lines).
Hunk #3 succeeded at 2821 (offset 129 lines).
[root@thabox /lib/modules/fglrx/build_mod]# patch < firegl_public.patch
patching file firegl_public.c
Reversed (or previously applied) patch detected! Assume -R? [n] y
Hunk #1 succeeded at 1664 (offset 94 lines).
Hunk #2 succeeded at 2015 (offset 22 lines).
Hunk #3 succeeded at 2190 (offset 107 lines).
Hunk #4 succeeded at 2474 (offset 21 lines).
Hunk #5 FAILED at 2637.
Hunk #6 FAILED at 2704.
Hunk #7 FAILED at 2741.
Hunk #8 succeeded at 2877 (offset 107 lines).
3 out of 8 hunks FAILED -- saving rejects to file firegl_public.c.rej
[root@thabox /lib/modules/fglrx/build_mod]# cd ..
[root@thabox /lib/modules/fglrx]# sh make_install.sh
It got my driver compiled, installed and inserted, but when applying the patches, I did see that some portions of the patch files were getting rejected;
All seemd to go well. The kernel module was inserted, the x server started fine, hell I even had 3d accelaration.
The catch is that now apps using opengl cause my system to randomly lockup. Sometimes my system locks up nearly immidiatly after starting an opengl app, sometimes it takes a while (+/- 15 minutes). I have no idea what to do about this. I'm not receiving any error messages. Dmesg output looks fine. Nothing in the /var/log/Xorg.0.log file that looks suspicious.
As I said I upgraded my kernel. I compiled AGP support in to the kernel, instead of as an module. But putting AGP in an module doesn't make the problem go away.
I also tried using an somewhat older driver (fglrx_6_8_0-8.8.25-1.i386.rpm). But I had the same problem with this as well.
some info;
CPU: AMD athlon 900 MHz
mem: 384 MB
chipset: VIA Twister-K/KT133x/KM133
graphics card: ATI radeon 9600
kernel: 2.6.11, vanilla, compiled from source
distro: linux from scratch 5.0
xserver: x.org 6.8
This is the relevent section of the xorg.conf file;
Code:
# === ATI device section ===
Section "Device"
Identifier "ATI Graphics Adapter"
Driver "fglrx"
# ### generic DRI settings ###
# === disable PnP Monitor ===
#Option "NoDDC"
# === disable/enable XAA/DRI ===
Option "no_accel" "no"
Option "no_dri" "no"
# === misc DRI settings ===
Option "mtrr" "off" # disable DRI mtrr mapper, driver has its own code for mtrr
# ### FireGL DDX driver module specific settings ###
# === Screen Management ===
Option "DesktopSetup" "0x00000000"
Option "MonitorLayout" "AUTO, AUTO"
Option "IgnoreEDID" "off"
Option "HSync2" "unspecified"
Option "VRefresh2" "unspecified"
Option "ScreenOverlap" "0"
# === TV-out Management ===
Option "NoTV" "no"
Option "TVStandard" "PAL-B"
Option "TVHSizeAdj" "0"
Option "TVVSizeAdj" "0"
Option "TVHPosAdj" "0"
Option "TVVPosAdj" "0"
Option "TVHStartAdj" "0"
Option "TVColorAdj" "0"
Option "GammaCorrectionI" "0x00000000"
Option "GammaCorrectionII" "0x00000000"
# === OpenGL specific profiles/settings ===
Option "Capabilities" "0x00000000"
# === Video Overlay for the Xv extension ===
Option "VideoOverlay" "on"
# === OpenGL Overlay ===
# Note: When OpenGL Overlay is enabled, Video Overlay
# will be disabled automatically
Option "OpenGLOverlay" "off"
# === Center Mode (Laptops only) ===
Option "CenterMode" "off"
# === Pseudo Color Visuals (8-bit visuals) ===
Option "PseudoColorVisuals" "off"
# === QBS Management ===
Option "Stereo" "off"
Option "StereoSyncEnable" "1"
# === FSAA Management ===
Option "FSAAEnable" "no"
Option "FSAAScale" "1"
Option "FSAADisableGamma" "no"
Option "FSAACustomizeMSPos" "no"
Option "FSAAMSPosX0" "0.000000"
Option "FSAAMSPosY0" "0.000000"
Option "FSAAMSPosX1" "0.000000"
Option "FSAAMSPosY1" "0.000000"
Option "FSAAMSPosX2" "0.000000"
Option "FSAAMSPosY2" "0.000000"
Option "FSAAMSPosX3" "0.000000"
Option "FSAAMSPosY3" "0.000000"
Option "FSAAMSPosX4" "0.000000"
Option "FSAAMSPosY4" "0.000000"
Option "FSAAMSPosX5" "0.000000"
Option "FSAAMSPosY5" "0.000000"
# === Misc Options ===
Option "UseFastTLS" "0"
Option "BlockSignalsOnLock" "on"
Option "UseInternalAGPGART" "yes"
Option "ForceGenericCPU" "no"
BusID "PCI:1:0:0" # vendor=1002, device=4150
Screen 0
EndSection
And here is the lspci output
Code:
00:00.0 Host bridge: VIA Technologies, Inc. VT8363/8365 [KT133/KM133] (rev 03)
00:01.0 PCI bridge: VIA Technologies, Inc.: Unknown device b115
00:07.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South] (rev 40)
00:07.1 IDE interface: VIA Technologies, Inc. VT82C586/B/686A/B PIPC Bus Master IDE (rev 06)
00:07.2 USB Controller: VIA Technologies, Inc. USB (rev 16)
00:07.3 USB Controller: VIA Technologies, Inc. USB (rev 16)
00:07.4 Host bridge: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev 40)
00:0a.0 Ethernet controller: Linksys Network Everywhere Fast Ethernet 10/100 model NC100 (rev 11)
00:0f.0 Multimedia audio controller: Avance Logic Inc. ALS4000 Audio Chipset
01:00.0 VGA compatible controller: ATI Technologies Inc: Unknown device 4150
01:00.1 Display controller: ATI Technologies Inc: Unknown device 4170
Does any one have a clue what I'm supposed to do?
Thanks....