GPUOpen-Drivers / AMDVLK

AMD Open Source Driver For Vulkan
MIT License
1.73k stars 162 forks source link

[dxvk] Disney Pixar Cars graphics pipeline library crash #362

Closed Blisto91 closed 5 months ago

Blisto91 commented 5 months ago

While testing a issue in Disney Pixar Cars i noticed that amdvlk (v-2024.Q1.3) will crash when the game starts if the use of VK_EXT_graphics_pipeline_library is enabled in dxvk. GPL can with DXVK_CONFIG="dxvk.enableGraphicsPipelineLibrary = False" This is tested on a 7950x iGPU and latest dxvk master.

https://drive.proton.me/urls/GPMGWHA2VW#5xV0rX4gLjF4 Replaying the trace above with 32bit apitrace will make it crash with

Assertion failed: !status && "vkCreateGraphicsPipelines", file ../wine/dlls/winevulkan/loader_thunks.c, line 2934

64bit apitrace will not show the issue and AMD radv or Nvidia are also fine.

Blisto91 commented 5 months ago

Got notified that the difference in dxvk between 32 and 64bit is that for the former dxvk.trackPipelineLifetime is set to true. Running with DXVK_CONFIG="dxvk.trackPipelineLifetime = True will make 64bit apitrace crash too. As a extra note if it suddenly stops crashing then clean the shader cache.

Blisto91 commented 5 months ago

Ignore. This showed to be a dxvk issue afterall Fixed via https://github.com/doitsujin/dxvk/commit/65373792d2918fc7ce81d30d4da0b77cc6ceb527