From owner-freebsd-emulation@freebsd.org Mon Oct 15 15:26:08 2018 Return-Path: Delivered-To: freebsd-emulation@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BEC8810DE606; Mon, 15 Oct 2018 15:26:08 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 753DF7862F; Mon, 15 Oct 2018 15:26:08 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1354) id 6C3EB7870; Mon, 15 Oct 2018 15:26:08 +0000 (UTC) From: Jan Beich To: Hannes Hauswedell Cc: x11-list freebsd , x11-list freebsd Subject: Re: Nvidia and 64bit Linux References: Date: Mon, 15 Oct 2018 17:26:03 +0200 In-Reply-To: (Hannes Hauswedell's message of "Mon, 15 Oct 2018 15:27:10 +0200") Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Oct 2018 15:26:08 -0000 Hannes Hauswedell 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.