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

Susurs

macrumors 68000
Jun 18, 2010
1,609
11,017
All the settings and changes during the setup are made within the VHDX file as far as I understand, right? There are no files / folders created outside the VHDX and besides the AVCM app itself?
 

netkas

macrumors 65816
Oct 2, 2007
1,198
394

Javi74

macrumors member
Dec 5, 2020
39
12
Go to System Preferences->Security & Privacy. Make sure you are on the General tab. Click on the button to allow the app. Because of libraries you may have to do this several times. Just keep going, it will work eventually.
Thanks.
 

supak111

macrumors member
Oct 24, 2008
55
1
Hey can you explain this a bit more? I get success after running the command but I still can't install driver after a restart
 

supak111

macrumors member
Oct 24, 2008
55
1
“bcdedid -set ...” succeeded, however for some reason there was still error for signed drivers for network.

As an alternative I tried restarting by pressing the shift key (on screen keyboard), “Choose an Option”, “Troubleshoot”, “Advanced Options, “Startup Settings”, “Restart” and pressed 7 to disable driver signature enforcement. That worked and network driver installed fine.

P.S. Just for testing - I got 1494 SC and 4765 MC score with 4 cores / 4GB in Geekbench 5
Never mind I got it to go into Test Mode. I started win10, ran bcdedit -set.... left that win10 running, stared another one in the terminal before quitting the first one and it worked.
 
Last edited:

kupan787

macrumors member
Sep 17, 2014
54
33
California
I've opened an issue for ACVM on github to fix the resolution issue. If we are lucky it will get patched :)


I just submitted a pull request to resolve this.

 

kupan787

macrumors member
Sep 17, 2014
54
33
California
I just submitted a pull request to resolve this.

So I've been playing with the source some more, and am working on throwing together a quick little VM Manager.

Screen Shot 2020-12-08 at 9.51.11 PM.png
Screen Shot 2020-12-08 at 10.03.52 PM.png


I'm going to add in the ability to use qemu-img to create a blank RAW or qcow disk from the configuration screen.

Anything else that'd be worth adding in as well? I'll get this all packaged up and submitted as a pull request tomorrow or Wednesday (depending on day job). I've done some basic testing so far, and it seems to work ok.
 

UCDHIUS

macrumors regular
Nov 16, 2017
199
61
Texas
So I've been playing with the source some more, and am working on throwing together a quick little VM Manager.

View attachment 1689947 View attachment 1689950

I'm going to add in the ability to use qemu-img to create a blank RAW or qcow disk from the configuration screen.

Anything else that'd be worth adding in as well? I'll get this all packaged up and submitted as a pull request tomorrow or Wednesday (depending on day job). I've done some basic testing so far, and it seems to work ok.

That's amazing !
 

Susurs

macrumors 68000
Jun 18, 2010
1,609
11,017
So I've been playing with the source some more, and am working on throwing together a quick little VM Manager.

View attachment 1689947 View attachment 1689950

I'm going to add in the ability to use qemu-img to create a blank RAW or qcow disk from the configuration screen.

Anything else that'd be worth adding in as well? I'll get this all packaged up and submitted as a pull request tomorrow or Wednesday (depending on day job). I've done some basic testing so far, and it seems to work ok.
Thank you!

Will there be a possibility to change screen resolution?
 

MrMacintoshBlog

macrumors 6502
Sep 21, 2009
458
311
Chicago, IL
So I've been playing with the source some more, and am working on throwing together a quick little VM Manager.

View attachment 1689947 View attachment 1689950

I'm going to add in the ability to use qemu-img to create a blank RAW or qcow disk from the configuration screen.

Anything else that'd be worth adding in as well? I'll get this all packaged up and submitted as a pull request tomorrow or Wednesday (depending on day job). I've done some basic testing so far, and it seems to work ok.
Oh this is great!

How about drive options like what UTM uses? Maybe the ability to add a drive or a shared disk? Also it looks like UTM is the only app that will allow you to do full screen with the window. (I know we can use RDP) but would be nice just to hit the green full screen button.
 

Gnattu

macrumors 65816
Sep 18, 2020
1,107
1,671
Also it looks like UTM is the only app that will allow you to do full screen with the window. (I know we can use RDP) but would be nice just to hit the green full screen button.
UTM is using SPICE as display and heavily patched it to use it with Cocoa, but ACVM is using qemu's built-in Cocoa display. qemu's built-in Cocoa does not support native full screen, but the UTM's implementation does, that's why we can use native full screen on UTM. To implement a full front end of display is somehow out of the scope as ACVM is just a GUI wrapper, not meant to be an all-in-one virtualization solution.

If you are booting Linux, you can set your virtual gpu to virtio, and press command+f when your host has the keyboard to toggle fullscreen, then just change the resolution in the VM to match your screen. Windows can only use a framebuffer device but not the virtio gpu and you are locked to 1024x768 because of that, which makes full-screen meaningless.
How about drive options like what UTM uses? Maybe the ability to add a drive or a shared disk?
I think he mentioned the ability to add a disk using qemu-img.
 

Gnattu

macrumors 65816
Sep 18, 2020
1,107
1,671
I think there is an issue in nvme qemu driver, at least on macos/m1/hvf host and windows guest as we use it here. Sometimes I get corrupted files after shutdown/startup cycle, it also invokes disk check on boot pretty often. I am not doing anything that can specifically cause this.
I think it might be caused by the qemu's internal drive cache. The write-back cache may not work fine at current state, so use write-through might help:
Code:
-drive file=Windows10_InsiderPreview_Client_ARM64_en-us_20231.VHDX,if=none,cache=writethrough,id=NVME1 \
 

Stromos

macrumors 6502a
Jul 1, 2016
937
2,162
Woodstock, GA
I think it might be caused by the qemu's internal drive cache. The write-back cache may not work fine at current state, so use write-through might help:
Code:
-drive file=Windows10_InsiderPreview_Client_ARM64_en-us_20231.VHDX,if=none,cache=writethrough,id=NVME1 \
Is this workaround possible to use with the ACVM App? I keep ending up with a corrupt VHDX really quickly.

Anyone else seeing lost cores after reboots? Tried a fresh VHDX and it started up with 2 of 4 cores not starting in device manager (Object not found). Then after another reboot I was down to 1 core.

I'm just tinkering I am fasinated by all of this.

So in a more stable launch I loaded Steam and ran Unreal Tournament. It's amazing how the intro and everything ran with no lag whatsoever. The mouse is totally wonky in it but I got as far as launching a session just to see it work. Doom 3 and Quake 3 Arena both have OpenGL errors. Anyone know how to easily extend the VHDX file? I assume I could easily do it in Windows 10 but I am being lazy and having too much fun being on OS X again after a lot of years.
 

Stromos

macrumors 6502a
Jul 1, 2016
937
2,162
Woodstock, GA
This is a bug in qemu now


I'm going to submit a pull request for this, so that it will be the default.
Thanks I feel better now haha I was losing my mind trying to figure out what changed in the last couple days.

I was looking into the write cache thing you mentioned it looked like that was in the first release in GitHub.

Commits on Nov 30, 2020
Change disk caching type to cache=writethrough.
This works around an FS corruption issue on Windows builds 2023x.
 

netkas

macrumors 65816
Oct 2, 2007
1,198
394
Thanks I feel better now haha I was losing my mind trying to figure out what changed in the last couple days.

I was looking into the write cache thing you mentioned it looked like that was in the first release in GitHub.

Commits on Nov 30, 2020
Change disk caching type to cache=writethrough.
This works around an FS corruption issue on Windows builds 2023x.
Not sure it helps
Still saw firefox's files corruption once after started to use this cache option
 

Gerdi

macrumors 6502
Apr 25, 2020
449
301
Is this workaround possible to use with the ACVM App? I keep ending up with a corrupt VHDX really quickly.

Anyone else seeing lost cores after reboots? Tried a fresh VHDX and it started up with 2 of 4 cores not starting in device manager (Object not found). Then after another reboot I was down to 1 core.

I'm just tinkering I am fasinated by all of this.

So in a more stable launch I loaded Steam and ran Unreal Tournament. It's amazing how the intro and everything ran with no lag whatsoever. The mouse is totally wonky in it but I got as far as launching a session just to see it work. Doom 3 and Quake 3 Arena both have OpenGL errors. Anyone know how to easily extend the VHDX file? I assume I could easily do it in Windows 10 but I am being lazy and having too much fun being on OS X again after a lot of years.

Regarding OpenGL errors, there is an OpenGL/OpenCL compatibility pack from Microsoft in the App Store in particular for ARM devices. It provides OpenGL 3.3 compatibility, which make Doom3 and Quake 3 run on Windows ARM. Of course as long as there is no HW accelerated Direct3D12 driver on the Mac, this is without any HW acceleration.

VHDX files can be mapped as virtual drive under Windows. Not sure about MacOS.
 

Stromos

macrumors 6502a
Jul 1, 2016
937
2,162
Woodstock, GA
Regarding OpenGL errors, there is an OpenGL/OpenCL compatibility pack from Microsoft in the App Store in particular for ARM devices. It provides OpenGL 3.3 compatibility, which make Doom3 and Quake 3 run on Windows ARM. Of course as long as there is no HW accelerated Direct3D12 driver on the Mac, this is without any HW acceleration.

VHDX files can be mapped as virtual drive under Windows. Not sure about MacOS.
When it gets a bit more stable I’ll tinker more it’s purely for the damn even without hardware acceleration this stuff runs. I was shocked anything started at all.
 

Susurs

macrumors 68000
Jun 18, 2010
1,609
11,017
So I've been playing with the source some more, and am working on throwing together a quick little VM Manager.

View attachment 1689947 View attachment 1689950

I'm going to add in the ability to use qemu-img to create a blank RAW or qcow disk from the configuration screen.

Anything else that'd be worth adding in as well? I'll get this all packaged up and submitted as a pull request tomorrow or Wednesday (depending on day job). I've done some basic testing so far, and it seems to work ok.
How is it going with the project?
 

kupan787

macrumors member
Sep 17, 2014
54
33
California
How is it going with the project?
Sorry normal work has kept me busy.

I'll post what I have done thus far tonight.

EDIT: I just decided to post what I have done so far.


Changes:

  • Updated QEMU to the latest v5.2 with patch set 4 (https://patchwork.kernel.org/project/qemu-devel/list/?submitter=185121)
  • Added a VM manager
    • Added ability to create, edit, and delete vm configurations​
    • Added ability to create new disk images (either RAW or QCOW2 format). Right now this is accessed via the File menu.​
    • Added ability to start/stop multiple VMs​
  • Incorporated the cache=writethrough for the main drive image
I have a lot to clean up visually, and move stuff around. This is may first time coding Swift, and I am learning as I go. I'm mainly doing this so that I can learn more about the language and have some fun. I'm open to suggestions.

I've done a handful of testing locally on my computer, and it seems to be working ok, but I do expect there to be bugs/issues.
 
Last edited:

Nate Spencer

macrumors member
Jun 5, 2015
54
30
I think it might be caused by the qemu's internal drive cache. The write-back cache may not work fine at current state, so use write-through might help:
Code:
-drive file=Windows10_InsiderPreview_Client_ARM64_en-us_20231.VHDX,if=none,cache=writethrough,id=NVME1 \
Having the same issue w/ UTM. Wonder if I can manually set that. I'm going to use qemu-img and upsize to 50GB anyway. I need to see if I can find a gparted for ARM or maybe the x86 will work work well enough to upsize the partition and NTFS vol.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.