From nobody Sat Dec 16 16:34:20 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 4SssB22G3Dz547wb for ; Sat, 16 Dec 2023 16:34:34 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: from mail-ej1-x635.google.com (mail-ej1-x635.google.com [IPv6:2a00:1450:4864:20::635]) (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)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SssB20cXxz3G62; Sat, 16 Dec 2023 16:34:34 +0000 (UTC) (envelope-from marietto2008@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-ej1-x635.google.com with SMTP id a640c23a62f3a-a2335d81693so23236066b.0; Sat, 16 Dec 2023 08:34:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702744472; x=1703349272; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=z4BFEEONoWkpzn90SXGptkQjSwiLux1sREVrYXIEOic=; b=INADS64BVs8U3zRMsSDIKRSJ7QNvtifXdbUnXcUaA8hZj2vc3gP4F2Z9wkteLLam9j SgnTYeiuRLZ7KVX2VgsTvsrVtxQ2qnJIfblVlN8DspODg/Xx7WkQ/KKLxyPvQzIF0/6o hHyzUGbORZ4xnQz8/ncZ/vvugLuUqwdJo0b6kEQ9OULTGnDWPNZWLdqw+lRkmxvPis9z 4J7Lm1E7+JjMMbhjx+tpSp8Qrh7Hp4LqmClvYEpU5/wTwvIBfezixSfDL1CcKJuCx4UM 1smVmgULHRtKKL1+7Lgwp0mrnRKtl0vEhkCQATm3jfBzWuvXeUpoqGPT3rnsywgQxrrM Ggkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702744472; x=1703349272; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=z4BFEEONoWkpzn90SXGptkQjSwiLux1sREVrYXIEOic=; b=SFn/7QbEhU6p17LCXVkQLZrTiOatmFTqEEuhs92E114xLYTwllV503OsZnFnpA2pNA 7bc/eWxIgCj9yEBGc7c3qDK2Bj9BkiSMZcCyATjqkmXxkpOwg1iNUGt19NjyFNOUYAWf zqMC2j/l1s6WPfzFpNcJzYSKn5oRDu+2sthRQDETeMFd/3h1n6GWnazY10iI/Kf+f5L3 2s4gKU5oBgOkQEv9XRLBqJo5Lp3NlB4ce7SHfF7HVqkToSIhTrgg+GbiytpAtrdH14KA cw+A8Yf9JSZ/ElzivAUpeXJ2qtpc2au9BRj4XPJg3X9L7iplSFRC4+N/Z1Agdz6hx+n3 6zwg== X-Gm-Message-State: AOJu0YyL6DLQunV6mBIhKjOJIKjWWteGnoX0UvFt3i1gFHca7X2Rcay2 5bKAyyJ1kpnh1yOOKKSAYpSsobIgKkYfSDP+PZDzODYKJuM= X-Google-Smtp-Source: AGHT+IEmPfuTX5KSyabbs3HAblLUsV/WlyGPoeV53HkKhwneiZORTzUpAzXY9A+OQP4uVs++TVNKnpELPItVMvxLMi8= X-Received: by 2002:a17:906:3e92:b0:a1d:1be7:59f with SMTP id a18-20020a1709063e9200b00a1d1be7059fmr12025105ejj.74.1702744472020; Sat, 16 Dec 2023 08:34:32 -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 References: In-Reply-To: From: Mario Marietto Date: Sat, 16 Dec 2023 17:34:20 +0100 Message-ID: Subject: Re: bhyve nvidia gtx-1650 mobile passthru on win11 To: Nuno Teixeira Cc: FreeBSD virtualization Content-Type: multipart/alternative; boundary="00000000000065ecd2060ca317dd" X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] X-Spamd-Bar: ---- X-Rspamd-Queue-Id: 4SssB20cXxz3G62 --00000000000065ecd2060ca317dd Content-Type: text/plain; charset="UTF-8" Are you trying to pass the nvidia gpu to windows vm ? or your intel gpu ? Il sab 16 dic 2023, 17:07 Nuno Teixeira 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) > --00000000000065ecd2060ca317dd Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
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 wit= h nvme and tpm

I'm sharing my results with= nvidia passthru:
###
/boot/loader.conf.local:=
vmm_load=3D"YES"
pptdevs=3D"1/0/0 1/0/1"<= br>

ppt0@pci0:1:0:0: =C2=A0 =C2=A0 =C2= =A0 =C2=A0class=3D0x030000 rev=3D0xa1 hdr=3D0x00 vendor=3D0x10de device=3D0= x1f99 subvendor=3D0x17aa subdevice=3D0x3fa5
=C2=A0 =C2=A0 vendor =C2=A0 = =C2=A0 =3D 'NVIDIA Corporation'
=C2=A0 =C2=A0 device =C2=A0 =C2= =A0 =3D 'TU117M [GeForce GTX 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=3D= 0xa1 hdr=3D0x00 vendor=3D0x10de device=3D0x10fa subvendor=3D0x17aa subdevic= e=3D0x3ffb
=C2=A0 =C2=A0 vendor =C2=A0 =C2=A0 =3D 'NVIDIA Corporatio= n'
=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
###

<= /div>
- Installed nvidia drivers without problems
- graphic c= ard is detected but is deactivated with a triangle and a "!":
=C2=A0 "Windows stopped this device... code 43"
<= div>- hda is detected and shows no problem

I&#= 39;ve read that some nvidia cards are working...
Any tips are wel= come.

Not sure if it is possible to use intel = integrated as it is already in use by OS.

Than= ks,

--
Nuno Teixe= ira
FreeBSD Committer (ports)
--00000000000065ecd2060ca317dd--