dxvk
dxvk copied to clipboard
[d3d11] Project CARS 2 missing menu/HUD on HMD (SteamVR)
It appears DXVK has memory allocation issues with this application using SteamVR, resulting in either a crash or hang:
Unlike Windows 10 the application also fails to render any menu/HUD items to the VR headset prior to starting a race.
Software information
- Name: Project CARS 2
System information
- GPU: GeForce RTX 2060
- Driver: NVIDIA 440.44
- Wine version: Proton 4.11-11
- DXVK version: 1.5
- SteamVR version: 1.10.1
Apitrace file(s)
-
pCARS2AVX.windows10_dx11_steamvr.trace (works as expected, cancelled
.trace
due to time) - pCARS2AVX.ubuntu1804_dx11_steamvr.trace (memory allocation issue)
Log files
- pCARS2AVX_d3d11.ubuntu1804_dxvk15.log (works as expected)
- pCARS2AVX_d3d11.ubuntu1804_dxvk15_steamvr.log (memory allocation issue)
Memory allocation failure is not a bug and cannot be fixed, see #1100 (although this should be fixed in recent Nvidia drivers). If this is still a problem, something might be wrong with your system configuration.
Due to this comment, can you try with latest Vulkan beta driver?
https://github.com/ValveSoftware/Fossilize/issues/55#issuecomment-572589380
this should be fixed in recent Nvidia drivers
@doitsujin Currently NVIDIA 440.44 is the latest stable release, is a beta driver required?
something might be wrong with your system configuration.
@doitsujin Possible though unlikely, this system is configured for testing purposes. (i.e. standard packages/out-of-the-box experience)
can you try with latest Vulkan beta driver?
@Leopard1907 Currently Ubuntu's graphics PPA does not provide the latest NVIDIA 440.43.02 "Beta" driver, will have to wait for a stable release.
@doitsujin The application also fails to render any menu/HUD items to the VR headset prior to starting a race:
Windows 10 (works as expected)
projectcars2_vrmonitor.windows10_dx11_steamvr.mp4
Ubuntu 18.04 LTS (menu/HUD issue)
projectcars2_vrmonitor.ubuntu1804_dxvk15_steamvr.mp4
And what exactly is the "menu/HUD issue"? The screenshots look the same?
Or are you referring to whatever is in the small window? Note that I have hardly any experience with VR so it's not clear what your problem is. It's also extremely hard to debug VR-specific issues.
If so, it might also be worth checking if the same thing happens with wined3d, if there are any messages about d3dx11/d3dcompiler in the Proton log (those are responsible for most rendering issues these days, and are also not not part of DXVK).
@doitsujin Possible though unlikely, this system is configured for testing purposes. (i.e. standard packages/out-of-the-box experience)
Again, failed memory allocations simply cannot be fixed in DXVK. Either you're actually running out of memory or your driver is acting up for whatever reason. I don't think a beta driver is required.
@mimattr https://launchpad.net/~graphics-drivers/+archive/ubuntu/ppa
440.48.02 added now , can you try with it?
Note that I have hardly any experience with VR so it's not clear what your problem is.
@doitsujin The small window (bottom-left) displays the VR headset view, currently nothing is rendered on Ubuntu until starting a race... all menu/HUD items are missing and have to be selected via the desktop display:
- projectcars2_vrmonitor.windows10_dx11_steamvr.mp4 (works as expected)
- projectcars2_vrmonitor.ubuntu1804_dxvk15_steamvr.mp4 (menu/HUD issue)
it might also be worth checking if the same thing happens with wined3d, if there are any messages about d3dx11/d3dcompiler in the Proton log
@doitsujin There are many d3dx11/d3dcompiler messages when using wined3d (Proton 4.11-12):
440.48.02 added now , can you try with it?
@Leopard1907 The memory allocation issue appears to be resolved using the latest NVIDIA 440.48.02 driver, unfortunately the fundamental issue of this application crashing SteamVR still remains:
System information
- GPU: GeForce RTX 2060
- Driver: NVIDIA 440.48
- Wine version: Proton 4.11-12
- DXVK version: 1.5.1
- SteamVR version: 1.10.3
The missing menu is eventually fixed with https://github.com/ValveSoftware/Proton/pull/4163 Afaik Project Cars 2 and Assetto Corsa Competizione are using Unreal Engine 4, thus it is very likely that both games use the same way to create the menus.
Edit: I’m not that sure anymore that PC2 uses UE4, so I might miss the mark here completely.
On a side note, the menus in ACC are working perfectly with said PR, but the game itself crashes in VR (it runs perfectly without VR) when using an NVIDIA card. I tried to collect the info I have here https://github.com/ValveSoftware/SteamVR-for-Linux/issues/397 As far as i read (https://github.com/ValveSoftware/Proton/issues/1420#issuecomment-706723540) Project Cars 2 has the same or a similar issue.
This issue might be fixed with Proton 5.13-2 RC, see https://github.com/ValveSoftware/Proton/issues/4360 Unfortunately I don't own PC2, would be cool if somebody could confirm this.
This issue might be fixed with Proton 5.13-2 RC, see ValveSoftware/Proton#4360
@jp7677 Launching Project CARS 2
with Proton 5.13-2 RC3 and SteamVR 1.15.7 now displays the initial "Namco Bandai" loading screen within the headset/HMD but SteamVR itself crashes before progressing further.
I’m not that sure anymore that PC2 uses UE4, so I might miss the mark here completely.
@jp7677 Correct, the "Project CARS" games use the MADNESS Engine along with Automobilista 2 (same issue)
@mimattr thanks for the test and clarification. Sorry to hear that this is a different issue than the one ACC had and thus sorry for the noise I made.
@mimattr Friendly ping. Are you still having different issues with latest version? 🙂
Are you still having different issues with latest version?
@Blisto91 Unfortunately the latest issue still remains, launching Project CARS 2
with Proton Experimental 7.0-20220712 and SteamVR 1.23.6 displays the initial "Namco Bandai" loading screen within the headset/HMD but SteamVR itself crashes before progressing further.