Linux Compat #39

Open
opened 2026-11-27 06:07:33 +00:00 by github-bot · 11 comments
Owner

@⁠lyranie on GitHub · 2026-11-26 23:12 UTC · original

Ran on Arch Linux (kernel 6.18.64-1-lts), using graphics driver nvidia 620.73.04 with Wine wine-11.22 (Git commit e7a40a4).

  • Raytracing functionality confirmed

  • Texture rendering stability: 20% of test duration

  • Lighting system exhibiting degradation (dark areas reported)

  • Frame rate: 1–3 FPS (critical performance bottleneck)

  • Cutscenes and credits rendered successfully

  • Frame time variance: 500ms to 3500ms

  • Model rendering stability: 10% of test duration

  • System utilization (observed during test):

    • GPU: 90%
    • CPU: 30%
    • RAM: 40%
  • Hardware configuration:

    • CPU: AMD Ryzen 5 3600 6-Core (12 threads), 32 MiB L3 cache
    • RAM: 64 GiB
    • GPU: NVIDIA GeForce RTX 4070 12 GiB
  • Execution flags used:

    • VICTORY_TEXTURE_NO_WAIT: 1
    • VICTORY_RELAY: 2
    • VICTORY_CARD_REHASH_RUNS: 1
    • VICTORY_JOIN_COPIES: 1
    • VICTORY_INDIRECT_WINDOW: 1
    • VICTORY_RELAY_COPY: 1
    • VICTORY_CARD_STEPS: 2
    • VICTORY_INDIRECT_BATCH: 2
    • VICTORY_MAP_THREADS: 1
    • VICTORY_CARD_AWAKE: 1
    • VICTORY_SHOW_AFTER: 1
    • VICTORY_AMBIENT: 0.8
    • VICTORY_THIN: 1
    • VICTORY_JOIN_PARTS: 8
    • VICTORY_UPLOAD_AHEAD: 1
    • VICTORY_LEVELS_ON_DEMAND: 1
    • VICTORY_CARD_BUFFERS_MIN_KB: 64

This report was generated with AI assistance.

**@⁠lyranie** on GitHub · 2026-11-26 23:12 UTC · [original](https://github.com/DoubleGhosty/cool_fox/issues/39) Ran on Arch Linux (kernel 6.18.64-1-lts), using graphics driver nvidia 620.73.04 with Wine wine-11.22 (Git commit e7a40a4). - Raytracing functionality confirmed - Texture rendering stability: 20% of test duration - Lighting system exhibiting degradation (dark areas reported) - Frame rate: 1–3 FPS (critical performance bottleneck) - Cutscenes and credits rendered successfully - Frame time variance: 500ms to 3500ms - Model rendering stability: 10% of test duration - System utilization (observed during test): - GPU: 90% - CPU: 30% - RAM: 40% - Hardware configuration: - CPU: AMD Ryzen 5 3600 6-Core (12 threads), 32 MiB L3 cache - RAM: 64 GiB - GPU: NVIDIA GeForce RTX 4070 12 GiB - Execution flags used: - VICTORY_TEXTURE_NO_WAIT: 1 - VICTORY_RELAY: 2 - VICTORY_CARD_REHASH_RUNS: 1 - VICTORY_JOIN_COPIES: 1 - VICTORY_INDIRECT_WINDOW: 1 - VICTORY_RELAY_COPY: 1 - VICTORY_CARD_STEPS: 2 - VICTORY_INDIRECT_BATCH: 2 - VICTORY_MAP_THREADS: 1 - VICTORY_CARD_AWAKE: 1 - VICTORY_SHOW_AFTER: 1 - VICTORY_AMBIENT: 0.8 - VICTORY_THIN: 1 - VICTORY_JOIN_PARTS: 8 - VICTORY_UPLOAD_AHEAD: 1 - VICTORY_LEVELS_ON_DEMAND: 1 - VICTORY_CARD_BUFFERS_MIN_KB: 64 This report was generated with AI assistance.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 06:07:33 +00:00
Author
Owner

@⁠Hasusmogus on GitHub · 2026-11-27 07:45 UTC · original · edited 2026-11-27 07:48 UTC

I've been working on the same problem under Proton, and #71 has the fixes. On an RTX 5060 (8 GB) with GE-Proton11-14, the Series S profile at 1080p, the prologue went from up to 10 s a frame (over 10000ms at worstr) to up to 11 fps (90 ms a frame at best).

The largest costs were on Wine's side:

  • Wine's memory lock. Wine has no answer for the placeholder query (MemoryRegionInfo), so every check went back to it, thousands of times a frame, under its one lock for all of memory. Placeholders are now tracked on our side, and write watches are asked in 8 MiB pieces.
  • wineserver's view list. It walks a list of all of a process's views on every map and unmap. patches/wineserver-view-tree.patch keeps them in a tree instead; it needs a rebuilt Wine or Proton (see docs/linux.md).
  • The pipeline library. vkd3d-proton refused the empty library we asked for, so no pipeline was ever kept between runs and every start built all of them again.
  • Pipeline workers. A stack overflow in vkd3d-proton's DXIL-to-SPIR-V conversion ends a worker thread silently under Wine. That's now noticed, the worker replaced, and that pipeline left out.
  • Card memory. Linux doesn't move what doesn't fit to system memory the way Windows does, so we plan with the card's budget less 1 GiB. Freed texture memory is also reused sooner.

scripts/play-proton.sh starts it with umu-run, and docs/linux.md covers building from Linux with cargo-xwin. Your 4070 has 12 GB, so --console series-x may fit; on 8 GB, Series S is needed. If you try it, the terminal output plus VICTORY_LOG_FILE would help.

Written with AI assistance (Claude), reviewed by me.

**@⁠Hasusmogus** on GitHub · 2026-11-27 07:45 UTC · [original](https://github.com/DoubleGhosty/cool_fox/issues/39#issuecomment-7212786817) · edited 2026-11-27 07:48 UTC I've been working on the same problem under Proton, and #71 has the fixes. On an RTX 5060 (8 GB) with GE-Proton11-14, the Series S profile at 1080p, the prologue went from up to 10 s a frame (over 10000ms at worstr) to up to 11 fps (90 ms a frame at best). The largest costs were on Wine's side: - **Wine's memory lock.** Wine has no answer for the placeholder query (`MemoryRegionInfo`), so every check went back to it, thousands of times a frame, under its one lock for all of memory. Placeholders are now tracked on our side, and write watches are asked in 8 MiB pieces. - **wineserver's view list.** It walks a list of all of a process's views on every map and unmap. `patches/wineserver-view-tree.patch` keeps them in a tree instead; it needs a rebuilt Wine or Proton (see `docs/linux.md`). - **The pipeline library.** vkd3d-proton refused the empty library we asked for, so no pipeline was ever kept between runs and every start built all of them again. - **Pipeline workers.** A stack overflow in vkd3d-proton's DXIL-to-SPIR-V conversion ends a worker thread silently under Wine. That's now noticed, the worker replaced, and that pipeline left out. - **Card memory.** Linux doesn't move what doesn't fit to system memory the way Windows does, so we plan with the card's budget less 1 GiB. Freed texture memory is also reused sooner. `scripts/play-proton.sh` starts it with `umu-run`, and `docs/linux.md` covers building from Linux with cargo-xwin. Your 4070 has 12 GB, so `--console series-x` may fit; on 8 GB, Series S is needed. If you try it, the terminal output plus `VICTORY_LOG_FILE` would help. *Written with AI assistance (Claude), reviewed by me.*
Author
Owner

@⁠lyranie on GitHub · 2026-11-27 09:05 UTC · original

The application crashes with an access violation (0xC0000005), attempting to write to address 0x0.

Faulting module:

  • victory-image-b99f876b74d4a77f.dll
  • Offset: +0x23cf683

Preceding GPU pipeline errors:

  • A pipeline worker terminated unexpectedly while compiling CS_Prop_BatchNoCull_c47eb2b0_Wrapped (possible compiler stack overflow).
  • A subsequent GPU dispatch was dropped because the host pipeline was unavailable.
  • The pipeline worker termination was followed by the access violation.

Stack trace:

#0 victory-image-b99f876b74d4a77f.dll+0x23cf683
#1 victory-image-b99f876b74d4a77f.dll+0x2215c35
#2 victory-image-b99f876b74d4a77f.dll+0x2215eca
#3 kernel32.dll+0x11789
#4 ntdll.dll+0x1116f

pr71.log


This report was written with the assistance of AI.

**@⁠lyranie** on GitHub · 2026-11-27 09:05 UTC · [original](https://github.com/DoubleGhosty/cool_fox/issues/39#issuecomment-7214273213) The application crashes with an access violation (`0xC0000005`), attempting to write to address `0x0`. **Faulting module:** - `victory-image-b99f876b74d4a77f.dll` - Offset: `+0x23cf683` **Preceding GPU pipeline errors:** - A pipeline worker terminated unexpectedly while compiling `CS_Prop_BatchNoCull_c47eb2b0_Wrapped` (possible compiler stack overflow). - A subsequent GPU dispatch was dropped because the host pipeline was unavailable. - The pipeline worker termination was followed by the access violation. **Stack trace:** ```text #0 victory-image-b99f876b74d4a77f.dll+0x23cf683 #1 victory-image-b99f876b74d4a77f.dll+0x2215c35 #2 victory-image-b99f876b74d4a77f.dll+0x2215eca #3 kernel32.dll+0x11789 #4 ntdll.dll+0x1116f ``` [pr71.log](https://github.com/user-attachments/files/35504265/pr71.log) --- *This report was written with the assistance of AI.*
Author
Owner

@⁠Hasusmogus on GitHub · 2026-11-27 10:06 UTC · original · edited 2026-11-27 10:09 UTC

Thanks for the log. It's the same crash as #80, down to the registers (rcx …24c348, r8 …d8c40, r9 …d8e20, r10 …d8ad8, rax/rbx/rbp 0), and in both a compute dispatch is dropped first. In your run the pipeline it needed (965bad7164375eb4+3ec62ecabb36f1d2) was never made, because its worker died in vkd3d-proton's DXIL-to-SPIR-V (the CS_Prop_BatchNoCull stack overflow). The build you ran then gave that pipeline up for good, so the title read back what the dispatch didn't write.

The current main of https://github.com/Hasusmogus/cool_fox (merged as https://github.com/Hasusmogus/cool_fox/pull/10) makes such a pipeline once more on a thread with a 4 GiB stack (reserved, not committed) before giving it up. It also fixes a way a dead worker could leave a dispatch waiting for ever. It's tested by killing a worker the way Wine does, but not against this shader, since I don't have it.

If you can try it to the same point:

  • VICTORY_LOG=info VICTORY_LOG_FILE=<path>, so the "worker ended" line names the shader and says whether the larger stack made it;
  • delete refused-pipelines.txt in your cache folder first, or the earlier run's entry keeps it left out (VICTORY_REFUSED_RETRY=1 ignores the list too).

If 4 GiB still overflows, the shader's control flow is likely too deep for vkd3d-proton's recursion at any stack size, and the log line with its hash is what's needed to go further.

Written with AI assistance (Claude), reviewed by me.

**@⁠Hasusmogus** on GitHub · 2026-11-27 10:06 UTC · [original](https://github.com/DoubleGhosty/cool_fox/issues/39#issuecomment-7215473179) · edited 2026-11-27 10:09 UTC Thanks for the log. It's the same crash as #80, down to the registers (`rcx …24c348`, `r8 …d8c40`, `r9 …d8e20`, `r10 …d8ad8`, `rax`/`rbx`/`rbp` 0), and in both a compute dispatch is dropped first. In your run the pipeline it needed (`965bad7164375eb4+3ec62ecabb36f1d2`) was never made, because its worker died in vkd3d-proton's DXIL-to-SPIR-V (the `CS_Prop_BatchNoCull` stack overflow). The build you ran then gave that pipeline up for good, so the title read back what the dispatch didn't write. The current `main` of https://github.com/Hasusmogus/cool_fox (merged as https://github.com/Hasusmogus/cool_fox/pull/10) makes such a pipeline once more on a thread with a 4 GiB stack (reserved, not committed) before giving it up. It also fixes a way a dead worker could leave a dispatch waiting for ever. It's tested by killing a worker the way Wine does, but not against this shader, since I don't have it. If you can try it to the same point: - `VICTORY_LOG=info VICTORY_LOG_FILE=<path>`, so the "worker ended" line names the shader and says whether the larger stack made it; - delete `refused-pipelines.txt` in your cache folder first, or the earlier run's entry keeps it left out (`VICTORY_REFUSED_RETRY=1` ignores the list too). If 4 GiB still overflows, the shader's control flow is likely too deep for vkd3d-proton's recursion at any stack size, and the log line with its hash is what's needed to go further. *Written with AI assistance (Claude), reviewed by me.*
Author
Owner

@⁠lyranie on GitHub · 2026-11-27 10:33 UTC · original

The application crashes with an access violation (0xC0000005), attempting to write to address 0x0.

Faulting module:

  • victory-image-b99f876b74d4a77f.dll
  • Offset: +0x23cf683

Preceding GPU pipeline errors:

  • A pipeline worker terminated unexpectedly while compiling CS_Prop_BatchNoCull_c47eb2b0_Wrapped, with a possible stack overflow in the host compiler.
  • GPU pipeline compilation was heavily backlogged, with 304 pipelines queued.
  • Several requested pipelines exceeded their frame compilation budget, preventing their associated draws or dispatches from running.
  • Multiple compute shaders failed translation because wave32 lowering for wave64 programs is unsupported, resulting in dropped draws/dispatches.

Stack trace:

#0 victory-image-b99f876b74d4a77f.dll+0x23cf683
#1 victory-image-b99f876b74d4a77f.dll+0x2215c35
#2 victory-image-b99f876b74d4a77f.dll+0x2215eca
#3 kernel32.dll+0x11739
#4 ntdll.dll+0x10e0f

test.log


This report was written with the assistance of AI.

**@⁠lyranie** on GitHub · 2026-11-27 10:33 UTC · [original](https://github.com/DoubleGhosty/cool_fox/issues/39#issuecomment-7216021758) The application crashes with an access violation (`0xC0000005`), attempting to write to address `0x0`. **Faulting module:** - `victory-image-b99f876b74d4a77f.dll` - Offset: `+0x23cf683` **Preceding GPU pipeline errors:** - A pipeline worker terminated unexpectedly while compiling `CS_Prop_BatchNoCull_c47eb2b0_Wrapped`, with a possible stack overflow in the host compiler. - GPU pipeline compilation was heavily backlogged, with 304 pipelines queued. - Several requested pipelines exceeded their frame compilation budget, preventing their associated draws or dispatches from running. - Multiple compute shaders failed translation because wave32 lowering for wave64 programs is unsupported, resulting in dropped draws/dispatches. **Stack trace:** ```text #0 victory-image-b99f876b74d4a77f.dll+0x23cf683 #1 victory-image-b99f876b74d4a77f.dll+0x2215c35 #2 victory-image-b99f876b74d4a77f.dll+0x2215eca #3 kernel32.dll+0x11739 #4 ntdll.dll+0x10e0f ``` [test.log](https://github.com/user-attachments/files/35507932/test.log) --- *This report was written with the assistance of AI.*
Author
Owner

@⁠DoubleGhosty on GitHub · 2026-11-27 10:51 UTC · original

Thanks for both logs. +0x23cf683 is the title's 30 s GPU watchdog (#32): frames stop advancing, here right after the CS_Prop_BatchNoCull pipeline worker died in vkd3d-proton and its dispatch was dropped. The 4 GiB-stack retry for vkd3d-proton's DXIL-to-SPIR-V overflow is in Hasusmogus's fork (linked above) and not in main yet. If you try that build, the worker ended line with the shader's hash says whether the larger stack was enough. In that build, delete refused-pipelines.txt in the cache folder first, or set VICTORY_REFUSED_RETRY=1, as noted above.

**@⁠DoubleGhosty** on GitHub · 2026-11-27 10:51 UTC · [original](https://github.com/DoubleGhosty/cool_fox/issues/39#issuecomment-7216379716) Thanks for both logs. `+0x23cf683` is the title's 30 s GPU watchdog (#32): frames stop advancing, here right after the `CS_Prop_BatchNoCull` pipeline worker died in vkd3d-proton and its dispatch was dropped. The 4 GiB-stack retry for vkd3d-proton's DXIL-to-SPIR-V overflow is in Hasusmogus's fork (linked above) and not in main yet. If you try that build, the `worker ended` line with the shader's hash says whether the larger stack was enough. In that build, delete `refused-pipelines.txt` in the cache folder first, or set `VICTORY_REFUSED_RETRY=1`, as noted above.
Author
Owner

@⁠lyranie on GitHub · 2026-11-27 10:59 UTC · original

i should have specified that my second report was run on @⁠Hasusmogus' master at the time (4eb4227189), with refused-pipelines.txt deleted. sorry for the confusion

**@⁠lyranie** on GitHub · 2026-11-27 10:59 UTC · [original](https://github.com/DoubleGhosty/cool_fox/issues/39#issuecomment-7216547560) i should have specified that my second report was run on @⁠Hasusmogus' master at the time (4eb42271894c7dbb42959936b970ceca36659f80), with `refused-pipelines.txt` deleted. sorry for the confusion
Author
Owner

@⁠DoubleGhosty on GitHub · 2026-11-27 11:03 UTC · original

Hasusmogus's Linux/Proton work is now on main (cdfe97be, merged from their fork, with 42b95b99 on top):

  • PR #71's Wine fixes: placeholder tracking, write watches asked in 8 MiB pieces, the card budget less 1 GiB under Wine, and an empty pipeline library vkd3d-proton accepts (so pipelines are kept between runs);
  • VICTORY_LOG_FILE, docs/linux.md, scripts/play-proton.sh and patches/wineserver-view-tree.patch;
  • a pipeline whose worker dies (the CS_Prop_BatchNoCull stack overflow) is made again on a 4 GiB stack before it's given up.

42b95b99 closes two gaps in that last part. A dispatch waiting for such a pipeline now asks for the rescue itself: with the launchers' VICTORY_PIPELINE_WAIT_MS=0, nothing else asked, and it could still wait for ever. And refused-pipelines.txt entries now only apply under the translator and driver they were noted with, so an update tries them again.

Please try current main with VICTORY_LOG=info VICTORY_LOG_FILE=<path>: the a pipeline worker ended while making a pipeline line says whether CS_Prop_BatchNoCull was made on the larger stack (again=true, and no ended its thread again line after it).

**@⁠DoubleGhosty** on GitHub · 2026-11-27 11:03 UTC · [original](https://github.com/DoubleGhosty/cool_fox/issues/39#issuecomment-7216634994) Hasusmogus's Linux/Proton work is now on main (`cdfe97be`, merged from their fork, with `42b95b99` on top): - PR #71's Wine fixes: placeholder tracking, write watches asked in 8 MiB pieces, the card budget less 1 GiB under Wine, and an empty pipeline library vkd3d-proton accepts (so pipelines are kept between runs); - `VICTORY_LOG_FILE`, `docs/linux.md`, `scripts/play-proton.sh` and `patches/wineserver-view-tree.patch`; - a pipeline whose worker dies (the `CS_Prop_BatchNoCull` stack overflow) is made again on a 4 GiB stack before it's given up. `42b95b99` closes two gaps in that last part. A dispatch waiting for such a pipeline now asks for the rescue itself: with the launchers' `VICTORY_PIPELINE_WAIT_MS=0`, nothing else asked, and it could still wait for ever. And `refused-pipelines.txt` entries now only apply under the translator and driver they were noted with, so an update tries them again. Please try current main with `VICTORY_LOG=info VICTORY_LOG_FILE=<path>`: the `a pipeline worker ended while making a pipeline` line says whether `CS_Prop_BatchNoCull` was made on the larger stack (`again=true`, and no `ended its thread again` line after it).
Author
Owner

@⁠lyranie on GitHub · 2026-11-27 11:42 UTC · original

Getting through the first cutscene is painfully slow; been stuck in it for the past 20-30 minutes ;-; i'll follow up with performance and a new log when i get in game

**@⁠lyranie** on GitHub · 2026-11-27 11:42 UTC · [original](https://github.com/DoubleGhosty/cool_fox/issues/39#issuecomment-7217383908) Getting through the first cutscene is painfully slow; been stuck in it for the past 20-30 minutes ;-; i'll follow up with performance and a new log when i get in game
Author
Owner

@⁠lyranie on GitHub · 2026-11-27 12:05 UTC · original

finally got past the opening scene

main.log

**@⁠lyranie** on GitHub · 2026-11-27 12:05 UTC · [original](https://github.com/DoubleGhosty/cool_fox/issues/39#issuecomment-7217822260) finally got past the opening scene [main.log](https://github.com/user-attachments/files/35511419/main.log)
Author
Owner

@⁠zeeboguy on GitHub · 2026-11-27 12:22 UTC · original

Answer to the again=true question, Linux + RTX 5080 (Arch, NVIDIA 615.78, proton-cachyos 11.0 with the wineserver view-tree patch, main 42b95b9, Series S, VICTORY_UPSCALER=6, the play-proton.sh settings).

The 4 GiB stack is not enough here. CS_Prop_BatchNoCull_c47eb2b0_Wrapped (fdd56d97a806bcca) kills its worker, the rescue starts, and about 2 s later Rust prints thread 'victory-pipeline-rescue' has overflowed its stack, followed by making a pipeline ended its thread again, with a stack of 4 GiB. The dispatch is dropped, and about 27 s later the title writes to 0 at +0x23cf683 (the 30 s watchdog). This happened in 2 of 2 runs at 4K and 1080p output. Overflowing 4 GiB within 2 s looks like unbounded recursion in vkd3d-proton's DXIL-to-SPIR-V, not a deep but finite one.

The same shader compiles fine with an older translation:

  • On 776b73e (before the per-lane split), fdd56d97 translated and its pipeline was made with no worker loss.
  • On 42b95b9, VICTORY_LANE_SPLIT=exact stops the overflow. No worker ended, the world loaded, and there was no watchdog crash.
  • VICTORY_LDS_FLAGS=0 alone did not stop it: the worker still died, the rescue still overflowed, though that run happened not to hit the watchdog.

So the per-lane split form of this program seems to be what sends the host compiler into a loop.

Performance with exact (1080p output, prison prologue into the corridor, sampled every 5 s over 2 minutes): median 12 fps, minimum 6, 70-93 ms a frame. Before the #71 merge plus UPSCALER=6, it was 4-5 fps here. A typical frame line: 10.8 fps, 92.7 ms/frame (85.3 preparing: copies 25.8 ms 150.6 MB, textures 20.5 ms 152.8 MB; … 18.0 copying back 26.0 MB), 1863 draws/frame, dropped 831 without a host pipeline (0 being made). Faces and hair draw. One blocky patch at Lucia's hairline in the first cutscene.

Note for others: after a run without exact, fdd56d97 is listed in pipelines/refused-pipelines.txt. Set VICTORY_REFUSED_RETRY=1 or delete the file when trying it again.

AI use: Claude Code (Claude Opus 5.5) ran the tests, read the logs and drafted this; I reviewed it before posting.

**@⁠zeeboguy** on GitHub · 2026-11-27 12:22 UTC · [original](https://github.com/DoubleGhosty/cool_fox/issues/39#issuecomment-7218169292) **Answer to the `again=true` question, Linux + RTX 5080** (Arch, NVIDIA 615.78, proton-cachyos 11.0 with the wineserver view-tree patch, main `42b95b9`, Series S, `VICTORY_UPSCALER=6`, the play-proton.sh settings). **The 4 GiB stack is not enough here.** `CS_Prop_BatchNoCull_c47eb2b0_Wrapped` (`fdd56d97a806bcca`) kills its worker, the rescue starts, and about 2 s later Rust prints `thread 'victory-pipeline-rescue' has overflowed its stack`, followed by `making a pipeline ended its thread again, with a stack of 4 GiB`. The dispatch is dropped, and about 27 s later the title writes to 0 at `+0x23cf683` (the 30 s watchdog). This happened in 2 of 2 runs at 4K and 1080p output. Overflowing 4 GiB within 2 s looks like unbounded recursion in vkd3d-proton's DXIL-to-SPIR-V, not a deep but finite one. **The same shader compiles fine with an older translation:** - On `776b73e` (before the per-lane split), `fdd56d97` translated and its pipeline was made with no worker loss. - On `42b95b9`, **`VICTORY_LANE_SPLIT=exact`** stops the overflow. No worker ended, the world loaded, and there was no watchdog crash. - `VICTORY_LDS_FLAGS=0` alone did not stop it: the worker still died, the rescue still overflowed, though that run happened not to hit the watchdog. So the per-lane split form of this program seems to be what sends the host compiler into a loop. **Performance with `exact`** (1080p output, prison prologue into the corridor, sampled every 5 s over 2 minutes): **median 12 fps, minimum 6**, 70-93 ms a frame. Before the #71 merge plus `UPSCALER=6`, it was 4-5 fps here. A typical frame line: `10.8 fps, 92.7 ms/frame (85.3 preparing: copies 25.8 ms 150.6 MB, textures 20.5 ms 152.8 MB; … 18.0 copying back 26.0 MB), 1863 draws/frame, dropped 831 without a host pipeline (0 being made)`. Faces and hair draw. One blocky patch at Lucia's hairline in the first cutscene. Note for others: after a run without `exact`, `fdd56d97` is listed in `pipelines/refused-pipelines.txt`. Set `VICTORY_REFUSED_RETRY=1` or delete the file when trying it again. **AI use:** Claude Code (Claude Opus 5.5) ran the tests, read the logs and drafted this; I reviewed it before posting.
Author
Owner

@⁠zeeboguy on GitHub · 2026-11-27 13:56 UTC · original

More Linux + RTX 5080 (16 GB) measurements on main 42b95b9: Ryzen 9 5900X, 31 GB RAM, Arch, NVIDIA 615.78, proton-cachyos 11.0 with the wineserver view-tree patch, Series S, 4K output, VICTORY_UPSCALER=6, VICTORY_LDS_FLAGS=0, plus the play-proton.sh settings. Each run walks the prison cell into the "Approach a cellmate" gameplay, sampling the window title every 5 s for 2 minutes. Numbers are median fps. Run-to-run noise is about ±1 fps.

change median / min fps notes
baseline 11 / 5-6
hard RLIMIT_NICE raised to 30 (Wine applies thread priorities) 11 / 6 no gain on this CPU
VICTORY_PORT_CONSTANTS=1 12 / 8 copies 120-150 → 40-60 MB a frame
+ VICTORY_PORT_CBV=1 12 / 7 copy-back 25-35 → 15-22 MB a frame; nothing visibly broken here (the #15 problems were on 8 GB cards)
+ VICTORY_READBACK_POOL=1 13 / 9
+ taskset to one CCD (0-5,12-17) 12 / 5
+ VICTORY_LAND_THREADS=8 12 / 4
+ VICTORY_DSTORAGE_PRIORITY=below (WORKERS=4 too) 12 / 6-8
dump on NVMe (uncompressed) instead of a SATA QLC SSD with btrfs zstd 12 vs 13 the disk is not the limit

Timeline (diag build, VICTORY_TIMELINE, same scene, ~75 ms frames): the card is busy 49 ms of each frame and idle for 26 ms. On the CPU side, the largest single item in the present's chain is ~34 ms a frame outside our spans on dstorage 0, so DirectStorage read and decompress work lands on the critical path while walking. The upstream Windows NVIDIA figures in #3 (3-18 ms of GPU time for the world) suggest the 49 ms is Linux memory placement, not translation: VRAM sits at 13.5-14.7 GB of 16.

Next here: trying the descriptor port, VICTORY_GPU_ONLY_COPYBACK, and joined barriers from MatyEjsr/VIctory-RTX3090 (which cherry-picks them from Belobug-AMD and maren-halv/VIctory-Fast) on top of main's Linux fixes. Results to follow.

**@⁠zeeboguy** on GitHub · 2026-11-27 13:56 UTC · [original](https://github.com/DoubleGhosty/cool_fox/issues/39#issuecomment-7220130058) **More Linux + RTX 5080 (16 GB) measurements on main `42b95b9`**: Ryzen 9 5900X, 31 GB RAM, Arch, NVIDIA 615.78, proton-cachyos 11.0 with the wineserver view-tree patch, Series S, 4K output, `VICTORY_UPSCALER=6`, `VICTORY_LDS_FLAGS=0`, plus the play-proton.sh settings. Each run walks the prison cell into the "Approach a cellmate" gameplay, sampling the window title every 5 s for 2 minutes. Numbers are median fps. Run-to-run noise is about ±1 fps. | change | median / min fps | notes | | --- | --- | --- | | baseline | 11 / 5-6 | | | hard `RLIMIT_NICE` raised to 30 (Wine applies thread priorities) | 11 / 6 | no gain on this CPU | | `VICTORY_PORT_CONSTANTS=1` | 12 / 8 | copies 120-150 → 40-60 MB a frame | | `+ VICTORY_PORT_CBV=1` | 12 / 7 | copy-back 25-35 → 15-22 MB a frame; nothing visibly broken here (the #15 problems were on 8 GB cards) | | `+ VICTORY_READBACK_POOL=1` | 13 / 9 | | | `+ taskset` to one CCD (0-5,12-17) | 12 / 5 | | | `+ VICTORY_LAND_THREADS=8` | 12 / 4 | | | `+ VICTORY_DSTORAGE_PRIORITY=below` (`WORKERS=4` too) | 12 / 6-8 | | | dump on NVMe (uncompressed) instead of a SATA QLC SSD with btrfs zstd | 12 vs 13 | the disk is not the limit | **Timeline** (diag build, `VICTORY_TIMELINE`, same scene, ~75 ms frames): the card is busy **49 ms of each frame** and idle for 26 ms. On the CPU side, the largest single item in the present's chain is **~34 ms a frame outside our spans on `dstorage 0`**, so DirectStorage read and decompress work lands on the critical path while walking. The upstream Windows NVIDIA figures in #3 (3-18 ms of GPU time for the world) suggest the 49 ms is Linux memory placement, not translation: VRAM sits at 13.5-14.7 GB of 16. Next here: trying the descriptor port, `VICTORY_GPU_ONLY_COPYBACK`, and joined barriers from MatyEjsr/VIctory-RTX3090 (which cherry-picks them from Belobug-AMD and maren-halv/VIctory-Fast) on top of main's Linux fixes. Results to follow.
This discussion has been locked. Commenting is limited to contributors.
No description provided.