LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 08-02-2009, 05:36 PM   #1
LordAnta
Member
 
Registered: Apr 2008
Location: Bucharest, Romania
Distribution: Slackware current
Posts: 126

Rep: Reputation: 17
Slackware current 32 bits + ATI


I have installed the latest slackware-current (downloaded sunday 2nd august at 16:00 EET). My video card is:
Code:
01:05.0 VGA compatible controller: ATI Technologies Inc RC410 [Radeon Xpress 200M]
I have tried to install drivers from ati (every driver install finishes in error, even with the patch for ati driver 9.3), use radeon module, upgrade the packages according to rworkman, the radeonhd driver, but I can't start X (when i start x i remain with a blank screen and everything is frozen. Ctr+F* doesn't work, only using skinny elephants)

Has anyone been able to run or has suggestions on how to run slack-current with my video-card ?

Last edited by LordAnta; 08-02-2009 at 05:37 PM.
 
Old 08-02-2009, 07:19 PM   #2
Erik_FL
Member
 
Registered: Sep 2005
Location: Boynton Beach, FL
Distribution: Slackware
Posts: 793

Rep: Reputation: 245Reputation: 245Reputation: 245
I was able to get my Radeon 4850 card working with kernel version 2.6.29. I'm using Slackware 13 RC1 (July 28) installed from the ISO image.

I downloaded the latest driver "ati-driver-installer-9-7-x86.x86_64.run" from the ATI web site and then used this patch.

http://www.linuxquestions.org/questi...ight=ati+patch

An error was reported at the end of the build where it tries to load and test the module. After I rebooted the module loaded with no problem and I was able to use the desktop 3D effects.

So far I haven't had any major problems. The "pager" seems to not remember changes to settings and always reverts to one row instead of anything else. The task bar sometimes turns black when it's maximized. I'm still testing RC1 on my computer but so far it looks very good.
 
Old 08-04-2009, 01:23 PM   #3
BrZ
Member
 
Registered: Apr 2009
Distribution: Slackware
Posts: 490

Rep: Reputation: 79
I have one RS485 (Xpress1100) on current64 using the open driver. Some trouble with few gl screensavers, but GLtron is faaaast...
 
Old 08-04-2009, 01:30 PM   #4
C-Sniper
Member
 
Registered: Dec 2006
Distribution: Slackware
Posts: 507

Rep: Reputation: 33
LordAnta, I have the same card in my laptop and it is no longer supported by ATi in Linux as of Catalyst 9.3+.

I would recommend just using the open driver as ATi has provided the specs to X.Org foundation for the drivers to help get them up to par.
 
Old 08-06-2009, 02:23 PM   #5
LordAnta
Member
 
Registered: Apr 2008
Location: Bucharest, Romania
Distribution: Slackware current
Posts: 126

Original Poster
Rep: Reputation: 17
@C-Sniper: I know that my card is not supported anymore, but the radeon module from the kernel or the radeonhd don't work for me. Where I can find this open driver ?
 
Old 08-06-2009, 11:07 PM   #6
pokipoki08
Member
 
Registered: Mar 2009
Posts: 76

Rep: Reputation: 16
I'm using RV380 (X600) on slackware64-current. Did you try using xorgsetup ?
 
Old 08-09-2009, 09:01 AM   #7
LordAnta
Member
 
Registered: Apr 2008
Location: Bucharest, Romania
Distribution: Slackware current
Posts: 126

Original Poster
Rep: Reputation: 17
I've been gone for a couple of days and I couldn't respond. I tried xorgsetup, no difference, same blank screen. I will try an update and see if it works.
 
Old 08-09-2009, 10:06 AM   #8
pokipoki08
Member
 
Registered: Mar 2009
Posts: 76

Rep: Reputation: 16
xorgsetup will configure X to use the open source radeon drivers. The ATI proprietary drivers won't work with the -current X servers (in my case, it was -64-current).

Got myself a nvidia card instead. Couldn't put up with ATI doing this every 2 years, removing support for products still in use by the masses.

Nvidia cards are good, 9800GT is much cheaper now and I get temperature monitoring with their utility. Yay!
 
Old 08-09-2009, 12:01 PM   #9
LordAnta
Member
 
Registered: Apr 2008
Location: Bucharest, Romania
Distribution: Slackware current
Posts: 126

Original Poster
Rep: Reputation: 17
After a fresh install of RC2 and a xorgsetup i got my X working. Thanks for the help guys!
 
Old 08-18-2009, 05:13 AM   #10
dolphin77
Member
 
Registered: May 2009
Posts: 200

Rep: Reputation: 54
slackware64-current (on Sony laptop with ATI HD3400)
Ati-9.8
https://a248.e.akamai.net/f/674/9206...x86.x86_64.run

it simply works....

# sh ati-driver-installer-9-8-x86.x86_64.run --buildpkg Slackware/All
# upgradepkg --install-new fglrx*
# aticonfig --initial


Opensource
something like this works (packages made with the attached scripts only tested with 2.6.31-rc6) but hangs up when some gtk window is going to be opened.
and this was added to xorg.conf:
Section "Device"
Identifier "Configured Video Device"
Driver "radeonhd"
Option "AccelMethod" "EXA"
Option "DRI"
EndSection


Section "DRI"
Mode 0666
EndSection

Hm upload doesn't work

libdrm:

get-libdrm.sh:

rm -rf libdrm
git clone git://anongit.freedesktop.org/~agd5f/drm

cd drm
git checkout -t -b r6xx-r7xx-3d origin/r6xx-r7xx-3d
cd ..
# package the source archive and clean up:
( cd drm ; find . -type d -name .git -exec rm -rf {} \; 2> /dev/null )
DATE=$(date +%Y%m%d)
mv drm libdrm-${DATE}_git
tar cjf libdrm-${DATE}_git.tar.bz2 libdrm-${DATE}_git
rm -rf libdrm-${DATE}_git

libdrm.Slackbuild:

PKGNAM=libdrm
VERSION=$(date +%Y%m%d)_git
ARCH=${ARCH:-x86_64}
NUMJOBS=${NUMJOBS:-" -j7 "}
BUILD=${BUILD:-1}

CWD=$(pwd)
TMP=${TMP:-/tmp}
PKG=$TMP/package-${PKGNAM}

if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "s390" ]; then
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
fi

rm -rf $PKG
mkdir -p $TMP $PKG
cd $TMP
rm -rf ${PKGNAM}-${VERSION}
tar xvf $CWD/${PKGNAM}-$VERSION.tar.bz2 || exit 1
cd ${PKGNAM}-$VERSION

# Make sure ownerships and permissions are sane:
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
-exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;

# Configure:
./autogen.sh
CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--enable-udev \
--build=$ARCH-slackware-linux

# Build and install:
make $NUMJOBS || make || exit 1
make install DESTDIR=$PKG || exit 1

cd linux-core
make $NUMJOBS || make || exit 1
make install DESTDIR=$PKG || exit 1
cd ..
mkdir -p $PKG/lib/modules/2.6.31-rc6/extra/
mv /lib/modules/2.6.31-rc6/extra/* $PKG/lib/modules/2.6.31-rc6/extra/


# Strip binaries:
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null

# Compress and link manpages, if any:
if [ -d $PKG/usr/man ]; then
( cd $PKG/usr/man
for manpagedir in $(find . -type d -name "man*") ; do
( cd $manpagedir
for eachpage in $( find . -type l -maxdepth 1) ; do
ln -s $( readlink $eachpage ).gz $eachpage.gz
rm $eachpage
done
gzip -9 *.?
)
done
)
fi

# Compress info files, if any:
if [ -d $PKG/usr/info ]; then
( cd $PKG/usr/info
rm -f dir
gzip -9 *
)
fi

# Add a documentation directory:
mkdir -p $PKG/usr/doc/${PKGNAM}-$VERSION
cp -a \
README \
$PKG/usr/doc/${PKGNAM}-$VERSION

mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc

cd $TMP/package-${PKGNAM}
/sbin/makepkg -l y -c n $TMP/${PKGNAM}-$VERSION-$ARCH-$BUILD.txz


mesa
get-mesa.sh:
rm -rf mesa
git clone git://anongit.freedesktop.org/git/mesa/mesa
cd mesa
git checkout -t -b master origin/master
cd ..
# package the source archive and clean up:
( cd mesa ; find . -type d -name .git -exec rm -rf {} \; 2> /dev/null )
DATE=$(date +%Y%m%d)
mv mesa mesa-${DATE}_git
tar cjf mesa-${DATE}_git.tar.bz2 mesa-${DATE}_git
rm -rf mesa-${DATE}_git


mesa.Slackbuild:

PKGNAM=mesa
VERSION=$(date +%Y%m%d)_git
ARCH=${ARCH:-x86_64}
BUILD=${BUILD:-1}

# Be sure this list is up-to-date:
#DRI_DRIVERS="i810,i915,i965,mach64,mga,nouveau,r128,r200,r300,radeon,s3v,savage,sis,tdfx,trident,un ichrome,ffb,swrast"
DRI_DRIVERS="swrast,r600"

NUMJOBS=${NUMJOBS:--j8}

CWD=$(pwd)
TMP=${TMP:-/tmp}
PKG=$TMP/package-mesa

if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
fi

rm -rf $PKG
mkdir -p $TMP $PKG
cd $TMP
rm -rf mesa-${VERSION}
tar xvf $CWD/mesa-${VERSION}.tar.bz2 || exit 1
cd mesa-$VERSION

# Make sure ownerships and permissions are sane:
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
-exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;


./autogen.sh

CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--mandir=/usr/man \
--docdir=/usr/doc/mesa-$VERSION \
--with-dri-driverdir=/usr/lib${LIBDIRSUFFIX}/xorg/modules/dri \
--with-dri-drivers="$DRI_DRIVERS" \
--disable-gallium \
--enable-debug \
--build=$ARCH-slackware-linux

# Nobody else is enabling this. Seems like it's asking for trouble.
# --enable-xcb

make $NUMJOBS || make || exit 1
make install DESTDIR=$PKG || exit 1

# Install gears and glinfo manually, and make symlinks from the names
# of the deprecated similar programs to reduce confusion:
mkdir -p $PKG/usr/bin
cp -a progs/demos/gears $PKG/usr/bin/gears
cp -a progs/demos/glinfo $PKG/usr/bin/glinfo
( cd $PKG/usr/bin
ln -sf glinfo glxinfo
ln -sf gears glxgears
)

# Strip binaries:
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null

# Compress and link manpages, if any:
if [ -d $PKG/usr/man ]; then
( cd $PKG/usr/man
for manpagedir in $(find . -type d -name "man*") ; do
( cd $manpagedir
for eachpage in $( find . -type l -maxdepth 1) ; do
ln -s $( readlink $eachpage ).gz $eachpage.gz
rm $eachpage
done
gzip -9 *.?
)
done
)
fi

# Compress info files, if any:
if [ -d $PKG/usr/info ]; then
( cd $PKG/usr/info
rm -f dir
gzip -9 *
)
fi

mkdir -p $PKG/usr/doc/mesa-$VERSION/html
cp -a COPYING docs/relnotes-$VERSION.html $PKG/usr/doc/mesa-$VERSION
rm -f docs/relnotes*.html docs/RELNOTES*
cp -a docs/*.html $PKG/usr/doc/mesa-$VERSION/html

mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc

cd $PKG
/sbin/makepkg -l y -c n $TMP/${PKGNAM}-$VERSION-$ARCH-$BUILD.txz

Last edited by dolphin77; 08-18-2009 at 05:18 AM.
 
Old 08-18-2009, 07:34 AM   #11
forum1793
Member
 
Registered: May 2008
Posts: 312

Rep: Reputation: 34
Keep in mind that the drm, mesa, etc, are still evolving. 3D still does not work well. Lots of development still occurring. No one should expect to have flawless or even good 3D with the r6xx+ cards.

Edit: If not clear this post mostly applies to the open source drivers, as implied by the modified slackbuild-ish script above. 3D works OK for many cards using fglrx (catalyst), and 3D with open source drivers, I think works OK with r5xx and lower. This post for amd/ati cards.

Last edited by forum1793; 08-19-2009 at 08:57 PM.
 
Old 08-19-2009, 07:47 AM   #12
LordAnta
Member
 
Registered: Apr 2008
Location: Bucharest, Romania
Distribution: Slackware current
Posts: 126

Original Poster
Rep: Reputation: 17
I solved the problem with an update. I don't need 3D acceleration on my laptop, I have a desktop with an NVIDIA card in it for that. I just wanted to be able to start X, so I can work when I am away on the road. Thanks for all your help guys.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
slackware current question on the current kernels davimint Slackware 3 06-03-2007 07:39 AM
DISCUSSION: Upgrade to Slackware -current without a -current CD truthfatal LinuxAnswers Discussion 0 09-19-2006 01:42 PM
32 bits version distros running 64 bits CPU javb Linux - General 4 04-02-2006 07:21 AM
When will official Slackware 64 bits comes ? carlos.macleod Slackware 7 08-29-2005 06:57 AM


All times are GMT -5. The time now is 06:01 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration