jamesstringerparsec / Easy-GPU-PV

A Project dedicated to making GPU Partitioning on Windows easier!
4.42k stars 443 forks source link

Cyberpunk 2077 not launching in VM #281

Open grialion opened 1 year ago

grialion commented 1 year ago

No matter what I try, I can't seem to get Cyberpunk 2077 working. No wonder, it hardly runs on bare metal too. I've installed Cyberpunk in my GPU PV VM, to my network drive using Steam, it installed everything correctly, when I press Play, simply nothing happens. I can't even get into the game, I don't get any feedback, no error pop-ups, nothing. I checked the Task Manager and saw 2 exe files related to Cyberpunk, one being Cyberpunk.exe and REDEngineErrorReporter.exe though none of them "appeared", no windows opened ever. I can kill them, but no error will show up.

I also can't get the launcher to work, but I can somehow open the "Cyberpunk has flatlined window" using the executable from the bin folder: Cyberpunk crash reporter exe opening I don't think that it will help much but here's the sysinfo.json (the only file that has content provided in the crash report) sysinfo.json on pastebin

I've tried running it on my host Windows system, it started perfectly fine (however for some reason when I have Hyper-V enabled in the Windows features it caps my FPS, but that isn't the main issue here!), so obviously, the network share is not the problem. Using grrminator's fork produces the same issue.

Unigine Heaven benchmark DX11 ran fine, however, DX9 couldn't start up (just froze in the loading screen), but anyway it's entirely different from the Cyberpunk issue. Unigine Superposition benchmark ran as expected on DirectX12, without any issues.

Was anyone able to run successfully Cyberpunk 2077 in a Hyper-V paravirtualized VM? If yes, please let me know what your setup looked like, I'd appreciate it. Thanks!

My specs: Ryzen 7 3700x 8 cores 16 threads, 20GB RAM, RTX 3070 (latest drivers), Windows 10 pro VM specs: 12 virtual cores, 14GB RAM, 40GB storage (provided by the script), Windows 10 pro

mitchellurgero commented 1 year ago

I think CyberPunk is Direct X12, right? It should technically work do you see any errors in EventViewer?

grialion commented 1 year ago

It's DirectX12, as far as I know. Checking the EventViewer doesn't help too much, however I'm getting a Qt library error when starting up. The Qt error appears in EventViewer too. The launcher (the Qt part) can be "bypassed" by directly opening the exe, which works on my host PC too, and the same issue happened when I could open the launcher (on an older VM that I've deleted by the time). After launching the exe, I get stuck with the Cyberpunk2077.exe and REDEngineErrorReporter.exe processes, NO new events appear in the EventViewer. EventViewer.exe, only the Qt errors show up, which are my attempts to open the launcher These errors are only the product of my attempts to open the launcher, as I said, no errors appear, when trying to launch directly the exe.

I will try installing a new VM and deleting and installing Cyberpunk 2077 again (on the network share). I will maybe try this on Windows 11 too. Honestly I think that this is an issue from Cyberpunk rather than Hyper-V however I'm still gonna try what I can do. If you have any suggestions/ideas let me know.

Fawkex commented 1 year ago

Experienced the same, add --launcher-skip solved this for me, unable to use DLSS and XeSS, FSR works though.

grialion commented 1 year ago

So the game runs fine? Could you tell me what your configuration is (OS, Cores, RAM, GPU, etc.)? I can't get it to run with the --launcher-skip option either (no window appears, same issue). Do you use this repo or some fork?

Fawkex commented 1 year ago

At least the benchmarks runs fine. OS: Windows 11 Pro 22H2 22621.1555 on both Host and Guest CPU: 7950x (12 threads allocated to VM) RAM: 32G*2 (16G allocated to VM) GPU: RTX4090 (50% allocated to VM) GPU Driver: Game Ready 531.79 Same repo.

Fawkex commented 1 year ago
屏幕截图 2023-05-05 010857

Well, there are some slightly different errors from yours, no Task Category (100) for me, but "Software crash event".

grialion commented 1 year ago
屏幕截图 2023-05-05 010857

Well, there are some slightly different errors from yours, no Task Category (100) for me, but "Software crash event".

After completely reinstalling the VM and installing Cyberpunk 2077 to the virtual disk, I can see the same error as you, though it still does not open. Neither the game nor the launcher. I can't start it with the --launcher-skip option either. Now what I might try is doing the same thing, but in Windows 11.

Do you have any additional display adapters / monitors in the VM? I use the default Hyper-V adapter, that might be a problem.

dxdiag crashes and tells me to bypass the Direct3D checks. Does it say anything for you in the display tab?

Fawkex commented 1 year ago

I'm using the parsec virtual display, it should be installed automatically with the script, but if it doesn't, you can download it from parsec host settings.

grialion commented 1 year ago

I was able to switch the the Parsec VDD (by uninstalling the Hyper-V Display video and monitor drivers), and it's now buttery smooth (1440p 144Hz) however I'm still getting the same issue. I re-did the whole thing from scratch: Installed Windows 11 Pro on host, created new VM with latest Win11 iso, installed Cyberpunk to disk, switched to Parsec Display and it's still stuck. After waiting ~2 minutes, Windows decides to "suspend" Cyberpunk2077.exe Cyberpunk stuck in Windows 11 Even if I click to "resume" on Resource Monitor, it still does not open.

Launcher GUI does not open, as expected, but I don't even care about that anymore since it isn't needed to play. I made sure both Host and Guest Windows versions are the same: 22621.1635 I've installed the latest NVIDIA drivers (531.79) to the host before creating the VM.

steerwithsvm commented 1 year ago

At least the benchmarks runs fine. OS: Windows 11 Pro 22H2 22621.1555 on both Host and Guest CPU: 7950x (12 threads allocated to VM) RAM: 32G*2 (16G allocated to VM) GPU: RTX4090 (50% allocated to VM) GPU Driver: Game Ready 531.79 Same repo.

I also have almost everything same except its on 4080 but somehow not able to run games in the VM due to driver issues, Have you got any solution diffrent to this script. Also i am not able to install older drivers on my host PC ...

Dimand2005 commented 7 months ago

No matter what I try, I can't seem to get Cyberpunk 2077 working. No wonder, it hardly runs on bare metal too. I've installed Cyberpunk in my GPU PV VM, to my network drive using Steam, it installed everything correctly, when I press Play, simply nothing happens. I can't even get into the game, I don't get any feedback, no error pop-ups, nothing. I checked the Task Manager and saw 2 exe files related to Cyberpunk, one being Cyberpunk.exe and REDEngineErrorReporter.exe though none of them "appeared", no windows opened ever. I can kill them, but no error will show up.

I also can't get the launcher to work, but I can somehow open the "Cyberpunk has flatlined window" using the executable from the bin folder: Cyberpunk crash reporter exe opening I don't think that it will help much but here's the sysinfo.json (the only file that has content provided in the crash report) sysinfo.json on pastebin

I've tried running it on my host Windows system, it started perfectly fine (however for some reason when I have Hyper-V enabled in the Windows features it caps my FPS, but that isn't the main issue here!), so obviously, the network share is not the problem. Using grrminator's fork produces the same issue.

Unigine Heaven benchmark DX11 ran fine, however, DX9 couldn't start up (just froze in the loading screen), but anyway it's entirely different from the Cyberpunk issue. Unigine Superposition benchmark ran as expected on DirectX12, without any issues.

Was anyone able to run successfully Cyberpunk 2077 in a Hyper-V paravirtualized VM? If yes, please let me know what your setup looked like, I'd appreciate it. Thanks!

My specs: Ryzen 7 3700x 8 cores 16 threads, 20GB RAM, RTX 3070 (latest drivers), Windows 10 pro VM specs: 12 virtual cores, 14GB RAM, 40GB storage (provided by the script), Windows 10 pro

Hello, how are you setup virtual video display? I'm reach starting up cyberpunk on vm with win10 pro!!!