From nobody Sat Dec 16 16:07:24 2023 X-Original-To: freebsd-virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SsrZv4mzlz546hV for ; Sat, 16 Dec 2023 16:07:35 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SsrZv4Dygz4v4d for ; Sat, 16 Dec 2023 16:07:35 +0000 (UTC) (envelope-from eduardo@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1702742855; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=EKJvWpE5oShOdxWqmVMbbyjt5JgrPgPHEJRx0AZDh5c=; b=ijwxb2FTPYjbiCDj/W+NHiy0J2bXbunBHez/nKQbi7WssDo9YxVUcC6kcLR4d050YTqMaL eiv1QetYelGPyBkAAotflo6qfdyDsJ1VMB6J6/HW56sJxxDtckwnGX98EZaYJdCF3u9e0F M5WXYWYpwCvxn7PYA60mQYKpzvHFmLU1KXe0NnRi9MKisAJPF2zb17ZqecD6ag1yGAXXpd JNDmG0+k6o/rthtwsDKWxxxRKVkeqVGRn9MyXfdzotzSIN5ETEth5lvOl5+FVaAWwNFJVZ B9oIIWT+twpN+fLd4gMei5hfukCryxU1r3ith/Rp/MZkWJyk8rrBPVWyhTVI/g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1702742855; a=rsa-sha256; cv=none; b=eqEw5wz3DFALmp1eOY5NQSwwqgJMJYyXUZIYwB3VbH4fYkI28oZsy7vCwCAtkTn5dGAZDp 6Z5FKFQqznJ9KazkkNfE/E9tP/oOfZzq2vzJ/DRrGRLGmKaaUWhzd6d6vTE75jw5mZOvM4 6P8wW6bciBNpGJie5mklVo5mZq1SBHTiSgW80GZo3et1WnUWt/c5+CWo/qj6mu3dLnG/bl dib8nlp58giizSaxuC0QXId0F1kdRNUvodoZCiDGpRtWOrGr1+urfLmo2ZfHAevkKHpDzS Pn3nUw+V8sKIxTG5HBaSaWpckqBaCqfyoXmVCKKL07cE2OFAFGqtGjlGDiDUyA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1702742855; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=EKJvWpE5oShOdxWqmVMbbyjt5JgrPgPHEJRx0AZDh5c=; b=fBQ1kH42OMmHFwXbcj0A+5XBJWVxmzQSnGm+UR7EiPBYqOG5uFId++CBNyDTySyNvJc00Z soOF3n7XHik8sJGOELUCTCNrHNAUMth8RiLOT+TsEktKopYz5zo+5NsYcrAymeetJEM8rP 65Npxza3oujs6cPbrgotznDGAVxBEgfgarsYUt9kTOxUz3cF7Yhlfr/ajgoVP+5qkObVd/ IxbWfzr2AWJ6UaCiPwhAK4dJKRu2Hu3t81gsLV/mJFctzJOPXWWkAIO2GKofGhrNhyRfLo SWKehZ7CS7+DmeaYyyWMrFMVpYbgMwmYSU9hfbFWdbH3VSOz1RvQeDHFguJ77Q== Received: from mail-qt1-f180.google.com (mail-qt1-f180.google.com [209.85.160.180]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) (Authenticated sender: eduardo) by smtp.freebsd.org (Postfix) with ESMTPSA id 4SsrZv38yGzn4m for ; Sat, 16 Dec 2023 16:07:35 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: by mail-qt1-f180.google.com with SMTP id d75a77b69052e-425959f36b0so16622411cf.3 for ; Sat, 16 Dec 2023 08:07:35 -0800 (PST) X-Gm-Message-State: AOJu0Yy5gseZTw1hp7jeUfYCOsO19P7MTpXaPxx9Z3/K3DdPSJ8s/aHx xa4YFVdNM7hfmEiocsxRV1NdlkafIL7cpUvCPPc= X-Google-Smtp-Source: AGHT+IFh9fcBHfygYUXZER8qwIBiNCUS2YgrPoF+sQyLhoDBETotbbq36OY3IyxTohyV6EBgDL8/rdyOnMIRmAUQAUw= X-Received: by 2002:ac8:5881:0:b0:425:4043:41b8 with SMTP id t1-20020ac85881000000b00425404341b8mr19215952qta.100.1702742855099; Sat, 16 Dec 2023 08:07:35 -0800 (PST) List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 From: Nuno Teixeira Date: Sat, 16 Dec 2023 16:07:24 +0000 X-Gmail-Original-Message-ID: Message-ID: Subject: bhyve nvidia gtx-1650 mobile passthru on win11 To: FreeBSD virtualization Content-Type: multipart/alternative; boundary="00000000000005a851060ca2b79f" --00000000000005a851060ca2b79f Content-Type: text/plain; charset="UTF-8" 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) --00000000000005a851060ca2b79f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello all,

Specs:
<= div>- laptop with integrated intel + dedicated nvidia
- 15-CU= RRENT 3b1904d9eb04 amd64
- win11 with nvme and tpm
=
I'm sharing my results with nvidia passthru:
#= ##
/boot/loader.conf.local:
vmm_load=3D"Y= ES"
pptdevs=3D"1/0/0 1/0/1"

ppt0@pci0:1:0:0: =C2=A0 =C2=A0 =C2=A0 =C2=A0class=3D0x030000 rev= =3D0xa1 hdr=3D0x00 vendor=3D0x10de device=3D0x1f99 subvendor=3D0x17aa subde= vice=3D0x3fa5
=C2=A0 =C2=A0 vendor =C2=A0 =C2=A0 =3D 'NVIDIA Corpora= tion'
=C2=A0 =C2=A0 device =C2=A0 =C2=A0 =3D 'TU117M [GeForce GT= X 1650 Mobile / Max-Q]'
=C2=A0 =C2=A0 class =C2=A0 =C2=A0 =C2=A0=3D = display
=C2=A0 =C2=A0 subclass =C2=A0 =3D VGA
ppt1@pci0:1:0:1: =C2=A0= =C2=A0 =C2=A0 =C2=A0class=3D0x040300 rev=3D0xa1 hdr=3D0x00 vendor=3D0x10de= device=3D0x10fa subvendor=3D0x17aa subdevice=3D0x3ffb
=C2=A0 =C2=A0 ven= dor =C2=A0 =C2=A0 =3D 'NVIDIA Corporation'
=C2=A0 =C2=A0 class = =C2=A0 =C2=A0 =C2=A0=3D multimedia
=C2=A0 =C2=A0 subclass =C2=A0 =3D HDA=

bhyve:
-s 6:0,passthru,1/0/0 -s 6:1= ,passthru,1/0/1
###

- Installed nvidia d= rivers without problems
- graphic card is detected but is deactiv= ated with a triangle and a "!":
=C2=A0 "Windows st= opped this device... code 43"
- hda is detected and show= s no problem

I've read that some nvidia ca= rds 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 (po= rts)
--00000000000005a851060ca2b79f--