Game: v3.2.0 stays black at the opening movie on Iris Xe (Mesa): the movie's upscale pipeline waits behind the start's mesh fallback builds #2477

Open
opened 2026-11-24 19:38:46 +00:00 by Tomiss · 1 comment
Contributor

Longshot version

v3.2.0 (source 1f0bf123)

Channel

Release

What kind of problem

Crash, freeze or black screen

What happened

The game was installed with the Longshot Launcher v1.2.0, and its shader preparation finished (longshot_prepare_results.txt: 275,659 built, 0 failed). On start, the startup logo plays, then the screen goes black at the opening movie and stays black because the game stops presenting. This happened on 3 of 3 starts; the window was closed after 20-60 s each time. Three headless runs of the same build froze at the same point. Expected: the opening plays.

Where it stops:

  • After oe: startup logo finished, the movie decodes its first two pictures (video: acquire 3 and 4, pts 0 and 17 ms, both black). Its ten networks are left out as usual on this card (not translated: a network left out on this card). After that, no present follows. The frame count stays at 103-123 and the GPU hang watch never fires.
  • A stack of a frozen headless run, about 40 s in (renderer frames only):
    • The presentation thread is in movie_upscale → texture_compute_pipeline → cached_compute → ComputeTurn::ComputeTurn, waiting for a compute turn.
    • 17 precompile_at_create threads wait in the same ComputeTurn, under fallback_compute_pipelines.
    • The one compile running is Mesa's: brw_compile_cs → brw_allocate_registers → brw_reg_alloc::spill_reg.
    • The recorder thread is idle (Recorder::idle).
  • The start's mesh fallback builds had stalled before the title:
    vk: precompile: load at create: 709 of 4582 steps done, nothing finished for 30 s: the game starts, the builds still in the driver go on behind it (RX_VK_PRECOMPILE_STALL_S=0: wait for all)
    vk: precompile: load at create (RX_VK_LOAD=create): 37646 noted pipelines found, none built; ...; 2291 mesh fallback programs kept ready, ...
    
    The movie's linear upscale, which stands in for the left-out networks, needs a compute pipeline. That pipeline waits in the compute gate behind mesh fallback compiles, which take minutes each on this driver, so the movie never shows its first picture.

Ruled out:

  • Threaded rendering. Since #2334, Auto picks the recorder thread alone here (Threaded rendering: Auto: the recorder thread only (14 cores of 20 logical processors; ...)). A headless run with RX_VK_RECORDER=sync had no recorder thread and froze at the same frame.

Without the program cache it plays. One start ran while a second copy held the program cache, so the cache was not used:

vk: program cache .../cache/longshot_programs.bin: another Longshot is using it: this one runs without it
vk: programs: load at create: ... (0 kept program keys) ...
vk: precompile: load at create (RX_VK_LOAD=create): ...; 0 mesh fallback programs kept ready, ...
video: a movie of 5947 pictures on libdav1d: ...

That start played the whole opening and reached play (9,600+ presents). Threaded rendering was Off for that start, but the frozen RX_VK_RECORDER=sync run shows that is not what made the difference.

Not known yet:

  • Why the prepared build still compiles mesh fallback pipelines at the start. Each start got further: 507, then 709, then 733 of 4,582 steps.
  • Whether v3.1.1 did the same here. nightly-745 (v3.1.1's a2dc5385) ran on this PC on 22 Nov, but whether its opening played isn't known. texture_compute_pipeline and the start's fallback builds are the same in v3.1.1 and v3.2.0.

Not tried:

  • nightly-800 (nothing since v3.2.0 touches this path).
  • Waiting longer than a minute at the black screen.
  • RX_VK_PRECOMPILE=0.

Where in the game

The opening movie, right after the startup logo (Skip opening off)

How often

Every time

Graphics card and driver version

Intel Iris Xe Graphics (Raptor Lake-P, 8086:a7a0), Mesa 26.2.7 (ANV); no mesh shaders, so the compute fallback

CPU, RAM and operating system

Intel Core i9-13900H (14 cores, 20 threads), 32 GB; Bazzite (Fedora 45), Linux 7.3.4

Changes from the defaults

No longshot_env.txt, no Vulkan layers. Threaded rendering was at Auto (the default) and Skip opening was off in every frozen start.

longshot_log.txt

The excerpts are above. The full logs of the frozen starts and the stack dump are on the PC and can be attached.

Screenshots or video

None: the picture is black.

Before you send it

  • The problem is still there on the newest release or nightly.
  • I searched the open issues for it.
  • I'm not attaching game files, keys, the game's executable, its .bin caches or saves.
### Longshot version v3.2.0 (source 1f0bf123) ### Channel Release ### What kind of problem Crash, freeze or black screen ### What happened The game was installed with the Longshot Launcher v1.2.0, and its shader preparation finished (`longshot_prepare_results.txt`: 275,659 built, 0 failed). On start, the startup logo plays, then the screen goes black at the opening movie and stays black because the game stops presenting. This happened on 3 of 3 starts; the window was closed after 20-60 s each time. Three headless runs of the same build froze at the same point. Expected: the opening plays. **Where it stops:** - After `oe: startup logo finished`, the movie decodes its first two pictures (`video: acquire 3` and `4`, pts 0 and 17 ms, both black). Its ten networks are left out as usual on this card (`not translated: a network left out on this card`). After that, no present follows. The frame count stays at 103-123 and the GPU hang watch never fires. - A stack of a frozen headless run, about 40 s in (renderer frames only): - The presentation thread is in `movie_upscale` → `texture_compute_pipeline` → `cached_compute` → `ComputeTurn::ComputeTurn`, waiting for a compute turn. - 17 `precompile_at_create` threads wait in the same `ComputeTurn`, under `fallback_compute_pipelines`. - The one compile running is Mesa's: `brw_compile_cs` → `brw_allocate_registers` → `brw_reg_alloc::spill_reg`. - The recorder thread is idle (`Recorder::idle`). - The start's mesh fallback builds had stalled before the title: ``` vk: precompile: load at create: 709 of 4582 steps done, nothing finished for 30 s: the game starts, the builds still in the driver go on behind it (RX_VK_PRECOMPILE_STALL_S=0: wait for all) vk: precompile: load at create (RX_VK_LOAD=create): 37646 noted pipelines found, none built; ...; 2291 mesh fallback programs kept ready, ... ``` The movie's linear upscale, which stands in for the left-out networks, needs a compute pipeline. That pipeline waits in the compute gate behind mesh fallback compiles, which take minutes each on this driver, so the movie never shows its first picture. **Ruled out:** - **Threaded rendering.** Since #2334, Auto picks the recorder thread alone here (`Threaded rendering: Auto: the recorder thread only (14 cores of 20 logical processors; ...)`). A headless run with `RX_VK_RECORDER=sync` had no recorder thread and froze at the same frame. **Without the program cache it plays.** One start ran while a second copy held the program cache, so the cache was not used: ``` vk: program cache .../cache/longshot_programs.bin: another Longshot is using it: this one runs without it vk: programs: load at create: ... (0 kept program keys) ... vk: precompile: load at create (RX_VK_LOAD=create): ...; 0 mesh fallback programs kept ready, ... video: a movie of 5947 pictures on libdav1d: ... ``` That start played the whole opening and reached play (9,600+ presents). Threaded rendering was Off for that start, but the frozen `RX_VK_RECORDER=sync` run shows that is not what made the difference. **Not known yet:** - Why the prepared build still compiles mesh fallback pipelines at the start. Each start got further: 507, then 709, then 733 of 4,582 steps. - Whether v3.1.1 did the same here. nightly-745 (v3.1.1's a2dc5385) ran on this PC on 22 Nov, but whether its opening played isn't known. `texture_compute_pipeline` and the start's fallback builds are the same in v3.1.1 and v3.2.0. **Not tried:** - nightly-800 (nothing since v3.2.0 touches this path). - Waiting longer than a minute at the black screen. - `RX_VK_PRECOMPILE=0`. ### Where in the game The opening movie, right after the startup logo (Skip opening off) ### How often Every time ### Graphics card and driver version Intel Iris Xe Graphics (Raptor Lake-P, 8086:a7a0), Mesa 26.2.7 (ANV); no mesh shaders, so the compute fallback ### CPU, RAM and operating system Intel Core i9-13900H (14 cores, 20 threads), 32 GB; Bazzite (Fedora 45), Linux 7.3.4 ### Changes from the defaults No `longshot_env.txt`, no Vulkan layers. Threaded rendering was at Auto (the default) and Skip opening was off in every frozen start. ### longshot_log.txt The excerpts are above. The full logs of the frozen starts and the stack dump are on the PC and can be attached. ### Screenshots or video None: the picture is black. ### Before you send it - [x] The problem is still there on the newest release or nightly. - [x] I searched the open issues for it. - [x] I'm not attaching game files, keys, the game's executable, its .bin caches or saves.
Member

Possibly related, for context:

  • issue #2167 Game: Black screen with working audio on Intel Meteor Lake iGPU on Linux — Related black-screen reports on Intel Linux iGPUs, but symptoms and failure evidence differ
  • issue #407 Game: up-front shader preparation does not finish on Intel Arc (Windows) with compiles one at a time — Related Intel compiler serialization and stalled shader compilation, though Windows prep-only report
Possibly related, for context: - issue #2167 Game: Black screen with working audio on Intel Meteor Lake iGPU on Linux — Related black-screen reports on Intel Linux iGPUs, but symptoms and failure evidence differ - issue #407 Game: up-front shader preparation does not finish on Intel Arc (Windows) with compiles one at a time — Related Intel compiler serialization and stalled shader compilation, though Windows prep-only report
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
MagicBeanDev/Longshot#2477
No description provided.