View Single Post
Old 12-26-03, 07:29 PM   #1
eswan
Registered User
 
Join Date: Dec 2003
Posts: 23
Default 32bit programs w/AMD64

How do I run 32bit GL programs that link against libGL with the 4499 AMD64 drivers? As far as I am aware, 32bit programs require 32bit libs, which on most AMD64 distributions is handled by having both 64 and 32 bit versions of the libraries in seperate directories (ie. /lib, /lib64, /usr/X11/lib, /usr/X11/lib64, etc.) It doesn't look like the 4499 driver set includes 32bit versions. Tried setting up the 4496 32bit libs (libGL.so.1.0.4496 and libGLcore.so.1.0.4496) in the /usr/lib directory, but I'm getting a 'NV: could not get NV card info (Invalid argument)' error.

# ldd `which glxgears32`
libGL.so.1 => /usr/lib/libGL.so.1 (0x55561000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x555ca000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x555d8000)
libpthread.so.0 => /lib/libpthread.so.0 (0x556d4000)
libm.so.6 => /lib/libm.so.6 (0x55727000)
libc.so.6 => /lib/libc.so.6 (0x5574a000)
libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0x55881000)
libdl.so.2 => /lib/libdl.so.2 (0x55d59000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

# ldd `which glxgears`
libGL.so.1 => /usr/lib64/libGL.so.1 (0x0000002a9566d000)
libXext.so.6 => /usr/X11R6/lib64/libXext.so.6 (0x0000002a957f2000)
libX11.so.6 => /usr/X11R6/lib64/libX11.so.6 (0x0000002a95904000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x0000002a95ae6000)
libm.so.6 => /lib64/libm.so.6 (0x0000002a95c7a000)
libc.so.6 => /lib64/libc.so.6 (0x0000002a95dd4000)
libGLcore.so.1 => /usr/lib64/libGLcore.so.1 (0x0000002a96016000)
libdl.so.2 => /lib64/libdl.so.2 (0x0000002a96586000)
/lib64/ld-linux-x86-64.so.2 => /lib64/ld-linux-x86-64.so.2 (0x0000002a95556000)

# glxgears32
NV: could not get NV card info (Invalid argument)
Error: glXCreateContext failed

# dmesg
........
ioctl32(glxgears32:23326): Unknown cmd fd(6) cmd(c14046c8){01} arg(555c9980) on /dev/nvidiactl

It's likely to take a while before 64bit versions of closed source software becomes available, (the postal2mp linux demo for example ), and wine needs to be compiled 32bit at the moment.
eswan is offline   Reply With Quote