Re: bhyve nvidia gtx-1650 mobile passthru on win11

From: Stephan Althaus <Stephan.Althaus_at_Duedinghausen.eu>
Date: Sun, 17 Dec 2023 10:54:45 UTC
On 12/17/23 11:51, Mario Marietto wrote:
> AMD gpu works great with bhyve and they are recognized by a Windows vm.
>
> On Sun, Dec 17, 2023 at 11:43 AM Stephan Althaus 
> <Stephan.Althaus@duedinghausen.eu> wrote:
>
>     On 12/16/23 18:49, Mario Marietto wrote:
>>     for sure you can use nVidia gpu on the host and the intel one on
>>     the windows 11 vm.
>>
>>     Il sab 16 dic 2023, 18:11 Nuno Teixeira <eduardo@freebsd.org> ha
>>     scritto:
>>
>>         It seems that nvidia passtrhu isn't working (yet).
>>
>>         Related to intel integrated graphics, I don't know if I can
>>         use it for ppt since it is in use by freebsd.
>>         Other thing, if I boot with BIOS on nvidia dedicated then
>>         intel doesn't show up in pciconf...
>>
>>         Mario Marietto <marietto2008@gmail.com> escreveu no dia
>>         sábado, 16/12/2023 à(s) 16:34:
>>
>>             Are you trying to pass the nvidia gpu to windows vm ? or
>>             your intel gpu ?
>>
>>             Il sab 16 dic 2023, 17:07 Nuno Teixeira
>>             <eduardo@freebsd.org> ha scritto:
>>
>>                 Hello all,
>>
>>                 Specs:
>>                 - laptop with integrated intel + dedicated nvidia
>>                 - 15-CURRENT 3b1904d9eb04 amd64
>>                 - win11 with nvme and tpm
>>
>>                 I'm sharing my results with nvidia passthru:
>>                 ###
>>                 /boot/loader.conf.local:
>>                 vmm_load="YES"
>>                 pptdevs="1/0/0 1/0/1"
>>
>>                 ppt0@pci0:1:0:0:  class=0x030000 rev=0xa1 hdr=0x00
>>                 vendor=0x10de device=0x1f99 subvendor=0x17aa
>>                 subdevice=0x3fa5
>>                     vendor     = 'NVIDIA Corporation'
>>                     device     = 'TU117M [GeForce GTX 1650 Mobile /
>>                 Max-Q]'
>>                     class      = display
>>                     subclass   = VGA
>>                 ppt1@pci0:1:0:1:        class=0x040300 rev=0xa1
>>                 hdr=0x00 vendor=0x10de device=0x10fa subvendor=0x17aa
>>                 subdevice=0x3ffb
>>                     vendor     = 'NVIDIA Corporation'
>>                     class      = multimedia
>>                     subclass   = HDA
>>
>>                 bhyve:
>>                 -s 6:0,passthru,1/0/0 -s 6:1,passthru,1/0/1
>>                 ###
>>
>>                 - Installed nvidia drivers without problems
>>                 - graphic card is detected but is deactivated with a
>>                 triangle and a "!":
>>                   "Windows stopped this device... code 43"
>>                 - hda is detected and shows no problem
>>
>>                 I've read that some nvidia cards are working...
>>                 Any tips are welcome.
>>
>>                 Not sure if it is possible to use intel integrated as
>>                 it is already in use by OS.
>>
>>                 Thanks,
>>
>>                 -- 
>>                 Nuno Teixeira
>>                 FreeBSD Committer (ports)
>>
>>
>>
>>         -- 
>>         Nuno Teixeira
>>         FreeBSD Committer (ports)
>>
>     Hello!
>
>     i had just the same, here on illumos.
>     i didn't get it to work, but i had a similar problem with an AMD
>     card :-/
>
>     i think i will try it again in Jan/2024, and then with a fresh
>     install of windows...
>
>     Do you use UEFI boot on both host and vm?
>
>     Regards,
>     Stephan
>
>
>
>
> -- 
> Mario.

Ok i will give it a try again :-)

Thanks for confirmation!

...for the fault on my side :-)