fglrx
Dennis Veatch
dveatch at woh.rr.com
Mon Jun 14 05:07:21 GMT 2004
>
> Needless to say the 2.6 kernel is 'beta'. You're on your own. I don't
> have the resources to fix this as it requires either the fglrx code to
> be patched/fixed or some other magic. Please note that I do not
> currently run any 2.6-kernel based box as well.
>
Was just tossing it out there to see if anyone had a work around.
> You might try reporting this to ATI yourself.
Done that. No response as yet.
Tried a suggested patch from
http://www.rage3d.com/board/showthread.php?s=&threadid=33737573, specifically
the one for 2.6.6-mm2. That's what they recommend even though I am using
2.6.7-rc3. Well, that patch got me through the first set of build errors but
at installing the module it cannot find fglrx.2.6.7-rc3-beta.ko. Indeed it
cannot because the only 2.6.7 module shown in the fglrx build tree is
fglrx.2.6.7-rc3-beta-SMP.ko.
So it appears the non-SMP module is not being built. A guess is something to
do with the fglrx BUILD script. Though I have not been able to deduce the
logic flaw;
(
if uname -a | grep -q SMP ; then
SMP="-SMP"
fi
KERNEL_VERSION=$(grep UTS_RELEASE /usr/src/linux/include/linux/version.h |
cut -d'"' -f2)
if echo $KERNEL_VERSION | grep -q '^2.6' ; then
MOD_EXT=ko
else
MOD_EXT=o
fi
KMOD=fglrx.$(uname -r)${SMP}.${MOD_EXT}
NMOD=fglrx.${MOD_EXT}
chown -R root:root . &&
find . -type d -exec chmod 755 {} \; &&
# hacked together:
#.......added by dveatch...start
cd $SOURCE_DIRECTORY/lib/modules/fglrx/build_mod
if echo $KERNEL_VERSION | grep -q '^2.6' ; then
patch -p1 < /var/lib/lunar/moonbase/x11/fglrx/263rc3.patch
fi
#.......end
cd $SOURCE_DIRECTORY/lib/modules/fglrx/build_mod &&
prepare_install &&
cd $SOURCE_DIRECTORY/lib/modules/fglrx &&
#sh make_install.sh &&
set -x &&
mkdir -p /lib/modules/$(uname -r)/drivers/char/drm &&
install -m 644 $KMOD /lib/modules/$(uname -r)/drivers/char/drm/$NMOD &&
cd $SOURCE_DIRECTORY &&
install -m755 usr/X11R6/bin/fgl* /usr/X11R6/bin/ &&
install -m644 usr/X11R6/include/X11/extensions/fglrx_gamma.h \
/usr/X11R6/include/X11/extensions/fglrx_gamma.h &&
cp -a usr/X11R6/lib/* /usr/X11R6/lib/ &&
install usr/include/GL/glxATI.h /usr/include/GL/
More information about the Lunar
mailing list