Re: Amd64 + proprietary driver
Question: If I run a 64 bit kernel with a 32-bit userspace, how does
that work with something like nvidia's graphics drivers, which have a
(source-based) kernel module component and (binary) userland
libraries? Can I use the 32-bit kernel module with the 64-bit
kernel? Or do I have to build the kernel module as 64-bit, then
install the 32-bit libraries?
The nvidia driver simply won't work in a mixed 32/64bit environment as
it has no 32/64bit ioctl translation layer. You can use the 64bit
driver to play 64bit games, or the 32bit driver (with a 32bit kernel)
to play 32bit games, but not mix them.
Actually, I've just gotten it working. I have a pure64 install, with
ia32-libs. I also have a 32-bit chroot. I installed the 5332 (64-bit)
driver, then put the libraries from the 32-bit 5336 driver into the
chroot's /usr/lib and added that to ld.so.conf. Finally, I set the
environment variable __GL_FORCE_DIRECT to 0 (found on the nvnews.com
forums). Then, voila! 32-bit OpenGL-using binaries run and have
hardware acceleration, although there's a slight performance hit. So
far, I've tested GLXGears, Tuxracer, and Neverwinter Nights. More to
follow.
Reply to: