Nvidia on amd64

Tor-björn Claesson den_elaka_vargen at yahoo.com
Fri Oct 1 17:43:13 UTC 2004


 --- 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?

Mvh
Tor-björn




More information about the ubuntu-users mailing list