Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ATI amd64 drivers in december...
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 11, 12, 13 ... 20, 21, 22  Next  
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
vyzivus
Apprentice
Apprentice


Joined: 05 Jul 2004
Posts: 173
Location: Slovakia

PostPosted: Tue Jan 18, 2005 12:19 pm    Post subject: Reply with quote

instead of
Code:
SRC_URI="amd64? (http://www2.ati.com/drivers/linux/fglrx64_6_8_0-8.8.25-1.x86_64.rpm)
         x86? (http://www2.ati.com/drivers/linux/fglrx_6_8_0-8.8.25-1.i386.rpm)"

put
Code:
SRC_URI="amd64? (http://www2.ati.com/drivers/linux/fglrx64_6_8_0-8.8.25-1.x86_64.rpm)"

in the ebuild file.

The ebuild is already in the portage? Try it please and check if X starts with fglrx.

EDIT: don't try that portage ebuild, it is for x86 only.
_________________
I thought what I'd do was, I'd pretend I was one of those deaf-mutes or should I?
Back to top
View user's profile Send private message
babo
Guru
Guru


Joined: 10 Aug 2004
Posts: 477
Location: Ljubljana

PostPosted: Tue Jan 18, 2005 12:44 pm    Post subject: Reply with quote

This was the only thing I have in SRC_URI line.

Code:
SRC_URI="http://www2.ati.com/drivers/linux/fglrx64_6_8_0-8.8.25-1.x86_64.rpm"

Am I using the wrong ebuild?
Back to top
View user's profile Send private message
vyzivus
Apprentice
Apprentice


Joined: 05 Jul 2004
Posts: 173
Location: Slovakia

PostPosted: Tue Jan 18, 2005 12:48 pm    Post subject: Reply with quote

I used ebuild from https://forums.gentoo.org/viewtopic.php?t=250647&start=225 modified as mentioned above.
So, I try to sum up all hints from above, how to install this beast. Please correct if appropriate.
1) ensure that you have tmpfs mounted
2) use ebuild from https://forums.gentoo.org/viewtopic.php?t=250647&start=225 but remove the x86 thing (somebody in page 11 already described how to put it in portage overlay etc)
3) configure xorg [what happens if I use ATI built-in agpgart driver? Do I have to disable/enable something in kernel?]
4) modprobe fglrx
5) opengl-update ati
6) restart X to see that they cannot load fglrx module :-) my guess is that /usr/X11R6/lib/fglrx_dev.o link should be corrected, but how? (I'm writing all this without access to my amd64 computer, so the paths may be wrong)
_________________
I thought what I'd do was, I'd pretend I was one of those deaf-mutes or should I?
Back to top
View user's profile Send private message
babo
Guru
Guru


Joined: 10 Aug 2004
Posts: 477
Location: Ljubljana

PostPosted: Tue Jan 18, 2005 12:59 pm    Post subject: Reply with quote

Tried it, I get the same thing.
This is how the first lines look like. The problem seems to be somewhere else, but I havent found where.



Code:
root@rasta babo # emerge --digest ati-drivers8
Calculating dependencies  /usr/lib/portage/bin/ebuild.sh: line 4: 2005/01/08: No such file or directory
 ...done!
>>> Generating digest file...
<<< fglrx64_6_8_0-8.8.25-1.x86_64.rpm
>>> Generating manifest file...
<<< ati-drivers-8.8.25.ebuild
<<< files/fglrx-2.6-makefile.patch
<<< files/fglrx-3.9.0-allocation.patch
<<< files/fglrx-2.6-vmalloc-vmaddr.patch
<<< files/digest-ati-drivers-8.8.25
<<< files/8.08-kernel-2.6.10.patch
<<< files/fglrx-3.9.0-regparm.patch
<<< files/fglrx-2.6-iminor.patch
<<< files/fglrx-2.6.10-pci_get_class.patch
<<< files/fglrx-3.7.0-fix-fglrx_panel-includes.patch
<<< files/3.2.5-linux-2.6.0-test6-mm.patch
<<< files/fglrx-2.6-get-page.patch
<<< files/fglrx-2.6-fix-deprecated.patch
<<< files/fglrx-3.2.8-fix-amd-adv-spec.patch
<<< files/fglrx-2.6-amd-adv-spec-fix.patch
>>> Computed message digests.

>>> emerge (1 of 1) media-video/ati-drivers-8.8.25 to /
/usr/lib/portage/bin/ebuild.sh: line 4: 2005/01/08: No such file or directory
>>> md5 src_uri ;-) fglrx64_6_8_0-8.8.25-1.x86_64.rpm
/usr/lib/portage/bin/ebuild.sh: line 4: 2005/01/08: No such file or directory
 * X11 implementation is xorg-x11.
This ebuild is not supported at all by Gentoo.
/usr/lib/portage/bin/ebuild.sh: line 4: 2005/01/08: No such file or directory
>>> Unpacking source...
>>> Unpacking fglrx64_6_8_0-8.8.25-1.x86_64.rpm
 * Applying 8.08-kernel-2.6.10.patch ...                                                             [ ok ]
 * Applying fglrx-2.6.10-pci_get_class.patch ...                                                     [ ok ]
>>> Source unpacked.
/usr/lib/portage/bin/ebuild.sh: line 4: 2005/01/08: No such file or directory
 * Building the DRM module...
/usr/lib/portage/bin/ebuild.sh: line 67: [: too many arguments
make: Entering directory `/usr/src/linux-2.6.9-gentoo-r14'
  CC [M]  /var/tmp/portage/ati-drivers-8.8.25/work/lib/modules/fglrx/build_mod/agp3.o
  CC [M]  /var/tmp/portage/ati-drivers-8.8.25/work/lib/modules/fglrx/build_mod/nvidia-agp.o
Back to top
View user's profile Send private message
WarnK
n00b
n00b


Joined: 13 Sep 2004
Posts: 34

PostPosted: Tue Jan 18, 2005 1:22 pm    Post subject: Reply with quote

I followed the instructions someone posted on page 11, using the ebuild on page 10 and with the change to it on page 12 (phew!). But when I try to emerge ati-drivers, I get:

Code:

Calculating dependencies  ...done!
>>> emerge (1 of 1) media-video/ati-drivers-8.8.25 to /
>>> md5 src_uri ;-) fglrx64_6_8_0-8.8.25-1.x86_64.rpm
 * X11 implementation is xorg-x11.
This ebuild is not supported at all by Gentoo.
>>> Unpacking source...
>>> Unpacking fglrx64_6_8_0-8.8.25-1.x86_64.rpm

 * Cannot find $EPATCH_SOURCE!  Value for $EPATCH_SOURCE is:
 *
 *   /usr/local/portage/media-video/ati-drivers/files/8.08-kernel-2.6.10.patch
 *   ( 8.08-kernel-2.6.10.patch )


And that doesn't work so well. Any ideas?
Back to top
View user's profile Send private message
dangertools
Apprentice
Apprentice


Joined: 29 Dec 2003
Posts: 278
Location: Saalfelden, Austria

PostPosted: Tue Jan 18, 2005 1:25 pm    Post subject: Reply with quote

so you didn't follow the instructions on the various pages exactly. it is not

Code:
emerge ati-drivers


you have to use

Code:
emerge --digest ati-drivers
Back to top
View user's profile Send private message
wmartino
Tux's lil' helper
Tux's lil' helper


Joined: 30 Mar 2004
Posts: 140

PostPosted: Tue Jan 18, 2005 1:27 pm    Post subject: Reply with quote

WarnK wrote:
I followed the instructions someone posted on page 11, using the ebuild on page 10 and with the change to it on page 12 (phew!). But when I try to emerge ati-drivers, I get:

Code:

Calculating dependencies  ...done!
>>> emerge (1 of 1) media-video/ati-drivers-8.8.25 to /
>>> md5 src_uri ;-) fglrx64_6_8_0-8.8.25-1.x86_64.rpm
 * X11 implementation is xorg-x11.
This ebuild is not supported at all by Gentoo.
>>> Unpacking source...
>>> Unpacking fglrx64_6_8_0-8.8.25-1.x86_64.rpm

 * Cannot find $EPATCH_SOURCE!  Value for $EPATCH_SOURCE is:
 *
 *   /usr/local/portage/media-video/ati-drivers/files/8.08-kernel-2.6.10.patch
 *   ( 8.08-kernel-2.6.10.patch )


And that doesn't work so well. Any ideas?


You have to cp the 8.08-kernel-2.6.10.patch from /usr/portage/media-video/ati-drivers/files and put it in the /usr/local/portage/media-video/ati-drivers/files directory.

You will also have to do the same with fglrx-2.6.10-pci_get_class.patch.
_________________
Intell C2D Q6600 @ 3.0Ghz -- ASUS P5W DH
Zalman 9700 LED -- 8g OCZ Gold Memory -- GECUBE 1950xtx
250g Gentoo64 -- 200g Windows Vista Ultimate -- 200g Mac OSX
250g Windows XP PRO -- Liteon DVD, Pioneer DVR-111D DVD-D/L-RW


Last edited by wmartino on Tue Jan 18, 2005 1:30 pm; edited 1 time in total
Back to top
View user's profile Send private message
babo
Guru
Guru


Joined: 10 Aug 2004
Posts: 477
Location: Ljubljana

PostPosted: Tue Jan 18, 2005 1:27 pm    Post subject: Reply with quote

did you copy the patches from /usr/portage/media-video/ati-drivers/files to /usr/local/portage/media-video/ati-drivers/files
Back to top
View user's profile Send private message
Brain Fury
Guru
Guru


Joined: 10 Jul 2003
Posts: 357
Location: Düsseldorf (Germany)

PostPosted: Tue Jan 18, 2005 1:27 pm    Post subject: Reply with quote

I figured out why my screen turned black. It seemed that it was glx's fault. when I disable the Load "glx" line in xprg.conf Xorg starts up with the new driver. Now I want to fix the glx-problem, as described on page 9:

> cd /usr/lib/opengl/ati/lib/ ---- worked
> mv libGL.so.1.2 _libGL.so.1.2 ---- worked
> cp /usr/X11R6/lib64/libGL.so.1.2 . ---- does not work: file not found
->
Code:
ls /usr/X11R6/lib64/libGL*
/usr/X11R6/lib64/libGL.so     /usr/X11R6/lib64/libGLU.so.1.3
/usr/X11R6/lib64/libGL.so.1   /usr/X11R6/lib64/libGLw.a
/usr/X11R6/lib64/libGLU.a     /usr/X11R6/lib64/libGLw.so
/usr/X11R6/lib64/libGLU.so    /usr/X11R6/lib64/libGLw.so.1
/usr/X11R6/lib64/libGLU.so.1  /usr/X11R6/lib64/libGLw.so.1.0


which one should I take, or am I missing some files?
_________________
shift HAPPENS
Back to top
View user's profile Send private message
beda
n00b
n00b


Joined: 09 Jan 2005
Posts: 10

PostPosted: Tue Jan 18, 2005 2:30 pm    Post subject: Reply with quote

Quote:

It started up fine for me - but it looks really weird... All the windows decs disappeared and if I drag windows around, it leaves a shadow trail thing everywhere. The taskbar also disappeared. (I use xfce4, if that's of any importance).


I had the same problem on GNOME without xcompmgr, but after restart the problem disapear. What version of xorg do you have, and could you please send me your version of xorg.conf to ik (dog) intellij.com.

Thanks,

IK
Back to top
View user's profile Send private message
Ypsilon
Tux's lil' helper
Tux's lil' helper


Joined: 19 Jul 2002
Posts: 92
Location: Germany

PostPosted: Tue Jan 18, 2005 2:56 pm    Post subject: Hmm. Reply with quote

What exactly am I doing wrong when modprobe says "FATAL: Module fglrx not found." ?

I have emerged ati-drivers, changed the ebuild to download the 64-bit version.
Opengl-ati has run fine and I added "driver 'fglrx'" to my XF86Config.

But I cannot modprobe fglrx. It's nothing there in /lib/my_kernel/video.

And when I do startx now, my screen turns black but KDE starts, very funny. I just can't see it and my monitor turns to standby mode...
_________________
gentoo ownz.
Back to top
View user's profile Send private message
layyze
n00b
n00b


Joined: 18 Jun 2003
Posts: 47
Location: raw-lee

PostPosted: Tue Jan 18, 2005 3:23 pm    Post subject: Reply with quote

Quote:
I figured out why my screen turned black. It seemed that it was glx's fault. when I disable the Load "glx" line in xprg.conf Xorg starts up with the new driver. Now I want to fix the glx-problem, as described on page 9:

> cd /usr/lib/opengl/ati/lib/ ---- worked
> mv libGL.so.1.2 _libGL.so.1.2 ---- worked
> cp /usr/X11R6/lib64/libGL.so.1.2 . ---- does not work: file not found


It should be noted that /usr/X11R6/lib is a symlink to /usr/X11R6/lib64. So if you deleted, rename, or move stuff in one then the same happens in the other. Thus, you get your missing libGL.
Back to top
View user's profile Send private message
xordan
Tux's lil' helper
Tux's lil' helper


Joined: 30 Aug 2004
Posts: 148

PostPosted: Tue Jan 18, 2005 3:36 pm    Post subject: Reply with quote

ok, I've got everything installed and I've got my xorg.conf done, but I still cannot get the drivers to load.

Code:
No matching visual for __GLcontextMode with visual class = 3 (32772), nplanes = 8
No matching visual for __GLcontextMode with visual class = 3 (32772), nplanes = 8


That's the error I get :/ Not sure what it means ^^


Last edited by xordan on Tue Jan 18, 2005 4:30 pm; edited 2 times in total
Back to top
View user's profile Send private message
MorLipf
Apprentice
Apprentice


Joined: 09 Nov 2004
Posts: 226
Location: Solingen, Germany

PostPosted: Tue Jan 18, 2005 3:50 pm    Post subject: Reply with quote

Brain Fury wrote:
I figured out why my screen turned black. It seemed that it was glx's fault. when I disable the Load "glx" line in xprg.conf Xorg starts up with the new driver. Now I want to fix the glx-problem, as described on page 9:

> cd /usr/lib/opengl/ati/lib/ ---- worked
> mv libGL.so.1.2 _libGL.so.1.2 ---- worked
> cp /usr/X11R6/lib64/libGL.so.1.2 . ---- does not work: file not found
->
Code:
ls /usr/X11R6/lib64/libGL*
/usr/X11R6/lib64/libGL.so     /usr/X11R6/lib64/libGLU.so.1.3
/usr/X11R6/lib64/libGL.so.1   /usr/X11R6/lib64/libGLw.a
/usr/X11R6/lib64/libGLU.a     /usr/X11R6/lib64/libGLw.so
/usr/X11R6/lib64/libGLU.so    /usr/X11R6/lib64/libGLw.so.1
/usr/X11R6/lib64/libGLU.so.1  /usr/X11R6/lib64/libGLw.so.1.0


which one should I take, or am I missing some files?


I have the same problem, need help!
Back to top
View user's profile Send private message
Brain Fury
Guru
Guru


Joined: 10 Jul 2003
Posts: 357
Location: Düsseldorf (Germany)

PostPosted: Tue Jan 18, 2005 3:53 pm    Post subject: Reply with quote

layyze wrote:
It should be noted that /usr/X11R6/lib is a symlink to /usr/X11R6/lib64. So if you deleted, rename, or move stuff in one then the same happens in the other. Thus, you get your missing libGL.


not quite.
/usr/X11R6/lib64 is a link to /usr/lib64 (I didn't change anything to get this) and in /usr/X11R6/lib there is no sign of any libGL.so* present. Only libGLw.so.*
_________________
shift HAPPENS
Back to top
View user's profile Send private message
dapsaille
Advocate
Advocate


Joined: 02 Aug 2004
Posts: 2366
Location: Paris

PostPosted: Tue Jan 18, 2005 4:27 pm    Post subject: Reply with quote

Damned we are debugging the ATI driver ... who is the leader ...
it's a shame

erff ATI i say goodbye to you
Back to top
View user's profile Send private message
Trevoke
Advocate
Advocate


Joined: 04 Sep 2004
Posts: 4099
Location: NY, NY

PostPosted: Tue Jan 18, 2005 5:02 pm    Post subject: Reply with quote

Those ATI drivers are working properly for x86; I just think they were on too much coffee and not enough sleep..

In truth, we are debugging the ebuild.
Has anyone tried without the ebuild?
_________________
Votre moment detente
What is the nature of conflict?
Back to top
View user's profile Send private message
stubbornmule
n00b
n00b


Joined: 24 Sep 2004
Posts: 48

PostPosted: Tue Jan 18, 2005 5:26 pm    Post subject: Reply with quote

Quote:
> cd /usr/lib/opengl/ati/lib/ ---- worked
> mv libGL.so.1.2 _libGL.so.1.2 ---- worked
> cp /usr/X11R6/lib64/libGL.so.1.2 . ---- does not work: file not found


You may not have to do this copy. The /usr/X11R6/lib64/libGL.so.1.2 didn't exist on my computer, so I didn't do this step. Using the ebuild from page 10, is this maybe already taken care of?

For the Black screen of death, my problem was that fglrx could not auto-detect my cards. I would have 2 entries; one was for the card, and the second was for an 'unknown ATI device'.

Reran fglrxconfig, configured for use with TV-out, and selected (p) CRT and (s) TV-Out instead of (p) autodetect and (s) autodetect; restarted X, and voila!
Back to top
View user's profile Send private message
dangertools
Apprentice
Apprentice


Joined: 29 Dec 2003
Posts: 278
Location: Saalfelden, Austria

PostPosted: Tue Jan 18, 2005 5:28 pm    Post subject: Reply with quote

the ebuild on page 10 has some mistakes, mine works so far

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-3.14.6.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="amd64? (http://www2.ati.com/drivers/linux/fglrx64_6_8_0-8.8.25-1.x86_64.rpm)"
#         x86? (http://www2.ati.com/drivers/linux/fglrx_6_8_0-8.8.25-1.i386.rpm)"
SLOT="${KV}"
LICENSE="ATI"
KEYWORDS="-* ~amd64"

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}."
        echo "This ebuild is not supported at all by Gentoo."
}

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} == 2 && ${KV_MINOR} >= 5 && ${KV_PATCH} >= 5]
                then
                        make -C /usr/src/linux ="`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"
        local LIBSUFFIX=""
        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
        if use amd64
      then
                LIBSUFFIX="64"
        fi

        # OpenGL libs
        exeinto ${ATI_ROOT}/lib
        doexe ${WORKDIR}/usr/X11R6/lib${LIBSUFFIX}/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${LIBSUFFIX}/modules/drivers/fglrx_drv.o

        exeinto /usr/X11R6/lib/modules/dri
        doexe ${WORKDIR}/usr/X11R6/lib${LIBSUFFIX}/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

        if use amd64
      then
                dodir /usr/X11R6/lib64/modules/drivers
                dodir /usr/X11R6/lib64/modules/dri
                dosym /usr/X11R6/lib/modules/drivers/fglrx_drv.o /usr/X11R6/lib64/modules/drivers/fglrx_drv.o
                dosym /usr/X11R6/lib/modules/dri/fglrx_dri.so /usr/X11R6/lib64/modules/dri/fglrx_dri.so
        fi

        # 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
}



there were two semicolons where they shouldn't be, i did not get symlinks on the right places so if someone has same problems as i that xorg complains about not finding the module use mine.
Back to top
View user's profile Send private message
Brain Fury
Guru
Guru


Joined: 10 Jul 2003
Posts: 357
Location: Düsseldorf (Germany)

PostPosted: Tue Jan 18, 2005 5:43 pm    Post subject: Reply with quote

Okay... now Xorg starts up with glx enabled, but
Code:
$ /opt/ati/bin/fglrxinfo
display: :0.0  screen: 0
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.2.1)
I didn't change the libGL.so.1.2

and except from the one in /usr/lib/opengl/ati/lib I only got libGL.so.1.2 files in:
Quote:
/usr/lib/opengl/xorg-x11/lib64/libGL.so.1.2
/emul/linux/x86/usr/lib/opengl/xorg-x11/lib/libGL.so.1.2

_________________
shift HAPPENS
Back to top
View user's profile Send private message
babo
Guru
Guru


Joined: 10 Aug 2004
Posts: 477
Location: Ljubljana

PostPosted: Tue Jan 18, 2005 5:45 pm    Post subject: Reply with quote

Tryed your ebuild, but I still can not start X couse driver fglrx is not found.
Back to top
View user's profile Send private message
Trevoke
Advocate
Advocate


Joined: 04 Sep 2004
Posts: 4099
Location: NY, NY

PostPosted: Tue Jan 18, 2005 5:54 pm    Post subject: Reply with quote

stubbornmule wrote:

For the Black screen of death, my problem was that fglrx could not auto-detect my cards. I would have 2 entries; one was for the card, and the second was for an 'unknown ATI device'.

Reran fglrxconfig, configured for use with TV-out, and selected (p) CRT and (s) TV-Out instead of (p) autodetect and (s) autodetect; restarted X, and voila!


I need to check that out. My lspci also gives me two entries.
_________________
Votre moment detente
What is the nature of conflict?
Back to top
View user's profile Send private message
dangertools
Apprentice
Apprentice


Joined: 29 Dec 2003
Posts: 278
Location: Saalfelden, Austria

PostPosted: Tue Jan 18, 2005 6:18 pm    Post subject: Reply with quote

babo: maybe you should first unmerge the old one and then emerge with my ebuild. then do ldconfig and opengl-update ati, should work so far
Back to top
View user's profile Send private message
babo
Guru
Guru


Joined: 10 Aug 2004
Posts: 477
Location: Ljubljana

PostPosted: Tue Jan 18, 2005 6:28 pm    Post subject: Reply with quote

Yes, I did unmerge the old drivers first, than tryed with your update. I know I'm probably a pain in the anus with repeating the same questions all over.
I can not seem to get the module where it should be.
From where does the sistem read the driver?
Back to top
View user's profile Send private message
beda
n00b
n00b


Joined: 09 Jan 2005
Posts: 10

PostPosted: Tue Jan 18, 2005 6:38 pm    Post subject: Reply with quote

It seems that in case you compile radeon driver and/or dri radeon (I used to comple both) inside kernel new ati drivers refuse to work with dri extension.

IK
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 All times are GMT
Goto page Previous  1, 2, 3 ... 11, 12, 13 ... 20, 21, 22  Next
Page 12 of 22

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum