bonamin Posted August 26, 2022 Share Posted August 26, 2022 Hello guys. I hope you're all doing fine ! I have a quick question to make for someone who might have a solution ! - - - - - - - - - - - - - - Some info: I followed SpaceInvaderOne's guides (PRICELESS), and advice from other users, and posts in this forum, and I've put together my second UnRaid build with the intent to use it as a daily with Dual gaming VMs for me and my wife. Things are working GREAT. I've setup everything, and both VMs are running flawlessly with GPU Passthroughs. I even tried several games, and they seem to be working flawlessly as well. The Problem: I tried to launch a game called "RUST" today, (which by the way is the game me and my wife mostly play together), and when the anti-cheat software was "loading" I got the error message: "Cannot run under Virtual Machine". Which does make sense at first, but what drives me crazy, is that the game was launching perfectly fine up until yesterday, and I didn't notice any update to be honest. My Question: Does anyone know if we can somehow trick the software, into thinking it's running on a normal machine ? PS. Or is there possibly something wrong with MY VM ? Although I changed nothing since yesterday when it was working. I've also attached a photo with the error message. Quote Link to comment
bonamin Posted August 28, 2022 Author Share Posted August 28, 2022 Anyone? 😔 Update: Other EAC (EasyAntiCheat) games, work fine. For example Apex Legends. Quote Link to comment
shakinbacon Posted August 28, 2022 Share Posted August 28, 2022 (edited) after a ton of research i have figured it out my man. under <os> put <smbios mode='host'/> directly below that put this under <features> <kvm> <hidden state='on'/> </kvm> under <cpu mode ='host-passthrough'....... put <feature policy='disable' name='hypervisor'/> and i also deleted any lines pertaining to hyper-v now go forth and make some plays Edited August 28, 2022 by shakinbacon Quote Link to comment
bonamin Posted August 29, 2022 Author Share Posted August 29, 2022 13 hours ago, shakinbacon said: after a ton of research i have figured it out my man. under <os> put <smbios mode='host'/> directly below that put this under <features> <kvm> <hidden state='on'/> </kvm> under <cpu mode ='host-passthrough'....... put <feature policy='disable' name='hypervisor'/> and i also deleted any lines pertaining to hyper-v now go forth and make some plays Gonna Check this out right when I get home ! If this works I'm gonna buy you a beer ! ❤️ Quote Link to comment
bonamin Posted August 29, 2022 Author Share Posted August 29, 2022 20 hours ago, shakinbacon said: after a ton of research i have figured it out my man. So ! [updates] 1: I've added those 3 lines in my XML, and by ONLY adding those 3, my VM "starts" but I get a black screen. It's not a passthrough problem, because I also get a black screen on my Remote Desktop app. I use "Parsec". What's strange though, is that parsec sees the computer as "online" seconds after it boots, as if it's working normally in the background. Strange. 2: Under <features> if I completely remove the following lines (since you said "and i also deleted any lines pertaining to hyper-v"): <hyperv mode='custom'> <relaxed state='on'/> <vapic state='on'/> <spinlocks state='on' retries='8191'/> <vendor_id state='on' value='none'/> </hyperv> the VM boots up and works normally, but I can ONLY save the VM template in "XML View". If I switch to "Form View" and save, I get the error message: 3: If though, I only add the first two you suggested: <smbios mode='host'/> <kvm> <hidden state='on'/> </kvm> remove the <hyperv mode...> part, but keep the <feature policy='disable' name='hypervisor'/> out of the XML as well, then I can switch back to form view, I can save, It boots, and the game works. So my question is, do you actually now by any chance what this last line does ? It disables the "hypervisor" or something ? And if I skip adding it, will something bad happen ? plus, what about the whole part we had to delete ? Why is it there in the first place ? So many questions, so little knowledge I possess. Quote Link to comment
JonathanM Posted August 29, 2022 Share Posted August 29, 2022 2 hours ago, bonamin said: I can ONLY save the VM template in "XML View". If I switch to "Form View" and save, I get the error message: Form view is sort of broken, it tries to ensure the XML code is valid, but it doesn't know all the acceptable entries, so if you make a change in XML that it doesn't understand, it wipes it out or errors. Stay in XML view once you customize a VM using XML. Take a look at all the options and combinations available, and you'll have a sense of why things are as they are. Form view is there to give a good base, hopefully 90% of VM's can be run from there, but the customizations available in the raw XML are almost endless. https://libvirt.org/formatdomain.html Quote Link to comment
bonamin Posted August 30, 2022 Author Share Posted August 30, 2022 5 hours ago, JonathanM said: Form view is sort of broken, it tries to ensure the XML code is valid, but it doesn't know all the acceptable entries, so if you make a change in XML that it doesn't understand, it wipes it out or errors. Stay in XML view once you customize a VM using XML. Oh I didn't know that. Thanks ! The only thing that made me "want" the Form View, is the fact that I can super easily change how many cores and RAM I have assigned to my machine. [ Quick Talk - Not important ] I've built this box, only with Dual Gaming VMs in mind, for me and my wife, since it didn't make sense buying a whole separate PC for her. When my wife isn't gaming with me (on RUST 90%) she most likely listens to music, browses the web, watches a movie on Emby or Netflix or spends our money on eBay and clothes. So the idea was, once we decide to game, Split the CPU and RAM in half, (or 60-40 ) and play. Once we are done, give her a couple of cores, and about 8-10Gigs of RAM, and give my VM the full power of that beefy CPU. Anyway, many many thanks for your advice guys. I REALLY hope that EAC doesn't figure out we are trying to hide the VM from it and bans us. Good Day everyone. ❤️ Cheers. Quote Link to comment
PCwhale Posted September 12, 2022 Share Posted September 12, 2022 Lovely, this works like a charm. thank you so much guys Quote Link to comment
nwicone Posted March 1, 2023 Share Posted March 1, 2023 Hello all, I'm on the same situation. I didn't understood What are the parameters to change and which ones are useless? I saw elsewhere that certain modifications changed performance into games, is this your case? Many thanks 😃 Quote Link to comment
Pavelapoliakov Posted June 12, 2023 Share Posted June 12, 2023 Guys, an update for the anti-cheat battleye was released some time ago, this solution no longer works for it. battleye affects a decent number of games. You can select: DayZ, PlayerUnknown’s Battlegrounds, Escape from Tarkov, Fortnite Battle Royale, Mount & Blade II: Bannerlord, and also Tibia, Arma 2, PlanetSide 2, Arma 3, Rainbow Six Siege, Heroes & Generals, Ark: Survival Evolved, Unturned, Destiny 2, Z1 Battle Royale, PlanetSide Arena, Watch Dogs: Legion. It would be nice to find some solution to hide the virtual machine from the anti-cheat. Quote Link to comment
nwicone Posted June 12, 2023 Share Posted June 12, 2023 5 minutes ago, Pavelapoliakov said: Guys, an update for the anti-cheat battleye was released some time ago, this solution no longer works for it. battleye affects a decent number of games. On my side, Fortnite is still working. Quote Link to comment
bobbintb Posted July 16, 2023 Share Posted July 16, 2023 Neither BattlEye nor EasyAntiCheat working for me in Forntnite anymore. Anyone else? Quote Link to comment
guyverjab Posted September 3, 2023 Share Posted September 3, 2023 On 8/28/2022 at 7:37 AM, shakinbacon said: after a ton of research i have figured it out my man. under <os> put <smbios mode='host'/> directly below that put this under <features> <kvm> <hidden state='on'/> </kvm> under <cpu mode ='host-passthrough'....... put <feature policy='disable' name='hypervisor'/> and i also deleted any lines pertaining to hyper-v now go forth and make some plays This worked for me! Quote Link to comment
xavierda Posted November 6, 2023 Share Posted November 6, 2023 On 9/3/2023 at 12:51 PM, guyverjab said: This worked for me! Hey there, Confirming this also worked for me recently. Windowss 11 VM, GTX3070 Passthrough and can now play Fortnite successfully. Performance of the VM in general seems unaffected, so will incorporate this into my templates going forward. Thank you for the tips here! Regards, Xav. Quote Link to comment
threatening-journeyman6134 Posted November 7, 2023 Share Posted November 7, 2023 This no longer works as of today. EAC clears but you get kicked from the match with battleye Quote Link to comment
xavierda Posted November 10, 2023 Share Posted November 10, 2023 On 11/7/2023 at 8:46 PM, threatening-journeyman6134 said: This no longer works as of today. EAC clears but you get kicked from the match with battleye Yes! I know Loaded up the game to play with my son and was booted from the match about 45 seconds in - seems like the detection has been updated and the settings no longer work. Haven't been an avid gamer for years, and not kept up with it - why would running in a VM be an issue? Is this the way certain hacks/cheats are made? I'm just playing on a different setup and want to use the same hardware for different things! The performance was great, the gametime was fun. Guess I'm searching to beat BattleEye, or find another combination of setting that hides the VM status. Regards, Xav. Quote Link to comment
ghost82 Posted November 10, 2023 Share Posted November 10, 2023 7 hours ago, xavierda said: Is this the way certain hacks/cheats are made? Yes 7 hours ago, xavierda said: I'm just playing on a different setup and want to use the same hardware for different things! I agree 100%, but stupid software houses don't understand this; instead of programming some serious anticheating software they only check if you're running the game in a vm. Quote Link to comment
nwicone Posted December 22, 2023 Share Posted December 22, 2023 Hello guys, It's no longer working for me Is it still working for you ? Thanks all 🙂 Quote Link to comment
LuckJury Posted June 22 Share Posted June 22 Thank you for this, it got me sorted earlier today. Quote Link to comment
Recommended Posts
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.