UTM icon indicating copy to clipboard operation
UTM copied to clipboard

When using multiple displays any non-"GPU Supported" display flash constantly

Open PureTryOut opened this issue 4 months ago • 4 comments

Describe the issue
My setup has both the laptop screen and an external monitor and I'd like to use both in the VM (with a Linux guest). Both screens show up in the VM, but the display that is emulating a display card without GPU support (which is required, Qemu seems to only support 1 GPU supported display at a time) is constantly flashing. It's very distracting. This seems to only happen when the mouse cursor is moving on that screen, if it's still or present on the other screen it doesn't flash at all.

Configuration

  • UTM Version: 4.4.5, from Homebrew
  • macOS Version: Sonoma 14.2
  • Mac Chip (Intel, M1, ...): M3

Debug log
alpinelinuxvm-log.log

Upload VM
config.plist.zip

PureTryOut avatar Feb 15 '24 14:02 PureTryOut

Can you provide a video recording?

osy avatar Feb 26 '24 20:02 osy

https://github.com/utmapp/UTM/assets/1565836/aca2775b-b5d0-4941-a6bb-0fb3007aa3e6

PureTryOut avatar Feb 28 '24 09:02 PureTryOut

It may be an issue with your selection of display devices. You have one virtio-ramfb-gl and one virtio-gpu-pci. Can you try making them both virtio-gpu-pci?

osy avatar Apr 20 '24 20:04 osy

It seems to be the combination of a -gl device with one without. Changing them both to virtio-gpu-pci makes the screen not flash any more but suddenly Linux doesn't like it and shows no desktop on the primary screen (although it's detected in KDE's panel configuration) although it does on the second. Weird...

PureTryOut avatar Apr 22 '24 06:04 PureTryOut