[Pkg-fglrx-devel] Bug#525642: Success for 9.3 drivers on sid

Bryon Roche kain at kain.org
Sun May 10 16:06:05 UTC 2009


Method:

Install the appropriate build-deps for these git checkouts from
freedesktop.org. This should be solved mostly by apt-get build-dep
xserver-xorg.

mesa: mesa_7_0_branch (don't actually install this, just have it handy
for building xserver)
xorg-macros: master
libXfont: libXfont-1.2-branch
xserver: server-1.4-branch
xf86-input-evdev: 0405f7b
xf86-input-keyboard: ae630ae
xf86-input-mouse: abc65be

Then, using the notes below, and perhaps the git building instructions
for xserver on freedesktop.org, build these into a X server executable
in a convenient prefix.

For use on 2.6.29, you will need to patch your fglrx kernel module
source as follows:
<contained in attachment>
In addition, you will need to link/copy from the kernel source root:
drivers/acpi/acpica/ into your linux-headers-VERSION/include/acpi/acpica
, due to dirty things the fglrx driver does.

Instructions, patch, and notes adapted from various internet forums,
firstly
http://www.phoronix.com/forums/showthread.php?t=16173


NOTES:

for building xserver:
./configure --prefix=/opt/gfx-test --with-xkb-path=/usr/share/X11/xkb
--enable-glx --with-mesa-source=/home/user/mesa

for libXfont to work, you will need to use this patch:
diff --git a/src/FreeType/fttools.c b/src/FreeType/fttools.c
index 5393558..36a59b9 100644
--- a/src/FreeType/fttools.c
+++ b/src/FreeType/fttools.c
@@ -44,11 +44,9 @@
 #include "ft.h"

 /* backward compatibility hack */
-#if (FREETYPE_VERSION < 2001008)
 # ifndef ft_isdigit
 #  define ft_isdigit isdigit
 # endif
-#endif

 #ifndef LSBFirst
 #define LSBFirst 0


A smarter path to accomplish this for the interested may be to hack the
symbol/api bits fglrx and it's dri want back into xserver-1.[56], but I
don't know how successful such an endeavor could be, especially with
newer upcoming Mesa/Gallium/DRI versions probably obsoleting this.

The above would of course need much cleaning to be packagable, and
reminds me of the bad old days of needing 16 different X servers, but
would be workable for the stubborn.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fglrx-2.6.29.patch
Type: text/x-diff
Size: 3089 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-fglrx-devel/attachments/20090510/c2b3c6d8/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-fglrx-devel/attachments/20090510/c2b3c6d8/attachment.pgp>


More information about the Pkg-fglrx-devel mailing list