Use virtio-gpu with viogpudo on Arm64 Windows 11
Replace ramfb with virtio-gpu-pci at 2048x1280 and install the viogpudo driver from the VirtIO ISO. ramfb has a fixed mode, and keeping both adapters left Windows with a second, fixed-mode monitor. Windows Setup and the base image have no viogpudo driver, so on the launch that creates the system disk the launcher also adds a ramfb ahead of the config files. The display window shows the first GPU. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
361ecd977a
commit
c139c566d0
4 files changed
+24
-10
No files matched your search
+6
-1
@@ -372,7 +372,12 @@ for label, host_port, guest_port in (("RDP", rdp_port, 3389), ("SSH", ssh_port,
|
||||
else:
|
||||
forwards.append(f"hostfwd=tcp::{host_port}-:{guest_port}")
|
||||
|
||||
qemu_args = [
|
||||
# Neither Windows Setup nor the base image has the viogpudo driver yet, and
|
||||
# without it the virtio-gpu in the config file shows "display output is not
|
||||
# active". ramfb shows the screen until Configure-Windows.ps1 installs it. It
|
||||
# must be created before the virtio-gpu: the display window shows the first GPU.
|
||||
qemu_args = ["-device", "ramfb"] if installing and host_arch == "arm64" else []
|
||||
qemu_args += [
|
||||
"-readconfig", str(qemu_config),
|
||||
"-readconfig", str(qemu_platform_config),
|
||||
# "max" is the host CPU under KVM/HVF and the fullest model under TCG.
|
||||
|
||||
Reference in new issue
Block a user