[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 "
- Reply: bugzilla-noreply_a_freebsd.org: "[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" or "snd_hda_intel failed to bind (ops i915_audio_component_bind)"
- Reply: bugzilla-noreply_a_freebsd.org: "[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" or "snd_hda_intel failed to bind (ops i915_audio_component_bind)"
- Reply: bugzilla-noreply_a_freebsd.org: "[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" or "snd_hda_intel failed to bind (ops i915_audio_component_bind)"
- Reply: bugzilla-noreply_a_freebsd.org: "[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" or "snd_hda_intel failed to bind (ops i915_audio_component_bind)"
- Reply: bugzilla-noreply_a_freebsd.org: "[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" or "snd_hda_intel failed to bind (ops i915_audio_component_bind)"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 17 Dec 2022 10:55:25 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268428
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=UHD-Graphics-630-vbios.rom
because I've read that it can be done,according with your documentation :
https://reviews.freebsd.org/D26209?id=76277
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 information
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-framebuffer-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 clarifications
from you. He says that there is no gop/vbios ROM that I can use,but If I don't
use it my gpu won't work,giving the errors that you see inside this log file :
https://pastebin.ubuntu.com/p/9b9DpZrfpg/
they happen only when I create a Linux VM. Windows 11 accept the gpu without
complains.
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="0/2/0 2/0/0 2/0/1 2/0/2 2/0/3"
2) Linux bhyve vm :
bhyve -S -c sockets=1,cores=2,threads=2 -m 4G -w -H -A \
-s 0,hostbridge \
-s 2,virtio-blk,/mnt/$vmdisk1'p2'/bhyve/img/Linux/ubuntu2210.img,bootindex=1 \
-s 5,fbuf,tcp=0.0.0.0:5919,w=1600,h=950,wait \
-s 7:0,passthru,0/2/0 \
-s 10,virtio-net,tap19 \
-s 11,virtio-9p,sharename=/ \
-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 1060
3GB] (rev a1)
01:00.1 Audio device: NVIDIA Corporation GP106 High Definition Audio Controller
(rev a1)
2:00.0 VGA compatible controller: NVIDIA Corporation TU102 [GeForce RTX 2080
Ti] (rev a1)
02:00.1 Audio device: NVIDIA Corporation TU102 High Definition Audio Controller
(rev a1)
02:00.2 USB controller: NVIDIA Corporation TU102 USB 3.1 Host Controller (rev
a1)
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 rom
directly between the bhyve parameters like this :
-s 7:0,passthru,0/2/0,rom=UHD-Graphics-630-vbios.rom
because I've read that it can be done,according with your documentation :
https://reviews.freebsd.org/D26209?id=76277
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 information
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-framebuffer-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 clarifications
from you. He says that there is no gop/vbios ROM that I can use,but If I don't
use it my gpu won't work as you can see reading the thread above. Please help
me. Thanks. Regards.
--
You are receiving this mail because:
You are the assignee for the bug.