protonscr

[Regression] shader compile process stuck at 99% and game doesn't exit after close game window in The Finals

vkd3dclosed
HansKristian-Work/vkd3d-proton#2669 · opened 2025-10-23 by sklynic · updated 2025-10-23 · 3 comments · github
Ssklynic 2025-10-23 github

Description

Game's own shader compile process stuck at 99% despite cpu usage back to normal level (also vkd3d log indicated no more PSO shader being created), and game doesn't exit after close game window.

Bisect

66b0e39

66b0e39082207c6b19c4c21b0a2ee03b97e14ade is the first bad commit
commit 66b0e39082207c6b19c4c21b0a2ee03b97e14ade
Author: Hans-Kristian Arntzen <[email protected]>
Date:   Wed Oct 15 15:29:27 2025 +0200

    dxil-spirv: Update submodule.
    
    Signed-off-by: Hans-Kristian Arntzen <[email protected]>

 subprojects/dxil-spirv | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

dxil-spirv 7342f74

7342f74032efd64d75bc335587fa4fadd2b8bea5 is the first bad commit
commit 7342f74032efd64d75bc335587fa4fadd2b8bea5
Author: Philip Rebohle <[email protected]>
Date:   Wed Oct 15 13:26:12 2025 +0200

    Update dxbc-spirv.
    
    Mostly fixes some potential stack overflows.

 bc/module_dxbc_ir.cpp      | 4 ++++
 subprojects/dxbc-spirv     | 2 +-
 third_party/CMakeLists.txt | 4 ++++
 3 files changed, 9 insertions(+), 1 deletion(-)

Software information

The Finals SteamDB

System information

Log files

vkd3d-proton_2073850.log

Ssklynic 2025-10-23 github

Bisect for dxbc-spirv: 30ac255

30ac2553837f8ae021f9b4fd04e351f80afad9b4 is the first bad commit
commit 30ac2553837f8ae021f9b4fd04e351f80afad9b4 (HEAD)
Author: Philip Rebohle <[email protected]>
Date:   Thu Sep 25 22:15:06 2025 +0200

    ir: Also optimize away casts for comparisons with a constant.

 ir/passes/ir_pass_arithmetic.cpp | 41 +++++++++++++++++++++++++++++------------
 1 file changed, 29 insertions(+), 12 deletions(-)
HHansKristian-Work maintainer 2025-10-23 github

Thanks for the bisect, I'll try to reproduce.

HHansKristian-Work maintainer 2025-10-23 github

Reproduced.

Nothing extracted yet.