Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jan 2017 19:37:01 +0000
From:      "K. Macy" <kmacy@freebsd.org>
To:        Dom <misc-freebsd@talk2dom.com>, soralx@cydem.org
Cc:        freebsd-virtualization@freebsd.org
Subject:   Re: Issues with GTX960 on CentOS7 using bhyve PCI passthru (FreeBSD 11-RC2)
Message-ID:  <CAHM0Q_ORGbwqK2D0ThV_kZaud4%2BRaR1E=ZvVx1yWFbgH0B55Ng@mail.gmail.com>
In-Reply-To: <75abdb83-8902-1c6e-e881-5af24e5bba05@talk2dom.com>
References:  <20170110003332.7cf8ba15@mscad14> <0de7e0fe-5680-b1be-bd57-6bf446c2fd38@talk2dom.com> <0c927784-3e3f-7946-fba9-c25001f4156c@talk2dom.com> <20170110180117.7f246b5a@mscad14> <75abdb83-8902-1c6e-e881-5af24e5bba05@talk2dom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Is the VM checking documented in the driver notes somewhere? I have a Titan
X that I need to run CUDA on and would be much happier if I didn't have to
actually switch back and forth between FreeBSD and Ubuntu on my desktop.
Are we new fairly certain that this won't work? (Yet another reason to go
with AMD if they ever deliver on ROCm)


On Wed, Jan 11, 2017 at 05:53 Dom <misc-freebsd@talk2dom.com> wrote:

> On 11/01/2017 02:01, soralx@cydem.org wrote:
>
> > Dom wote:
>
> >> There doesn't seem to be support for CPUID 0x40000001 in bhyve either.
>
> > What is it supposed to do?
>
>
>
> As far as I can tell it's the Hypervisor extension flags list. The lack
>
> of these extensions/optimisations might explain why your FreeBSD VM runs
>
> slow but their presence also causes the nVidia driver to refuse to run.
>
> (Can't remember where I read this, sorry)
>
>
>
> With your change to PCI_EMUL_MEMBASE64 I can boot a CentOS VM without
>
> the "pci=nocrs" kernel option and nVidia card is assigned BARs without
>
> issue.
>
>
>
> However, even with reapplying the changes to vmm.ko to hide/remove the
>
> 0x40000000 CPUID support and CPUID2_HV, I still have the same
>
> "RmInitAdapter failed" issue.
>
>
>
> Allegedly[0] nVidia VM checking came in with driver version 337.88, with
>
> more checking after version 344.11. I couldn't install version 319 as it
>
> failed to build the Linux kernel module. I currently have 370.28
>
> installed which supports both my GT610 and my GTX960.
>
>
>
> Maybe the next thing for me to try is to replicate your tests with a
>
> FreeBSD VM.
>
>
>
> [0] https://ubuntuforums.org/showthread.php?t=2266916     search for
>
> "337.88"
>
> _______________________________________________
>
> freebsd-virtualization@freebsd.org mailing list
>
> https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
>
> To unsubscribe, send any mail to "
> freebsd-virtualization-unsubscribe@freebsd.org"
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHM0Q_ORGbwqK2D0ThV_kZaud4%2BRaR1E=ZvVx1yWFbgH0B55Ng>