many problems with fglrx 8.36.5

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.

#debian, #fglrx