goodbye fglrx
I did not find the changelog entry which makes it happens but …:
$ glxinfo | grep render direct rendering: Yes OpenGL renderer string: Mesa DRI R300 20060815 AGP 4x x86/MMX/SSE2 TCL
I did not find the changelog entry which makes it happens but …:
$ glxinfo | grep render direct rendering: Yes OpenGL renderer string: Mesa DRI R300 20060815 AGP 4x x86/MMX/SSE2 TCL
The first problem comes from the X11 driver. See this error in the Xorg.0.log file:
X version mismatch - detected X.org 1.3.0.0, required X.org 7.1.0.0
The debian bug is
420379.
Kano (from Kanotix) brings a solution:
http://www.rage3d.com/board/showthread.php?t=33889029
The second problem is, as usual, the ugly packaging:
ati-driver-installer-8.36.5-x86.x86_64.run --extract /tmp/ati cd /tmp/ati
Edit packages/Debian/ati-packager.sh and add exit just before the line
${PKG_BUILD_UTIL} ${PKG_BUILD_OPTIONS} > ${TmpPkgBuildOut} 2>&1. We will run dpkg-buildpackage manually:
packages/Debian/ati-packager.sh --buildpkg experimental cd /tmp/fglrx.XXXX
Replace x-dev by x11proto-core-dev in debian/control. Replace PKG_control := fglrx-amdcccle by PKG_control := fglrx-control in debian/rules. Still in debian/rules, remove the rm usr opt line from the clean target.
Now the package sources are ready, so run dpkg-buildpackage as usual.
This bug happens when paravirtualisation is enable in the kernel:
To fix it just recompile your kernel with CONFIG_PARAVIRT disabled.
I’ve uploaded the debian package for fglrx 8.32.5. As usual the ati-driver-installer-8.32.5-x86.x86_64.run script is very buggy. The -buildpkg option crash and the sid package still require xorg 7.0. Here is how to do:
ati-driver-installer-8.32.5-x86.x86_64.run --extract /tmp/ati
cd /tmp/ati
packages/Debian/ati-packager.sh --buildpkg experimental
Here is how to create Sid package for last fglrx drivers:
./ati-driver-installer-8.31.5-x86.x86_64.run --extract /tmp/ati cd /tmp/ati vim packages/Debian/overlay/experimental/rules
change
test -f etc/fglrxrc && chmod 644 etc/fglrxrc
test -f etc/fglrxprofiles.csv && chmod 644 etc/fglrxprofiles.csv
to
test -f etc/ati/fglrxrc && chmod 644 etc/ati/fglrxrc
test -f etc/ati/fglrxprofiles.csv && chmod 644 etc/ati/fglrxprofiles.csv
packages/Debian/ati-packager.sh --buildpkg experimental
You may need to add this to xorg.conf to make last (8.30.3) fglrx driver work properly
Section "ServerFlags"
Option "AIGLX" "off"
EndSection
Section "Extensions"
Option "Composite" "0"
EndSection
Note that the installer seems broken (at lest on Debian Sid and Ubuntu Edgy), and you will have to extract it manually and fix script. You may also use my packages.
The fglrx driver in Debian do not compile with kernel 2.6.17-1 nor 2.6.17-2. I tried the patch given on the Debian bug tracker, but closing a kdm session was crashing the kernel.
I tried with the 8.27.10 driver from www.ati.com. It works but I needed to add the following lines to /etc/X11/Xsession.d/70fglrx:
LIBGL_DRIVERS_PATH=/usr/lib/dri export LIBGL_DRIVERS_PATH
The 8.28.8 version have a fixed 70fglrx file, but I still crash the kernel by doing this:
Here is the bug:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=348711
Aladino and Wolf have the solution:
http://www.linuxvar.it/index.php/ATI_e_Kernel_2.6.15
I made a package which includes the patch:
http://xrunhprof.free.fr/debian/fglrx-kernel-src_8.21.7-1jerome_i386.deb
Looks like someone found a solution to the problem:
http://thinkwiki.org/wiki/Talk:Problems_with_fglrx
Any way this tips is no longer needed since the last release of ATI Linux drivers (01/18/06 Version: 8.21.7)
Xorg 6.9 is in Debian Sid since 2005-12-29. Unfortunately the Linux ATI driver do not support it.
Here is my the error message I get in /var/log/Xorg.0.log:
[R200Setup] X version mismatch - detected X.org 7.0.0.0, required X.org 6.8.0.0
I read Mandriva 2006 have the same problem. I guess we have to wait…