You are not logged in.
Pages: 1
hey im not sure how to get tazwok working im trying to compile latest ATI display driver for linux
any pointers of how i should do?
[CODE]
# SliTaz package receipt.
# ATI CatalystTM Proprietary Display Driver (non free)
PACKAGE="ati-driver-installer-11-5-x86_64"
VERSION="11-5"
CATEGORY="x-window"
MAINTAINER="user@server.domain"
SHORT_DESC="ATI CatalystTM Proprietary Display Driver (non free)"
WEB_SITE="http://www.amd.com"
TARBALL="ati-driver-installer-${VERSION/./-}-x86.x86_64.run"
WGET="http://www2.ati.com/drivers/linux/$TARBALL"
TAGS="ati radeon drivers graphic video"
RUN_OPTS="--extract $PACKAGE-$VERSION"
DEPENDS="xorg-server mesa mesa-dri libdrm linux-drm fontconfig linux-agp \
xorg-libSM xorg-libXi xorg-libXcursor"
BUILD_DEPENDS="linux xorg-server-dev mesa-dev libdrm-dev linux-module-headers"
# Rules to configure and make the package.
compile_rules()
{
cd $src
#for i in autoconf.h utsrelease.h ; do
#grep -rl linux/$i * | xargs sed -i "s|linux/$i|generated/$i|"
#done
echo "Applying patches..."
patch -Np1 -i $stuff/makefile_compat.patch
patch -Np1 -i $stuff/$PACKAGE-${kvers}.patch
patch -Np1 -i $stuff/sema_init.patch
cd $src/common/lib/modules/fglrx/build_mod
cp $src/arch/x86/lib/modules/fglrx/build_mod/libfglrx_ip.a.GCC4 .
cp 2.6.x/Makefile .
echo "Compiling the Kernel module..."
make -C /usr/src/linux SUBDIRS=$(pwd) modules
}
# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
EXTRAVERSION=_${kvers}
mkdir -p \
$fs/usr/share/pixmaps \
$fs/usr/bin \
$fs/usr/lib/xorg/modules \
$fs/usr/share/licenses/$PACKAGE \
$fs/lib/modules/$kvers-slitaz/kernel/drivers/video \
$fs/etc
# Compress and install module
lzma e $src/common/lib/modules/fglrx/build_mod/fglrx.ko \
$fs/lib/modules/$kvers-slitaz/kernel/drivers/video/fglrx.ko.gz
chown root $fs/lib/modules/$kvers-slitaz/kernel/drivers/video/fglrx.ko.gz
chmod 0644 $fs/lib/modules/$kvers-slitaz/kernel/drivers/video/fglrx.ko.gz
cp -a $src/ATI_LICENSE.TXT $fs/usr/share/licenses/$PACKAGE
cp -a $src/arch/x86/usr/lib/*.so $fs/usr/lib/
cp -a $src/arch/x86/usr/sbin $fs/usr
cp -a $src/arch/x86/usr/X11R6/bin/* $fs/usr/bin/
cp -a $src/x740/usr/X11R6/lib/modules $fs/usr/lib/xorg
cp -a $src/arch/x86/usr/X11R6/lib/*.so* $fs/usr/lib
cp -a $src/arch/x86/usr/X11R6/lib/modules $fs/usr/lib/xorg
cp -a $src/common/etc $fs
chmod 755 $fs/etc/ati/authatieventsd.sh
cp -a $src/common/usr/sbin $fs/usr
cp -a $src/common/usr/share/icons/* $fs/usr/share/pixmaps
cp -a $src/common/usr/share/applications $fs/usr/share
cp -a $src/common/usr/share/doc $fs/usr/share
cp -a $src/common/usr/share/ati $fs/usr/share
cp -a $src/common/usr/X11R6/bin/* $fs/usr/bin
}
pre_install()
{
echo ""
echo -e "33[1m PROPRIETARY LICENSE:33[0m $2"
echo "================================================================================"
echo "You are installing a package with proprietary license."
echo "You must accept the license."
echo "================================================================================"
echo ""
}
post_install()
{
echo "Processing post-install commands..."
chroot "$1/" depmod -a ${EXTRAVERSION#_}-slitaz
ln -sf $1/usr/lib/xorg/modules/dri $1/usr/lib/dri
ln -sf $1/usr/lib/libfglrx_dm.so.1.0 $1/usr/lib/libfglrx_dm.so.1
ln -sf $1/usr/lib/libfglrx_pp.so.1.0 $1/usr/lib/libfglrx_pp.so.1
ln -sf $1/usr/lib/libfglrx_tvout.so.1.0 $1/usr/lib/libfglrx_tvout.so.1
ln -sf $1/usr/lib/libfglrx_gamma.so.1.0 $1/usr/lib/libfglrx_gamma.so.1
ln -sf $1/usr/lib/libGL.so.1.2 $1/usr/lib/libGL.so.1
ln -sf $1/usr/lib/libGL.so.1.2 $1/usr/lib/libGL.so
echo ""
echo -e "33[1m ATI LICENSE INFORMATION:33[0m $2"
echo "================================================================================"
echo "For installing this package, you have to accept the $PACKAGE license."
echo "The license is stored in /usr/share/licenses/$PACKAGE "
echo -n "Would you like to read the license (y/N) : "; read anser
if [ "$anser" = "y" ]; then
cat /usr/share/licenses/"$PACKAGE"/ATI_LICENSE.txt | more
echo ""
fi
echo "================================================================================"
echo -n "Do you accept the license (y/N) : "; read anser
if [ "$anser" = "N" ]; then
echo "You did not accept the license, Removing the pkg."
tazpkg remove "$PACKAGE"
fi
}
post_remove()
{
echo "Processing post-remove commands..."
depmod -a
}
[/CODE]
Hi,
First off let say Tazwok is not up-to-date to handle this receipt, since I introduced *.run tarball type a few day ago (but hg version are up-to-date). The goal is to avoid code to get source in receipt. Also, the new official tools to build packages is cookutils and doc is up-to-date: http://hg.slitaz.org/cookutils/raw-file/tip/doc/cookutils.en.html
Now if the TARBALL ends with .run we will exctract it in wok/catalylst/source ans so we just have to cd in src and make. That said catalyst still dont build on Tank and any fix would be welcome. Here is the last build log:
http://cook.slitaz.org/cooker.cgi?pkg=catalyst
Offline
Thanx pankso, i will have a look at it, but im kind of new at this but i learn 
my goal is to have good drivers for ATI, Realtek etc so i can get rid of my
Windows installation completely 
hmm lol i must be dumb, how do i install the tool #cook?
cook-utils-1.3.tazpkg: http://cook.slitaz.org/packages/cookutils-1.3.tazpkg
Cook Documentation: http://hg.slitaz.org/cookutils/raw-file/tip/doc/cookutils.en.html
Did you try to compile/install newest drivers/modules using the ATI catalyst installer on your computer?
Offline
Hey Mojo thanx, havent tried to compile it yet, did try to install latest ATI Catalyst
directly from ATI , got it to install even do no fonts where installed so i couldnt see what ATI Dialog said, but ofc something must be missing couse it installed controll panel for ATI catalyst but driver didnt work.
I will try and recompile this weekend
//Martin
Hello
I have a lot of experience using ATI Catalyst (amdcccle) in Xubuntu to drive 3 screens each 1680x1050.
I am so far very impressed with Slitaz, though I must have my 3 screens working properly.
I tried to install ATI Catalyst using the the Slitaz package manager and got the desktop warning I am familiar with "please configure using aticonfig".
In Xubuntu that is no problem, simply open su terminal # and type 'aticonfig --initial=dual-head -f --xinerama=on' or similar.
Then type 'reboot'.
After reboot with Slitaz, X won't start.
I have posted the etc/X11/xorg.conf and var/log/Xorg.0.log files from my Slitaz computer and also from my Xubuntu computer with identical hardware.
I have 3 computers with ATI Sapphire Motherboards (HD3200) each with plugin HD3450 graphics cards.
Perhaps we could use them to help with testing (provided nothing gets broken or damaged).
Kevin Dixon
The 4 attachments above are also available from
http://www.kdworld.uk7.net/links/computers/xorg.tar.gz
They might help to reveal the cause of the problem with my Slitaz Catalyst installation/configuration.
My Xubuntu configuration works fine.
Thanks.
Pages: 1
[ Generated in 0.017 seconds, 7 queries executed - Memory usage: 1.55 MiB (Peak: 1.77 MiB) ]