HoloLens emulator on a virtual machine - hololens

I'm trying to develop for HoloLens but my laptop doesn't support the needed specs, so I was trying to figure out a virtualized solution (namely, using an Azure VM).
After unsuccessfully running the emulator on the Azure VM, I found that according to Microsoft (https://technet.microsoft.com/en-gb/library/hh831531), "The Hyper-V role is not supported on a Microsoft Azure virtual machine", which kills that idea.
Does anyone know of an alternative virtual option for developing and running the HoloLens emulator, which doesn't rely on the host machine's (i.e. my laptop) specs?

Yes, in the latest version of Unity which is Unity 5.5, there's a new feature called "Holographic Emulation" that will enable you to run on a simulated device directly in the editor.
As for the requirements, you need to have
Unity 5.5 installed in your machine
Windows 10 Anniversary Update (or later) installed
Here's the link to the blog in case you want to check more details about the simulator

Hololens emulator IS the Hyper-V virtual machine with Windows 10 and 3D graphic capabilities. The host machine should be able to run Hyper-V (CPU/BIOS limitation) and have a 3D adapter. More details are here:
https://learn.microsoft.com/en-us/windows/mixed-reality/using-the-hololens-emulator
Then you could install the emulator from
https://learn.microsoft.com/en-us/windows/mixed-reality/install-the-tools

Hololens emulator is not supported in VM due to CPU limitation, you can use holographic simulation in Unity instead.

Related

Does Google Cloud services support nested virtual machines?

I'm trying to configure an application to run on Google Cloud. I was able to start a VM running Windows 2008 Server (64bit) and install VMWare Player inside it. Then I tried to install and boot a second VM within VMWare Player, and Windows crashed.
So, my question is, does Google Cloud support "nesting" VMs in this fashion?
In case it matters, the "inner" VM's operating system was Linux (also 64-bit).
You cannot run Virtual Machine inside the GCE VM, as Virtualization is not enabled in any of the machines which are created under GCE. Currently Google doesn't have this functionality in its VMs.
Even if you tried to enable the Hyper-V in the Windows Sever GCE instance it will not allow you to do this because the processor should support the version of hardware assisted Virtualization.
I would suggest to create another Linux VM on Google Cloud Services, if you still need another machine.
Nested support in GCE is now in Beta (as of September 2017):
Documentation:
https://cloud.google.com/compute/docs/instances/enable-nested-virtualization-vm-instances
Blog posting:
https://cloudplatform.googleblog.com/2017/09/introducing-nested-virtualization-for.html
Disclosure: I work at Google on GCE.

Can I develop for Windows Phone 8 while using an Azure VM?

Title says it. There are not strong enough words in the English language that can express my hatred of Windows 8. I will not install it on my personal machine.
I was hoping to create an Azure VM and do my development there. But Windows 8 was not an option for a VM. So on a whim I created a 2012 Server VM and downloaded and installed the Windows 8 SDK. It installed fine.
I created a Hello World application and tried to run it. I got an error saying that Hyper-V was required. I used Coreinfo.exe to check and it says Hyper-V is not supported. So am I SOL?
The Windows Phone 8 emulator requires Client Hyper-V, which is a new feature of Windows 8. The emulator is an x86 virtual machine, which runs an x86 build of Windows Phone 8, and makes use of the RemoteFX technology for hardware virtual GPU support. It's so it runs at a high percentage of real device performance, and is very closely compatible.
Unfortunately, for hardware reasons, Hyper-V cannot be nested. In the Intel and AMD processor virtualization models, a guest operating system cannot itself be a nested hypervisor.
RemoteFX requires Second Level Address Translation. How to check if your processor supports it.
If you want to use the emulator, I'm afraid you have to install Windows 8. You can always dual-boot. Alternatively, get a phone developer-unlocked so you can debug on real hardware.

Slow emulation when using self-built WinCE6 image

I'm trying to figure out what I'm doing wrong: Using Microsoft's Device Emulator 3.0 with one of the included WM6.5 runs fine and feels quite responsive, even when debugging own (.net-)applications.
But if I try an own custom image, the user interface inside the emulator is extremely unresponsive and sometimes it takes two seconds for WinCE to register a simple click on a UI button.
There are no informative kernel debug prints...
Details:
Platform Builder for WinCE6R2
ARMV5 Emulation target
Industrial control template with minimal options
Release build
Emulator options: 128MB RAM, NE2000 emulation, 480x272x16 video settings
Is there anything I can take a look at to further troubleshoot this issue?
If you need to debug just applications you can build an image using the Virtual PC BSP. It provides better performances than the ARM emulator. You can connect using TCP/IP and even copy data files by mounting the VHD file in your machine if you have a Windows 7/8 PC.

Cannot use Visual Studio 2012 remote debugger from inside VM

I've seen a variety of questions (like this) which relate to my issue, but none that specifically address my scenario.
I'm running a Windows 8 VM inside VMWare Fusion on my Mac. The VM has shared network, filesystem, etc through the NAT network adapter.
As I'm building an app using Visual Studio 2012, I'd like to do some remote debugging on my Windows Surface tablet (WinRT)... and I have installed the remote debugging tools on the Surface.
However, Visual Studio (running inside the VM) can never see the Surface as a CPU running on the network subnet.
Any ideas? I've even tried physically connecting the computers with USB/Ethernet adapters, but the Surface won't let me install the firmware.
As long as the visual studio debugger can see the surface's IP that should be good enough. They don't need to be on the same subnet (although it makes it a ton easier, they cannot be NAT'd as far as I am aware but that's a better question for Microsoft directly). The best that I can recommend would be to switch from shared to bridge for your networking, that should put your Win 8 VM on an actual IP on the same subnet. Otherwise you might be able to try IPv6... but I don't know how well that will work with VMware.

Getting Microsoft Virtual PC to Work on Linux

Has anyone tried to get Windows 7/8 running on linux with the Microsoft Virtual PC download directly from Microsoft? It doesn't seem to be working using the default Boxes or Virtual Machine (QEMU) in CentOS / Red Hat?
SETTINGS:
Base Memory 1024 MB
Video Memory 128 MB
Network Adapter: Intel PRO/1000 MT Desktop (NAT)
Windows Virtual Box (from Microsoft)
http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=11575
forward to http://dev.modern.ie/
Is there any chance Microsoft or modern.ie will just release an iso install rather then a native Virtual System File?
It sounds like you're trying to get Microsoft's IE Virtual PC images working in VirtualBox (not Virtual PC itself).
Luckily there is a tool available to automate the process of converting the images and getting them to work in VirtualBox. Take a look at ievms.
Check http://www.modern.ie/en-us/virtualization-tools#downloads
This images are legal as modern.ie launched by Microsoft.
Site provide a wide range of up-today Windows images for Windows/Mac/Linux.
Microsoft Virtual PC downloads from http://dev.modern.ie/ (MS) only support Virtual Box on linux and not the Virtual Machine Manager that comes with CentOS.

Resources