Less than 10 fps on Bazzite with Ryzen 7 7700 + RX 9070 XT #18

Open
opened 2026-11-29 14:43:20 +00:00 by Nicolas-Gth · 5 comments
Nicolas-Gth commented 2026-11-29 14:43:20 +00:00 (Migrated from github.com)
Contributor

Imported from Slaktarn700/SlaktarnVI. Originally posted by Nicolas-Gth on 2026-11-29T14:43:20Z.


Build: commit 88abc53, release build, shaders pre-translated (25,694, translator 18).

My PC

OS Bazzite 45 (Fedora Kinoite), kernel 7.3.4, KDE Plasma 6.8.3, Wayland
CPU AMD Ryzen 7 7700 (8 cores, 32 MB cache)
GPU AMD RX 9070 XT, 16 GB, Mesa 26.2.7 (RADV)
RAM 32 GB
Proton Experimental experimental-11.0-20261123b
Settings S70 preset, ray tracing off, VICTORY_PORT_CONSTANTS=0

The game runs: it boots, plays the intro (sound and subtitles), reaches the
prison cell, saves and loads. The D3D12 and FidelityFX setup work.

1. less than 10 fps, and the GPU sits at 40 %

In the prison cell I get less than 10 fps. The GPU finishes its frame in 14 ms, the
rest of the 78 ms frame is spent copying memory on the CPU. So the CPU is the
limit here, not the card.

The README says 20-22 fps, but that is on a 9800X3D (96 MB cache); issue #4
measures 10-14 fps on a 5800X with the same GPU, which is what I get. I am not
reporting this as a bug, only as the reason the game is unplayable for me on
this CPU.

Things I tried that changed nothing: transparent huge pages always, -Safe,
frame generation off. Turning VICTORY_PORT_CONSTANTS off (see below) is the
only thing that helped, and it also stops the crash.

2. With FSR (S70 preset): subtitles and sound, but no picture

With the FSR path (VICTORY_UPSCALER=7, FSR 4, frame generation), the intro
cutscene shows the subtitles over a black screen at ~8 fps. The log says the
upscaler is created fine:

FidelityFX: upscaler context on the host provider="4.1.1 *" render=[1706,960] output=[2560,1440]

With the title's own upscaler instead of FSR, the picture is correct (and the
frame rate is the same, since the CPU is the limit). This looks like issue #7,
but it still happens with the version that asks for FSR 4 explicitly, on a card
that does support FSR 4.

3. Crash after about 5 minutes (fixed by turning VICTORY_PORT_CONSTANTS off)

With the settings from run-7900.sh the game crashed twice during the intro,
in the game's own code:

VIctory: unhandled exception 0xc0000005 at victory-image-...dll+0x23cf683 (write 0x0)
VIctory: unhandled exception 0xc0000005 at victory-image-...dll+0x5083e79 (read 0x30)

Both runs had renderer port 1 (VICTORY_PORT_CONSTANTS=1): 1 regions of the title's graphics memory in place (174 MB) in the log just before. With
VICTORY_PORT_CONSTANTS=0 I played several 5-10 minute sessions without a
crash. This is the same thing issue #12 describes, so maybe it should be off by
default on Linux.

4. A Bluetooth DualShock 4 is not detected

The pad works in the system (evdev/js/hidraw) and Wine sees it, but the game's
controller API (XInput) reports no controller at all:

XInputGetState(slot 0..3) = 0x48F  (not connected)

so the game only accepts the keyboard. Over USB I could not test (no cable).
I also tried presenting the pad as a virtual gamepad; the game then sees it, but
Steam picks it up too ("Xbox 360 controller connected" notifications) and it
still does not respond in game.

5. Some drawing is skipped every frame

In the cell, 340 of about 4,900 draws are dropped each frame:

dropped 370 without a host pipeline (0 being made)

The log names two device methods that are not implemented (slot=0x1c8 and
slot=0x218). The README already lists the visible symptom (coloured noise on
faces and clothes), so this may be the same thing.

Not tried

  • The patched wineserver from linux/wineserver-view-tree.patch.
  • Mesa newer than 26.2.7.
  • A USB controller.
<!-- greyfinch-sync:Slaktarn700/SlaktarnVI:issue:6680055486 --> Imported from [Slaktarn700/SlaktarnVI](https://github.com/Slaktarn700/SlaktarnVI/issues/18). Originally posted by [Nicolas-Gth](https://github.com/Nicolas-Gth) on 2026-11-29T14:43:20Z. --- Build: commit `88abc53`, release build, shaders pre-translated (25,694, translator 18). ## My PC | | | |---|---| | OS | Bazzite 45 (Fedora Kinoite), kernel 7.3.4, KDE Plasma 6.8.3, Wayland | | CPU | AMD Ryzen 7 7700 (8 cores, 32 MB cache) | | GPU | AMD RX 9070 XT, 16 GB, Mesa 26.2.7 (RADV) | | RAM | 32 GB | | Proton | Experimental `experimental-11.0-20261123b` | | Settings | S70 preset, ray tracing off, `VICTORY_PORT_CONSTANTS=0` | The game runs: it boots, plays the intro (sound and subtitles), reaches the prison cell, saves and loads. The D3D12 and FidelityFX setup work. ## 1. less than 10 fps, and the GPU sits at 40 % In the prison cell I get less than 10 fps. The GPU finishes its frame in 14 ms, the rest of the 78 ms frame is spent copying memory on the CPU. So the CPU is the limit here, not the card. The README says 20-22 fps, but that is on a 9800X3D (96 MB cache); issue #4 measures 10-14 fps on a 5800X with the same GPU, which is what I get. I am not reporting this as a bug, only as the reason the game is unplayable for me on this CPU. Things I tried that changed nothing: transparent huge pages `always`, `-Safe`, frame generation off. Turning `VICTORY_PORT_CONSTANTS` off (see below) is the only thing that helped, and it also stops the crash. ## 2. With FSR (S70 preset): subtitles and sound, but no picture With the FSR path (`VICTORY_UPSCALER=7`, FSR 4, frame generation), the intro cutscene shows the subtitles over a black screen at ~8 fps. The log says the upscaler is created fine: ``` FidelityFX: upscaler context on the host provider="4.1.1 *" render=[1706,960] output=[2560,1440] ``` With the title's own upscaler instead of FSR, the picture is correct (and the frame rate is the same, since the CPU is the limit). This looks like issue #7, but it still happens with the version that asks for FSR 4 explicitly, on a card that does support FSR 4. ## 3. Crash after about 5 minutes (fixed by turning `VICTORY_PORT_CONSTANTS` off) With the settings from `run-7900.sh` the game crashed twice during the intro, in the game's own code: ``` VIctory: unhandled exception 0xc0000005 at victory-image-...dll+0x23cf683 (write 0x0) VIctory: unhandled exception 0xc0000005 at victory-image-...dll+0x5083e79 (read 0x30) ``` Both runs had `renderer port 1 (VICTORY_PORT_CONSTANTS=1): 1 regions of the title's graphics memory in place (174 MB)` in the log just before. With `VICTORY_PORT_CONSTANTS=0` I played several 5-10 minute sessions without a crash. This is the same thing issue #12 describes, so maybe it should be off by default on Linux. ## 4. A Bluetooth DualShock 4 is not detected The pad works in the system (evdev/js/hidraw) and Wine sees it, but the game's controller API (XInput) reports no controller at all: ``` XInputGetState(slot 0..3) = 0x48F (not connected) ``` so the game only accepts the keyboard. Over USB I could not test (no cable). I also tried presenting the pad as a virtual gamepad; the game then sees it, but Steam picks it up too ("Xbox 360 controller connected" notifications) and it still does not respond in game. ## 5. Some drawing is skipped every frame In the cell, 340 of about 4,900 draws are dropped each frame: ``` dropped 370 without a host pipeline (0 being made) ``` The log names two device methods that are not implemented (`slot=0x1c8` and `slot=0x218`). The README already lists the visible symptom (coloured noise on faces and clothes), so this may be the same thing. ## Not tried - The patched `wineserver` from `linux/wineserver-view-tree.patch`. - Mesa newer than 26.2.7. - A USB controller.
Slaktarn700 commented 2026-11-29 22:01:06 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Slaktarn700/SlaktarnVI. Originally posted by Slaktarn700 on 2026-11-29T22:01:06Z.


Thank you for the careful report. You are right that the CPU is the limit, and of your "not tried" list the patched wineserver (linux/wineserver-view-tree.patch) is the one that may matter; it has to be built from the source of your own Proton version, and please keep the original file. The first fault you list (...+0x23cf683) also ended one of my runs with VICTORY_PORT_CONSTANTS=0, so I do not think the port causes that one; if it crashes again with 0, please post the address lines and the lines before them, without your user name or paths. For the pad: I think Wine opens a DualShock 4 as raw HID while the game input here only reads XInput. Not tested by me: close the game fully, then start it from a terminal (not Steam) with PROTON_DISABLE_HIDRAW=0x054C/0x05C4,0x054C/0x09CC; it needs libSDL2 on the system. For the black FSR picture, please search your log for "upscaling did not run", "no host list" and "first upscaling, host formats" and post those lines; also try VICTORY_FSR_VERSION=3. The dropped draws in my runs are nearly all ray-tracing builder stages that are skipped on purpose, and I do not think they cause the noise on faces.

<!-- greyfinch-sync:Slaktarn700/SlaktarnVI:comment:7263335402 --> Imported from [Slaktarn700/SlaktarnVI](https://github.com/Slaktarn700/SlaktarnVI/issues/18#issuecomment-7263335402). Originally posted by [Slaktarn700](https://github.com/Slaktarn700) on 2026-11-29T22:01:06Z. --- Thank you for the careful report. You are right that the CPU is the limit, and of your "not tried" list the patched wineserver (`linux/wineserver-view-tree.patch`) is the one that may matter; it has to be built from the source of your own Proton version, and please keep the original file. The first fault you list (`...+0x23cf683`) also ended one of my runs with `VICTORY_PORT_CONSTANTS=0`, so I do not think the port causes that one; if it crashes again with 0, please post the address lines and the lines before them, without your user name or paths. For the pad: I think Wine opens a DualShock 4 as raw HID while the game input here only reads XInput. Not tested by me: close the game fully, then start it from a terminal (not Steam) with `PROTON_DISABLE_HIDRAW=0x054C/0x05C4,0x054C/0x09CC`; it needs libSDL2 on the system. For the black FSR picture, please search your log for "upscaling did not run", "no host list" and "first upscaling, host formats" and post those lines; also try `VICTORY_FSR_VERSION=3`. The dropped draws in my runs are nearly all ray-tracing builder stages that are skipped on purpose, and I do not think they cause the noise on faces.
GreemSC commented 2026-11-29 22:07:08 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Slaktarn700/SlaktarnVI. Originally posted by GreemSC on 2026-11-29T22:07:08Z.


The lines you asked for, from a second machine with the same symptom, and one difference that may explain why you don't see it: here the black 3D with host FSR happens only in release builds; diag builds of the same tree with the same settings draw the picture.

RX 7900 XT (RDNA 3), Mesa 26.2.5 RADV, Proton-CachyOS (wine-11.0), kernel 7.3.6. FidelityFX SDK 2.4.0 signedbin DLLs, VICTORY_UPSCALER=7 VICTORY_FFX_SCALE=0.6667 VICTORY_FSR_VERSION=3, Series S, 1920x1080 output (provider 3.1.6, render 1280x720). The release and diag exes are built from the same commit, with the same run-7900.sh settings and environment (env of the game process diffed: only the exe path differs).

Build 3D picture upscaling did not run no host list first upscaling, host formats
release (2 runs; one also had VICTORY_FIDELITYFX_FRAMEGEN=1, which release ignores) black, UI and subtitles fine 0 0 1: formats=[10, 19, 34, 67]
diag, same tree: 2 runs with exactly the release settings (one with VICTORY_CAPTURE, one without), 2 with subsets of them correct 0 0 1: formats=[10, 19, 34, 67]
diag of plain 88abc53, run-7900.sh defaults + VICTORY_PORT_CONSTANTS=0 (1 run) correct 0 0 1

The diag runs also log FidelityFX: first successful host upscale result=0. That line is under cfg(feature = "diagnostics"), so the release runs cannot show whether the host dispatch returned 0. With VICTORY_FSR_VERSION=3 the log says the upscaler version made wanted="3" name="3.1.6" in both builds.

Caveat: the release exes are 88abc53 plus local patches (those in #19, plus some experimental switches left off; the diag exes are built from the same tree), and the plain-88abc53 run is diag only. So "release black / diag fine" is shown on the patched tree; this issue's report is a plain release that also goes black.

What I have not found by reading: the FSR path itself (fidelityfx.rs dispatch, external::on_host_list / host_texture / record) is the same in both builds. The diag-only differences I could see on our runs are things the scripts turn on that only diag reads:

  • VICTORY_CAPTURE_WORLD (our measuring script sets it). Diag drains submissions on frames world+2/+6/+30/+80, which are also the first FSR frames.
  • VICTORY_D3D12_DRED=light.
  • VICTORY_PANEL=1.
  • The diag bit in the shader cache key.

I have release builds that turn diagnostics on crate by crate, plus a release with an INFO line logging the host dispatch's return code. I can post those results if useful.

<!-- greyfinch-sync:Slaktarn700/SlaktarnVI:comment:7263417224 --> Imported from [Slaktarn700/SlaktarnVI](https://github.com/Slaktarn700/SlaktarnVI/issues/18#issuecomment-7263417224). Originally posted by [GreemSC](https://github.com/GreemSC) on 2026-11-29T22:07:08Z. --- The lines you asked for, from a second machine with the same symptom, and one difference that may explain why you don't see it: **here the black 3D with host FSR happens only in release builds; diag builds of the same tree with the same settings draw the picture.** RX 7900 XT (RDNA 3), Mesa 26.2.5 RADV, Proton-CachyOS (wine-11.0), kernel 7.3.6. FidelityFX SDK 2.4.0 `signedbin` DLLs, `VICTORY_UPSCALER=7 VICTORY_FFX_SCALE=0.6667 VICTORY_FSR_VERSION=3`, Series S, 1920x1080 output (provider 3.1.6, render 1280x720). The release and diag exes are built from the same commit, with the same `run-7900.sh` settings and environment (`env` of the game process diffed: only the exe path differs). | Build | 3D picture | `upscaling did not run` | `no host list` | `first upscaling, host formats` | |---|---|---|---|---| | release (2 runs; one also had `VICTORY_FIDELITYFX_FRAMEGEN=1`, which release ignores) | black, UI and subtitles fine | 0 | 0 | 1: `formats=[10, 19, 34, 67]` | | diag, same tree: 2 runs with exactly the release settings (one with `VICTORY_CAPTURE`, one without), 2 with subsets of them | correct | 0 | 0 | 1: `formats=[10, 19, 34, 67]` | | diag of plain `88abc53`, `run-7900.sh` defaults + `VICTORY_PORT_CONSTANTS=0` (1 run) | correct | 0 | 0 | 1 | The diag runs also log `FidelityFX: first successful host upscale result=0`. That line is under `cfg(feature = "diagnostics")`, so the release runs cannot show whether the host dispatch returned 0. With `VICTORY_FSR_VERSION=3` the log says `the upscaler version made wanted="3" name="3.1.6"` in both builds. Caveat: the release exes are 88abc53 plus local patches (those in #19, plus some experimental switches left off; the diag exes are built from the same tree), and the plain-88abc53 run is diag only. So "release black / diag fine" is shown on the patched tree; this issue's report is a plain release that also goes black. What I have not found by reading: the FSR path itself (`fidelityfx.rs` dispatch, `external::on_host_list` / `host_texture` / `record`) is the same in both builds. The diag-only differences I could see on our runs are things the scripts turn on that only diag reads: - `VICTORY_CAPTURE_WORLD` (our measuring script sets it). Diag drains submissions on frames world+2/+6/+30/+80, which are also the first FSR frames. - `VICTORY_D3D12_DRED=light`. - `VICTORY_PANEL=1`. - The diag bit in the shader cache key. I have release builds that turn diagnostics on crate by crate, plus a release with an INFO line logging the host dispatch's return code. I can post those results if useful.
Slaktarn700 commented 2026-11-30 11:21:44 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Slaktarn700/SlaktarnVI. Originally posted by Slaktarn700 on 2026-11-30T11:21:44Z.


GreemSC, thank you, "release black, diag fine" was exactly right. The dispatch's closure named only dispatch.header, so with disjoint captures it held the header alone and the library read past it; the line that is under cfg(feature = "diagnostics") took the whole structure and hid it. The host returned an error (3). Fixed in 3b5c751; a test on the card now fails with the old code in a release build. Your crate by crate builds are not needed for this any more. Nicolas-Gth: please update and try FSR again; the speed is a different matter.

<!-- greyfinch-sync:Slaktarn700/SlaktarnVI:comment:7276917653 --> Imported from [Slaktarn700/SlaktarnVI](https://github.com/Slaktarn700/SlaktarnVI/issues/18#issuecomment-7276917653). Originally posted by [Slaktarn700](https://github.com/Slaktarn700) on 2026-11-30T11:21:44Z. --- GreemSC, thank you, "release black, diag fine" was exactly right. The dispatch's closure named only `dispatch.header`, so with disjoint captures it held the header alone and the library read past it; the line that is under `cfg(feature = "diagnostics")` took the whole structure and hid it. The host returned an error (3). Fixed in 3b5c751; a test on the card now fails with the old code in a release build. Your crate by crate builds are not needed for this any more. Nicolas-Gth: please update and try FSR again; the speed is a different matter.
Slaktarn700 commented 2026-11-30 16:02:45 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Slaktarn700/SlaktarnVI. Originally posted by Slaktarn700 on 2026-11-30T16:02:45Z.


6e98dda is out: FSR 4 Quality at 1440p with frame generation was run in a release build here on the same card, and the picture is right. It should also be faster, by about 8 ms a frame on my PC (title memory on the card, the render-target pool left to the GPU, guards shared); I do not know what it gives on a 7700. The crash is not known to be fixed. Please update to main (6e98dda) and build again. If it still fails after that: in the launcher, Tools, press Copy a report and paste it here (read it first). The whole logs are in ~/.local/share/valhalla/logs.

<!-- greyfinch-sync:Slaktarn700/SlaktarnVI:comment:7284025662 --> Imported from [Slaktarn700/SlaktarnVI](https://github.com/Slaktarn700/SlaktarnVI/issues/18#issuecomment-7284025662). Originally posted by [Slaktarn700](https://github.com/Slaktarn700) on 2026-11-30T16:02:45Z. --- 6e98dda is out: FSR 4 Quality at 1440p with frame generation was run in a release build here on the same card, and the picture is right. It should also be faster, by about 8 ms a frame on my PC (title memory on the card, the render-target pool left to the GPU, guards shared); I do not know what it gives on a 7700. The crash is not known to be fixed. Please update to main (6e98dda) and build again. If it still fails after that: in the launcher, Tools, press **Copy a report** and paste it here (read it first). The whole logs are in `~/.local/share/valhalla/logs`.
Slaktarn700 commented 2026-12-01 02:18:08 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Slaktarn700/SlaktarnVI. Originally posted by Slaktarn700 on 2026-12-01T02:18:08Z.


Your three findings: (1) the speed is mostly the Proton patch you had not tried: with Steam's Proton I get 8 to 11 fps here, with the patched one 20 to 22, same place and settings. bd906bd makes it for you: Set up Proton in Tools. (2) FSR black is fixed since 3b5c751. (3) +0x23cf683 is the game's own watchdog; caught here on a cold start, the long wait behind it is shorter now; the other address looks like memory that reads as zeros for a moment under unpatched Wine, which the second patch of the setup fixes (2 of 60 test runs without, 0 of 60 with). VICTORY_PORT_CONSTANTS=0 was slower here (18 against 21 to 22 fps), so it stays on; it is yours to turn off.

<!-- greyfinch-sync:Slaktarn700/SlaktarnVI:comment:7298460931 --> Imported from [Slaktarn700/SlaktarnVI](https://github.com/Slaktarn700/SlaktarnVI/issues/18#issuecomment-7298460931). Originally posted by [Slaktarn700](https://github.com/Slaktarn700) on 2026-12-01T02:18:08Z. --- Your three findings: (1) the speed is mostly the Proton patch you had not tried: with Steam's Proton I get 8 to 11 fps here, with the patched one 20 to 22, same place and settings. bd906bd makes it for you: **Set up Proton** in Tools. (2) FSR black is fixed since 3b5c751. (3) `+0x23cf683` is the game's own watchdog; caught here on a cold start, the long wait behind it is shorter now; the other address looks like memory that reads as zeros for a moment under unpatched Wine, which the second patch of the setup fixes (2 of 60 test runs without, 0 of 60 with). `VICTORY_PORT_CONSTANTS=0` was slower here (18 against 21 to 22 fps), so it stays on; it is yours to turn off.
Sign in to join this conversation.
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
Slaktarn700/SlaktarnVI#18
No description provided.