jpmorrison / OSX-Qemu

1 stars 0 forks source link

Multiple Displays - working in Catalina #2

Open jpmorrison opened 2 years ago

jpmorrison commented 2 years ago

Qemu version:

qemu-system-x86_64 -version
QEMU emulator version 6.1.0
Copyright (c) 2003-2021 Fabrice Bellard and the QEMU Project developers

Display options:

-vga std -device secondary-vga

Result:

image

image

                        <string>AppleCirrusGD5446FB</string>
                        <key>IOMatchCategory</key>
                        <string>IOFramebuffer</string>
                        <key>IOPCIPrimaryMatch</key>
                        <string>0x00001013&amp;0x0000FFFF</string>
                        <key>IOProbeScore</key>
                        <integer>30000</integer>
                        <key>IOProviderClass</key>
                        <string>IOPCIDevice</string>

Primary Display

OSXScreenshot1

Secondary Display

OSXScreenshot

jpmorrison commented 2 years ago

image

Summary:

-vga std -device secondary-vga gives multiple displays in Spice remote-viewer. This may be the best option. I haven't noticed any speed differences compared to qxl - I don't think the Apple virtio driver supports qxl and just falls back to vga.

The second display is fixed after rebooting the guest.

jpmorrison commented 2 years ago

Not as good but still multiple displays. I think it is using AppleCirrusGD5446FB.

-device cirrus-vga,vgamem_mb=16 -device secondary-vga

image

jpmorrison commented 2 years ago

Useful docs on video options in qemu https://www.kraxel.org/blog/2019/09/display-devices-in-qemu/

The following work with Catalina to varying degrees but always say 'kext not loaded" I think these are defaulting to VGA. I haven't noticed any speed difference with qxl.

-vga virtio
-device virtio-vga
-device qxl-vga
-device qxl