[SOLVED] How to play Genshin Impact on Gaming VM


zognic

Recommended Posts

Hello,

 

If you plan to run the game Genshin Impact on your UnRAID Gaming VM, you will face to this message.

"Sorry, this application cannot run under a Virtual Machine."

It can be fixed by adding this parameter inside the XML template at CPU part

 

<cpu mode='host-passthrough' check='none'>
	...
    <feature policy='disable' name='hypervisor'/>
</cpu>

It work from my side, but someone know if it can impact the overall performances of the system?

 

 

Edited by zognic
  • Like 1
  • Thanks 2
Link to comment
6 hours ago, Sans69 said:

I have no experience with this kind of thing.

Could u maybe tell in steps what your supposed to do?

this modification inside the xml inside vm settings on webgui

image.thumb.png.3265303c5ae3d84c7f96a67c081b17d4.png

the 

<cpu mode='host-passthrough' check='none'> 

indicate inside which tag to put the code

</cpu>

is closing tag.
so between those you put this code:

<feature policy='disable' name='hypervisor'/>

 

  • Thanks 1
Link to comment

This Unraid Forums and unraid is software that utilize KVM Hypervisor, and you can access xml config so this patch can be applied.

if your system is using KVM and you have access to config file ( which unlikely for online services ) then you do this patch.

Link to comment
On 10/2/2020 at 4:06 AM, zognic said:

Hello,

 

If you plan to run the game Genshin Impact on your UnRAID Gaming VM, you will face to this message.


"Sorry, this application cannot run under a Virtual Machine."

It can be fixed by adding this parameter inside the XML template at CPU part

 


<cpu mode='host-passthrough' check='none'>
	...
    <feature policy='disable' name='hypervisor'/>
</cpu>

It work from my side, but someone know if it can impact the overall performances of the system?

 

 

I just tried this morning and it locked up my Windows 10 VM and wouldn't let me boot into Windows for some reason.

Edited by Petey
Link to comment

I can confirm this indeed works. Though now when I edit my VM I get "Invalid CPU feature name" and the system gets pretty sluggish too. For instance I usually use all the extra cores/components for my gaming/editing VM that I can. So I have 16-12 virtual cores 12-10gb of RAM and a GTX 1080. With this modification I usually get barely 40-50fps in Genshin Impact, with CPU, RAM, and DISK usage almost maxing out. Its like I am playing on an amd ryzen 2400G again. But its fine for now. At least I can play with my friends. Really hope they disable that check for VM/shadow anti-cheat. I just wanted to warn people that it can drop your performance a lot. Still testing some adjustments though.

Link to comment
  • 4 weeks later...

Thanks for this hint. With this adjustment in xml I was able to launch Genchin Impact. 

 

Unfortunately this setting does not allow to launch Forza Horizon 4, Need for Speed Heat and FIFA 21 as all of them crash due to insufficient hardware specs. Went back to the old xml.

Edited by Coke84
Link to comment
  • 2 weeks later...
  • 2 months later...
6 hours ago, Forrest said:

It does not work for me.

After changing the config, it does not show the error message any more. But the game doesn't launch at all. Looking at the Task Manager, cpu and memory are all idle.

It was worked solution but not more.

 

As you says, after 1.3 update and can't lunch genshinimpact.exe.

 

The application shutdown automatically.

 

I'm trying to find some new ways...

Link to comment
14 hours ago, cskim said:

It was worked solution but not more.

 

As you says, after 1.3 update and can't lunch genshinimpact.exe.

 

The application shutdown automatically.

 

I'm trying to find some new ways...

 

Hey @cskim!

 

I just set up unRaid today. My Windows VM is running from a bare metal install on an SSD. I had the "Sorry, this application cannot run under a Virtual Machine." issue, but after adding 

<feature policy='disable' name='hypervisor'/>

I was able to successfully play Genshin Impact. 

 

I did face some lag when I moved my view, but that was because my Logitech mouse report rate was too high. 

After lowering the report rate to around 250 I can now play on high settings without any lag. 

 

My version is 1.3 

 

Capture2.PNG

Link to comment
  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.