Date: Sat, 17 Dec 2022 10:55:25 +0000 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 " Message-ID: <bug-268428-27103@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
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.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-268428-27103>