| View previous topic :: View next topic |
| Author |
Message |
nvt n00b

Joined: 02 Sep 2003 Posts: 10 Location: Finland
|
Posted: Thu Sep 04, 2003 7:54 pm Post subject: |
|
|
Well, I have solved my Radeon 9200 - nForce2 problem.
I have remerged gs-source and removed/installed ati-drivers.
When I started X the screen went black again, however the system was alive.
I have connected to it via ssh and found that X is alive and up with xterms and all the stuff...
I have LCD connected to DVI and the video signal was directed to VGA port only!
The rest is to play with fglrxconfig, I hope
Wedge_, thanks a lot for your help! |
|
| Back to top |
|
 |
Wedge_ Advocate


Joined: 08 Aug 2002 Posts: 3614 Location: Scotland
|
Posted: Thu Sep 04, 2003 8:01 pm Post subject: |
|
|
| nvt wrote: | Well, I have solved my Radeon 9200 - nForce2 problem.
I have remerged gs-source and removed/installed ati-drivers.
When I started X the screen went black again, however the system was alive.
I have connected to it via ssh and found that X is alive and up with xterms and all the stuff...
I have LCD connected to DVI and the video signal was directed to VGA port only! |
Well that would explain the black screen Good to hear it's working. _________________ 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 |
|
 |
lagglad n00b

Joined: 17 Jul 2003 Posts: 5
|
Posted: Thu Sep 04, 2003 10:51 pm Post subject: 3.2.5 posted on ati site |
|
|
Hey guys
ATI just posted 3.2.5 on their site for download
just goto the firegl linux driver download to get hte new drivers
there are many bugfixes but no general speed improvement
However, they have compiling support for 2.6 series kernels and is autodetected at compile time
thanks
lagg |
|
| Back to top |
|
 |
NuclearFusi0n Apprentice

Joined: 20 Jun 2003 Posts: 297
|
Posted: Thu Sep 04, 2003 10:54 pm Post subject: |
|
|
ebuild for 3.2.5? _________________ I will keel yoo grub |
|
| Back to top |
|
 |
Wedge_ Advocate


Joined: 08 Aug 2002 Posts: 3614 Location: Scotland
|
Posted: Thu Sep 04, 2003 10:55 pm Post subject: |
|
|
So I see. About time they made an official release. _________________ 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 |
|
 |
Wedge_ Advocate


Joined: 08 Aug 2002 Posts: 3614 Location: Scotland
|
Posted: Thu Sep 04, 2003 11:05 pm Post subject: |
|
|
Copying the 3.2.4 ebuild should work, but comment out the line "patch -p1 < ${FILESDIR}/fglrx-2.6-fix-deprecated.patch", IIRC it's not needed anymore. _________________ 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 |
|
 |
xlyz Veteran


Joined: 27 Oct 2002 Posts: 1470 Location: Italy
|
Posted: Thu Sep 04, 2003 11:14 pm Post subject: |
|
|
they support tvout
but only for 9700/9800 cards  |
|
| Back to top |
|
 |
syscrash Guru


Joined: 14 Apr 2003 Posts: 541
|
Posted: Fri Sep 05, 2003 12:42 am Post subject: |
|
|
Hacked up ebuild for 3.2.5, works for me, YMMV. Put in /usr/local/portage/media-video/ati-drivers/ati-drivers-3.2.5.ebuild. Install rpm2targz, and download the official rpm from here:
http://www2.ati.com/drivers/firegl/fglrx-glc22-4.3.0-3.2.5.i586.rpm
use rpm2targz to convert it into a tar.gz, and put the tar in /usr/portage/distfiles/. If you have any problems, feel free to ask me. Here's the ebuild:
| Code: | # Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /home/cvsroot/gentoo-x86/media-video/ati-drivers/ati-drivers-3.2.4.ebuild,v 1.1 2003/08/12 00:04:53 lu_zero Exp $
IUSE="qt kde gnome"
DESCRIPTION="Ati precompiled drivers for r350, r300, r250 and r200 chipsets"
HOMEPAGE="http://www.ati.com"
SRC_URI="mirror://gentoo/fglrx-glc22-4.3.0-${PV}.i586.tar.gz"
SLOT="${KV}"
LICENSE="ATI GPL-2 QPL-1.0"
KEYWORDS="-* ~x86"
DEPEND=">=virtual/linux-sources-2.4
>=x11-base/xfree-4.3.0
qt? ( >=x11-libs/qt-3.0 )"
RDEPEND="qt? ( >=x11-libs/qt-3.0 )"
ATIBIN="${D}/opt/ati/bin"
RESTRICT="nostrip"
src_unpack() {
cd ${WORKDIR}
tar zxf ${DISTDIR}/fglrx-glc22-4.3.0-${PV}.i586.tar.gz || die
mkdir ${WORKDIR}/fglrxgears
cd ${WORKDIR}/fglrxgears
tar zxf ${WORKDIR}/usr/src/fglrx_sample_source.tgz || die
mv xc/programs/fgl_glxgears/* .
cp Makefile.Linux Makefile.Linux.orig || die
#defining USE_GLU allows this to compile with NVIDIA headers just fine
sed -e "s:-I/usr/X11R6/include:-D USE_GLU -I/usr/X11R6/include:" Makefile.Linux.orig > Makefile.Linux || die
cd ${WORKDIR}
local OLDBIN="/usr/X11R6/bin"
local ATIBIN="${D}/opt/ati/bin"
mkdir fglrx_panel
cd fglrx_panel
tar zxf ${WORKDIR}/usr/src/fglrx_panel_sources.tgz || die
sed -e "s:"${OLDBIN}":"${ATIBIN}":"\
Makefile >Makefile.new
mv Makefile.new Makefile
}
pkg_setup(){
check_KV || die "please ensure /usr/src/linux points to your kernel symlink"
}
src_compile() {
einfo "building the glx module"
cd ${WORKDIR}/lib/modules/fglrx/build_mod
if [ "`echo ${KV}|grep 2.6`" ] ; then
einfo "creating Makefile for kernel 2.6"
patch -p1 < ${FILESDIR}/fglrx-2.6-makefile.patch
einfo "applying fglrx-2.6-fix-deprecated.patch"
patch -p1 < ${FILESDIR}/fglrx-2.6-fix-deprecated.patch
einfo "applying fglrx-2.6-amd-adv-spec-fix.patch"
patch -p1 < ${FILESDIR}/fglrx-2.6-amd-adv-spec-fix.patch
GENTOO_ARCH=${ARCH} unset ARCH
addwrite "/usr/src/${FK}"
make -C /usr/src/linux SUBDIRS="`pwd`" modules || \
ewarn "glx module not built"
ARCH=${GENTOO_ARCH}
else
cd ${WORKDIR}/lib/modules/fglrx/build_mod
#that is the dirty way to avoid the id -u check
sed -e 's:`id -u`:0:' make.sh >make.sh.new
sed -e 's:`uname -r`:${KV}:' make.sh.new >make.sh
chmod +x make.sh
./make.sh || ewarn "glx module not built"
fi
#that is the dirty way to avoid the id -u check
#sed -e 's:`id -u`:0:' make.sh >make.sh.new
#sed -e 's:`uname -r`:${KV}:' make.sh.new >make.sh
#chmod +x make.sh
#./make.sh || ewarn "glx module not built"
einfo "building the fgl_glxgears sample"
cd ${WORKDIR}/fglrxgears
make -f Makefile.Linux || ewarn "fgl_glxgears sample not build"
if [ "`use qt`" ]
then
einfo "building the qt fglx panel"
cd ${WORKDIR}/fglrx_panel
emake || die
fi
#removing stuff
einfo "cleaning"
cd ${WORKDIR}
rm -fR usr/share
cd usr/X11R6/
rm -fR bin/firegl*.bz2 bin/LICENSE.* bin/fgl_glxgears src
}
pkg_preinst() {
# clean the dinamic libGL stuff's home to ensure
# we dont 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 [ "`echo ${KV}|grep 2.6`" ] ; then
doins lib/modules/fglrx/build_mod/fglrx.ko
else
doins lib/modules/fglrx/build_mod/fglrx.o
fi
#dri driver
exeinto ${ATI_ROOT}/lib
doexe 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
#that is the same as in the xfree
dosym ../../xfree/lib/libGL.la ${ATI_ROOT}/lib/libGL.la
#same as in xfree
exeinto ${ATI_ROOT}/
dosym ../xfree/include ${ATI_ROOT}/include
dosym ../xfree/extensions ${ATI_ROOT}/extensions
rm usr/X11R6/lib/libGL.so.1.2
#apps
insinto /etc/env.d
doins ${FILESDIR}/09ati
exeinto /opt/ati/bin
doexe fglrxgears/fgl_glxgears
doexe usr/X11R6/bin/*
rm usr/X11R6/bin/*
if [ "`use qt`" ]
then
doexe fglrx_panel/fireglcontrol
fi
rm -f usr/src/*
cp -R usr ${D}
}
pkg_postinst() {
#Ebuild shouldn't do this automatically, just tell the user to do it: (drobbins, 1 May 2003)
#otherwise it messes up livecd/gamecd stuff
#if [ "${ROOT}" = "/" ]
#then
# /usr/sbin/opengl-update ati
#fi
einfo "To switch to ATI OpenGL, run \"opengl-update ati\""
einfo "To chance your XF86Config you can use the bundled \"fglrxconfig\""
#drm-module
update-modules
}
|
|
|
| Back to top |
|
 |
Wedge_ Advocate


Joined: 08 Aug 2002 Posts: 3614 Location: Scotland
|
Posted: Fri Sep 05, 2003 10:41 am Post subject: |
|
|
I think you can remove the following lines: | Code: | einfo "applying fglrx-2.6-fix-deprecated.patch"
patch -p1 < ${FILESDIR}/fglrx-2.6-fix-deprecated.patch |
If you look at the source, they've fixed all the warnings that the patch was supposed to, and it'll fail if you try to apply it now. _________________ 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 |
|
 |
Kihaji Apprentice

Joined: 12 Sep 2002 Posts: 230
|
Posted: Fri Sep 05, 2003 1:00 pm Post subject: |
|
|
Also QT should be an optional dependency, the control panel doesn't require QT.
From the Install notes at ATI:
"Notes:
- The panel application is based upon the QT Toolkit for Linux
from Trolltech. Since not all Linux platforms may have the respective
libs installed, we provide the panel application in two versions:
- statically linked and
- dynamically linked
By default the dynamically linked version is used.
If you do not have the appropriate version of the QT libraries available
in your system then the installer will redirect to the statically linked
version of the panel application which is also available with this name:
/usr/X11R6/bin/fireglcontrol.static
This binary comes with the matching QT libs inside. This version of the
application has a significantly bigger file size and memory footprint." |
|
| Back to top |
|
 |
Wedge_ Advocate


Joined: 08 Aug 2002 Posts: 3614 Location: Scotland
|
Posted: Fri Sep 05, 2003 1:24 pm Post subject: |
|
|
Try this one, it should install the statically linked panel as /opt/ati/bin/fireglcontrol.static if you don't have qt in your USE flags. I've tried it both ways and it seems to work. _________________ 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 |
|
 |
xlyz Veteran


Joined: 27 Oct 2002 Posts: 1470 Location: Italy
|
|
| Back to top |
|
 |
bushwakko Guru


Joined: 25 Mar 2003 Posts: 495
|
Posted: Fri Sep 05, 2003 10:08 pm Post subject: :( |
|
|
my driver won't compile under 2.6.0-test4-mm6. :( also I want Tvout on my radeon mobility 9000!!! _________________ Macbook Pro 15"
Core 2 Duo 2,33ghz
2gb Ram
ATI Mobility x1600 256mb |
|
| Back to top |
|
 |
Wedge_ Advocate


Joined: 08 Aug 2002 Posts: 3614 Location: Scotland
|
Posted: Fri Sep 05, 2003 10:35 pm Post subject: |
|
|
-mm6 seems to have problems. When I tried it, ALT-F2 in a console did nothing, the drivers failed to build as you said, and I couldn't open any virtual terms (and no, I didn't forget pty support ). Check the 2.6.0-test4 thread for more information. I'm staying with -mm5 for now. _________________ 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 |
|
 |
bushwakko Guru


Joined: 25 Mar 2003 Posts: 495
|
Posted: Sat Sep 06, 2003 7:57 am Post subject: hm |
|
|
yup, got the same problems. I'm using mm5 too. however, back to topic; does anyone know where to whine about mobility tv-out support and if/when it is planned?
another question is, how is these firgl drivers (which are getting quite ok) going to relate to the development of the new catalysts for linux? are they going to make completly new drivers, which will suck for about a year?
Also, is the catalysts going to support all radeon chipsets including mobility or is ati still going to follow the support-only-cards-made-by-us policy (which is stupid!) ? _________________ Macbook Pro 15"
Core 2 Duo 2,33ghz
2gb Ram
ATI Mobility x1600 256mb |
|
| Back to top |
|
 |
Strowi l33t


Joined: 19 Aug 2003 Posts: 656 Location: Bonn
|
Posted: Sat Sep 06, 2003 9:10 pm Post subject: |
|
|
hi,
i already tried different distributions and now i´m giving gentoo a try. I had problems with my ATI Radeon 9500 with every distribution.
Actually ´'m too tired now to read the whole 39 pages, could someone please be so kind to point out what i have to do to get my Card completely working?
| Code: |
MTRR and agp in kernel compiled without DRM/DRI
USE-Flag "radeon"
emerge xfree-drm
uncomment in /etc/X11/XF86Config:
Load "glx"
Load "dri"
Section "Device" => Driver "radeon"
|
ist that it? or is there something wrong/missing?[/quote] |
|
| Back to top |
|
 |
Wedge_ Advocate


Joined: 08 Aug 2002 Posts: 3614 Location: Scotland
|
Posted: Sat Sep 06, 2003 9:50 pm Post subject: |
|
|
I don't think the DRM drivers support 3D acceleration on that card so you probably want to use the ati-drivers package instead. In which case you should try reading this nice thread If you have any problems, post them here. _________________ 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 |
|
 |
nin_freak_ Tux's lil' helper

Joined: 03 Aug 2003 Posts: 110
|
Posted: Sun Sep 07, 2003 1:09 am Post subject: |
|
|
| i still can't get my 8500 working at all, has anyone use that card specificly? i've done eveything according to the thread, and another one i started, and finnaly got it to load the module, got past the black screen, fixed the pixel problem, but my framerates are the same as without the drivers, all my logs say everything is ok, and everything seems the same as the config files posted here, does anyone have any more ideas? |
|
| Back to top |
|
 |
nin_freak_ Tux's lil' helper

Joined: 03 Aug 2003 Posts: 110
|
Posted: Sun Sep 07, 2003 3:18 am Post subject: |
|
|
| Strowi wrote: | hi,
i already tried different distributions and now i´m giving gentoo a try. I had problems with my ATI Radeon 9500 with every distribution.
Actually ´'m too tired now to read the whole 39 pages, could someone please be so kind to point out what i have to do to get my Card completely working?
| Code: |
MTRR and agp in kernel compiled without DRM/DRI
USE-Flag "radeon"
emerge xfree-drm
uncomment in /etc/X11/XF86Config:
Load "glx"
Load "dri"
Section "Device" => Driver "radeon"
|
ist that it? or is there something wrong/missing? | [/quote]
you might need to uncomment the lines at the mottom so that dri is set to mode 0666 |
|
| Back to top |
|
 |
fca Guru

Joined: 22 Feb 2003 Posts: 346 Location: Netherlands
|
Posted: Sun Sep 07, 2003 11:24 am Post subject: |
|
|
| Strowi wrote: | hi,
i already tried different distributions and now i´m giving gentoo a try. I had problems with my ATI Radeon 9500 with every distribution.
Actually ´'m too tired now to read the whole 39 pages, could someone please be so kind to point out what i have to do to get my Card completely working?
| Code: |
MTRR and agp in kernel compiled without DRM/DRI
USE-Flag "radeon"
emerge xfree-drm
uncomment in /etc/X11/XF86Config:
Load "glx"
Load "dri"
Section "Device" => Driver "radeon"
|
ist that it? or is there something wrong/missing? |
Or you could do:
MTRR and AGP in kernel, compiled without DRM/DRI
emerge ati-drivers
run fgrlxconfig
And of course, before you take any action, look at the Documentation thread.
This uses the binary drivers, which enable 3D acceleration, but are not open-source. |
|
| Back to top |
|
 |
gentooalex Tux's lil' helper

Joined: 02 May 2003 Posts: 123 Location: Charlottesville, Virginia
|
Posted: Sun Sep 07, 2003 2:24 pm Post subject: |
|
|
If ATI has people working on their linux drivers, why does the 3d acceleration for the 9700 series suck so much? When will speed stop sucking and be as good or better than the windows drivers. Does anyone know what the release timeframe is for these linux drivers? Why are they working on bugfixes when the speed is the main problem? Im running 9500 pro with 3.2.5
I sent an inquiry to ATI:
| Quote: |
The Linux community and I would first like to thank you for starting to support Linux. We were all very dissapointed, however, that the latest driver release(3.2.5)only included bugfixes and no noticable 3D acceleration speed increase compared to 3.2.4. Because we are so eager to get new drivers with better speed, we would like ATI to post a timeframe of Linux driver releases. Thank you for your support. | [/quote] |
|
| Back to top |
|
 |
Merlin-TC l33t


Joined: 16 May 2003 Posts: 603 Location: Germany
|
Posted: Sun Sep 07, 2003 2:47 pm Post subject: |
|
|
I read in an interview that ATI would like to support linux and it's drivers more in the future. I hope this was not only marketing talk though...I guess we will just have to wait and see.
@Wedge: Thank your for helping out all the gentoo people in getting ATI drivers to work.
I wished some companies would release patches in the same speed then you do  |
|
| Back to top |
|
 |
quidquam n00b


Joined: 07 Sep 2003 Posts: 31
|
Posted: Sun Sep 07, 2003 4:38 pm Post subject: Unresolved symbols from module fglrx_drv.o wtih ATI dualhead |
|
|
ati-drivers 3.2.5
Linux 2.4.20-gentoo-r6
ATI 9500 Pro
EPoX 8k9a2 kt400
IBM 252f LCD (1:0:0)
Hitachi cm772 CRT (1:0:1)
I've read this thread and all the others I can find, but I'm still having trouble getting anything to work. I've configured my kernel per the general consensus (RTC, no DRI, etc.) and gotten agpgart up and running, but it still complains in a way that makes me think it's not working with my kt400 board. Here are the relevant bits of dmesg:
| Code: |
agpgart: Maximum main memory to use for agp memory: 439M
agpgart: Detected Via Apollo Pro KT400 chipset
agpgart: unable to determine aperture size.
...
[fglrx] Maximum main memory to use for locked dma buffers: 430 MBytes.
[fglrx] module loaded - fglrx 3.2.5 [Aug 6 2003] on minor 0
|
My first goal is to get dual-head working: I'm using the following XF86Config-4, pieced together from various ones I've found. When I fire up startx, everything goes fine, until I hit this:
| Code: |
(WW) fglrx(0): ***********************************
(WW) fglrx(0): * DRI initialization disabled! *
(WW) fglrx(0): * 2D acceleraton available (MMIO) *
(WW) fglrx(0): * no 3D acceleration available *
(WW) fglrx(0): ***********************************
(II) fglrx(0): FBADPhys: 0xd8000000 FBMappedSize: 0x08000000
(II) fglrx(0): ----------------------------------
(II) fglrx(0): | panel native mode is 1280x1024 |
(II) fglrx(0): ----------------------------------
Symbol firegl_AGPAcquire from module /usr/X11R6/lib/modules/drivers/fglrx_drv.o is unresolved!
Symbol firegl_QueryHwCaps from module /usr/X11R6/lib/modules/drivers/fglrx_drv.o is unresolved!
Symbol firegl_AllocCache from module /usr/X11R6/lib/modules/drivers/fglrx_drv.o is unresolved!
Symbol firegl_AllocCache from module /usr/X11R6/lib/modules/drivers/fglrx_drv.o is unresolved!
*** If unresolved symbols were reported above, they might not
*** be the reason for the server aborting.
Fatal server error:
Caught signal 4. Server aborting
|
I have disabled DRI in my XF86Config-4, so that warning doesn't worry me. I don't understand why I'm getting unresolved symbols though. Any one have a clue? Or better yet, anyone have this working and want to post their setup info (kernel opts, kernel config options, driver versions, config files, etc.)? It'd be appreciated bigtime by me and anyone else who is searching for help in these forums![/code] |
|
| Back to top |
|
 |
Merlin-TC l33t


Joined: 16 May 2003 Posts: 603 Location: Germany
|
Posted: Sun Sep 07, 2003 4:55 pm Post subject: |
|
|
| I suggest you create your XFree config with the fglrxconfig utility shipped with the ATI drivers. |
|
| Back to top |
|
 |
quidquam n00b


Joined: 07 Sep 2003 Posts: 31
|
Posted: Sun Sep 07, 2003 6:07 pm Post subject: |
|
|
| Merlin-TC wrote: | | I suggest you create your XFree config with the fglrxconfig utility shipped with the ATI drivers. |
Well, I did -- I have just been swapping out bits and pieces and restarting and testing.
Right now I think the problem is that the agpgart module isn't loading. I reconfigured my kernel so that it was compiled as a module (not built-in) so I could see better what it was doing on load. When I load it manually, it fails. I think this, combined with the messages I was getting about not being able to determine the AGP Aperature size show that my chipset is having problems with the agpgart module.
My BIOS shows that I am set to AGP 8x mode, but it's locked and I can't seem to change it. Hmm... *clickcliclick...*
EDIT: Doh. not looking good: http://www.ussg.iu.edu/hypermail/linux/kernel/0306.1/0729.html says that there is no solution to get it working unless I have a nforce2 or want to physically alter my hardware (I don't). However, this is a bit old (June). Does anyone know if the status of this problem has changed?[/url] |
|
| Back to top |
|
 |
|