View previous topic :: View next topic |
Author |
Message |
miseiler Tux's lil' helper
Joined: 17 Mar 2003 Posts: 118
|
Posted: Mon Jan 17, 2005 9:26 pm Post subject: New ATI-Drivers Thread |
|
|
Thread for gaming issues/successes with the recently released ATI driver version 8.8.25.
I'm still compiling Xorg-6.8.0, or I'd have something to report _________________ Cthulhu for president. |
|
Back to top |
|
|
stefanwa Tux's lil' helper
Joined: 09 Dec 2002 Posts: 140
|
Posted: Mon Jan 17, 2005 9:47 pm Post subject: |
|
|
Working here with X.org 6.8 and my 9600Pro!
Even Doom3 is playable now. Glitches in ET are gone. So far so good. Too "bad" I've already ordered a new Nvidia card... |
|
Back to top |
|
|
Arainach l33t
Joined: 08 Jul 2004 Posts: 609
|
Posted: Mon Jan 17, 2005 9:57 pm Post subject: |
|
|
Seeing as they haven't made portage yet (No surprise, since they were released in the last hour) and they're only released in RPM form, how are you testing them? On another distro or on Gentoo with rpm emerged? I don't want to spend the time upgrading my X.Org to 6.8 (there's a huge compile job) if I'm not going to be able to immediately get 3D Acceleration afterwards. _________________ Gentoo: Stage3 w/ NPTL & udev, gcc 3.4.4 full rebuild
Kernel: 2.6.15-gentoo-r1 w/ 1G-Lowmem Patch
System: Athlon XP 2.2Ghz/1GB Corsair Value/160GB, 250GB WD IDE/128MB GeForce 6800/Sony 17" Trinitron G200 @ 1280x1024x75Hz |
|
Back to top |
|
|
Wedge_ Advocate
Joined: 08 Aug 2002 Posts: 3614 Location: Scotland
|
Posted: Mon Jan 17, 2005 10:08 pm Post subject: |
|
|
Check the link in my sig, there's an ebuild + instructions at the top of the page. _________________ Per Ardua Ad Astra
The Earth is the cradle of the mind, but we cannot live forever in a cradle - Konstantin E. Tsiolkovsky
Gentoo Radeon FAQ |
|
Back to top |
|
|
miseiler Tux's lil' helper
Joined: 17 Mar 2003 Posts: 118
|
Posted: Mon Jan 17, 2005 10:31 pm Post subject: |
|
|
Rage3D appears to have been wanged (No surprise there, we had close to 600 people viewing the same linux thread concurrently at one point).
To make your life easier, here's the ebuild posted there:
Code: | # Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/ati-drivers/ati-drivers-8.8.25.ebuild,v 1.4 2005/01/08 08:26:11 lu_zero Exp $
IUSE=""
inherit eutils rpm
DESCRIPTION="Ati precompiled drivers for r350, r300, r250 and r200 chipsets"
HOMEPAGE="http://www.ati.com"
SRC_URI="http://www2.ati.com/drivers/linux/fglrx_6_8_0-${PV}-1.i386.rpm"
SLOT="${KV}"
LICENSE="ATI"
KEYWORDS="-* x86"
DEPEND=">=virtual/linux-sources-2.4
app-arch/rpm2targz
>=x11-base/xorg-x11-6.8.0 "
RDEPEND=">=x11-base/xorg-x11-6.8.0"
PROVIDE="virtual/opengl"
ATIBIN="${D}/opt/ati/bin"
RESTRICT="nostrip"
pkg_setup(){
check_KV || \
die "Please ensure /usr/src/linux points to your kernel symlink!"
# Set up X11 implementation
X11_IMPLEM_P="$(best_version virtual/x11)"
X11_IMPLEM="${X11_IMPLEM_P%-[0-9]*}"
X11_IMPLEM="${X11_IMPLEM##*\/}"
einfo "X11 implementation is ${X11_IMPLEM}."
}
src_unpack() {
local OLDBIN="/usr/X11R6/bin"
cd ${WORKDIR}
rpm_src_unpack
cd ${WORKDIR}/lib/modules/fglrx/build_mod
#epatch ${FILESDIR}/fglrx-3.9.0-allocation.patch
epatch ${FILESDIR}/8.08-kernel-2.6.10.patch
if [ "`echo ${KV}|grep 2.6`" ]
then
epatch ${FILESDIR}/fglrx-2.6.10-pci_get_class.patch
fi
}
src_compile() {
local GENTOO_ARCH=
einfo "Building the DRM module..."
cd ${WORKDIR}/lib/modules/fglrx/build_mod
if [ "${KV}" != "${KV/2\.6}" ]
then
GENTOO_ARCH=${ARCH}
unset ARCH
addwrite "/usr/src/${FK}"
cp 2.6.x/Makefile .
export _POSIX2_VERSION="199209"
if [ ${KV_MAJOR} -eq 2 -a ${KV_MINOR} -gt 5 -a ${KV_PATCH} -gt 5 ] ;
then
make -C /usr/src/linux M="`pwd`" modules || \
ewarn "DRM module not built"
else
make -C /usr/src/linux SUBDIRS="`pwd`" modules || \
ewarn "DRM module not built"
fi
ARCH=${GENTOO_ARCH}
else
export _POSIX2_VERSION="199209"
# That is the dirty way to avoid the id -u check
sed -e 's:`id -u`:0:' \
-e 's:`uname -r`:${KV}:' \
-i make.sh
chmod +x make.sh
./make.sh || die "DRM module not built"
fi
# Removing unused stuff
rm -rf ${WORKDIR}/usr/X11R6/bin/{*.bz2,fgl_glxgears}
}
pkg_preinst() {
# Clean the dinamic libGL stuff's home to ensure
# we don't have stale libs floating around ...
if [ -d "${ROOT}/usr/lib/opengl/ati" ]
then
rm -rf ${ROOT}/usr/lib/opengl/ati/*
fi
}
src_install() {
local ATI_ROOT="/usr/lib/opengl/ati"
cd ${WORKDIR}
# DRM module
insinto /lib/modules/${KV}/video
if [ "${KV}" != "${KV/2\.6}" ]
then
doins ${WORKDIR}/lib/modules/fglrx/build_mod/fglrx.ko
else
doins ${WORKDIR}/lib/modules/fglrx/build_mod/fglrx.o
fi
# OpenGL libs
exeinto ${ATI_ROOT}/lib
doexe ${WORKDIR}/usr/X11R6/lib/libGL.so.1.2
dosym libGL.so.1.2 ${ATI_ROOT}/lib/libGL.so.1
dosym libGL.so.1.2 ${ATI_ROOT}/lib/libGL.so
dosym libGL.so.1.2 ${ATI_ROOT}/lib/libMesaGL.so
# This is the same as that of the X11 implementation ...
dosym ../../${X11_IMPLEM}/lib/libGL.la ${ATI_ROOT}/lib/libGL.la
# X and DRI driver
exeinto /usr/X11R6/lib/modules/drivers
doexe ${WORKDIR}/usr/X11R6/lib/modules/drivers/fglrx_drv.o
exeinto /usr/X11R6/lib/modules/dri
doexe ${WORKDIR}/usr/X11R6/lib/modules/dri/fglrx_dri.so
rm -f ${WORKDIR}/usr/X11R6/lib/modules/drivers/fglrx_drv.o \
${WORKDIR}/usr/X11R6/lib/modules/dri/fglrx_dri.so
# Same as in the X11 implementation
exeinto ${ATI_ROOT}/
dosym ../${X11_IMPLEM}/include ${ATI_ROOT}/include
dosym ../${X11_IMPLEM}/extensions ${ATI_ROOT}/extensions
rm -f ${WORKDIR}/usr/X11R6/lib/libGL.so.1.2
# Not necessary dodoc ${WORKDIR}/usr/share/doc/fglrx/LICENSE.
#apps
insinto /etc/env.d
doins ${FILESDIR}/09ati
exeinto /opt/ati/bin
doexe usr/X11R6/bin/*
rm usr/X11R6/bin/*
# Removing unused stuff
rm -rf ${WORKDIR}/usr/{src,share}
cp -R ${WORKDIR}/usr ${D}/
}
pkg_postinst() {
# Ebuild shouldn't do this automatically, just tell the user to do it,
# otherwise it messes up livecd/gamecd stuff ... (drobbins, 1 May 2003)
# if [ "${ROOT}" = "/" ]
# then
# /usr/sbin/opengl-update ati
# fi
echo
einfo "To switch to ATI OpenGL, run \"opengl-update ati\""
einfo "To change your XF86Config you can use the bundled \"fglrxconfig\""
echo
ewarn "***"
ewarn "If you are experiencing problems with memory allocation try to add"
ewarn "this line to in your X11 configuration file:"
ewarn " Option \"KernelModuleParm\" \"agplock=0\" "
ewarn "That should solve the hangups you could have with Neverwinter Nights"
ewarn "***"
# DRM module
update-modules
}
|
EDIT: Before someone asks, you've already got the patches. They're in your /usr/portage/media-video/ati-drivers/files directory, and need to be moved to the equivalent portage overlay location.
Compiled Xorg-6.8.0-r3 with zero problems, compiled the new driver with zero problems (morph11 sources, based on 2.6.10), got in and played all of my games with no problems.
More to report soon... _________________ Cthulhu for president. |
|
Back to top |
|
|
miseiler Tux's lil' helper
Joined: 17 Mar 2003 Posts: 118
|
Posted: Mon Jan 17, 2005 10:45 pm Post subject: |
|
|
Coupla things.
In limited testing I found the following:
Morrowind finally works! It's ungodly slow on my 9800 Pro, but this is a bugfix release, not performance.
Epsxe emulation using the ATI render extension finally works for drivers OTHER than 3.2.8! This has made me happy.
I would test UT2k4 and the like, but I uninstalled them already. I tested Quake3, and got something like 460 fps...though on 640x480 with low res textures, so I'm not sure that counts.
More later. Haven't tested the COMPOSITE extension and such yet. _________________ Cthulhu for president. |
|
Back to top |
|
|
irasnyd Apprentice
Joined: 16 Feb 2003 Posts: 286 Location: Placentia, CA
|
Posted: Mon Jan 17, 2005 11:03 pm Post subject: |
|
|
I wasn't able to get direct rendering with composite enabled. /var/log/Xorg.0.log said that direct rendering was disabled. (glxinfo said the same).
I disabled composite in my xorg.conf and it's all good. Now off to play some games, then I'll report back.
xorg-x11 6.8.1.902 is working great here, as far as I can tell.
EDIT: The only game I have installed at the moment is UT2004-demo, and it is running much much better than before. 2d performance is better in xorg too. |
|
Back to top |
|
|
nadamsieee Guru
Joined: 30 May 2003 Posts: 340 Location: Atlanta, GA, USA
|
Posted: Tue Jan 18, 2005 1:35 am Post subject: |
|
|
I don't see a bug report for the new drivers. Perhaps the Gentoo developers don't know they're out yet? _________________ nadams (at) ieee (dot) org |
|
Back to top |
|
|
Yuber Tux's lil' helper
Joined: 08 Jan 2003 Posts: 139
|
Posted: Tue Jan 18, 2005 1:53 am Post subject: |
|
|
When I do --digest I get "Size mismatch during checksums"
ugh i hate this. |
|
Back to top |
|
|
miseiler Tux's lil' helper
Joined: 17 Mar 2003 Posts: 118
|
Posted: Tue Jan 18, 2005 1:57 am Post subject: |
|
|
Yuber wrote: | When I do --digest I get "Size mismatch during checksums"
ugh i hate this. |
There shouldn't *be* a checksum. Remove from your overlay/media-video/ati-drivers/files/ directory the file:
Code: | digest-ati-drivers-8.8.25 | and remerge, or simply edit the file and change the last column from whatever size it thinks the file is supposed to be to the size it actually is. I'm not sure how you managed to do that _________________ Cthulhu for president. |
|
Back to top |
|
|
miseiler Tux's lil' helper
Joined: 17 Mar 2003 Posts: 118
|
Posted: Tue Jan 18, 2005 1:59 am Post subject: |
|
|
nadamsieee wrote: | I don't see a bug report for the new drivers. Perhaps the Gentoo developers don't know they're out yet? |
mtippett (ATI Linux guru) over in the Rage3D forums has stated the gentoo devs had the drivers long before we did. Most likely the real ebuild is up somewhere and it's just taking a while for the rsync servers to update. _________________ Cthulhu for president. |
|
Back to top |
|
|
Yuber Tux's lil' helper
Joined: 08 Jan 2003 Posts: 139
|
Posted: Tue Jan 18, 2005 1:59 am Post subject: |
|
|
miseiler wrote: | Yuber wrote: | When I do --digest I get "Size mismatch during checksums"
ugh i hate this. |
There shouldn't *be* a checksum. Remove from your overlay/media-video/ati-drivers/files/ directory the file:
Code: | digest-ati-drivers-8.8.25 | and remerge, or simply edit the file and change the last column from whatever size it thinks the file is supposed to be to the size it actually is. I'm not sure how you managed to do that | That file isn't there. |
|
Back to top |
|
|
steve_d555 Guru
Joined: 07 Nov 2004 Posts: 458 Location: Belmont, Massachusetts
|
Posted: Tue Jan 18, 2005 2:07 am Post subject: |
|
|
Wow, this is awesome, they increased my performance by almost 1/3. Now I can actually play Ut2004!!
Thanks for the ebuild it worked great.
--Steve |
|
Back to top |
|
|
Yuber Tux's lil' helper
Joined: 08 Jan 2003 Posts: 139
|
Posted: Tue Jan 18, 2005 2:14 am Post subject: |
|
|
This is really, really frustrating. |
|
Back to top |
|
|
steve_d555 Guru
Joined: 07 Nov 2004 Posts: 458 Location: Belmont, Massachusetts
|
Posted: Tue Jan 18, 2005 2:17 am Post subject: |
|
|
Try re-downloading. Remove the file from /usr/portage/distfiles and try again.
--Steve |
|
Back to top |
|
|
Yuber Tux's lil' helper
Joined: 08 Jan 2003 Posts: 139
|
Posted: Tue Jan 18, 2005 2:19 am Post subject: |
|
|
steve_d555 wrote: | Try re-downloading. Remove the file from /usr/portage/distfiles and try again.
--Steve | The rpm isn't even the problem, I can't generate a digest file. |
|
Back to top |
|
|
steve_d555 Guru
Joined: 07 Nov 2004 Posts: 458 Location: Belmont, Massachusetts
|
Posted: Tue Jan 18, 2005 2:28 am Post subject: |
|
|
You running and root and such? |
|
Back to top |
|
|
Yuber Tux's lil' helper
Joined: 08 Jan 2003 Posts: 139
|
Posted: Tue Jan 18, 2005 2:34 am Post subject: |
|
|
steve_d555 wrote: | You running and root and such? | -_- |
|
Back to top |
|
|
steve_d555 Guru
Joined: 07 Nov 2004 Posts: 458 Location: Belmont, Massachusetts
|
Posted: Tue Jan 18, 2005 2:38 am Post subject: |
|
|
Ok, gotta check. Try
Code: | ebuild /foo/ati-drivers-8.8.25.ebuild digest |
Try that and see what happens. If no errors show up then just emerge it.
--Steve |
|
Back to top |
|
|
Yuber Tux's lil' helper
Joined: 08 Jan 2003 Posts: 139
|
Posted: Tue Jan 18, 2005 2:44 am Post subject: |
|
|
steve_d555 wrote: | Ok, gotta check. Try
Code: | ebuild /foo/ati-drivers-8.8.25.ebuild digest |
Try that and see what happens. If no errors show up then just emerge it.
--Steve | I don't know how I'm screwing the ebuild up but I am. Can someone post an ACTUAL ebuild file that I can get to verify this? |
|
Back to top |
|
|
steve_d555 Guru
Joined: 07 Nov 2004 Posts: 458 Location: Belmont, Massachusetts
|
Posted: Tue Jan 18, 2005 2:46 am Post subject: |
|
|
I just used the one above, it worked perfectly for me.
Try deleting your whole ati drivers portage overlay folder and try again.
--Steve |
|
Back to top |
|
|
Yuber Tux's lil' helper
Joined: 08 Jan 2003 Posts: 139
|
Posted: Tue Jan 18, 2005 2:51 am Post subject: |
|
|
steve_d555 wrote: | I just used the one above, it worked perfectly for me.
Try deleting your whole ati drivers portage overlay folder and try again.
--Steve |
This is basically just some of what happens:
Code: |
laptop ati-drivers # ebuild ati-drivers-8.8.25.ebuild digest
: command not foundvideo/ati-drivers/ati-drivers-8.8.25.ebuild: line 4:
: command not foundvideo/ati-drivers/ati-drivers-8.8.25.ebuild: line 5:
: command not foundvideo/ati-drivers/ati-drivers-8.8.25.ebuild: line 6:
.eclass: No such file or directoryne 1439: /usr/portage/eclass/
!!! ERROR: media-video/ati-drivers-8.8.25 failed.
!!! Function inherit, Line 1440, Exitcode 1
.eclass in inherit()sr/portage/eclass/
!!! If you need support, post the topmost build error, NOT this status message.
aux_get(): (0) Error in media-video/ati-drivers-8.8.25 ebuild. (1)
Check for syntax error or corruption in the ebuild. (--debug)
: command not foundvideo/ati-drivers/ati-drivers-8.8.25.ebuild: line 4:
: command not foundvideo/ati-drivers/ati-drivers-8.8.25.ebuild: line 5:
|
|
|
Back to top |
|
|
steve_d555 Guru
Joined: 07 Nov 2004 Posts: 458 Location: Belmont, Massachusetts
|
Posted: Tue Jan 18, 2005 2:56 am Post subject: |
|
|
Wow, thats wierd, I have no idea sorry.
--Steve |
|
Back to top |
|
|
Yuber Tux's lil' helper
Joined: 08 Jan 2003 Posts: 139
|
Posted: Tue Jan 18, 2005 3:34 am Post subject: |
|
|
I'm at a loss and the new drivers STILL aren't in portage. I'd like to get this done before bed, if anyone is willing to help. |
|
Back to top |
|
|
steve_d555 Guru
Joined: 07 Nov 2004 Posts: 458 Location: Belmont, Massachusetts
|
Posted: Tue Jan 18, 2005 3:47 am Post subject: |
|
|
Try telling me what you did from the beginning, That might help a bit.
--Steve |
|
Back to top |
|
|
|