Closed marelons1337 closed 2 years ago
What if you use a release build with assertions disabled? The game still works fine here.
Hey, thanks for quick answer, I'm not sure how to do that. I run the game with these settings
__NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only __GLX_VENDOR_LIBRARY_NAME=nvidia DXVK_ASYNC=1 DXVK_STATE_CACHE=1 PROTON_ENABLE_NVAPI=1 PROTON_USE_SECCOMP=1 VKD3D_CONFIG=no_upload_hvv,single_queue gamemoderun %command%
Also
NVIDIA GeForce GTX 1660 Ti:
info: Driver: 470.103.1
info: Vulkan: 1.2.175
Where did you get your vkd3d-proton build from? It's obviously being built in debug mode when it shouldn't be.
That said, if this assertion ever triggers, something is going seriously wrong somewhere.
I might have messed up a few packages here and there as I was basically installing most of them manually when tried to run Witcher 3 in Lutris. I only used proton for God of War and Elden Ring now and I don't remember getting it from anywhere, I think I just installed it with steam.
Looked over the WSI code and I don't understand how that code path can be hit. __NV_PRIME_RENDER_OFFLOAD=1
is weird. Are you running on a laptop with PRIME here? 1660 Ti would suggest no.
Maybe it's useful, I tested on Win10 (AMD Software 22.4.1) and got the same error. I'm using VC++ 2022 runtime.
DXVK log: info: Game: eldenring.exe info: DXVK: v1.10.1 info: Found config file: dxvk.conf info: Effective configuration: info: d3d9.samplerAnisotropy = 16 info: d3d11.samplerAnisotropy = 16 info: d3d9.presentInterval = 0 info: dxgi.syncInterval = 0 info: Built-in extension providers: info: Win32 WSI info: OpenVR info: OpenXR info: OpenVR: could not open registry key, status 2 info: 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: Radeon RX Vega: info: Driver: 2.0.220 info: Vulkan: 1.3.206 info: Memory Heap[0]: info: Size: 7920 MiB info: Flags: 0x3 info: Memory Type[0]: Property Flags = 0x1 info: Memory Type[4]: Property Flags = 0xc1 info: Memory Heap[1]: info: Size: 7898 MiB info: Flags: 0x0 info: Memory Type[1]: Property Flags = 0x6 info: Memory Type[3]: Property Flags = 0xe info: Memory Type[5]: Property Flags = 0xc6 info: Memory Type[7]: Property Flags = 0xce info: Memory Heap[2]: info: Size: 256 MiB info: Flags: 0x3 info: Memory Type[2]: Property Flags = 0x7 info: Memory Type[6]: Property Flags = 0xc7 warn: DXGI: MakeWindowAssociation: Ignoring flags
Looked over the WSI code and I don't understand how that code path can be hit.
__NV_PRIME_RENDER_OFFLOAD=1
is weird. Are you running on a laptop with PRIME here? 1660 Ti would suggest no.
It can be a PRIME setup, yes. This is exactly how DXVK detects GTX 1660 Ti Mobile on my laptop:
I've tried almost all combinations of launch settings I could find and this one used to work correctly. I had some crashes on startup every once in a while but other than that it was fine. Now if I'm understanding correctly steam proton got it's own build of vkd3d-proton. Can I just build it from the source according to installation guide here and if yes where should that be?
I'll try to reproduce this.
From browsing logs a little bit deeper I think that it's some sort of problem with Vulkan but I am unsure. Perhaps a log of an event where game starts and crashes would help? In logs it's line ~34218 steam-1245620.log
I cannot reproduce this on NVIDIA 470.62.26 on desktop at least.
This should be fixed on master now after the latest wsi-robustness merges.
Hi, Elden Ring used to work somehow well(it sometimes crashed randomly on start) but since new patch it doesn't start at all. I've noticed this error in the console everytime it crashes, could that be an issue?
Assertion failed: swapchain->vk_acquire_semaphores_signaled[swapchain->frame_id], file ../src-vkd3d-proton/libs/vkd3d/swapchain.c, line 1860