utmapp / UTM

Virtual machines for iOS and macOS
https://getutm.app
Apache License 2.0
26.76k stars 1.34k forks source link

Windows 11 (x86_64) runs very slowly on MacOS (Intel) #4473

Open p8952 opened 2 years ago

p8952 commented 2 years ago

Issue
Windows 11 (x86_64) runs very slowly for even basic tasks, opening the start menu, browsing files, etc. Application windows appear to be rendered "choppily" when opening or being moved around. SPICE Guest Tools are installed, and Clipboard / File Sharing works, Automatic Window Resizing didn't work until enabling Retina Mode as per #4064.

Screen Recording 2022-10-03 at 13 38 49

Configuration

VM Settings:

Screenshot 2022-10-03 at 13 40 08 Screenshot 2022-10-03 at 13 40 14 Screenshot 2022-10-03 at 13 40 18 Screenshot 2022-10-03 at 13 40 21 Screenshot 2022-10-03 at 13 40 24 Screenshot 2022-10-03 at 13 40 26 Screenshot 2022-10-03 at 13 40 29
stonerl commented 1 year ago

Add these additional lines in the QEMU section:

-cpu
Cascadelake-Server,hv-relaxed,hv-vapic,hv_spinlocks=0x1fff,hv-runtime,hv-time,hv-frequencies,hv-xmm-input
-no-hpet

More Info can be found here: Hyper-V Enlightenments

image
brad-x commented 1 year ago

Add these additional lines in the QEMU section:

-cpu
Cascadelake-Server,hv-relaxed,hv-vapic,hv_spinlocks=0x1fff,hv-runtime,hv-time,hv-frequencies,hv-xmm-input
-no-hpet

More Info can be found here: Hyper-V Enlightenments

image

Interesting! Have you tested this with HVF?

stonerl commented 1 year ago

Yes.

AlBundy33 commented 3 months ago

Did you found a solution for better performance in a windows 11 vm? I have currently the same issue (see #6451)

windows 11 is much slower than a parallels vm. and with the arguments in this issue here I get a bluescreen (inside the vm) when I try to install windows.

I have not tested yet #5468