Closed imamhs closed 3 years ago
This is a required extension and all NV GPUs support that. Either you have an ancient driver or very old Proton which doesn't understand that extension.
As you can see I have latest Nvidia driver and the only thing could go wrong is using old Wine version 5.0, I am going to test it against latest Wine version
Right, in that case it's most likely a very old winevulkan.
Tested with Wine 6.11 plus latest DXVK and vkd3d-proton, now gives different output but still crashing
System information: Wine build: wine-6.11 (Staging) Platform: x86_64 Version: Windows 10 Host system: Linux Host version: 5.12.0-17.2-liquorix-amd64
info: Game: hitman3.exe info: DXVK: v1.9 info: Found built-in config: info: Effective configuration: info: dxgi.customVendorId = 10de info: Built-in extension providers: info: Win32 WSI info: OpenVR info: OpenXR info: OpenVR: could not open registry key, status 2 warn: OpenVR: Failed to locate module info: Enabled instance extensions: info: VK_KHR_get_surface_capabilities2 info: VK_KHR_surface info: VK_KHR_win32_surface info: NVIDIA GeForce GTX 1650: info: Driver: 470.57.2 info: Vulkan: 1.2.175 info: Memory Heap[0]: info: Size: 4096 MiB info: Flags: 0x1 info: Memory Type[7]: Property Flags = 0x1 info: Memory Heap[1]: info: Size: 11978 MiB info: Flags: 0x0 info: Memory Type[0]: Property Flags = 0x0 info: Memory Type[1]: Property Flags = 0x0 info: Memory Type[2]: Property Flags = 0x0 info: Memory Type[3]: Property Flags = 0x0 info: Memory Type[4]: Property Flags = 0x0 info: Memory Type[5]: Property Flags = 0x0 info: Memory Type[6]: Property Flags = 0x0 info: Memory Type[8]: Property Flags = 0x6 info: Memory Type[9]: Property Flags = 0xe info: Memory Heap[2]: info: Size: 246 MiB info: Flags: 0x1 info: Memory Type[10]: Property Flags = 0x7 info: Adapter LUID 0: 0:403 352:info:vkd3d_get_vk_version: vkd3d-proton - applicationVersion: 2.4.0. 352:info:vkd3d_instance_init: vkd3d-proton - build: cafe99e223296e2. wine: Unhandled page fault on read access to 0000000000000000 at address 00000001400D3DC3 (thread 018c), starting debugger... 352:err:vkd3d_create_vk_device: Failed to create Vulkan device, vr -3. 352:fixme:hresult_from_vk_result: Unhandled VkResult -3. wine: Unhandled page fault on read access to 0000000000000000 at address 0000000140E10DD1 (thread 0160), starting debugger...
This is an NV bug with runtimes, see https://github.com/HansKristian-Work/vkd3d-proton/issues/711#issuecomment-867000702 for a workaround.
nvidia-modprobe -u -c=0 worked and the game loads normally, Thank you
But there is another issue which maybe not related but has to do with NV driver, the system freezes completely while loading a level or after playing a level for a while
Can you check if you are running out of system RAM when those freezes happen? Multiple people have reported that the nvidia 470 drivers seem to eat a lot of memory, especially with vkd3d-proton titles.
Yep, I'm having 30GB of RAM/page file use while playing HZD. It was fine before the new nvidia release.
Manjaro on 5.10.49 kernel, Nvidia 470.42.01. Proton-GE/Experimental using VKD3D.
It is same problem for me on Garuda Linux KDE with 16GB of RAM and GTX1080 on nvidia-dkms 470.57.02 driver and custom kernel.
I can not confirm if it is NV eating up ram since the system freezes completely and I had to restart
I have posted this issue on NVIDIA forums as well. Please do share reports there too so it gets noticed.
Ok, I tried to delete prefix and then start game fresh without saves and anything, now it crash at startup...
Edit: I reinstalled the Horizon Zero Dawn, now issue is when game is loading extreme usage of RAM, then im go out of RAM and game crash or PC freezes.
I can confirm the RAM issue on the 470 driver with Hitman 2 running on vkd3d-proton, however I was not able to check what exactly uses the memory. The game itself just crashes when the system is out of memory and goes back to normal, I can just restart the game and play a bit until its out of memory again and crashes. Does not happen on the 465 branch.
I also can't play Horizon Zero: Dawn because it uses too much memory. I can load a single save but every fast travel fails because the RAM usage goes to max(16GB) after a few seconds. I can force-quit the game when it's frozen. I'm using the 470.42.01 driver too. The game also has heavy cpu bottlenecking with an 5900x.
I have confirmed it is the game process itself eating the memory, I've also captured this pmap output of the process but I do not know how to interpret it, maybe it can help someone debug the issue:
We might be on the wrong track here, I've just downgraded to the 460 driver branch (last released in may) and the issue persists.
Edit: Actually nevermind, the latest 460 release was after the latest 470 release so this doesn't change anything.
However, using older Proton releases and consequently older vkd3d-proton versions fixes the problem for me on the older driver branch, I've not yet tested if this is the case on the new driver branch as well.
However, using older Proton releases and consequently older vkd3d-proton versions fixes the problem for me on the older driver branch, I've not yet tested if this is the case on the new driver branch as well.
Specifically which Proton release and driver release are you using?
With latest NVIDIA 470.63.01 driver works with vkd3d-proton-2.3.1 but not vkd3d-proton-2.4 as usual
There is a workaround for massive NV memory usage on master now.
Latest vkd3d-proton-2.5 and NVIDIA 470.82.00 the game (Hitman 3) crashes but it does not freeze computer.
Running Hitman 3 with the version 2.4 crashes the game with the following message. I checked my driver it supports VK_KHR_separate_depth_stencil_layouts extension. The game loads fine with version 2.3.1.
info: Game: hitman3.exe info: DXVK: v1.8.1 info: Found built-in config: info: Effective configuration: info: dxgi.customVendorId = 10de info: Built-in extension providers: info: Win32 WSI info: OpenVR info: OpenXR info: OpenVR: could not open registry key, status 2 warn: OpenVR: Failed to locate module info: Enabled instance extensions: info: VK_KHR_surface info: VK_KHR_win32_surface info: NVIDIA GeForce GTX 1650: info: Driver: 470.57.2 info: Vulkan: 1.2.175 info: Memory Heap[0]: info: Size: 4096 MiB info: Flags: 0x1 info: Memory Type[7]: Property Flags = 0x1 info: Memory Heap[1]: info: Size: 11978 MiB info: Flags: 0x0 info: Memory Type[0]: Property Flags = 0x0 info: Memory Type[1]: Property Flags = 0x0 info: Memory Type[2]: Property Flags = 0x0 info: Memory Type[3]: Property Flags = 0x0 info: Memory Type[4]: Property Flags = 0x0 info: Memory Type[5]: Property Flags = 0x0 info: Memory Type[6]: Property Flags = 0x0 info: Memory Type[8]: Property Flags = 0x6 info: Memory Type[9]: Property Flags = 0xe info: Memory Heap[2]: info: Size: 246 MiB info: Flags: 0x1 info: Memory Type[10]: Property Flags = 0x7 info: Adapter LUID 0: 0:401 65:info:vkd3d_get_vk_version: vkd3d-proton - applicationVersion: 2.4.0. 65:info:vkd3d_instance_init: vkd3d-proton - build: cafe99e223296e2. 65:err:vkd3d_init_device_caps: separateDepthStencilLayouts is not supported by this implementation. This is required for correct operation.
My system configuration is:
PC:
Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz 16 GB RAM GeForce GTX 1650 4 GB
System:
Kubuntu 20.10 64 Bit Liquorix Linux kernel (5.12.0-17.2-liquorix-amd64) Wine version: 5.0 Nvidia GTX driver version 470 (470.57.02) Vulkan Version: 1.2.141