View Single Post
Old 12-26-03, 06:29 PM   #1
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 ( and in the /usr/lib directory, but I'm getting a 'NV: could not get NV card info (Invalid argument)' error.

# ldd `which glxgears32` => /usr/lib/ (0x55561000) => /usr/X11R6/lib/ (0x555ca000) => /usr/X11R6/lib/ (0x555d8000) => /lib/ (0x556d4000) => /lib/ (0x55727000) => /lib/ (0x5574a000) => /usr/lib/ (0x55881000) => /lib/ (0x55d59000)
/lib/ => /lib/ (0x40000000)

# ldd `which glxgears` => /usr/lib64/ (0x0000002a9566d000) => /usr/X11R6/lib64/ (0x0000002a957f2000) => /usr/X11R6/lib64/ (0x0000002a95904000) => /lib64/ (0x0000002a95ae6000) => /lib64/ (0x0000002a95c7a000) => /lib64/ (0x0000002a95dd4000) => /usr/lib64/ (0x0000002a96016000) => /lib64/ (0x0000002a96586000)
/lib64/ => /lib64/ (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