Nvidia and 64bit Linux

Jan Beich jbeich at FreeBSD.org
Mon Oct 15 15:26:08 UTC 2018


Hannes Hauswedell <h2+lists2014 at fsfe.org> writes:

> Hi everyone,
>
> currently the Binary nvidia driver installs some shared objects into the
> linux-compat if the respective flag is set. But this covers only 32bit
> shared objects. Both -c6 and -c7 are now mixed 64bit/32bit on 64bit
> hosts by default and more and more linux opengl binaries only come as
> 64bit nowadays.
> So how can I get those to run on my FreeBSD box? Is this only an issue
> of missing libraries or is it an architectural problem of the nvidia
> driver that it only does 32bit-Linux on FreeBSD?

Looking at 410.57 code it still registers only 32bit linux ioctls.
Try to extract 64-bit libs from 64-bit driver *of the same version*
for Linux under /compat/linux then apply the patch in

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206711
(it was filed after freebsd-gfx-bugs at nvidia.com proved to be a blackhole)

Caveat: I'm not using NVIDIA GPUs anymore, so the above workaround may
        no longer work.


More information about the freebsd-emulation mailing list