-
Notifications
You must be signed in to change notification settings - Fork 142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Roblox working #56
Comments
Omg, it doesn't show "Roblox cannot be run inside a virtual machine" on my machine , it shows "The application encountered an unrecoverable error" |
Here's my config with the mac addresses scrubbed for obvious reasons. Also I use 16 cores, 1 thread each because Roblox is single threaded and runs better this way
|
When I first created a VM and passed through a 3080 Ti, Roblox would just complain I was in a VM whenever I would try to start it, but my fix was just enabling Hyper-V and it immediately tricked Roblox into working. |
I cannot enable Hyper-V, it will make blue screen.... |
I think that just happens due to your CPU type. My proxmox server with an i7 13700K has that exact same issue where it bluescreens after hyper-v is enabled. My PC with an i9 9900k on the other hand, has no issues with hyper-v |
@zhaodice, did you enable Hyper-V enlightenments? These are necessary for Hyper-V to operate as they make Windows think it's run on top of a Hyper-V compatible hypervisor and enables Hyper-V specific features. Here is the QEMU wiki page for further insight Btw you can't bypass Valorant's anti-cheat as easily anymore. |
I can confirm that roblox works by enabling hyper-v, but performance goes near zero when it's enabled |
Hi @JoaGamo, AMD:
Intel:
Hope this helps! |
do you still use this qemu config, and it works? or do some changes on guest windows? |
Yup, still working for me. Also the windows install has not been changed in the slightest, I just downloaded windows 10 single language edition, downloaded direct X redistributable and ran roblox 🤷 Weird that others require modifications to run hypervisor and all that. |
i use pc-q35-7.0 |
I cant get it to work for me at all, its just keeps "crashing" even tho its running in taskmgr, I kill it and relaunch it from desktop and every time its different, meaning I may need rdtsc patch? I even tried playing with cpu flags
I tried to enable Hyper-v but as I said, it did open for 2sec before closing itself out |
@YoinkedYoink The screenshot you provided above shows "Virtual Machine: Yes"? Are you hiding the "hypervisor" CPUID Flag? |
If this is the line you're referencing then yes, I set it to "none". But in the screenshot pafish detects a CPUID hyperv flag 🤷
|
.....
by default qemu always makes it +, making it show its a vm, the line you provided isnt what im talking about, |
The setting you mean is this:
|
@YoinkedYoink or somebody, who get roblox worked on windows worked log is inside:
this will be great one :) and what version of qemu do you use? |
Yeah same thing, I am also not passing through my GPU but rather using NVIDIA vGPU, works fine with studio, but the https://github.com/CE1CECL/qemu-vmvga/ also doesn't work, still crashes |
From the developers of vinegar, roblox studio doesn't actually have the antidebug/cheat. If possible, try pass through your gpu instead of partitioning and see if that works. Someordinarygamers and the arch wiki helps massively when doing single gpu passthrough like mine. |
I'll get this to you soon, just haven't been around my computer for a bit 😁 |
I have trouble remembering to do things... ALSO, be careful when trying this. Roblox has been silently flagging users using vms and I have no way to test this.
|
@YoinkedYoink , add me pls on Discord, same nickname as here :) |
After some searching about I found this on the official roblox website https://en.help.roblox.com/hc/en-us/articles/24275616578708-Hyperion-Messages More specifically there is a section on "Crash Type: Virtual machine detected", it notes that a gpu needs to be passed through and Intel-VTx/AMD-V needs to be enabled. Confirming that gpu passthrough is needed. If anyone wants the guide I used it is this one https://www.youtube.com/watch?v=BUSrdUoedTo |
Does this patch help with roblox? or is it unnessesary with roblox, im getting the error: |
@SpiderUnderUrBed i try lots of steps to get roblox on KVM, but still no success, my config is nearby same as from YoinkedYoink, but still see my system as VM only diffs are maybe cause i have a INTEL CPU and YoinkedYoink has a AMD CPU or maybe @YoinkedYoink you can upload your loader files, i want try to your, maybe it gona works with it |
Yes but does this patch help with the "roblox cannot run inside a virual machine" error, I cant tell, i tried so many things like gpu passthrough and enabling hyper v (no nested virtulization) |
Here is my XML:
I have hyper-v and GPU passthrough enabled, plus I added the qemu patch from here, but if its not needed ill remove it |
finally, my roblox works
|
this finally fixed it for me. I'm using an i7-12700KF with a GTX 1050 Ti passthrough (RX 6700XT for host) and after changing the model value roblox stopped erroring |
@uragan1987 - Thanks so much for fix, can you please explain where I'm to add this into my XML? |
using @CE1CECL's XML file as an example, you put it at the end where the changing This immediately fixed it for me, but performance was subpar at best. I don't have a second GPU for passthrough anymore so I cannot test CE1CECL's XML, but it is worth a go before editing values that I honestly don't know what exactly do. |
Also don't forget adding
Here's the documentation: https://www.libvirt.org/kbase/qemu-passthrough-security.html Btw why don't you just use host-passthrough mode on your CPU? That one passes all features and metadata over to the virtual CPU, which would be the fastest (also performance wise) and safest option for hiding this part of the VM. As far as I know there are no UUID or serials attached to the CPU itself, but only on the motherboard which can be spoofed using the tag in the section. |
Thanks you so much for your time and detailed reply. Sadly I'm way out of my depth here and have no idea what any of this means when I'm changing it. My issue with my Unraid Windows 11 VM is that Roblox loads up and then shuts down within 60seconds with no errors message at all. The only thing that has stopped that and allowed Roblox to work (Microsoft store version) is changing the Model=0. But now the problem with that is it's stopped BlueStacks (android emulator) from working now. And there a clear loss in overall performance on other games now. What does model=0 even change? I would be happy donate a few dollars to get this issue fixed. I thought I was using host-passthrough mode on your CPU? Does adding qemu:commandline to my XML override all the / entries prior? |
model=0 is technically invalid, but it tells the OS what generation the CPU is, such as what year, and type (i.e: Atom, Celeron, Pentium, Core, etc...) I made it be the way it is above so that macOS boots in my VM without a panic. the flags ",-" / ",+" tells the OS what features the CPU has, the max tells the OS turn everything on (but not really in my case, as everything is configured) but not all features can be + anyways (usually because its unimplemented or unsupported by QEMU or CPU) |
Thanks for the information and all that you do @CE1CECL, your efforts helped get me the result I needed. I was able to change the "model" info without the need for qemu:commandline within the Unraid VM XML which got UWP Roblox working for my kids (that's got them off my back for a while....lol) Please see detailed info here: |
I'm glad for you! |
So I have this working Roblox starts no problem, but then Roblox proceeds to crash after anywhere from 10-50mins of playing, and I'm not sure what the issue is I thought it was virtual machine sided, but it doesn't seem to be the case the logs seem to be Hyper-V related any help would be appreciated. Here is the XML for my VM
|
The issue has mostly been remedied by vinegarhq's sober project. But if you need to use a vm or don't care about the windows and qemu/kvm overhead then the above solution will work. |
Roblox is tightening security on Android alongside that some people don't want to run a proprietary application on their Linux install. |
Also, that project depends on the x86 version of the application for Android which Roblox may discontinue at any time. |
Did you use the UWP version of Roblox? |
No I was using the desktop web version of Roblox |
For me all I had to do is passthrough GPU and define custom CPU (NOT host-passthrough). My CPU is i5-9400F and it's Coffeelake which is not supported yet so I set it to Skylake-Client. To my knowledge Skylake is closest to Coffeelake but I have no idea how it works in QEMU. Anyway that was enough to get me going for the UWP (Microsoft Store) version of Roblox and the normal version. I can play both. Note: I also use dumped vbios rom and I pass through USB controller as well if you wonder.
|
Uh.... isn't unrecoverable error just alternative hyperion vm detection message to confuse people? |
I'm positive it isn't to confuse people, that kind of error is from the Roblox client itself iirc and not Hyperion, although Hyperion may have induced it to crash and Roblox's crash reporter kicked in. |
Ok |
add more. Roblox blocks connections using rdp, I don't know how they did it but when using rdp 100% it is detected as a virtual machine. Maybe using vnc, or other software can help avoid it. (it's just a necessary condition not sufficient, of course you need to switch to host mode and hide some other things) |
You did passthrough a physical GPU right? It seems silly to detect RDP connections as means to detect a virtual machine. |
I tested again recently. You still don't need to pass through a GPU or hide your KVM; you still only need to set a custom host-model if it doesn't work for you. You guys are looking too far into it. Roblox doesn't even have any reliable or useful VM detection. By the way, you don't even need hyper-v. It's pretty useless and it also results in a performance loss. |
I posted this back in September; nothing has changed, and it's still applicable. Roblox isn't even going after VMs anymore, as their focus is on Android exploits. |
What do you mean with set custom host I have posted, to set host model to 0, this was fixed my problem |
|
Sometimes you won't need to set a custom host-model depending on what CPU you have; the issue is less present with AMD CPUs, but if you have the issue, you just have to find a model that works for you in the list. |
I would also like to clarify that my screenshots in my older comments are screenshots of the full desktop web version of Roblox running inside of the virtual machine, and it is not the Roblox app from the Microsoft Store. |
before i setup my virtual machine via vitualizor , (using qemu proxmox), and choose host mode, and any other mode is fine as long as i connect using VNC , but if i use RDP 100% roblox will detect the virtual machine. (I recently switched to using PROMOX directly , the strange thing is that no matter i switch to host, or other models, or use VNC , RDP , ... Roblox still detects the virtual machine. Maybe they updated.)
|
Using the patch roblox should work as long as you pass a gpu.
From the looks of it, the only checks they act on is if you don't have a valid gpu (or spice/vnc guest running?) and it crashes with "Roblox cannot be run inside a virtual machine".
Even if hyperV says that it's a VM, the game just doesn't care 🤷
The text was updated successfully, but these errors were encountered: