ValveSoftware / ValveSoftware/Fossilize

Steam seems to never finish shader pre-compiling in the background for A Hat in Time

Open
#224 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
780
Forks
78
PR merge metrics
No merged PRs in 30d

Description

Your system information
  • Steam client version (build number or date): Wed, Jun 21 6:18 PM UTC -03:00

  • Distribution (e.g. Ubuntu): Fedora Silverblue 38, running as a Flatpak

  • Opted into Steam client beta?: [Yes/No] Yes

  • Have you checked for system updates?: [Yes/No] Yes

  • Steam Logs: [generate by running this command in a terminal tar -zcvf ~/Desktop/steam-logs.tar.gz ~/.steam/steam/logs] steam-logs.tar.gz

  • GPU: NVIDIA GeForce GTX 1660 Ti / Intel® UHD Graphics 630

Please describe your issue in as much detail as possible:

Describe what you expected should happen and what did happen. Please link any large code pastes as a Github Gist

I have the option "Allow background processing of Vulkan shaders enabled" and I have several games installed, including A Hat in Time".
There's seems to be no indicator right now on the Steam UI that it's doing shader processing (there was one before the rollout of the new UI, I didn't find it after the redesign), but I can know due to the fan of the laptop speeding up.

The problem seems to be that the A Hat in Time shader compiling never finishes, I know it's stuck in the A Hat In time compiling because by checking htop fossilize_replay is working on the Steam app with the id of 253230 (which is A Hat in Time), also if I manually try to load A Hat in Time, but the compilation at that point also takes a long time, so I given up.
Letting the computer go 3 hours straight doing not more then shader compiling seems to not help, as apaprently it still doesn't do much progress.

Also, it seems sometimes the fossilize_replay can be crash, such as this:

jun 21 22:14:34 centauro kernel: traps: fossilize_repla[17788] general protection fault ip:7fd6aca926a4 sp:7ffd57e75568 error:0 in libc.so.6[7fd6aca28000+180000]
jun 21 22:14:36 centauro systemd-coredump[18576]: [🡕] Process 17788 (fossilize_repla) of user 1000 dumped core.
                                                  
                                                  Stack trace of thread 1984:
                                                  #0  0x00007fd6aca926a4 n/a (/usr/lib/x86_64-linux-gnu/libc.so.6 + 0x926a4)
                                                  ELF object binary architecture: AMD x86-64
Steps for reproducing this issue:
  1. Enable "Allow background processing of Vulkan shaders" feature
  2. Install A Hat In Time
  3. Check if it properly compiles A Hat In Time shaders

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the attached Steam logs and the fossilize_replay crash trace, then reproduce the background Vulkan shader processing with A Hat in Time (app ID 253230) on Fedora Silverblue 38 as a Flatpak. Check whether processing remains stuck or fossilize_replay crashes, and use the reproduction result and logs to identify a reproducible failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
computer-graphics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.