Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Oct 2018 17:26:03 +0200
From:      Jan Beich <jbeich@FreeBSD.org>
To:        Hannes Hauswedell <h2+lists2014@fsfe.org>
Cc:        x11-list freebsd <freebsd-x11@freebsd.org>, x11-list freebsd <freebsd-emulation@freebsd.org>
Subject:   Re: Nvidia and 64bit Linux
Message-ID:  <lg6z-xmd0-wny@FreeBSD.org>
In-Reply-To: <aee05d02-c5f8-c553-3d5b-66cdfce1b243@hauswedell.net> (Hannes Hauswedell's message of "Mon, 15 Oct 2018 15:27:10 %2B0200")
References:  <aee05d02-c5f8-c553-3d5b-66cdfce1b243@hauswedell.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hannes Hauswedell <h2+lists2014@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@nvidia.com proved to be a blackhole)

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?lg6z-xmd0-wny>