Up to now (2006-July-21) only fglrx 8.24.8 supports ati mobility 9200 card for my laptop
the card has chip id "M9+ 5C61". The newer driver 8.25, 8.26 is broken on openGL library.
The 8.24 driver compiles ok under kernel source 2.16.22, but it does not compile under kernel
2.17.6. (Maybe it won't compile for 2.17 kernel) but the 2.17 kernel has improved support for
ext3 filesystem (better performance). How to get them work together?
ATI Driver 8.26 compiles under 2.17.6 kernel. The problem for 8.24 driver is on the common modules part. FireGLpublic does not compile. It is possible to combine 8.24 driver core and 8.26 common modules to get it working for new kernel.
The procedure is like this. Ref. to the previous blog on building custom kernel module package. After
extracting the contents by "rpm2cpio xxxx.src.rpm |cpio -i", get the "fglrx-kmod-data-8.24.8.tar.bz2"
we need to replace the common modules in this package by the newer ones (which works under 2.6.17 kernel) from driver 8.26 , extract the files from 8.26 package get "fglrx-kmod-data-8.26-.8.tar.bz2“. extract both packages get two directories. fglrxpkg-x64 and fglrxpkg-x86, We only need to operate on fglrxpkg-x86.
replace the subdir common in 8.24 driver with that from 8.26 driver. Yes, the whole subdir. then pack
fglrxpkg-x64, fglrxpkg-x86 back to fglrx-kmod-data-8.24.8.tar.bz2. remove newly created files and proceed as in the previous article. This time the rpmbuild will succeed giving you kernel modules
for 2.6.17 kernel. These modules, when installed , act as if it is a 8.24 driver, I guess the version info
is embedded in the binary files under /arch/x86/lib/modules/fglrx/build_mod
This procedure works on my sony-vaio v505 laptop and DRI, OpenGL programs all work afterwards.
Written July 21st . 2006
P.S. There are a few patch files for 8.24. As all source codes are in common subdir, you may need also replace them with 8.26's patch file. On my machine, they don't take effect. (one patch is for x86-64, the other is for via chipset)
没有评论:
发表评论