Black screen after intro Intel gpu #498
Labels
No labels
accessibility
autorelease: pending
autorelease: tagged
bug
dependencies
documentation
duplicate
enhancement
github_actions
good first issue
help wanted
invalid
question
testing wanted
wontfix
No milestone
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Hookshot#498
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Builder version
Builder fix
How you built
Hookshot Builder app (Windows)
Game files given to it
A .nup
The error
Visual Studio or Build Tools version, and Windows SDK version
Latest build tools, SDK, and visual studio
Operating system and free space on the output drive
Windows 11
Before you send it
The logs here show the cause: after the logo, Intel's driver compiled the game's large compute shaders on the thread that presents frames (one took 58 s; about 25 in a row stalled a single frame for 157 s), so nothing was drawn and the window looked frozen. Release https://github.com/NotRexed/Hookshot/releases/tag/ultrawide compiles them in the background instead, so the game keeps running while they build (the 3D may look incomplete for the first minute or two on the very first start). Please update and try again; if it still stays black, wait 3 minutes and attach hookshot_log.txt.
Tried on Intel Arc B580 on https://github.com/NotRexed/Hookshot/releases/tag/v2.0.2, black screen at the same spot:
hookshot_log.txt
Same problem here on an Intel Arc B580 with v2.0.2. The logs show a Vulkan device lost at the same compute dispatch,
4b03b3040d7cf076, in 3 of my 4 runs, which might help narrow it down.System
.nupdumpWhat happens
I waited several minutes each time. The shaders were already prepared (
precompile: 4315 programs ... in 1276 ms), and the big compute pipelines compile in the background (dispatch of ... left out: its compute pipeline is still compiling). So this seems to be a different problem from the shader-compile stall diagnosed earlier in this thread.What the logs show
Every run ends with
VK_ERROR_DEVICE_LOST(submit returns -4). In 3 of 4 runs the checkpoints stop at the same place: top of pipe at4b03b3040d7cf076, bottom of pipe atab7699ee7f536755. Soab7699ee7f536755finished, and4b03b3040d7cf076started but never finished:hookshot_log.1.txt4b03b3040d7cf076(frame 11612)hookshot_log.txt4b03b3040d7cf076(frame 1240)hookshot_log_upscale_stub.txt592079442d7129da(frame 1941)hookshot_log_network_keep_none.txt4b03b3040d7cf076(frame 1392)On this card the matrix multiplies run in software (
the cooperative matrices lack 16x8x16 f16), so at first I suspected the upscale networkfd029a317a9a4b94, which is the only network kept on Intel. That doesn't seem to be it. WithRX_VK_NETWORK_KEEP=nonethe network was left out and replaced by the linear upscale as intended, but the device was lost before it ever ran:My guess, which I haven't confirmed:
4b03b3040d7cf076hangs on Intel. It could be another unbounded loop like the compare-and-swap ones fixed for AMD and Intel in v2.0.2 (#548), or something in the software matrix-multiply path. It runs past the Windows GPU timeout (TDR, 2 s), and Windows resets the device.What I tried
RX_VK_FORCE_UPSCALE_STUB=1: still black (run 3). The network still ran.RX_VK_NETWORK_KEEP=none: still black (run 4). The network was skipped, and the device was still lost at4b03b3040d7cf076.Logs attached
hookshot_log.1.txt: run 1, new game, black after the first cutscenehookshot_log.txt: run 2, loading a save, black entering Kokiri Foresthookshot_log_upscale_stub.txt: run 3, withRX_VK_FORCE_UPSCALE_STUB=1hookshot_log_network_keep_none.txt: run 4, withRX_VK_NETWORK_KEEP=nonehookshot_log.2.txt: only the updater message from moving thedevice-lost-fixbuild to v2.0.2If there's a switch to skip or bound
4b03b3040d7cf076, or a test build, I'm happy to try it. Thanks for the work on this!hookshot_log.1.txt
hookshot_log.2.txt
hookshot_log.txt
hookshot_log_network_keep_none.txt
hookshot_log_upscale_stub.txt
Update: still happens on v2.0.4 (same B580, driver 101.9175, loading the same save into Kokiri Forest). The screen stays black.
Same device lost at the same program as before,
4b03b3040d7cf076, right afterab7699ee7f536755:That makes 4 of my 5 device-lost runs that stop at
4b03b3040d7cf076. Log attached (hookshot_log_v2.0.4.txt). I'm happy to test a build or switch that skips or bounds4b03b3040d7cf076.hookshot_log_v2.0.4.txt
Tracked in #999, follow there. That issue collects every report of Intel Arc / Core Ultra device lost, black screens and Linux ANV crashes, and this one is linked from it with its GPU, version and log details. If it still happens on v2.0.6 (https://github.com/NotRexed/Hookshot/releases/tag/v2.0.6; Update next to Play in the launcher), please add a comment there with your
hookshot_log.txt.