Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

UCDHIUS

macrumors regular
Nov 16, 2017
199
61
Texas
Ill have to retry, when I forced the update yesterday it made the VM unbootable.

Tried it again and no dice, I’ll boot one time after the dev channel update and then won’t boot after that.

I’ll get stuck on a infinite famous “automatic start up repair”.

Has anyone had luck with running the latest dev channel version with x64 emulation?
 

ollv

macrumors newbie
Dec 11, 2020
14
1
Hamburg
Tried it again and no dice, I’ll boot one time after the dev channel update and then won’t boot after that.

I’ll get stuck on a infinite famous “automatic start up repair”.

Has anyone had luck with running the latest dev channel version with x64 emulation?
Have you tried to convert the Windows image to qcow2 first? Since I converted my image I had no issues with corrupted disk again. Don't know if this is a coincidence/luck or a workaround, you can use the included qemu-img of ACVM.app:

Bash:
/Users/ollv/Applications/ACVM.app/Contents/Resources/qemu-img convert -O qcow2 /Users/ollv/Documents/VirtualMachines/Windows10_InsiderPreview_Client_ARM64_en-us_20231.VHDX /Users/ollv/Documents/VirtualMachines/win.qcow2

You will have to change the paths according to your system.

I could add my Windows VM to dev channel and install the version 21277 afterwards and even install German language pack with a lot of reboots without any corruption again:

screenshot10.png
 
Last edited:

UCDHIUS

macrumors regular
Nov 16, 2017
199
61
Texas
Have you tried to convert the Windows image to qcow2 first? Since I converted my image I had no issues with corrupted disk again. Don't know if this is a coincidence/luck or a workaround, you can use the included qemu-img of ACVM.app:

Bash:
/Users/ollv/Applications/ACVM.app/Contents/Resources/qemu-img convert -O qcow2 /Users/ollv/Documents/VirtualMachines/Windows10_InsiderPreview_Client_ARM64_en-us_20231.VHDX /Users/ollv/Documents/VirtualMachines/win.qcow2

You will have to change the paths according to your system.

I could add my Windows VM to dev channel and install the version 21277 afterwards and even install German language pack with a lot of reboots without any corruption again:

View attachment 1693610

I’ll try in the morning, thanks !
 

ollv

macrumors newbie
Dec 11, 2020
14
1
Hamburg
Seems logical. I tried it but cannot connect:
- RD enabled in Windows. Windows network is working.
- added hostfwd=tcp::12345-:3389 to NIC options
- rebooted
- In RD localhost:12345 is not connecting, neither is 127.0.0.1
- Firewall is off

Any ideas?

No idea, I could also open the SMB connection after adding the SMB port to "NIC Options":

hostfwd=tcp::12345-:3389,hostfwd=tcp::12346-:445


screenshot12.png


You will find the forwarding example for ssh in the QEMU documentation:


under "Network HOWTOs" - "How to get SSH access to a guest" you will find the infos for SSH access. They use option "hostfwd=tcp::5555-:22" for SSH access and you should connect via "ssh localhost -p 5555".

Because of port forwarding you should be able to connect to "localhost" not the IP address of the VM.

Edit: I have tested SSH access to a Ubuntu 21.04 desktop VM now, you can connect to linux with the given QEMU documentation via "ssh localhost -p 5555":

screenshot12.png
 
Last edited:

Susurs

macrumors 68000
Jun 18, 2010
1,609
11,017
Could someone, please, explain why virtio-gpu option cannot be used to launch W10 (black screen).

P.S. Any chances of using HiDPI directly?
 
Last edited:

ollv

macrumors newbie
Dec 11, 2020
14
1
Hamburg
Could someone, please, explain why virtio-gpu option cannot be used to launch W10 (black screen).

P.S. Any chances of using HiDPI directly?
There is no build in driver for virtio-gpu in Windows. The same applies to the NIC, that's why you have to install the NIC driver with virtio-win-0.1.190.iso. I don't know if there is a Windows driver for virtio-gpu available.
 

ollv

macrumors newbie
Dec 11, 2020
14
1
Hamburg
Just an FYI, but I posted an updated version:


Mostly just some clean ups, but you can see the release notes on Github. This version also adds Sparkle for auto updates.

Thanks! The headless option is great if you use RDP/SSH to access the VMs!

It would be nice if you could add a "File" menu option to convert disk images from VHDX/qcow2/raw to raw/qcow2.
 
Last edited:

anonymous888

macrumors member
Nov 24, 2018
81
56
India
Thanks! The headless option is great if you use RDP/SSH to access the VMs!

It would be nice if you could add a "File" menu option to convert disk images from VHDX/qcow2/raw to raw/qcow2.
I have converted VHDX into qcow2 with your command. Installed the netkvm drivers, internet is working. But whenever I click on "Get Started" inside Windows Insider Program I get the error "Something went wrong".

The existing windows defender and cumulative updates are also stuck at 0%.

Can you try some games to see how well it runs? Will it run better than crossover?
 

haralds

macrumors 68030
Jan 3, 2014
2,990
1,252
Silicon Valley, CA
I think you need to use the IP of the Windows Guest (in my case it is 10.0.2.15...your's might be different).
I tried both the host forwarding and direct access to 10.0.2.15 (mine is the same as yours.) Did not work. Profile is set to private. Weird.
Is there a way to force a different display size?
 

Gnattu

macrumors 65816
Sep 18, 2020
1,107
1,671
I tried both the host forwarding and direct access to 10.0.2.15 (mine is the same as yours.) Did not work. Profile is set to private. Weird.
Is there a way to force a different display size?
Did you try to change to another port like 12450 on host? If another port works then there may be some other applications listening on that port already.
 

haralds

macrumors 68030
Jan 3, 2014
2,990
1,252
Silicon Valley, CA
I tried both the host forwarding and direct access to 10.0.2.15 (mine is the same as yours.) Did not work. Profile is set to private. Weird.
Is there a way to force a different display size?
I scanned 10.0.2.15 with nmap - no ports listed. Tried the -Pn option. Host is up but ports are filtered.
 
Last edited:

kupan787

macrumors member
Sep 17, 2014
54
33
California
I tried both the host forwarding and direct access to 10.0.2.15 (mine is the same as yours.) Did not work. Profile is set to private. Weird.
Is there a way to force a different display size?
I think the max screen size you can set is 1024x768, and it has to be done in bios pre-boot.

I’m on mobile right now, and forget the exact screen (OVF Settings??), but you can set the display size here. I think someone posted it a few pages back.
 

ollv

macrumors newbie
Dec 11, 2020
14
1
Hamburg
I have converted VHDX into qcow2 with your command. Installed the netkvm drivers, internet is working. But whenever I click on "Get Started" inside Windows Insider Program I get the error "Something went wrong".

The existing windows defender and cumulative updates are also stuck at 0%.

Can you try some games to see how well it runs? Will it run better than crossover?
I don't think that you will have success with playing games on the QEMU Windows VM. I was curious and tried to install Steam and I was able to install Steam and a demo of Shadow of the Tomb Raider but Tomb Raider only starts with a black screen and then crashes. And there is only support for a resolution of 1024x768 as far as I know or you will have to use RDP.

There is no DirectX driver/support at the moment...


Bildschirmfoto 2020-12-14 um 19.38.08.png



Bildschirmfoto 2020-12-14 um 19.40.28.png


Bildschirmfoto 2020-12-14 um 19.25.47.png


An older game I tried to install could not run because .NET Framework 3.5 could not be installed.
 
Last edited:
  • Like
Reactions: anonymous888

Susurs

macrumors 68000
Jun 18, 2010
1,609
11,017
I heard there is some kind of openGL compatibility pack, I think, for Insiders ( ? ). Does it help for graphics?
 

ollv

macrumors newbie
Dec 11, 2020
14
1
Hamburg
I tried both the host forwarding and direct access to 10.0.2.15 (mine is the same as yours.) Did not work. Profile is set to private. Weird.
Is there a way to force a different display size?
You will have to press ESC key at startup to get into BIOS/UEFI menu, there you can change the resolution:

Select "Device Manager":

Bildschirmfoto 2020-12-14 um 19.47.35.png


Select OVMF Platform Configuration:

Bildschirmfoto 2020-12-14 um 19.48.08.png


Maximum resolution is 1024x768, you will have to press F10 to save:

Bildschirmfoto 2020-12-14 um 19.48.17.png


You can select "Continue" in the first menu to boot into Windows and you will have to reboot the VM a second time to get the higher resolution active.
 

Susurs

macrumors 68000
Jun 18, 2010
1,609
11,017
I haven't been able to launch Store to try it. Crashes on the VHDX and on a clean ISO install.
Store version is for Photoshop only as far as I understand. There seem to be another version on Insider (haven’t tried that).

 

Gerdi

macrumors 6502
Apr 25, 2020
449
301
Store version is for Photoshop only as far as I understand. There seem to be another version on Insider (haven’t tried that).


When you are running insider version of Windows, you automatically getting the OpenGL compatibility pack from the Store which works with all apps and games.
In any case, key is, that there is a D3D12 driver available. Microsoft provides software rendering via D3D WARP adapter. So in theory games should run, albeit slowly.
 
Last edited:

davemen

macrumors newbie
Jan 27, 2015
14
1
I haven't been able to launch Store to try it. Crashes on the VHDX and on a clean ISO install.
Has anyone been able to get the Store to open? I'm surprised that Store apps aren't working as I think the Store and the apps are x64 native.

I'm having the same issues as @Stromos
 

Gerdi

macrumors 6502
Apr 25, 2020
449
301
Has anyone been able to get the Store to open? I'm surprised that Store apps aren't working as I think the Store and the apps are x64 native.

I'm having the same issues as @Stromos

The Store itself is ARM32 - which gives you an idea why it is not working on M1. Apps in the Store could be anything x86, x64, ARM32, ARM64.
 
  • Like
Reactions: Gnattu
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.