From nobody Sat Dec 17 10:55:25 2022 X-Original-To: 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 4NZ2tk0ZsSzt4Ch for ; Sat, 17 Dec 2022 10:55:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NZ2tj3vPsz4RBs for ; Sat, 17 Dec 2022 10:55:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1671274525; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=vo/1UyMm9/Vi1UcP1e0X/8cPtDHcKr+Ypv0uTzMFPrU=; b=E3WxaKalDEyS1wlRPo/y4MWHIdFHCxNNhlTZ8vpfEcZ2rP/aRNKVWb2cAiuC2cySHcza5r Jk2IVNFVhXE17pOIRwRnm1E9DkzvdFgVUptxIcurl6Uz3RlhItDxT98mAgQcq6LRXUzBje 6QQvl7NpgwkhTgOVGl0UF20Rj/EzTDA5Sr0AMBiChsKlSimrwkpQIdHkyIfLxfRRYopPLZ 0o8sb+dWPMlzFTRg8upR39QqBEgiHlx3sdeam1i18ybecQmSxNNzh1h+JXUHMzSXxdtDbl zWLyRj8EChB/H+ENVbL7rw5qTJpFxf0i3OfAnEfOqfkFcIqUge4hkt7o2brQvQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1671274525; a=rsa-sha256; cv=none; b=oCwzFWU8F61QEVvSt0UEuCj/EhIGihgZaZnmEq8JNu2l/Gtp6FA16ZQWANJKWHpd92v6JR Cjs6wx3rX2VuwC3S8c8j0lgyKZvABuhHUATY58v8eL7R23MGEcWpGjUfkLcTxiKfmLO/tJ 3Umbwr9ceb5aZxgBCvdZodKrTGrOEa/sUyC7NEPU4dnSX2tl4twkEI6e10dbmm5UV8pwq8 rAjkDS0glKwyRew05fOuGVXENodgXeP4ZKF6YziHPQwjL9F2iFSwYXk1yizROR0x+1mwks DuXL8II2uOugPs3Vt7O02l42alAh1naBTLSBvfo4910jw7PvLg3Ffyyec1LGvg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4NZ2tj2qv5zpPQ for ; Sat, 17 Dec 2022 10:55:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 2BHAtPU2040898 for ; Sat, 17 Dec 2022 10:55:25 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2BHAtPpR040897 for virtualization@FreeBSD.org; Sat, 17 Dec 2022 10:55:25 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 268428] Without the proper gop/vbios ROM to assign to my intel gpu UHD Graphics 630 it gives the error "bhyve: gvt_d_setup_opregion: Unable to get OpRegion base and length " Date: Sat, 17 Dec 2022 10:55:25 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 13.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: marietto2008@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated 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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268428 Bug ID: 268428 Summary: Without the proper gop/vbios ROM to assign to my intel gpu UHD Graphics 630 it gives the error "bhyve: gvt_d_setup_opregion: Unable to get OpRegion base and length " Product: Base System Version: 13.1-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Many People Priority: --- Component: bhyve Assignee: virtualization@FreeBSD.org Reporter: marietto2008@gmail.com Hello FreeBSD Virtualization team, I'm trying to boot my intel gpu model UHD 630 adding a GOP driver or a VBIOS rom directly between the bhyve parameters like this : -s 7:0,passthru,0/2/0,rom=3DUHD-Graphics-630-vbios.rom because I've read that it can be done,according with your documentation : https://reviews.freebsd.org/D26209?id=3D76277 Anyway,I'm not able to find the proper rom file. I went on the nvidia forum= and I've been helped by an nvidia developer that explained to me how the generic situation for this user case is. He is not a bhyve developer,so the informa= tion that he gave to me isn't enough for me to understand what I should do. You = can read our discussion here : https://forums.developer.nvidia.com/t/im-failing-trying-to-configure-the-fr= amebuffer-as-default-graphic-adapter-and-the-nvidia-geforce-rtx-2080-ti-as-= prime-render-offload/236365/23 We haven't reached a conclusion yet,so I would like to have some clarificat= ions from you. He says that there is no gop/vbios ROM that I can use,but If I do= n't use it my gpu won't work,giving the errors that you see inside this log fil= e : https://pastebin.ubuntu.com/p/9b9DpZrfpg/ they happen only when I create a Linux VM. Windows 11 accept the gpu without complains.=20 I'm running FreeBSD 13.1. Actually on my PC there are 3 graphics cards : a) CoffeeLake-S GT2 [UHD Graphics 630] b) two nvidia graphic cards : 1) GTX 1060 2) RTX 2080 ti on the BIOS I'm using the GTX 1060 as default graphic card and I've disabled the CSM mode. I've added to : 1) /boot/loader.conf pptdevs=3D"0/2/0 2/0/0 2/0/1 2/0/2 2/0/3" 2) Linux bhyve vm : bhyve -S -c sockets=3D1,cores=3D2,threads=3D2 -m 4G -w -H -A \ -s 0,hostbridge \ -s 2,virtio-blk,/mnt/$vmdisk1'p2'/bhyve/img/Linux/ubuntu2210.img,bootindex= =3D1 \ -s 5,fbuf,tcp=3D0.0.0.0:5919,w=3D1600,h=3D950,wait \ -s 7:0,passthru,0/2/0 \ -s 10,virtio-net,tap19 \ -s 11,virtio-9p,sharename=3D/ \ -s 30,xhci,tablet \ -s 31,lpc \ -l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI_CODE.fd \ vm0:19 < /dev/null & sleep 2 && vncviewer 0:19 where : 00:02.0 Display controller: Intel Corporation CoffeeLake-S GT2 [UHD Graphics 630] (rev 02) 01:00.0 VGA compatible controller: NVIDIA Corporation GP106 [GeForce GTX 10= 60 3GB] (rev a1) 01:00.1 Audio device: NVIDIA Corporation GP106 High Definition Audio Contro= ller (rev a1) 2:00.0 VGA compatible controller: NVIDIA Corporation TU102 [GeForce RTX 2080 Ti] (rev a1)=C2=A0 02:00.1 Audio device: NVIDIA Corporation TU102 High Definition Audio Contro= ller (rev a1)=C2=A0 02:00.2 USB controller: NVIDIA Corporation TU102 USB 3.1 Host Controller (r= ev a1)=C2=A0 02:00.3 Serial bus controller: NVIDIA Corporation TU102 USB Type-C UCSI Controller (rev a1) So,my Intel IGPU is assigned to a Linux guest OS,but it does not work (the screen remains black). I tried to boot my intel gpu model UHD 630 adding a GOP driver or a VBIOS r= om directly between the bhyve parameters like this : -s 7:0,passthru,0/2/0,rom=3DUHD-Graphics-630-vbios.rom because I've read that it can be done,according with your documentation : https://reviews.freebsd.org/D26209?id=3D76277 Anyway,I'm not able to find the proper rom file. I went on the nvidia forum= and I've been helped by an nvidia developer that explained to me how the generic situation for this user case is. He is not a bhyve developer,so the informa= tion that he gave to me isn't enough for me to understand what I should do. You = can read our discussion here : https://forums.developer.nvidia.com/t/im-failing-trying-to-configure-the-fr= amebuffer-as-default-graphic-adapter-and-the-nvidia-geforce-rtx-2080-ti-as-= prime-render-offload/236365/23 We haven't reached a conclusion yet,so I would like to have some clarificat= ions from you. He says that there is no gop/vbios ROM that I can use,but If I do= n't use it my gpu won't work as you can see reading the thread above. Please he= lp me. Thanks. Regards. --=20 You are receiving this mail because: You are the assignee for the bug.=