View Full Version : How I got the new ATI 8.10.19 Driver working: A tale of pain and suffering
tpcolson
20th February 2005, 05:39 AM
It took me five days, see my whining posts all over the internet.
1. Start with a "clean" install of FC3. Doesn't matter what kernel, just make sure that all the crap you installed previously and didn't work is "un-installed".
2. Remove any old ati/fglrx drivers rpm -e name of the rpm(s) you installed
$ rpm -e fglrx
$ rm -rf /lib/modules/fglrx
3. Update the kernel up2date -i kernel (or kernel-smp)
4. Reboot into init 3 mode
5. Download and Build the kernel source tree from the source RPM. Hint, make sure you use the same source RPM as the one you installed in step 3.
I'm using 2.6.10
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/3/SRPMS/kernel-2.6.10-1.766_FC3.src.rpm
$ rpm -ivh kernel-2.6.10-1.766.src.rpm
$ cd /usr/src/redhat/SPECS
$ rpmbuild -bp --target noarch kernel-2.6.spec
$ ln -s /usr/src/redhat/BUILD/kernel-2.6.10/linux-2.6.10 /usr/src/linux-$(uname -r)
Reboot
6. DL and install X11R6.8.2
http://mirror.sg.depaul.edu/pub/x.org/X11R6.8.2/src-single/X11R6.8.2-src.tar.gz
make World
make install
REBOOT!
7. DL and install the ati 8.10.19 driver
Note the following from ATI:
The display driver requires POSIX shared memory to be enabled on the system in order to run these applications correctly. This feature should be enabled by default on most current Linux distributions, but may be disabled intentionally by some system administrators or not included in older distributions.
To enable POSIX shared memory on your system, perform the following as root:
Add to following line to /etc/fstab (if it isn't there already):
tmpfs /dev/shm tmpfs defaults 0 0
Mount POSIX shared memory as follows:
mount /dev/shm
Issue the following command to check that it mounted properly:
mount | grep "shm"
If the mount was successful, then the following output (or similar) should appear:
tmpfs on /dev/shm type tmpfs (rw)
I'm using 64 bit
http://www2.ati.com/drivers/linux/fglrx64_6_8_0-8.10.19-1.x86_64.rpm
$ rpm --replacefiles -ivh --force fglrx_6_8_0-8.8.25-1.i386.rpm
8. Run fglrxconfig.
REBOOT
9. Start in init 3 mode
10. Start X
fgl_glxgears
6826 frames in 5.0 seconds = 1365.200 FPS
7582 frames in 5.0 seconds = 1516.400 FPS
7581 frames in 5.0 seconds = 1516.200 FPS
7615 frames in 5.0 seconds = 1523.000 FPS
7496 frames in 5.0 seconds = 1499.200 FPS
# glxgears
37521 frames in 5.0 seconds = 7504.200 FPS
46758 frames in 5.0 seconds = 9351.600 FPS
58527 frames in 5.0 seconds = 11705.400 FPS
62422 frames in 5.0 seconds = 12484.400 FPS
53908 frames in 5.0 seconds = 10781.600 FPS
46659 frames in 5.0 seconds = 9331.800 FPS
47143 frames in 5.0 seconds = 9428.600 FPS
65377 frames in 5.0 seconds = 13075.400 FPS
65635 frames in 5.0 seconds = 13127.000 FPS
63530 frames in 5.0 seconds = 12706.000 FPS
imdeemvp
20th February 2005, 06:29 AM
Great info....some times the harder you try the better the outcome!
mjman
20th February 2005, 07:49 AM
Thanks for the great info! the new drivers have almost doubled performance for me.
One little thing. Recompiling X11 seems to have changed all of my fonts. They are less pretty now =(
andrew404
1st March 2005, 07:08 AM
I'm giving this try.... the last try..... I'm at my wits end with this and if it doesn't work I'll use my card as a frisbee.
Question:
Has anybody had these problems and fixed them:
dmesg:
fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel.
[fglrx] Maximum main memory to use for locked dma buffers: 555 MBytes.
ACPI: PCI interrupt 0000:00:0b.0[A] -> GSI 11 (level, low) -> IRQ 11
[fglrx] module loaded - fglrx 8.10.19 [Feb 9 2005] on minor 0
[fglrx] Maximum main memory to use for locked dma buffers: 555 MBytes.
Fire GL built-in AGP-support
Based on agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 564M
agpgart: Detected Via Apollo KM266/KL266 chipset
agpgart: AGP aperture is 128M @ 0xe0000000
Power management callback for AGP chipset installed
[fglrx] AGP detected, AgpState = 0x1f000217 (hardware caps of chipset)
AGP: Found 1 AGPv2 devices
AGP: Insufficent amount of AGP devices found
[fglrx:_r6x_CheckAGPCommand] *ERROR* query for AGP device capabilities failed
[fglrx:firegl_unlock] *ERROR* Process 5042 using kernel context 0
cat /var/log/Xorg.0.log |grep WW
(WW) fglrx: No matching Device section for instance (BusID PCI:0:11:1) found
(WW) fglrx(0): board is an unknown third party board, chipset is supported
(WW) fglrx(0): could not detect XFree86 version (query_status=-3)
(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): ********************************************* *
grep EE
(EE) fglrx(0): [agp] Failed to set AGP mode!
(EE) fglrx(0): cannot init AGP
lrx(0): UMM area: 0xd0501000 (size=0x07aff000)
(II) fglrx(0): driver needs XFree86 version: 4.3.x
(WW) fglrx(0): could not detect XFree86 version (query_status=-3)
(II) Loading extension ATIFGLRXDRI
(II) fglrx(0): doing DRIScreenInit
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: Open failed
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: Open failed
drmOpenByBusid: Searching for BusID PCI:0:11:0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 4, (OK)
drmOpenByBusid: drmOpenMinor returns 4
drmOpenByBusid: drmGetBusid reports
drmOpenDevice: node name is /dev/dri/card1
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card2
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card3
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card4
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card5
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card6
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card7
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card8
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card9
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card10
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card11
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card12
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card13
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card14
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 4, (OK)
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 4, (OK)
drmGetBusid returned ''
(II) fglrx(0): [drm] loaded kernel module for "fglrx" driver
(II) fglrx(0): [drm] DRM interface version 1.0
(II) fglrx(0): [drm] created "fglrx" driver at busid "PCI:0:11:0"
(II) fglrx(0): [drm] added 8192 byte SAREA at 0xe89a7000
(II) fglrx(0): [drm] mapped SAREA 0xe89a7000 to 0xb7e58000
(II) fglrx(0): [drm] framebuffer handle = 0xd0000000
(II) fglrx(0): [drm] added 1 reserved context for kernel
(II) fglrx(0): DRIScreenInit done
(II) fglrx(0): Kernel Module Version Information:
(II) fglrx(0): Name: fglrx
(II) fglrx(0): Version: 8.10.19
(II) fglrx(0): Date: Feb 9 2005
(II) fglrx(0): Desc: ATI FireGL DRM kernel module
(II) fglrx(0): Kernel Module version matches driver.
(II) fglrx(0): Kernel Module Build Time Information:
(II) fglrx(0): Build-Kernel UTS_RELEASE: 2.6.10-1.766_FC3
(II) fglrx(0): Build-Kernel MODVERSIONS: no
(II) fglrx(0): Build-Kernel __SMP__: no
(II) fglrx(0): Build-Kernel PAGE_SIZE: 0x1000
(II) fglrx(0): [drm] register handle = 0xdfff0000
(II) fglrx(0): [agp] Mode=0x1f000217 bridge: 0x1106/0x3116
(II) fglrx(0): [agp] AGP v1/2 disable mask 0x00000000
(II) fglrx(0): [agp] AGP v3 disable mask 0x00000000
(II) fglrx(0): [agp] enabling AGP with mode=0x1f000314
(EE) fglrx(0): [agp] Failed to set AGP mode!
(EE) fglrx(0): cannot init AGP
(II) fglrx(0): [drm] removed 1 reserved context for kernel
(II) fglrx(0): [drm] unmapping 8192 bytes of SAREA 0xe89a7000 at 0xb7e58000
(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: 0xd0000000 FBMappedSize: 0x08000000
(II) fglrx(0): FBMM initialized for area (0,0)-(1024,8191)
(II) fglrx(0): FBMM auto alloc for area (0,0)-(1024,768) (front color buffer - assumption)
Anyone that recognizes these warnings and messages, it would be saving my sanity if you could give me some assistance
cheers,
andrew
Samuelky
1st March 2005, 04:54 PM
Did you try turn off the internal AGP on the ATI driver ?
I think I was having the same problem you are having after a kernel update.
You may want to look for the following line in the xorg.conf
Option "UseInternalAGPGART" "no"
Good luck
micha
1st March 2005, 06:21 PM
It took me five days, see my whining posts all over the internet.
....
Just a question, why haven't you used the RPM packages from Livna ?
http://fedorafaq.org/#radeon
Detour
1st March 2005, 07:05 PM
I'm using a custom kernel (the most recent stack 16 kernel from Linuxant) and I can't get these drivers to install (Details (http://www.fedoraforum.org/forum/showthread.php?t=44351)). I know that they provide a source rpm but i'm not quite sure what to do with it. Any pointers would be greatly appreciated.
andrew404
1st March 2005, 10:29 PM
Thanks for the response about internalAGPGART, but I have tried that option and several others already. I'm currently trying to recompile the kernel with agpgart as a module and without drm (this way I can try to use the ones in the driver..... I think?)
SU_NPP
3rd March 2005, 02:12 PM
Just a question, why haven't you used the RPM packages from Livna ?
http://fedorafaq.org/#radeon
just an answer:
'cause RPM package from Livna is older release then the one from ati.com.
SU_NPP
3rd March 2005, 02:20 PM
agpgart: Detected Via Apollo KM266/KL266 chipset
what MB do u have?
I had problems with direc rendering on my Soltek 75DRV5 (VIA KT333) untl update BIOS on the last release.
bob
3rd March 2005, 03:17 PM
I'm moving this thread over to 'how-to' so it doesn't get lost in the shuffle - this is info we should have on hand.
micha
3rd March 2005, 04:38 PM
I'm using a custom kernel (the most recent stack 16 kernel from Linuxant) and I can't get these drivers to install (Details (http://www.fedoraforum.org/forum/showthread.php?t=44351)). I know that they provide a source rpm but i'm not quite sure what to do with it. Any pointers would be greatly appreciated.
http://www.fedoraforum.org/forum/showpost.php?p=122102&postcount=10
micha
3rd March 2005, 04:40 PM
just an answer:
'cause RPM package from Livna is older release then the one from ati.com.Wrong, the Livna RPMs are updated a couple of days after each ATI driver release. So I guess patience is not one of your virtues ;) :D
Detour
3rd March 2005, 11:27 PM
http://www.fedoraforum.org/forum/showpost.php?p=122102&postcount=10
Two words: thank you! Thank You!! THANK YOU!!! Getting the video card was the last step in getting all of my nice hardware to work!!! I was saving half my hard drive space just in case out of desperation I decided to dual-boot with WinXP to play games. Now there's no need!
$ fgl_glxgears
3893 frames in 5.0 seconds = 778.600 FPS
3826 frames in 5.0 seconds = 765.200 FPS
4239 frames in 5.0 seconds = 847.800 FPS
4572 frames in 5.0 seconds = 914.400 FPS
4546 frames in 5.0 seconds = 909.200 FPS
4577 frames in 5.0 seconds = 915.400 FPS
4550 frames in 5.0 seconds = 910.000 FPS
$ glxgears
18329 frames in 5.0 seconds = 3665.800 FPS
21684 frames in 5.0 seconds = 4336.800 FPS
21534 frames in 5.0 seconds = 4306.800 FPS
21673 frames in 5.0 seconds = 4334.600 FPS
21662 frames in 5.0 seconds = 4332.400 FPS
21651 frames in 5.0 seconds = 4330.200 FPS
21621 frames in 5.0 seconds = 4324.200 FPS
21509 frames in 5.0 seconds = 4301.800 FPS
Excuse me but I feel an urgent need to play Tux Racer now...
coolzero
20th March 2005, 02:28 PM
I've installed the Livna drivers but I'm having a lot of problems with XawTV...
Overlay seems not working...
My values are lot lower then yours...
$ fglrxinfo
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: RADEON 9200SE DDR Generic
OpenGL version string: 1.3.4893 (X4.3.0-8.10.19)
$ fgl_glxgears
489 frames in 5.0 seconds = 97.800 FPS
602 frames in 5.0 seconds = 120.400 FPS
1198 frames in 5.0 seconds = 239.600 FPS
1146 frames in 5.0 seconds = 229.200 FPS
1233 frames in 5.0 seconds = 246.600 FPS
$ glxgears
4617 frames in 5.0 seconds = 923.400 FPS
5312 frames in 5.0 seconds = 1062.400 FPS
5312 frames in 5.0 seconds = 1062.400 FPS
5312 frames in 5.0 seconds = 1062.400 FPS
If someone could help me...
andrew404
20th March 2005, 06:15 PM
Hmm.....
perhaps that could be something, mine is a Gigabyte 7xvmls or something like that, I'm going to give that a try
andrew404
21st March 2005, 04:09 AM
Hmm.....
perhaps that could be something, mine is a Gigabyte 7xvmls or something like that, I'm going to give that a try
Razorblade
21st March 2005, 07:35 AM
Is it necessary to have a "clean" install?
Because yesterday I installed Fedora and configured it about 4 hours.
Or do I only have to remove my previously installed ATI-Drivers and then follow your HOWTO?
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.