{"action":"created","issue":{"url":"https://api.github.com/repos/doitsujin/dxvk/issues/166","repository_url":"https://api.github.com/repos/doitsujin/dxvk","labels_url":"https://api.github.com/repos/doitsujin/dxvk/issues/166/labels{/name}","comments_url":"https://api.github.com/repos/doitsujin/dxvk/issues/166/comments","events_url":"https://api.github.com/repos/doitsujin/dxvk/issues/166/events","html_url":"https://github.com/doitsujin/dxvk/issues/166","id":305558764,"number":166,"title":"Hellblade: Senua's Sacrifice crashes without DXVK_SHADER_OPTIMIZE=1","user":{"login":"60fpshacks","id":37403401,"avatar_url":"https://avatars1.githubusercontent.com/u/37403401?v=4","gravatar_id":"","url":"https://api.github.com/users/60fpshacks","html_url":"https://github.com/60fpshacks","followers_url":"https://api.github.com/users/60fpshacks/followers","following_url":"https://api.github.com/users/60fpshacks/following{/other_user}","gists_url":"https://api.github.com/users/60fpshacks/gists{/gist_id}","starred_url":"https://api.github.com/users/60fpshacks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/60fpshacks/subscriptions","organizations_url":"https://api.github.com/users/60fpshacks/orgs","repos_url":"https://api.github.com/users/60fpshacks/repos","events_url":"https://api.github.com/users/60fpshacks/events{/privacy}","received_events_url":"https://api.github.com/users/60fpshacks/received_events","type":"User","site_admin":false},"labels":[{"id":716783605,"url":"https://api.github.com/repos/doitsujin/dxvk/labels/bug","name":"bug","color":"ee0701","default":true},{"id":806781513,"url":"https://api.github.com/repos/doitsujin/dxvk/labels/nvidia","name":"nvidia","color":"75b901","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2018-03-15T13:46:13Z","updated_at":"2018-03-17T13:18:56Z","closed_at":null,"author_association":"NONE","body":"# **Hellblade: Senua's Sacrifice**\r\nThe game can only be played using the (recently removed) SPIR-V shader optimization tool [DXVK_SHADER_OPTIMIZE=1]. Without it, and using the latest commit, the game crashes right after the first logo.\r\n\r\n### System information\r\n- GPU: Nvidia Geforce GT 1030\r\n- Driver: Nvidia proprietary driver 390.42\r\n- Wine version: wine-vulkan-git r123139.4e181f459b-1 (Based on Wine 3.3)\r\n- DXVK version: 1bfd37a\r\n\r\n### Apitrace file(s)\r\n- [HellbladeGame-Win64-Shipping.trace](https://www.dropbox.com/s/bqpywmyqlqgr0n2/HellbladeGame-Win64-Shipping.trace.tar.gz?dl=0)\r\n\r\n### Log files\r\n- [HellbladeGame-Win64-Shipping_d3d11.log](https://github.com/doitsujin/dxvk/files/1815590/HellbladeGame-Win64-Shipping_d3d11.log)\r\n- [HellbladeGame-Win64-Shipping_dxgi.log](https://github.com/doitsujin/dxvk/files/1815591/HellbladeGame-Win64-Shipping_dxgi.log)\r\n"},"comment":{"url":"https://api.github.com/repos/doitsujin/dxvk/issues/comments/373919536","html_url":"https://github.com/doitsujin/dxvk/issues/166#issuecomment-373919536","issue_url":"https://api.github.com/repos/doitsujin/dxvk/issues/166","id":373919536,"user":{"login":"pingubot","id":35608947,"avatar_url":"https://avatars1.githubusercontent.com/u/35608947?v=4","gravatar_id":"","url":"https://api.github.com/users/pingubot","html_url":"https://github.com/pingubot","followers_url":"https://api.github.com/users/pingubot/followers","following_url":"https://api.github.com/users/pingubot/following{/other_user}","gists_url":"https://api.github.com/users/pingubot/gists{/gist_id}","starred_url":"https://api.github.com/users/pingubot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pingubot/subscriptions","organizations_url":"https://api.github.com/users/pingubot/orgs","repos_url":"https://api.github.com/users/pingubot/repos","events_url":"https://api.github.com/users/pingubot/events{/privacy}","received_events_url":"https://api.github.com/users/pingubot/received_events","type":"User","site_admin":false},"created_at":"2018-03-17T13:18:56Z","updated_at":"2018-03-17T13:18:56Z","author_association":"NONE","body":"I also can confirm the issue here using the api trace with my gtx 970 and driver 390.42 . The game crashes during loading in the driver : wine_vkCreateComputePipelines seems to trigger it. The full trace is attached.\r\n\r\n@60fpshacks :Using the spir optimizer 2 times (you have to do it multiple times, cause after fixing the first shaders with the optimizer, some shaders later on may cause the same issue), i am able to completely replay the apitrace without issues.\r\n\r\n@pdaniell-nv: It would be fantastic if you could take a look at the 3 shaders in that package, they seem to crash the nvidia driver, maybe we are hitting another shader compiler issue here. Many thanks.\r\n\r\nHere is the link: [Broken Shaders](https://github.com/doitsujin/dxvk/files/1821041/spv.tar.gz)\r\n\r\n[hellblade-backtrace.txt](https://github.com/doitsujin/dxvk/files/1821637/hellblade-backtrace.txt)\r\n\r\n"}}
{"actor":{"display_login":"pingubot"}}