PDA

View Full Version : Legacy ATI fglrx Drivers For R200 Products on Fedora Core 6 Zod


Michael
11-05-2006, 10:47 AM
I have created a script so the fglrx 8.28.8 drivers will build properly on Fedora Core 6 Zod. If you run the 8.28 drivers directly on FC6 it will break. The fglrx 8.28.8 display drivers were the last main driver to support R200 generation graphics cards (Radeon 9000 / 9200). This script is similar to the on I had written for the 8.29.6 display drivers prior to the 8.30 release.

The script can be downloaded @ http://www.phoronix.com/redblog/downloads/fglrx-fc6-legacy-generator.sh

First of all, make sure you have all of the appropriate development libraries and tools installed. If you run into an issue with building fireglcontrolpanel, see http://www.phoronix.net/forums/showthread.php?t=287

If this script is unable to find the ATI 8.28.8 display driver in the same directory, it will download it from ATI. Next, it will download updated and modified firegl_public code from this server and replace that found in 8.28.8. (At this time it's the 8.29.6 firegl_public code with modifications to not include linux/config.h). It will then go through the standard fglrx --buildpkg process and generate the RPMs.

As long as the upcoming fglrx display drivers maintain firegl_public compatibility with the 8.28.8 set, I will be able to update the script to support future kernel releases, etc... Just ask for them when the time comes.

It wouldn't be hard at all to integrate support for Fedora Core 5 Bordeaux into this script (as the drivers will break on FC5 post 2.6.18 kernels), but you really should make the move to Zod.

If you run into any other problems or have questions, just ask. I have successfully used this script on a stock FC6 install to generate 8.28.8 packages. As always, for legal purposes, run this script at your own risk.

Note: The fglrx drivers are not needed for ATI R200 graphics cards. There are reliable open-source "Radeon" display drivers currently available for R200/R300 components. If you want to use the ATI open-source drivers see: http://dri.freedesktop.org/wiki/ATIRadeon

Michael
12-22-2006, 02:35 PM
The firegl_public code for the legacy ATI fglrx drivers for R200 products on Fedora 6 has been updated. The firegl_public code is now extracted from the 8.32.5 release. Using the above-noted link will automatically fetch the updated code from the server when running.

If questions, the discussion thread is moved to: http://www.phoronix.net/forums/showthread.php?t=576

jacksmash
03-22-2007, 02:06 PM
I just came across this thread. Do you think this would help with my Radeon 9550? How do I know if I have a R200?

Cheers.

Michael
03-22-2007, 02:08 PM
What problems do you have with your 9550?

The 9550 is not an R200 component. The R200 series goes up to the 9250.

jacksmash
03-22-2007, 02:10 PM
What problems do you have with your 9550?

The 9550 is not an R200 component. The R200 series goes up to the 9250.

Oh, if you recall this thread:

http://www.phoronix.net/forums/showthread.php?t=1376

you will see I wasn't able to get it working.

But I check back here every now-and-then to see if there are any updates that might help me.

Michael
03-22-2007, 02:13 PM
Did you try updating your kernel and everything you mentioned or reinstalling? Or have you turned to the open-source drivers?

jacksmash
03-22-2007, 02:16 PM
Back at that time... yes I did. I'm just using the open-source drivers now. However, I just updated my kernel again (I saw your article "Fedora Core 6 With Linux 2.6.20") and was curious... but I'm just not sure if it applies to me.

(I know - I should just try it anyways... just a bit busy at the moment) ;)

Michael
03-22-2007, 02:18 PM
Back at that time... yes I did. I'm just using the open-source drivers now. However, I just updated my kernel again (I saw your article "Fedora Core 6 With Linux 2.6.20") and was curious... but I'm just not sure if it applies to me.

(I know - I should just try it anyways... just a bit busy at the moment) ;)

That will be with the new drivers not out yet, but will be by the end of the month.

jacksmash
03-22-2007, 02:45 PM
Ok... I'll be patient then. Thanks for your efforts.

d2kx
03-22-2007, 03:45 PM
Michael, are you sure that the drivers are not getting released by tomorrow?

Michael
03-22-2007, 04:26 PM
Michael, are you sure that the drivers are not getting released by tomorrow?

I will tell you that they will not be released today or tomorrow, but they will be out by the end of March.

Michael
03-30-2007, 09:07 AM
I have updated the firegl_public code (applied the 2.6.20 patch to 8.35.5 and then packaged it up). I have not tested this code but it should hopefully work for R200 users. This will likely be the final update for the Fedora 6 legacy scripts. If you run into any problems, please post.

kirsche
03-30-2007, 02:03 PM
I have updated the firegl_public code (applied the 2.6.20 patch to 8.35.5 and then packaged it up). I have not tested this code but it should hopefully work for R200 users. This will likely be the final update for the Fedora 6 legacy scripts. If you run into any problems, please post.

==================================================
ATI Technologies Linux Driver Installer/Packager
==================================================
Generating package: Fedora/FC6
install: cannot stat `fireglcontrolpanel': No such file or directory
Package build failed!
Package build utility output:
Building target platforms: i386
Building for target i386
Executing(%prep): /bin/sh -e /tmp/ATI-fglrx-8.28.8-1-2837-root/tmp/rpm-tmp.95755
+ umask 022
+ cd /tmp/ATI-fglrx-8.28.8-1-2837-root/BUILD
+ cd /tmp/ATI-fglrx-8.28.8-1-2837-root/BUILD
+ cd ATI-fglrx-8.28.8
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /tmp/ATI-fglrx-8.28.8-1-2837-root/tmp/rpm-tmp.89604
+ umask 022
+ cd /tmp/ATI-fglrx-8.28.8-1-2837-root/BUILD
+ cd ATI-fglrx-8.28.8
+ exit 0
Executing(%install): /bin/sh -e /tmp/ATI-fglrx-8.28.8-1-2837-root/tmp/rpm-tmp.89604
+ umask 022
+ cd /tmp/ATI-fglrx-8.28.8-1-2837-root/BUILD
+ cd ATI-fglrx-8.28.8
+ rm -rf /tmp/ATI-fglrx-8.28.8-1-2837-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root
+ '[' -d /etc/ld.so.conf.d ']'
+ mkdir -p /tmp/ATI-fglrx-8.28.8-1-2837-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/etc/ld.so.conf.d
+ pushd /tmp/ATI-fglrx-8.28.8-1-2837-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/etc/ld.so.conf.d
/tmp/ATI-fglrx-8.28.8-1-2837-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/etc/ld.so.conf.d /tmp/ATI-fglrx-8.28.8-1-2837-root/BUILD/ATI-fglrx-8.28.8
+ cat
+ popd
/tmp/ATI-fglrx-8.28.8-1-2837-root/BUILD/ATI-fglrx-8.28.8
+ mkdir -p /tmp/ATI-fglrx-8.28.8-1-2837-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/usr/share/applications
+ pushd /tmp/ATI-fglrx-8.28.8-1-2837-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/usr/share/applications
/tmp/ATI-fglrx-8.28.8-1-2837-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/usr/share/applications /tmp/ATI-fglrx-8.28.8-1-2837-root/BUILD/ATI-fglrx-8.28.8
+ cat
+ popd
/tmp/ATI-fglrx-8.28.8-1-2837-root/BUILD/ATI-fglrx-8.28.8
+ cp -pR /tmp/ATI-fglrx-8.28.8-1-2837-root/BUILD/ATI-fglrx-8.28.8/etc /tmp/ATI-fglrx-8.28.8-1-2837-root/BUILD/ATI-fglrx-8.28.8/lib /tmp/ATI-fglrx-8.28.8-1-2837-root/BUILD/ATI-fglrx-8.28.8/usr /tmp/ATI-fglrx-8.28.8-1-2837-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root
+ find /tmp/ATI-fglrx-8.28.8-1-2837-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/usr/share/doc -type f -perm 0555 -exec chmod 0644 '{}' ';'
+ find /tmp/ATI-fglrx-8.28.8-1-2837-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root -type f -perm 0555 -exec chmod 0755 '{}' ';'
+ export AS_USER=y
+ AS_USER=y
+ pushd /tmp/ATI-fglrx-8.28.8-1-2837-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod
/tmp/ATI-fglrx-8.28.8-1-2837-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod /tmp/ATI-fglrx-8.28.8-1-2837-root/BUILD/ATI-fglrx-8.28.8
+ bash make.sh verbose
ATI module generator V 2.0
==========================
initializing...
OsRelease=2.6.20-1.2925.fc6
major=2
minor=6
patch=20
extra=-1.2925.fc6
SMP=1
smp=-SMP
iii=
AGP=1
CC=gcc
cc_version=
cleaning...
patching 'highmem.h'...
assuming new VMA API since we do have kernel 2.6.x...
Assuming default VMAP API
Assuming default munmap API
doing Makefile based build for kernel 2.6.x and higher
make -C /lib/modules/2.6.20-1.2925.fc6/build SUBDIRS=/tmp/ATI-fglrx-8.28.8-1-2837-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/kernels/2.6.20-1.2925.fc6-i686'
CC [M] /tmp/ATI-fglrx-8.28.8-1-2837-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
In file included from /tmp/ATI-fglrx-8.28.8-1-2837-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/drm_proc.h:41,
from /tmp/ATI-fglrx-8.28.8-1-2837-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:489:
/tmp/ATI-fglrx-8.28.8-1-2837-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/drmP.h:126:1: warning: "DRM_DEBUG_CODE" redefined
/tmp/ATI-fglrx-8.28.8-1-2837-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:181:1: warning: this is the location of the previous definition
/tmp/ATI-fglrx-8.28.8-1-2837-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:607: warning: initialization from incompatible pointer type
/tmp/ATI-fglrx-8.28.8-1-2837-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function 'firegl_stub_open':
/tmp/ATI-fglrx-8.28.8-1-2837-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:730: warning: assignment discards qualifiers from pointer target type
/tmp/ATI-fglrx-8.28.8-1-2837-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function '__ke_request_irq':
/tmp/ATI-fglrx-8.28.8-1-2837-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2808: warning: passing argument 2 of 'request_irq' from incompatible pointer type
/tmp/ATI-fglrx-8.28.8-1-2837-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function '__ke_smp_call_function':
/tmp/ATI-fglrx-8.28.8-1-2837-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:4252: warning: passing argument 1 of 'smp_call_function' from incompatible pointer type
/tmp/ATI-fglrx-8.28.8-1-2837-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: At top level:
/tmp/ATI-fglrx-8.28.8-1-2837-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:5048: warning: 'kmem_cache_t' is deprecated
/tmp/ATI-fglrx-8.28.8-1-2837-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:5329: error: redefinition of 'kas_try_to_freeze'
/tmp/ATI-fglrx-8.28.8-1-2837-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:5311: error: previous definition of 'kas_try_to_freeze' was here
make[2]: *** [/tmp/ATI-fglrx-8.28.8-1-2837-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o] Error 1
make[1]: *** [_module_/tmp/ATI-fglrx-8.28.8-1-2837-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.20-1.2925.fc6-i686'
make: *** [kmod_build] Error 2
build failed with return value 2
error: Bad exit status from /tmp/ATI-fglrx-8.28.8-1-2837-root/tmp/rpm-tmp.89604 (%install)


RPM build errors:
Bad exit status from /tmp/ATI-fglrx-8.28.8-1-2837-root/tmp/rpm-tmp.89604 (%install)

Michael
03-30-2007, 02:35 PM
Fixed. I also decided to run the script and I can confirm it is now building properly :)

Should work as soon as you re-run the script and it will fetch the new code.

kirsche
03-30-2007, 02:55 PM
Fixed. I also decided to run the script and I can confirm it is now building properly :)

Should work as soon as you re-run the script and it will fetch the new code.

* * *
ATI module generator V 2.0
==========================
initializing...
OsRelease=2.6.20-1.2925.fc6
major=2
minor=6
patch=20
extra=-1.2925.fc6
SMP=1
smp=-SMP
iii=
AGP=1
CC=gcc
cc_version=
cleaning...
patching 'highmem.h'...
assuming new VMA API since we do have kernel 2.6.x...
Assuming default VMAP API
Assuming default munmap API
doing Makefile based build for kernel 2.6.x and higher
make -C /lib/modules/2.6.20-1.2925.fc6/build SUBDIRS=/tmp/ATI-fglrx-8.28.8-1-5088-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/kernels/2.6.20-1.2925.fc6-i686'
CC [M] /tmp/ATI-fglrx-8.28.8-1-5088-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
In file included from /tmp/ATI-fglrx-8.28.8-1-5088-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/drm_proc.h:41,
from /tmp/ATI-fglrx-8.28.8-1-5088-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:425:
/tmp/ATI-fglrx-8.28.8-1-5088-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/drmP.h:126:1: warning: "DRM_DEBUG_CODE" redefined
/tmp/ATI-fglrx-8.28.8-1-5088-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:181:1: warning: this is the location of the previous definition
/tmp/ATI-fglrx-8.28.8-1-5088-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:543: warning: initialization from incompatible pointer type
/tmp/ATI-fglrx-8.28.8-1-5088-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function 'firegl_stub_open':
/tmp/ATI-fglrx-8.28.8-1-5088-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:666: warning: assignment discards qualifiers from pointer target type
/tmp/ATI-fglrx-8.28.8-1-5088-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function '__ke_request_irq':
/tmp/ATI-fglrx-8.28.8-1-5088-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2744: warning: passing argument 2 of 'request_irq' from incompatible pointer type
/tmp/ATI-fglrx-8.28.8-1-5088-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function '__ke_smp_call_function':
/tmp/ATI-fglrx-8.28.8-1-5088-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:4188: warning: passing argument 1 of 'smp_call_function' from incompatible pointer type
/tmp/ATI-fglrx-8.28.8-1-5088-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: At top level:
/tmp/ATI-fglrx-8.28.8-1-5088-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:4984: warning: 'kmem_cache_t' is deprecated
/tmp/ATI-fglrx-8.28.8-1-5088-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function 'KAS_ExecuteAtLevel':
/tmp/ATI-fglrx-8.28.8-1-5088-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:4843: warning: 'flags' may be used uninitialized in this function
LD [M] /tmp/ATI-fglrx-8.28.8-1-5088-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/fglrx.o
Building modules, stage 2.
MODPOST 1 modules
WARNING: could not find /tmp/ATI-fglrx-8.28.8-1-5088-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/.libfglrx_ip.a.GCC4.cmd for /tmp/ATI-fglrx-8.28.8-1-5088-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/libfglrx_ip.a.GCC4
WARNING: "firegl_cail_powerup" [/tmp/ATI-fglrx-8.28.8-1-5088-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/fglrx.ko] undefined!
WARNING: "firegl_cail_powerdown" [/tmp/ATI-fglrx-8.28.8-1-5088-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/fglrx.ko] undefined!
WARNING: "firegl_cmmqs_get_pageaddr_from_vm" [/tmp/ATI-fglrx-8.28.8-1-5088-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/fglrx.ko] undefined!
CC /tmp/ATI-fglrx-8.28.8-1-5088-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/fglrx.mod.o
LD [M] /tmp/ATI-fglrx-8.28.8-1-5088-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/fglrx.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.20-1.2925.fc6-i686'
build succeeded with return value 0
duplicating results into driver repository...
done.
==============================
You must change your working directory to /tmp/ATI-fglrx-8.28.8-1-5088-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx
and then call ./make_install.sh in order to install the built module.
==============================
+ mkdir -p /tmp/ATI-fglrx-8.28.8-1-5088-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/2.6.20-1.2925.fc6/extra
+ install -D -m 0644 fglrx.ko /tmp/ATI-fglrx-8.28.8-1-5088-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/2.6.20-1.2925.fc6/extra/fglrx/fglrx.ko
+ rm -rf /tmp/ATI-fglrx-8.28.8-1-5088-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx
+ popd
/tmp/ATI-fglrx-8.28.8-1-5088-root/BUILD/ATI-fglrx-8.28.8
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/brp-strip
+ /usr/lib/rpm/brp-strip-static-archive
+ /usr/lib/rpm/brp-strip-comment-note
Processing files: ATI-fglrx-8.28.8-1.fc6
Provides: atiogl_a_dri.so config(ATI-fglrx) = 8.28.8-1.fc6 fglrx_dri.so fglrx_drv.so libGL.so.1 libfglrx_dm.so.1.0 libfglrx_gamma.so.1 libfglrx_pp.so.1.0 libfglrx_tvout.so.1 libfglrxdrm.so
Requires(interp): /bin/sh /bin/sh /bin/sh
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires(post): /bin/sh /sbin/chkconfig /sbin/ldconfig
Requires(preun): /bin/sh /sbin/chkconfig /sbin/service
Requires(postun): /bin/sh /sbin/ldconfig /sbin/service
Requires: /bin/bash /bin/sh config(ATI-fglrx) = 8.28.8-1.fc6 kernel-module-ATI-fglrx-2.6.20-1.2925.fc6 = 8.28.8-1.fc6 libGL.so.1 libX11.so.6 libXext.so.6 libXrandr.so.2 libXrender.so.1 libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.2.3) libdl.so.2 libdl.so.2(GLIBC_2.0) libdl.so.2(GLIBC_2.1) libfglrx_dm.so.1.0 libfglrx_gamma.so.1 libfglrx_pp.so.1.0 libfglrx_tvout.so.1 libgcc_s.so.1 libgcc_s.so.1(GCC_3.0) libgcc_s.so.1(GLIBC_2.0) libm.so.6 libm.so.6(GLIBC_2.0) libm.so.6(GLIBC_2.1) libpthread.so.0 libpthread.so.0(GLIBC_2.0) librt.so.1 librt.so.1(GLIBC_2.2) libstdc++.so.5 libstdc++.so.5(CXXABI_1.2) libstdc++.so.5(GLIBCPP_3.2) system-config-display
Conflicts: fglrx fglrx-glc22 fglrx_4_3_0 fglrx_6_8_0 kernel-module-fglrx ati-fglrx ati-fglrx-devel kmod-fglrx xorg-x11-drv-fglrx xorg-x11-drv-fglrx-devel nvidia-glx nvidia-glx-legacy xorg-x11-drv-nvidia xorg-x11-drv-nvidia-legacy
Processing files: ATI-fglrx-control-panel-8.28.8-1.fc6
error: File not found: /tmp/ATI-fglrx-8.28.8-1-5088-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/usr/bin/fireglcontrolpanel
Processing files: ATI-fglrx-devel-8.28.8-1.fc6
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: /usr/include/GL ATI-fglrx = 8.28.8-1.fc6 libGL.so.1
Processing files: kernel-module-ATI-fglrx-2.6.20-1.2925.fc6-8.28.8-1.fc6
Requires(interp): /bin/sh /bin/sh
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires(post): /bin/sh
Requires(postun): /bin/sh


RPM build errors:
File not found: /tmp/ATI-fglrx-8.28.8-1-5088-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/usr/bin/fireglcontrolpanel
__________________________________________________ _______

Michael
03-30-2007, 03:33 PM
See http://phoronix.net/forums/showthread.php?t=318

gene6482
04-03-2007, 12:05 PM
I had followed your instructions to get my radeon 9550 installed previously, but since ive upgraded my kernel, everything broke. It shows mesa gl and everthing runs like garbage. I think i'm using the open source one for some reason. Any help would be great.

jacksmash
04-03-2007, 12:41 PM
Since you upgraded the kernel you will likely have to install the drivers again (I think).

gene6482
04-03-2007, 12:44 PM
I tried to do that but I keep getting conflicts when i try to install the rpms

acediac
04-21-2007, 10:23 AM
First off, please include my gratitude in the chorus of appreciation for your efforts, Michael, in keeping release 8.28.8 alive for those of us who need it to support the older Radeon 9200 cards.

I successfully built the package just days ago, but now I'm trying to solve a problem with loading the fglrx kernel module, which gives me the following error:

fglrx: Unknown symbol firegl_cmmqs_get_pageaddr_from_vm
fglrx: Unknown symbol firegl_cail_powerdown
fglrx: Unknown symbol firegl_cail_powerup

in dmesg.

However, your fglrx-fc6-legacy-generator.sh and the patch tarball that it tries to download are no longer accessible! I get an http 440 error.

Like I said, I successfully accessed it days ago, so I hope it's just a temporary glitch and hasn't been removed, because there really is a need for it (the open source drivers don't work when hooking up the DVI output to an HDTV)

The other thing is if anyone has any ideas about the unknown symbol problem I'm getting, I would be grateful to hear about it. (Another similar thread was posted, but the problem was solved by re-running Michael's "updated" script, which was what I was trying to do!)

Many thanks.

Michael
04-21-2007, 10:30 AM
The unknown symbols is due to the Linux 2.6.20 kernel and some compatibility problems.

With the relaunch of the Phoronix site some of the directories got messed up, so I'll work on getting it reuploaded to that location or tell you the new location.

acediac
04-21-2007, 10:42 AM
The unknown symbols is due to the Linux 2.6.20 kernel and some compatibility problems.


I see. I am indeed running 2.6.20. Is there any way around this? Any nonessential parts of the driver I can comment out/disable for now? or is downgrading the kernel the only option?

I should add that the X drivers work well, I am able to get output from the DVI to the HDMI of my HDTV where it wouldn't work with the packaged radeon X driver. I'm merely trying to get the kernel module to load to get XV working so as to hopefully speed up video playback for HD video files.

With the relaunch of the Phoronix site some of the directories got messed up, so I'll work on getting it reuploaded to that location or tell you the new location.

Ah! Much thanks!

kirsche
04-22-2007, 07:10 AM
* * *

The other thing is if anyone has any ideas about the unknown symbol problem I'm getting, I would be grateful to hear about it. (Another similar thread was posted, but the problem was solved by re-running Michael's "updated" script, which was what I was trying to do!)

Many thanks.

Hi,

As for me - I gave up. I was unable to get 9200SE working. I was crashing my mind for 2 weeks after work.

* * *
sudo modprobe fglrx

fglrx: Unknown symbol firegl_cmmqs_get_pageaddr_from_vm
fglrx: Unknown symbol firegl_cail_powerdown
fglrx: Unknown symbol firegl_cail_powerup
fglrx: Unknown symbol firegl_cmmqs_get_pageaddr_from_vm
fglrx: Unknown symbol firegl_cail_powerdown
fglrx: Unknown symbol firegl_cail_powerup
fglrx: Unknown symbol firegl_cmmqs_get_pageaddr_from_vm
fglrx: Unknown symbol firegl_cail_powerdown
fglrx: Unknown symbol firegl_cail_powerup

Xorg.lof ->

(II) Reloading /usr/lib/xorg/modules/linux/libdrm.so
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: Open failed
[drm] failed to load kernel module "fglrx"
(WW) fglrx(0): Failed to open DRM connection

And I just bought 7300GT and didn't get any problems of that kind. After ATi Nvidia really amazed me.

acediac
04-22-2007, 08:44 AM
And I just bought 7300GT and didn't get any problems of that kind. After ATi Nvidia really amazed me.

Yes I might have to do the same and buy a cheap nvidia 6200 or something. I just found out that XvMC doesn't work with ATi drivers, and I sorely need that with the old box that I'm setting up for someone due to the slower processor. I myself have a new box with an nVidia card that didn't have any problems.

ijbrooks
04-24-2007, 05:37 AM
Hi,

As for me - I gave up. I was unable to get 9200SE working. I was crashing my mind for 2 weeks after work.

* * *
sudo modprobe fglrx

fglrx: Unknown symbol firegl_cmmqs_get_pageaddr_from_vm
fglrx: Unknown symbol firegl_cail_powerdown
fglrx: Unknown symbol firegl_cail_powerup
fglrx: Unknown symbol firegl_cmmqs_get_pageaddr_from_vm
fglrx: Unknown symbol firegl_cail_powerdown
fglrx: Unknown symbol firegl_cail_powerup
fglrx: Unknown symbol firegl_cmmqs_get_pageaddr_from_vm
fglrx: Unknown symbol firegl_cail_powerdown
fglrx: Unknown symbol firegl_cail_powerup

Xorg.lof ->

(II) Reloading /usr/lib/xorg/modules/linux/libdrm.so
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: Open failed
[drm] failed to load kernel module "fglrx"
(WW) fglrx(0): Failed to open DRM connection

And I just bought 7300GT and didn't get any problems of that kind. After ATi Nvidia really amazed me.

I found a work around for the Unknown symbols displayed above.

For kernel 2.6.20-1.2933 You need to change
firegl_cail_powerdown and firegl_cail_powerup
to firegl_powerdown and firegl_powerup in all ocurrences in firegl_public.c and firegl_public.h

As for the firegl_cmmqs_get_pageaddr_from_vm this is more off a pain,
you need to remove all reference to it. There is a case section to do with paging, the initial call to this has been added in there as a new page function. if you remove this and the functions that it calls you can compile the driver and it appears to be stabe. (On an R250 anyway) this version of the driver finally allows hibernate and suspend to work on my card. Unfortunately ive lost my code changes and need to wait for Michael's files to be re-uploaded so i can check on the latest kernel 2.6.20-1.2944.

kirsche
04-24-2007, 10:58 AM
I found a work around for the Unknown symbols displayed above.

For kernel 2.6.20-1.2933 You need to change
firegl_cail_powerdown and firegl_cail_powerup
to firegl_powerdown and firegl_powerup in all ocurrences in firegl_public.c and firegl_public.h

As for the firegl_cmmqs_get_pageaddr_from_vm this is more off a pain,
you need to remove all reference to it. There is a case section to do with paging, the initial call to this has been added in there as a new page function. if you remove this and the functions that it calls you can compile the driver and it appears to be stabe. (On an R250 anyway) this version of the driver finally allows hibernate and suspend to work on my card. Unfortunately ive lost my code changes and need to wait for Michael's files to be re-uploaded so i can check on the latest kernel 2.6.20-1.2944.

OMG, nice trick! But I think this should be done by ATi.
Also, I can only suppose that it would be great if someone will make a distro with these bugs fixed for FC6. Too much human time wasted already on fighting with stupid ATi "installer".

moorejeff
05-02-2007, 03:50 PM
Hi Michael,

I have successfully run the fc6 legacy script in the past, but when I tried to run the script this afternoon, it failed to locate the firegl_public code on the phoronix website.

Have the download files been moved? If so, where can I download the tar file?

Thanks.

Jeff

Michael
05-02-2007, 03:54 PM
Hi Michael,

I have successfully run the fc6 legacy script in the past, but when I tried to run the script this afternoon, it failed to locate the firegl_public code on the phoronix website.

Have the download files been moved? If so, where can I download the tar file?

Thanks.

Jeff

When the new site launched the file locations changed, but the firegl_public code had failed to do so. I am still trying to find a backup I had of the firegl_public code otherwise I'll need to make the patch over again.

zx5000
05-18-2007, 11:01 AM
Could someone please e-mail me the generator script?
404 file not found

Thanks.

Jeff

jrpinjapan_aaat_yahoo_daht_cahm

kirsche
05-18-2007, 03:25 PM
Could someone please e-mail me the generator script?
404 file not found

Thanks.

Jeff

jrpinjapan_aaat_yahoo_daht_cahm

http://kirsche.jino-net.ru/fglrx-fc6-legacy-generator.sh
http://kirsche.jino-net.ru/fedora-fc6-legacy-build_mod.tar

ijbrooks
05-22-2007, 12:32 PM
Kirsch,

Thanks for posting the files. I have now been able to recreate my *hack* to get them working on 2.6.20 kernels.

I have made 2 diff files that fix the cail and cmmqs problems

http://ijbrooks.dyn-o-saur.com/fglrx/firegl_public.c-fix_fglrx_for_2.6.20_kernel.diff
http://ijbrooks.dyn-o-saur.com/fglrx/firegl_public.h-fix_fglrx_header_for_2.6.20_kernel.diff

You can also find pre packaged rpm's for kernels at this url. Ill add kernel-2.6.20-1.2948 rpms once i get home and can reboot my laptop.

http://ijbrooks.dyn-o-saur.com/fglrx/

However I did find out that ATI's site is wrong when it comes to supported version as the Radeon 9000 Pro is still supported by the official version so it turns out i can use the lates ati drivers anyway.

zx5000
05-23-2007, 10:24 AM
Thank you for posting.

Jeff

zx5000
05-23-2007, 11:28 AM
I'm having trouble building this. It's likely something I'm not doing right. I need the fglrx driver because since my mobo was replaced by service technicians my LCD panel will top out at 1200x800 instead of the 1680x1050 I'm used to. Also, I have in the past run dual head which is impossible with xorg's "radeon".

I have a stock 2.6.18 kernel that was updated to the usual FC settings expect for 4K stacks which break vmware and driverloader. This kernel is in /usr/src/linux-2.6.18.

Here is the tee output from the shell operation.

sh fglrx-fc6 ...

__________________________________________________ _____________
ATI fglrx 8.28.8 Legacy drivers for Fedora Core 6 Zod
Run this only if you are using an R200 (e.g. Radeon 9200) graphics card.
New drivers are available for post-R200 hardware.
Created by Michael Larabel of Phoronix
Only run this if you are currently using Fedora Core 6
Usage See: http://www.phoronix.net/forums/forumdisplay.php?f=19
Hit any key to continue
__________________________________________________ _____________
__________________________________________________ _____________
Downloading updated firegl_public code from Phoronix Redblog
__________________________________________________ _____________
Creating directory fglrx-install
Verifying archive integrity... All good.
Uncompressing ATI Proprietary Linux Driver-8.28.8............................................ .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .........................
__________________________________________________ _____________
Attempting to generate 8.28.8 fglrx packages for Fedora Core 6
__________________________________________________ _____________
==================================================
 ATI Technologies Linux Driver Installer/Packager 
==================================================
Generating package: Fedora/FC6
Package build failed!
Package build utility output:
Building target platforms: i386
Building for target i386
Executing(%prep): /bin/sh -e /tmp/ATI-fglrx-8.28.8-1-5440-root/tmp/rpm-tmp.96906
+ umask 022
+ cd /tmp/ATI-fglrx-8.28.8-1-5440-root/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /tmp/ATI-fglrx-8.28.8-1-5440-root/BUILD
+ cd ATI-fglrx-8.28.8
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /tmp/ATI-fglrx-8.28.8-1-5440-root/tmp/rpm-tmp.96906
+ umask 022
+ cd /tmp/ATI-fglrx-8.28.8-1-5440-root/BUILD
+ cd ATI-fglrx-8.28.8
+ LANG=C
+ export LANG
+ unset DISPLAY
+ exit 0
Executing(%install): /bin/sh -e /tmp/ATI-fglrx-8.28.8-1-5440-root/tmp/rpm-tmp.96906
+ umask 022
+ cd /tmp/ATI-fglrx-8.28.8-1-5440-root/BUILD
+ cd ATI-fglrx-8.28.8
+ LANG=C
+ export LANG
+ unset DISPLAY
+ rm -rf /tmp/ATI-fglrx-8.28.8-1-5440-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root
+ '[' -d /etc/ld.so.conf.d ']'
+ mkdir -p /tmp/ATI-fglrx-8.28.8-1-5440-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/etc/ld.so.conf.d
+ pushd /tmp/ATI-fglrx-8.28.8-1-5440-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/etc/ld.so.conf.d
/tmp/ATI-fglrx-8.28.8-1-5440-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/etc/ld.so.conf.d /tmp/ATI-fglrx-8.28.8-1-5440-root/BUILD/ATI-fglrx-8.28.8
+ cat
+ popd
/tmp/ATI-fglrx-8.28.8-1-5440-root/BUILD/ATI-fglrx-8.28.8
+ mkdir -p /tmp/ATI-fglrx-8.28.8-1-5440-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/usr/share/applications
+ pushd /tmp/ATI-fglrx-8.28.8-1-5440-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/usr/share/applications
/tmp/ATI-fglrx-8.28.8-1-5440-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/usr/share/applications /tmp/ATI-fglrx-8.28.8-1-5440-root/BUILD/ATI-fglrx-8.28.8
+ cat
+ popd
/tmp/ATI-fglrx-8.28.8-1-5440-root/BUILD/ATI-fglrx-8.28.8
+ cp -pR /tmp/ATI-fglrx-8.28.8-1-5440-root/BUILD/ATI-fglrx-8.28.8/etc /tmp/ATI-fglrx-8.28.8-1-5440-root/BUILD/ATI-fglrx-8.28.8/lib /tmp/ATI-fglrx-8.28.8-1-5440-root/BUILD/ATI-fglrx-8.28.8/usr /tmp/ATI-fglrx-8.28.8-1-5440-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root
+ find /tmp/ATI-fglrx-8.28.8-1-5440-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/usr/share/doc -type f -perm 0555 -exec chmod 0644 '{}' ';'
+ find /tmp/ATI-fglrx-8.28.8-1-5440-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root -type f -perm 0555 -exec chmod 0755 '{}' ';'
+ export AS_USER=y
+ AS_USER=y
+ pushd /tmp/ATI-fglrx-8.28.8-1-5440-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod
/tmp/ATI-fglrx-8.28.8-1-5440-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod /tmp/ATI-fglrx-8.28.8-1-5440-root/BUILD/ATI-fglrx-8.28.8
+ bash make.sh verbose
ATI module generator V 2.0
==========================
initializing...
cat: /lib/modules/2.6.18/build/include/linux/version-*.h: No such file or directory
Error:
kernel includes at /lib/modules/2.6.18/build/include do not match current kernel.
they are versioned as ""
instead of "2.6.18".
you might need to adjust your symlinks:
- /usr/include
- /usr/src/linux
error: Bad exit status from /tmp/ATI-fglrx-8.28.8-1-5440-root/tmp/rpm-tmp.96906 (%install)


RPM build errors:
Bad exit status from /tmp/ATI-fglrx-8.28.8-1-5440-root/tmp/rpm-tmp.96906 (%install)
__________________________________________________ _____________
ATI fglrx 8.28.8 Legacy drivers for Fedora Core 6 Zod
Run this only if you are using an R200 (e.g. Radeon 9200) graphics card.
New drivers are available for post-R200 hardware.
Created by Michael Larabel of Phoronix
Install resulting RPMs using rpm -ivh
Usage See: http://www.phoronix.net/forums/forumdisplay.php?f=19
Hit any key to continue
__________________________________________________ _____________

ijbrooks
05-23-2007, 12:07 PM
Do you have kernel headers or kernel source installed? It looks like you might be missing these.

ijbrooks
05-23-2007, 12:56 PM
Quick note. You can do dual head with the radeon driver

The following xorg.conf options in your device section should enable it, change the Metamodes and rates to your setup.

# enable radeon specific xinerama
Option "MergedFB" "true"
Option "CRT2Position" "RightOf"
Option "CRT2Hsync" "50-75"
Option "CRT2VRefresh" "30-82"
Option "MetaModes" "1024x768-1280x1024"
Option "MergedNonRectangular" "true"

The 1680x1050 problem. is that because your new mb has a GC that cant handle it or is the driver responding wrongly and wont let you set it to that resolution?

zx5000
05-23-2007, 01:57 PM
The new mobo is a direct replacement. I have a HP Pavilion laptop. It is still under the 3 year bestbuy warranty. In my Xorg.0.log it says the BIOS reports the panel as 1200x800 and so even if I specify modelines with hsync vsync etc it still ends up in 1200x800.

Here's my source tree. The kernel headers usually reside in /lib/modules/(active kernel)/build. This is mapping to the correct directory. The error I'm getting is the same as if I ran the ati*.run file.

[jpowell@zx5000 ~]$ ls /lib/modules/2.6.18
build extra misc modules.ccwmap modules.ieee1394map modules.isapnpmap modules.pcimap modules.symbols source
CiscoVPN kernel modules.alias modules.dep modules.inputmap modules.ofmap modules.seriomap modules.usbmap
[jpowell@zx5000 ~]$ ls /lib/modules/2.6.18/build
arch COPYING crypto drivers include ipc kernel MAINTAINERS mm net README scripts sound usr
block CREDITS Documentation fs init Kbuild lib Makefile Module.symvers plain-config REPORTING-BUGS security System.map vmlinux
[jpowell@zx5000 ~]$ ls -l /lib/modules/2.6.18
total 1136
lrwxrwxrwx 1 root root 21 Oct 20 2006 build -> /usr/src/linux-2.6.18
drwxr-xr-x 2 root root 4096 Oct 26 2006 CiscoVPN
drwxr-xr-x 2 root root 4096 Oct 26 2006 extra
drwxr-xr-x 9 root root 4096 Jan 26 13:47 kernel
drwxr-xr-x 2 root root 4096 May 16 12:28 misc
-rw-r--r-- 1 root root 256924 May 13 21:12 modules.alias
-rw-r--r-- 1 root root 69 May 13 21:12 modules.ccwmap
-rw-r--r-- 1 root root 217924 May 13 21:12 modules.dep
-rw-r--r-- 1 root root 813 May 13 21:12 modules.ieee1394map
-rw-r--r-- 1 root root 375 May 13 21:12 modules.inputmap
-rw-r--r-- 1 root root 12159 May 13 21:12 modules.isapnpmap
-rw-r--r-- 1 root root 74 May 13 21:12 modules.ofmap
-rw-r--r-- 1 root root 190926 May 13 21:12 modules.pcimap
-rw-r--r-- 1 root root 841 May 13 21:12 modules.seriomap
-rw-r--r-- 1 root root 104954 May 13 21:12 modules.symbols
-rw-r--r-- 1 root root 313500 May 13 21:12 modules.usbmap
lrwxrwxrwx 1 root root 21 Jan 26 13:46 source -> /usr/src/linux-2.6.18

rwrose
06-29-2007, 05:34 PM
I am also grateful that someone worked through getting the driver to work on Fedora 6 for the legacy cards. However, I can't access the script that is mentioned at the top of this thread (#342).

Trying to access (http://www.phoronix.com/redblog/downloads/fglrx-fc6-legacy-generator.sh) give me "Page not found".

I think somewhere in another thread, someone mentioned that the web site has been revamped. Any chance the link to this valuable script can be fixed?

Thanks!

JEWilson
09-19-2007, 03:05 PM
Michael, are you sure that the drivers are not getting released by tomorrow?

Apologies if I am off topic, I'm a newbie

I have a ATI Fire GL 4 AGP Pro w/station card
After a clean install of Suse 9.0, a supplied
dependcy check scrip from ATI tells me the
distro above runs XFree v4.3 and glibc 2.3

The last drivers ATI have supplied are for
distro's which support XFree 4.2 and glibc 2.2.
This is as good as it gets... so it appears.

To be fair, the ATI script whilst detailing the
above, does suggest I try a R200 driver package
instead and names r200glib21.tgz

As you are discussing r200 support in this thread,
it was my expectation, you might shed some light
on the case for the FireGL4.

Would I be required to go back to a distro that
supports XFree 4.2 and glibc 2.2 or.... is there
a better, smarter mousetrap out there for this
card?

Any help and insight greatly appreciated
Thanks