Linux: Ryzen 7 5800X measurements (CPU bound), and ray tracing measured on that machine #4

Closed
Molier wants to merge 1 commit from upstream-pr/4 into main
Molier commented 2026-11-27 17:25:26 +00:00 (Migrated from github.com)

Imported from Slaktarn700/SlaktarnVI. Originally posted by Molier on 2026-11-27T17:25:26Z.


Measurements from a second machine with the same GPU but a slower CPU. Split as you asked: the Mesa
build script is out, and MESA_PREFIX is its own PR (#33).

Hardware: Ryzen 7 5800X (8 cores, 32 MB L3, no 3D V-Cache), 32 GB, RX 9070 XT, CachyOS kernel
7.4.0-rc1, Proton Experimental bleeding-edge (vkd3d-proton 71cae0) with wineserver-view-tree.patch.

What this PR contains now: only docs/linux-wine.md — the 5800X numbers (CPU bound; Mesa 26.2.6 vs
main; huge pages; the release-build teal rectangle) with a line saying they are mine, and a new section
with the ray-tracing switches measured on Linux, which the README says had not been done:

Run (1afad58, 4K out, FSR 4 Quality, pipelines warmed) fps ms a frame on the GPU copies copies back
ray tracing off 12.6 79 17 ms 61 MB 43 MB
ray tracing on (VICTORY_BVH_BUILDER=1) 8.6 117 31 ms 152 MB 57 MB

0 draws without a host pipeline in both runs, no device loss, picture right. With ray tracing off
the same build drops about 347 draws a frame without a host pipeline (the builder's stages); the
picture is complete and the count does not change after warm --used.

cargo xtask policy --staged passes.

<!-- greyfinch-sync:Slaktarn700/SlaktarnVI:issue:5530627319 --> Imported from [Slaktarn700/SlaktarnVI](https://github.com/Slaktarn700/SlaktarnVI/pull/4). Originally posted by [Molier](https://github.com/Molier) on 2026-11-27T17:25:26Z. --- Measurements from a second machine with the same GPU but a slower CPU. Split as you asked: the Mesa build script is out, and `MESA_PREFIX` is its own PR (#33). **Hardware:** Ryzen 7 5800X (8 cores, 32 MB L3, no 3D V-Cache), 32 GB, RX 9070 XT, CachyOS kernel 7.4.0-rc1, Proton Experimental bleeding-edge (vkd3d-proton `71cae0`) with `wineserver-view-tree.patch`. **What this PR contains now:** only `docs/linux-wine.md` — the 5800X numbers (CPU bound; Mesa 26.2.6 vs main; huge pages; the release-build teal rectangle) with a line saying they are mine, and a new section with the ray-tracing switches measured on Linux, which the README says had not been done: | Run (`1afad58`, 4K out, FSR 4 Quality, pipelines warmed) | fps | ms a frame | on the GPU | copies | copies back | |---|---|---|---|---|---| | ray tracing off | 12.6 | 79 | 17 ms | 61 MB | 43 MB | | ray tracing on (`VICTORY_BVH_BUILDER=1`) | 8.6 | 117 | 31 ms | 152 MB | 57 MB | 0 draws without a host pipeline in both runs, no device loss, picture right. With ray tracing off the same build drops about 347 draws a frame without a host pipeline (the builder's stages); the picture is complete and the count does not change after `warm --used`. `cargo xtask policy --staged` passes.
Slaktarn700 commented 2026-11-29 11:17:49 +00:00 (Migrated from github.com)

Imported from Slaktarn700/SlaktarnVI. Originally posted by Slaktarn700 on 2026-11-29T11:17:49Z.


Thank you, these numbers help a lot. I will keep the measurements; I have not tested the Mesa script, so I leave the PR open for now.

<!-- greyfinch-sync:Slaktarn700/SlaktarnVI:comment:7255014278 --> Imported from [Slaktarn700/SlaktarnVI](https://github.com/Slaktarn700/SlaktarnVI/pull/4#issuecomment-7255014278). Originally posted by [Slaktarn700](https://github.com/Slaktarn700) on 2026-11-29T11:17:49Z. --- Thank you, these numbers help a lot. I will keep the measurements; I have not tested the Mesa script, so I leave the PR open for now.
Slaktarn700 commented 2026-11-29 22:01:02 +00:00 (Migrated from github.com)

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


Thank you again, these are useful numbers. I would like to use the measurements in the docs with your name and a note that they are yours. I would leave the Mesa script out: it builds whatever is on Mesa main that day and deletes build/ and prefix/ in the folder it is given. MESA_PREFIX on its own could be a small separate PR if you like.

<!-- greyfinch-sync:Slaktarn700/SlaktarnVI:comment:7263334518 --> Imported from [Slaktarn700/SlaktarnVI](https://github.com/Slaktarn700/SlaktarnVI/pull/4#issuecomment-7263334518). Originally posted by [Slaktarn700](https://github.com/Slaktarn700) on 2026-11-29T22:01:02Z. --- Thank you again, these are useful numbers. I would like to use the measurements in the docs with your name and a note that they are yours. I would leave the Mesa script out: it builds whatever is on Mesa main that day and deletes build/ and prefix/ in the folder it is given. `MESA_PREFIX` on its own could be a small separate PR if you like.
Slaktarn700 commented 2026-12-01 02:29:23 +00:00 (Migrated from github.com)

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


Thank you, the split is what I had in mind, and the ray-tracing numbers on Linux are useful. MESA_PREFIX is in main now (57bfc69, your commit). Before the text goes in, could you check these? They look like slips, by the numbers in the text itself:

  • "5.7x the copies a frame (61 -> 152 MB)": that is 2.5x (with the copies back, 104 -> 209 MB, 2.0x).
  • "about 120 ms of a 117 ms frame": more than the frame.
  • "in both runs 0 draws a frame without a host pipeline", and further down "with ray tracing off this build drops about 347": which one is it?
  • "4K output with FSR 4 Quality (1706x960)": 1706x960 is Quality for 2560x1440; for 4K it would be 2560x1440. Which output was it?
  • "Mesa older than 26.3 costs about 30 %": measured is 26.2.6 against main; main is 30 % faster, so the older one is 23 % slower, and other versions were not tried.
  • The table names build-mesa-main.sh, which is not in the repository.
  • Transparent huge pages: please say that it changes the whole system and why someone might not want it, or leave the sudo line out.

One more thing, from your text: a release build of 42b2226 showed only a teal rectangle, and two runs stopped with an access violation, while the diag build was fine. Does bd906bd or newer still do that for you? A release build of bd906bd ran two minutes here (RX 9070 XT, Mesa 26.3.1, 2560x1440) with a right picture and no crash, but that is one run on another machine. If it does, the log (Copy a report in the launcher's Tools; read it first) would help.

<!-- greyfinch-sync:Slaktarn700/SlaktarnVI:comment:7298670037 --> Imported from [Slaktarn700/SlaktarnVI](https://github.com/Slaktarn700/SlaktarnVI/pull/4#issuecomment-7298670037). Originally posted by [Slaktarn700](https://github.com/Slaktarn700) on 2026-12-01T02:29:23Z. --- Thank you, the split is what I had in mind, and the ray-tracing numbers on Linux are useful. `MESA_PREFIX` is in main now (57bfc69, your commit). Before the text goes in, could you check these? They look like slips, by the numbers in the text itself: - "5.7x the copies a frame (61 -> 152 MB)": that is 2.5x (with the copies back, 104 -> 209 MB, 2.0x). - "about 120 ms of a 117 ms frame": more than the frame. - "in both runs 0 draws a frame without a host pipeline", and further down "with ray tracing off this build drops about 347": which one is it? - "4K output with FSR 4 Quality (1706x960)": 1706x960 is Quality for 2560x1440; for 4K it would be 2560x1440. Which output was it? - "Mesa older than 26.3 costs about 30 %": measured is 26.2.6 against main; main is 30 % faster, so the older one is 23 % slower, and other versions were not tried. - The table names `build-mesa-main.sh`, which is not in the repository. - Transparent huge pages: please say that it changes the whole system and why someone might not want it, or leave the `sudo` line out. One more thing, from your text: a release build of `42b2226` showed only a teal rectangle, and two runs stopped with an access violation, while the diag build was fine. Does `bd906bd` or newer still do that for you? A release build of `bd906bd` ran two minutes here (RX 9070 XT, Mesa 26.3.1, 2560x1440) with a right picture and no crash, but that is one run on another machine. If it does, the log (**Copy a report** in the launcher's Tools; read it first) would help.
Molier commented 2026-12-01 07:18:08 +00:00 (Migrated from github.com)

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


All seven are right — thank you. They are slips in my text, and they are fixed in the branch:

  • "5.7x the copies" — right, it is 2.5x: 61 → 152 MB, and with the copies back 104 → 209 MB
    (2.0x). I had divided the wrong pair.
  • "about 120 ms of a 117 ms frame" — wrong. Copies and copies back are 77 ms of that frame
    (35.6 + 41.8, prep 77.3). The 120 was prep + submission added twice.
  • "in both runs 0 draws a frame without a host pipeline" — the ray tracing run drops none, the
    ray tracing off run drops about 347 (the builder's stages). The text now says which row is which;
    the picture is complete in both, and the count does not move after warming the pipelines.
  • 1706x960 — wrong, thank you: it is 2560x1440. The log line is
    render=[2560, 1440] output=[3840, 2160], render scale 0.6667. 1706x960 is the 1440p Quality size,
    which is what the section above runs at.
  • 30 % vs 23 % — reworded to what was measured: main was 30 % faster than 26.2.6, so 26.2.6 is
    23 % slower. No other version was tried.
  • build-mesa-main.sh — that script is not in the tree any more, so the table no longer names it;
    the row just says MESA_PREFIX= with a Vulkan-only Mesa build in a prefix of its own.
  • Huge pages — the sudo line is out. The text says it is a system-wide setting that lasts until
    reboot, and that whoever does not want to change the whole machine for one game should skip it.

Release build and the teal rectangle. I built dc679db release on this machine (5800X, 9070 XT,
main RADV, patched Proton) and ran it twice:

run output fps ms GPU copies copies back no host pipeline
release, 4K out / FSR Quality (2560x1440 in) 3840x2160 13.8 72.8 22.3 ms 19.7 ms / 64 MB 31.8 ms / 43 MB 346
release, 2560x1440 out / FSR Quality (1706x960 in) 2560x1440 14.5 69.0 13.5 ms 23.9 ms / 68 MB 25.9 ms / 43 MB 344

Both drew the world — prison cell, the character, lit interiors, the yard through the window — and
screenshots confirm it. No teal rectangle, no access violation, no device loss, 12.5 of 14.8 GB VRAM.
So the teal rectangle we saw with 42b2226 release does not come back with dc679db here: one machine,
two runs, no proof, but it points at what changed between the two rather than at the release profile.
For comparison, on the same machine the diag build of 1afad58 gave 12.6 fps / 79 ms — release is
about 9 % faster.

Thank you for taking MESA_PREFIX in (57bfc69).

<!-- greyfinch-sync:Slaktarn700/SlaktarnVI:comment:7303891389 --> Imported from [Slaktarn700/SlaktarnVI](https://github.com/Slaktarn700/SlaktarnVI/pull/4#issuecomment-7303891389). Originally posted by [Molier](https://github.com/Molier) on 2026-12-01T07:18:08Z. --- All seven are right — thank you. They are slips in my text, and they are fixed in the branch: - **"5.7x the copies"** — right, it is **2.5x**: 61 → 152 MB, and with the copies back 104 → 209 MB (2.0x). I had divided the wrong pair. - **"about 120 ms of a 117 ms frame"** — wrong. Copies and copies back are **77 ms** of that frame (35.6 + 41.8, prep 77.3). The 120 was prep + submission added twice. - **"in both runs 0 draws a frame without a host pipeline"** — the ray tracing run drops none, the **ray tracing off** run drops about 347 (the builder's stages). The text now says which row is which; the picture is complete in both, and the count does not move after warming the pipelines. - **1706x960** — wrong, thank you: it is **2560x1440**. The log line is `render=[2560, 1440] output=[3840, 2160]`, render scale 0.6667. 1706x960 is the 1440p Quality size, which is what the section above runs at. - **30 % vs 23 %** — reworded to what was measured: main was 30 % faster than 26.2.6, so 26.2.6 is 23 % slower. No other version was tried. - **`build-mesa-main.sh`** — that script is not in the tree any more, so the table no longer names it; the row just says `MESA_PREFIX=` with a Vulkan-only Mesa build in a prefix of its own. - **Huge pages** — the `sudo` line is out. The text says it is a system-wide setting that lasts until reboot, and that whoever does not want to change the whole machine for one game should skip it. **Release build and the teal rectangle.** I built `dc679db` release on this machine (5800X, 9070 XT, main RADV, patched Proton) and ran it twice: | run | output | fps | ms | GPU | copies | copies back | no host pipeline | |---|---|---|---|---|---|---|---| | release, 4K out / FSR Quality (2560x1440 in) | 3840x2160 | 13.8 | 72.8 | 22.3 ms | 19.7 ms / 64 MB | 31.8 ms / 43 MB | 346 | | release, 2560x1440 out / FSR Quality (1706x960 in) | 2560x1440 | 14.5 | 69.0 | 13.5 ms | 23.9 ms / 68 MB | 25.9 ms / 43 MB | 344 | Both drew the world — prison cell, the character, lit interiors, the yard through the window — and screenshots confirm it. No teal rectangle, no access violation, no device loss, 12.5 of 14.8 GB VRAM. So the teal rectangle we saw with `42b2226` release does not come back with `dc679db` here: one machine, two runs, no proof, but it points at what changed between the two rather than at the release profile. For comparison, on the same machine the `diag` build of `1afad58` gave 12.6 fps / 79 ms — release is about 9 % faster. Thank you for taking `MESA_PREFIX` in (57bfc69).
Slaktarn700 commented 2026-12-01 14:56:24 +00:00 (Migrated from github.com)

Imported from Slaktarn700/SlaktarnVI. Originally posted by Slaktarn700 on 2026-12-01T14:56:24Z.


Thank you, all seven are right now, and the teal test on dc679db is good to know. Your text is in c11828f under your name, with one line that the teal rectangle did not come back there.

<!-- greyfinch-sync:Slaktarn700/SlaktarnVI:comment:7315074741 --> Imported from [Slaktarn700/SlaktarnVI](https://github.com/Slaktarn700/SlaktarnVI/pull/4#issuecomment-7315074741). Originally posted by [Slaktarn700](https://github.com/Slaktarn700) on 2026-12-01T14:56:24Z. --- Thank you, all seven are right now, and the teal test on `dc679db` is good to know. Your text is in c11828f under your name, with one line that the teal rectangle did not come back there.

Pull request closed

Sign in to join this conversation.
No reviewers
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!4
No description provided.