Nvidia on amd64
felix
dark_paw at optusnet.com.au
Sat Oct 2 01:04:15 UTC 2004
On Fri, 2004-10-01 at 19:43 +0200, Tor-björn Claesson wrote:
> --- Felix Sheldon <dark_paw at optusnet.com.au> skrev:
> > Tor-björn Claesson wrote:
> >
> > >Hello,
> > >
> > >the nvidia-glx package is missing on amd64 and the official nvidia-installer is incompatible
> > with
> > >the way debian arranges its' libraries (it expects /usr/lib to contain 32-bit libraries).
> > >
> > >Has anyone gotten 3d-acceleration to work on amd64 with nvidia?
> > >
> > >Mvh
> > >Tor-björn
> > >
> > >
> > >
> > Hi,
> >
> > Yeah, here's a script to unpack the archive and rearrange things. 64bit
> > glx seems to work great, but 32bit games are a bit messed up. I don't
> > know if that's normal for these drivers or not, I only only have Ubuntu
> > running in 64 bit mode.
> >
> > Felix
> > > #!/bin/sh
> >
> > archive=NVIDIA-Linux-x86_64-1.0-6111-pkg2
> > ver=1.0.6111
> >
> > ./$archive.run -x
> >
> > dest=usr/lib/tls
> > cp $archive/$dest/libnvidia-tls.so.$ver /$dest/
> > rm /$dest/libnvidia-tls.so.1
> > ln -s /$dest/libnvidia-tls.so.$ver /$dest/libnvidia-tls.so.1
> >
> > dest=/usr/X11R6/lib/modules/extensions
> > cp $archive/$dest/libglx.so.$ver /$dest/
> > rm /$dest/libglx.so
> > ln -s /$dest/libglx.so.$ver /$dest/libglx.so
> >
> > for dest in usr/lib usr/lib32;
> > do
> > cp $archive/$dest/libGLcore.so.$ver /$dest/
> > rm /$dest/libGLcore.so.1
> > ln -s /$dest/libGLcore.so.$ver /$dest/libGLcore.so.1
> >
> > cp $archive/$dest/libGL.la /$dest/
> >
> > cp $archive/$dest/libGL.so.$ver /$dest/
> > rm /$dest/libGL.so.1
> > rm /$dest/libGL.so
> > ln -s /$dest/libGL.so.$ver /$dest/libGL.so.1
> > ln -s /$dest/libGL.so.$ver /$dest/libGL.so
> >
> > cp $archive/$dest/libGL.la /usr/lib/
> >
> > cp $archive/$dest/libnvidia-tls.so.$ver /$dest/
> > rm /$dest/libnvidia-tls.so.1
> > ln -s /$dest/libnvidia-tls.so.$ver /$dest/libnvidia-tls.so.1
> >
> > done
> >
> > rm -rf NVIDIA-Linux-x86_64-1.0-6111-pkg2
> >
> > ldconfig
> >
> >
> > > --
> > ubuntu-users mailing list
> > ubuntu-users at lists.ubuntu.com
> > http://lists.ubuntu.com/mailman/listinfo/ubuntu-users
> >
>
> Many thanks, you are my hero! That did it. Now all ubuntu-packaged games I have tried work.
> However, ut2004 exits with the following message:
>
> Xlib: extension "XFree86-DRI" missing on display ":0.0".
> WARNING: ALC_EXT_capture is subject to change!
> Either GL_EXT_bgra or glDrawRangeElements not supported- bailing out.
>
> History:
>
> Exiting due to error
>
> Obviously DRI should be missing, and there has not been any problems on gentoo amd64 with this
> game.
>
> Any ideas about this?
>
Glad to help =) I don't get that with the ut2004 demo though.
I think DRI missing is a problem, it's not that it shouldn't exist, just
that the nvidia driver wants to handle it rather than X.
I have a fairly old card, (GF4MX400), so I doubt it's something the
hardware can't do. Maybe if you did an apt-get upgrade afterwards, the
mesa libraries overwrote something?
This is my modules section from XF86Config-4:
Section "Module"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "glx"
Load "extmod"
Load "freetype"
Load "int10"
Load "record"
Load "speedo"
Load "type1"
Load "v4l"
Load "vbe"
Load "xtt"
EndSection
Does anything show up in in /var/log/XFree86.0.log?
Felix
More information about the ubuntu-users
mailing list