Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jan 2023 08:23:25 +0000
From:      bugzilla-noreply@freebsd.org
To:        virtualization@FreeBSD.org
Subject:   [Bug 268794] Simultaneous vcpu_lock_all() and vm_handle_rendezvous() can deadlock vmm
Message-ID:  <bug-268794-27103-uGZj6LD69c@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-268794-27103@https.bugs.freebsd.org/bugzilla/>
References:  <bug-268794-27103@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268794

--- Comment #9 from Corvin K=C3=B6hne <corvink@FreeBSD.org> ---
(In reply to Robert Crowston from comment #7)

> > 1. Which GPU are you using?
>=20
> A gigabyte Radeon RX 6650 XT (I also had success with a much older AMD ca=
rd).

AMD should work. Not sure if it works with 13.1 but -CURRENT should support=
 it.

> > 2. Are you using using upstream bhyve and edk2?
>
> Not sure what you mean by 'upstream bhyve' -- I use the bhyve in 13.1-sta=
ble (and have tested -CURRENT too). For edk2, I use the bootroom binary tha=
t you created (https://reviews.freebsd.org/F31899352), but it makes no obse=
rvable difference to me to the one from packages -- the GOP driver does not=
 start (with either GPU).

I mean the official version from FreeBSD. So, 13.1-stable, -CURRENT or
something similar. In order to use a GOP driver you have to pass it to the
guest by bhyve's rom option: `-s x,passthru,x/x/x,rom=3D/my/gop`. This opti=
on is
not supported by 13.1! See the man page for more information:
https://man.freebsd.org/cgi/man.cgi?query=3Dbhyve&apropos=3D0&sektion=3D8&m=
anpath=3DFreeBSD+14.0-CURRENT&arch=3Ddefault&format=3Dhtml

To use this option you have to extract the gop from your gpu. FreeBSD has no
tool to do that. You have to do it with linux or windows.
For linux
(https://01.org/linuxgraphics/documentation/development/how-dump-video-bios=
):
1. echo 1 > /sys/devices/pci0000:00/0000:00:02.0/rom
2. cat /sys/devices/pci0000:00/0000:00:02.0/rom > vbios.dump
3. echo 0 > /sys/devices/pci0000:00/0000:00:02.0/rom
For windows use GPU-Z
(https://nvidia.custhelp.com/app/answers/detail/a_id/4188/~/extracting-the-=
geforce-video-bios-rom-file).

It's hard to get useful information from a windows guest. You can try to bo=
ot a
linux guest and check for any drm errors. Note: linux amdgpu driver require=
s a
gop.

--=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-268794-27103-uGZj6LD69c>