From nobody Sat Dec 16 17:11:32 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 4Sst0w1vhjz54B3k for ; Sat, 16 Dec 2023 17:11:44 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 4Sst0w0572z3LbR for ; Sat, 16 Dec 2023 17:11:44 +0000 (UTC) (envelope-from eduardo@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1702746704; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=0NjnA+HCDfqND9DNAdGwXzXyKc18bdPaPqwxywRbmgQ=; b=ejHVq4QX88OiVbxSWdKS79n3tDZQSrnx9jQsjhlZpNmtQYBubsKugSGhrfVsuaZEHRZzGo 0Y3ScKaoXwQYJ2MWm3oYpNvStWDGIgdEejvmXjMAc1/ZEvExTv7Ee11RADllUb1n/Yqhlv Y2pa72fW6Csb5CDD4zLxdO4eFSbAPfTrQPy+JQBGnvdIH/BlCIgoMw4IzkJHYDyaJi/OEI op/o5CkcOsJJGy48UI+evSE5ZKlX+lKWszv1oT6YBK0fe9i4AjXiRjFoeXIbUbdopDlLYK JFC4wnKYIx0W3WVBG3/m538z8JW255tAVv9Vqic7Y1Suz09p40qYk9ckBcXk8w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1702746704; a=rsa-sha256; cv=none; b=KY3B5GLQLNdx3hyeOayge7NtQg5Bx1J3rjsWopYgNSwx1rKZPQ+98rCFSUQD7jdhwghAyn fyE4sYcf08WhUcFJOMLqrK/GQDZXH88JnrJGrGyzOOC4pmJFza1Uc3R+KIb6To4b4QxfXm MyUUJFJikfEUo12f9nF0BFZ84ymydX3jT5gQxZUXc84iIAs77Nw+XVVSumAixWdm3EVOlM A4hdB3onVsxh4gUTU7K3c9X8dad7z6jN4T7f036tma5XmmtX+Q/iMdtAB3qSBDphg9Ll53 xvc/FfNqn0ZJw3TOTpMxs3WU4/hCkUglj9MpLeAIqruKXcTTEBPWOW14wsV2Tg== 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=1702746704; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=0NjnA+HCDfqND9DNAdGwXzXyKc18bdPaPqwxywRbmgQ=; b=vcsmWPeANowEgsePCpXMzyZ0205BjYFYybkwuPUk80ceGyqOncZubh2Axr40LhJbWClpew AU+lJqoZD3Zx1vJSJ81Hbmk5iYNxNe3nrw/d1h4U8qkRuTTTQ3Ajd1tNYrDk+y5yqkBiTq fkSO1mJ3dDB2Jq4bw4BtFdREZzUG198nPjwGSqCqSaTcEp3VJJ8EitJmG8VPy4aY14CG3j 8m5x8k1eI/VcP6U3SESB0IwUWlhGKzWq60nrmScm9+EdcfPZnnseLC1jT5NXakrOpDtisE cVgSxVOoGIlSe01IAvpemj7uDt1aDNWFcxDZfvJUwU0DM2HO/UJoMfaJh+PAlg== Received: from mail-qt1-f179.google.com (mail-qt1-f179.google.com [209.85.160.179]) (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 4Sst0v6H85zncl for ; Sat, 16 Dec 2023 17:11:43 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: by mail-qt1-f179.google.com with SMTP id d75a77b69052e-4260bbc84c5so14846791cf.3 for ; Sat, 16 Dec 2023 09:11:43 -0800 (PST) X-Gm-Message-State: AOJu0Yxh0ymCwRamticw06i6kutDgAylHvyB/rONm13QygTgvbaTLuZH m0Kzx7ei9vDu1k77a2tHa0DinnjOzsLGzfKIcEs= X-Google-Smtp-Source: AGHT+IGHzHxAOGlbTVelBRKBKrfRJ4h3V5NLNPFqw8cxkPIw+OGKKkxivw/gCUW4uXNcxUETzc5ljymlVPOKQNcUwRA= X-Received: by 2002:a05:622a:1113:b0:425:92fe:734 with SMTP id e19-20020a05622a111300b0042592fe0734mr17209209qty.38.1702746703048; Sat, 16 Dec 2023 09:11:43 -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: Nuno Teixeira Date: Sat, 16 Dec 2023 17:11:32 +0000 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: bhyve nvidia gtx-1650 mobile passthru on win11 To: Mario Marietto Cc: FreeBSD virtualization Content-Type: multipart/alternative; boundary="00000000000060b7b1060ca39cf2" --00000000000060b7b1060ca39cf2 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 escreveu no dia s=C3=A1bado, 16/12/= 2023 =C3=A0(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 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=3D"YES" >> pptdevs=3D"1/0/0 1/0/1" >> >> ppt0@pci0:1:0:0: class=3D0x030000 rev=3D0xa1 hdr=3D0x00 vendor=3D= 0x10de >> device=3D0x1f99 subvendor=3D0x17aa subdevice=3D0x3fa5 >> vendor =3D 'NVIDIA Corporation' >> device =3D 'TU117M [GeForce GTX 1650 Mobile / Max-Q]' >> class =3D display >> subclass =3D VGA >> ppt1@pci0:1:0:1: class=3D0x040300 rev=3D0xa1 hdr=3D0x00 vendor=3D= 0x10de >> device=3D0x10fa subvendor=3D0x17aa subdevice=3D0x3ffb >> vendor =3D 'NVIDIA Corporation' >> class =3D multimedia >> subclass =3D 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) >> > --=20 Nuno Teixeira FreeBSD Committer (ports) --00000000000060b7b1060ca39cf2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
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.
Oth= er thing, if I boot with BIOS on nvidia dedicated then intel doesn't sh= ow up in pciconf...

Mario Marietto <marietto2008@gmail.com> escreveu no dia s=C3=A1bado, 16/1= 2/2023 =C3=A0(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&g= t; ha scritto:
<= div dir=3D"ltr">
Hello all,

Specs:
- laptop with integrated intel + dedicated nvidia
- 15-CUR= RENT 3b1904d9eb04 amd64
- win11 with nvme and tpm
<= br>
I'm sharing my results with nvidia passthru:
##= #
/boot/loader.conf.local:
vmm_load=3D"YE= S"
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 (ports)


--
Nuno Teixeira
FreeBSD Committ= er (ports)
--00000000000060b7b1060ca39cf2--