protonscr

Game stays open if you exit the game while GPL is compiling shaders

dxvkclosed can't reproducenot our bug
doitsujin/dxvk#3541 · opened 2023-06-27 by Managor · updated 2026-06-16 · 4 comments · github
MManagor 2023-06-27 github

Demonstrative video: https://youtu.be/NTQvK2aYge0

If I exit out of a game normally while GPL is compiling a massive shader cache, the game will stay open. The game will still stay open even if I Alt+F4 as shown in the video. @ishitatsuyuki has confirmed that this also happens with Overwatch

Software information

Apex Legends. Proton Experimental

System information

  • GPU: GeForce GTX 1060 6GB
  • Driver: 535.54.03
  • Wine version: Proton Experimental, Build ID 11547737
  • DXVK version: v2.2-98-g189585890137269

Log files

steam-1172470.zip (Not the same as the video)

MManagor 2023-06-27 github

Before GPL, when using Steam to precompile shaders for Apex, some of the shaders were insanely big. As in after everything else has finished and the counter is at 99%, 2 threads are left to compile for like 15 minutes

That might be related.

Ddoitsujin maintainer 2023-06-27 github

Sounds like there's some slow shader compiles happening in the background that we end up waiting for. All compiler threads have an early-exit path and in something like God of War, exiting the game during shader compilation works just fine here.

MManagor 2023-07-23 github

I recorded a log where I went to the connection screen, then immediately after exited the game and let the game churn on whatever it did
steam-1172470.log

BBloodyIron 2023-07-31 github

I'm having this same issue, and in my case most notably for Apex Legends. Not sure if it's tied to shader compilation or not, but this happens very frequently, and I think is a recent matter (weeks?).

Proton versions