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

未关闭
#224 8 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
25/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
cpp

调研方向

首先查看附带的 Steam 日志和 fossilize_replay 崩溃跟踪,然后在 Fedora Silverblue 38 上以 Flatpak 运行 A Hat in Time(应用 ID 253230),复现后台 Vulkan 着色器处理。检查处理是否仍然卡住,或者 fossilize_replay 是否崩溃,并使用复现结果和日志来确定一个可复现的故障。

由索引模型根据 Issue 内容生成。

描述

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
主要语言
C++
星标
800
派生
82
PR 合并指标
30 天内没有已合并 PR

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

ValveSoftware/Fossilize 的其他 Issue

查看 ValveSoftware/Fossilize 的全部 Issue

相似的 Issue

更多 C++ Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。