Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jan 2024 01:18:00 +0100
From:      "=?iso-8859-1?B?TWljaGFlbCBTbPhnZWRhbA==?=" <michael@sloged.al>
To:        "freebsd-virtualization@FreeBSD.org" <freebsd-virtualization@FreeBSD.org>
Subject:   bhyve intel 530 integrated graphics error 
Message-ID:  <gxES.l1BY6Ym_vUi8D9urxKuWvQ@Zoka9TMijEmnc8h1QEfjMc2pA_dP_RxOrEsZw_uiNe4.xz>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

------=_NextPart_000_0005_832ED729.5CFB408
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset="utf-8"

Hi,=0A=0A =0A=0AI=E2=80=99ve been trying to collect the necessary info on=
line about how to do gpu=0Apassthru with integrated intel graphics to win=
10, but can=E2=80=99t make it work.=0A=0A =0A=0A 1. First tried with just=
 passthru, and after 3-4 reboots, the display adapter=0A    shows up in w=
in10 guest, but it won=E2=80=99t load properly.=0A 2. Tried adding the hd=
 audio device as well, get bluescreen with=0A    =E2=80=9Cmemory_manageme=
nt=E2=80=9D stop code in guest=0A 3. Tried adding a gop rom from https://=
github.com/patmagauran/i915ovmfPkg -=0A    host crashed and got error bel=
ow=0A=0A =0A=0AI=E2=80=99m at a loss what to try next. Any ideas where I=E2=
=80=99m going wrong?=0A=0A =0A=0A# tail /vm/win10ltsc/vm-bhyve.log=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=0A=0AJan 17 00:49:02:=C2=A0 [primary di=
sk: disk0.img]=0A=0AJan 17 00:49:02:=C2=A0 [primary disk dev: file]=0A=0A=
Jan 17 00:49:02: dynamically allocated port 5900 for vnc connections=0A=0A=
Jan 17 00:49:02: booting=0A=0AJan 17 00:49:02:=C2=A0 [bhyve options: -c 6=
,sockets=3D1,cores=3D3,threads=3D2 -m 8G -Hwl=0Abootrom,/usr/local/share/=
uefi-firmware/BHYVE_UEFI.fd -s 2:0,passthru,0/2/0,rom=3D=0A/vm/win10ltsc/=
i915ovmf.rom -U 8dff5c4a-b083-11ee-b2cd-78d004259091 -S]=0A=0AJan 17 00:4=
9:02:=C2=A0 [bhyve devices: -s 0,hostbridge -s 31,lpc -s 4:0,ahci,hd:/vm/=
=0Awin10ltsc/disk0.img -s 31:6,passthru,0/31/6 -s 6:0,fbuf,tcp=3D0.0.0.0:=
5900,w=3D=0A1920,h=3D1080 -s 7:0,xhci,tablet]=0A=0AJan 17 00:49:02:=C2=A0=
 [bhyve console: -l com1,/dev/nmdm-win10ltsc.1A]=0A=0AJan 17 00:49:02: st=
arting bhyve (run 1)=0A=0AJan 17 00:49:04: bhyve exited with status 134=0A=
=0AJan 17 00:49:04: stopped=0A=0A =0A=0A# tail /vm/win10ltsc/bhyve.log=C2=
=A0=C2=A0=0A=0Apci_fbuf: mmap_memseg failed=0A=0AAssertion failed: (mr->n=
ame =3D=3D memp->name), function unregister_mem, file /usr/=0Asrc/usr.sbi=
n/bhyve/mem.c, line 344.=0A=0A =0A=0A# uname -a=0A=0AFreeBSD yellowfellow=
 14.0-RELEASE-p3 FreeBSD 14.0-RELEASE-p3 #0: Mon Dec 11=0A04:56:01 UTC 20=
23=C2=A0=C2=A0=C2=A0=C2=A0 root@amd64-builder.daemonology.net:/usr/obj/us=
r/src/=0Aamd64.amd64/sys/GENERIC amd64=0A=0A
------=_NextPart_000_0005_832ED729.5CFB408
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset="iso-8859-1"

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-mi=
crosoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:wo=
rd" xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D=
"http://www.w3.org/TR/REC-html40"><head><meta http-equiv=3DContent-Type c=
ontent=3D"text/html; charset=3Diso-8859-1"><meta name=3DGenerator content=
=3D"Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
=09{font-family:"Cambria Math";
=09panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
=09{font-family:Calibri;
=09panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
=09{margin:0in;
=09font-size:11.0pt;
=09font-family:"Calibri",sans-serif;
=09mso-ligatures:standardcontextual;}
a:link, span.MsoHyperlink
=09{mso-style-priority:99;
=09color:#0563C1;
=09text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
=09{mso-style-priority:34;
=09margin-top:0in;
=09margin-right:0in;
=09margin-bottom:0in;
=09margin-left:.5in;
=09font-size:11.0pt;
=09font-family:"Calibri",sans-serif;
=09mso-ligatures:standardcontextual;}
span.EmailStyle17
=09{mso-style-type:personal-compose;
=09font-family:"Calibri",sans-serif;
=09color:windowtext;}
=2EMsoChpDefault
=09{mso-style-type:export-only;
=09font-family:"Calibri",sans-serif;}
@page WordSection1
=09{size:8.5in 11.0in;
=09margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
=09{page:WordSection1;}
/* List Definitions */
@list l0
=09{mso-list-id:1229683544;
=09mso-list-type:hybrid;
=09mso-list-template-ids:-205384604 67698705 67698713 67698715 67698703 6=
7698713 67698715 67698703 67698713 67698715;}
@list l0:level1
=09{mso-level-text:"%1\)";
=09mso-level-tab-stop:none;
=09mso-level-number-position:left;
=09text-indent:-.25in;}
@list l0:level2
=09{mso-level-number-format:alpha-lower;
=09mso-level-tab-stop:none;
=09mso-level-number-position:left;
=09text-indent:-.25in;}
@list l0:level3
=09{mso-level-number-format:roman-lower;
=09mso-level-tab-stop:none;
=09mso-level-number-position:right;
=09text-indent:-9.0pt;}
@list l0:level4
=09{mso-level-tab-stop:none;
=09mso-level-number-position:left;
=09text-indent:-.25in;}
@list l0:level5
=09{mso-level-number-format:alpha-lower;
=09mso-level-tab-stop:none;
=09mso-level-number-position:left;
=09text-indent:-.25in;}
@list l0:level6
=09{mso-level-number-format:roman-lower;
=09mso-level-tab-stop:none;
=09mso-level-number-position:right;
=09text-indent:-9.0pt;}
@list l0:level7
=09{mso-level-tab-stop:none;
=09mso-level-number-position:left;
=09text-indent:-.25in;}
@list l0:level8
=09{mso-level-number-format:alpha-lower;
=09mso-level-tab-stop:none;
=09mso-level-number-position:left;
=09text-indent:-.25in;}
@list l0:level9
=09{mso-level-number-format:roman-lower;
=09mso-level-tab-stop:none;
=09mso-level-number-position:right;
=09text-indent:-9.0pt;}
ol
=09{margin-bottom:0in;}
ul
=09{margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3D"#0563=
C1" vlink=3D"#954F72" style=3D'word-wrap:break-word'><div class=3DWordSec=
tion1><p class=3DMsoNormal>Hi,<o:p></o:p></p><p class=3DMsoNormal><o:p>&n=
bsp;</o:p></p><p class=3DMsoNormal>I&#8217;ve been trying to collect the =
necessary info online about how to do gpu passthru with integrated intel =
graphics to win10, but can&#8217;t make it work.<o:p></o:p></p><p class=3D=
MsoNormal><o:p>&nbsp;</o:p></p><ol style=3D'margin-top:0in' start=3D1 typ=
e=3D1><li class=3DMsoListParagraph style=3D'margin-left:0in;mso-list:l0 l=
evel1 lfo1'>First tried with just passthru, and after 3-4 reboots, the di=
splay adapter shows up in win10 guest, but it won&#8217;t load properly.<=
o:p></o:p></li><li class=3DMsoListParagraph style=3D'margin-left:0in;mso-=
list:l0 level1 lfo1'>Tried adding the hd audio device as well, get bluesc=
reen with &#8220;memory_management&#8221; stop code in guest<o:p></o:p></=
li><li class=3DMsoListParagraph style=3D'margin-left:0in;mso-list:l0 leve=
l1 lfo1'>Tried adding a gop rom from <a href=3D"https://github.com/patmag=
auran/i915ovmfPkg">https://github.com/patmagauran/i915ovmfPkg</a>; - host =
crashed and got error below<o:p></o:p></li></ol><p class=3DMsoNormal><o:p=
>&nbsp;</o:p></p><p class=3DMsoNormal>I&#8217;m at a loss what to try nex=
t. Any ideas where I&#8217;m going wrong?<o:p></o:p></p><p class=3DMsoNor=
mal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal># tail /vm/win10ltsc/vm-bhy=
ve.log=A0=A0=A0=A0=A0=A0=A0 <o:p></o:p></p><p class=3DMsoNormal>Jan 17 00=
:49:02:=A0 [primary disk: disk0.img]<o:p></o:p></p><p class=3DMsoNormal>J=
an 17 00:49:02:=A0 [primary disk dev: file]<o:p></o:p></p><p class=3DMsoN=
ormal>Jan 17 00:49:02: dynamically allocated port 5900 for vnc connection=
s<o:p></o:p></p><p class=3DMsoNormal>Jan 17 00:49:02: booting<o:p></o:p><=
/p><p class=3DMsoNormal>Jan 17 00:49:02:=A0 [bhyve options: -c 6,sockets=3D=
1,cores=3D3,threads=3D2 -m 8G -Hwl bootrom,/usr/local/share/uefi-firmware=
/BHYVE_UEFI.fd -s 2:0,passthru,0/2/0,rom=3D/vm/win10ltsc/i915ovmf.rom -U =
8dff5c4a-b083-11ee-b2cd-78d004259091 -S]<o:p></o:p></p><p class=3DMsoNorm=
al>Jan 17 00:49:02:=A0 [bhyve devices: -s 0,hostbridge -s 31,lpc -s 4:0,a=
hci,hd:/vm/win10ltsc/disk0.img -s 31:6,passthru,0/31/6 -s 6:0,fbuf,tcp=3D=
0.0.0.0:5900,w=3D1920,h=3D1080 -s 7:0,xhci,tablet]<o:p></o:p></p><p class=
=3DMsoNormal>Jan 17 00:49:02:=A0 [bhyve console: -l com1,/dev/nmdm-win10l=
tsc.1A]<o:p></o:p></p><p class=3DMsoNormal>Jan 17 00:49:02: starting bhyv=
e (run 1)<o:p></o:p></p><p class=3DMsoNormal>Jan 17 00:49:04: bhyve exite=
d with status 134<o:p></o:p></p><p class=3DMsoNormal>Jan 17 00:49:04: sto=
pped<o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DM=
soNormal># tail /vm/win10ltsc/bhyve.log=A0=A0 <o:p></o:p></p><p class=3DM=
soNormal>pci_fbuf: mmap_memseg failed<o:p></o:p></p><p class=3DMsoNormal>=
Assertion failed: (mr-&gt;name =3D=3D memp-&gt;name), function unregister=
_mem, file /usr/src/usr.sbin/bhyve/mem.c, line 344.<o:p></o:p></p><p clas=
s=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal># uname -a<o:p></=
o:p></p><p class=3DMsoNormal>FreeBSD yellowfellow 14.0-RELEASE-p3 FreeBSD=
 14.0-RELEASE-p3 #0: Mon Dec 11 04:56:01 UTC 2023=A0=A0=A0=A0 root@amd64-=
builder.daemonology.net:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64<o:=
p></o:p></p></div></body></html>
------=_NextPart_000_0005_832ED729.5CFB408--





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?gxES.l1BY6Ym_vUi8D9urxKuWvQ>