series-s on RDNA2 (RX 6850M XT eGPU): title allocator assert at victory-image+0x56a2afd during System Init, right after xmem allocation hooks #66

Closed
opened 2026-12-01 12:33:20 +00:00 by github-bot · 5 comments
Owner

@⁠storm1er on GitHub · 2026-12-01 12:30 UTC · original

What happens

On the series-s profile, the title hits its own allocator assert during System Init (frame 0), a few ms after
victory_hle::modules::xmem: xmem allocation hooks found=true:

VIctory: unhandled exception 0x80000003 at victory-image-b99f876b74d4a77f.dll+0x56a2afd
  rax 0x126a10000 rbx 0x8fc rcx 0x1275d0000 rdx 0x1266d0000 rsi 0x30808000 rdi 0xf00000 rsp 0x49bf220 rbp 0x49bf400
  r8 0x49bf8b0 r9 0x49bf2a0 r10 0x0 r11 0x1 r12 0x49bf648 r13 0x0 r14 0x49bf280 r15 0x80070057
  #0  victory-image-b99f876b74d4a77f.dll+0x56a2afd
  #1  victory-image-b99f876b74d4a77f.dll+0x4deb4ef
  #2  victory.exe+0x57285a        #3 victory.exe+0x4a29d9   #4 victory.exe+0x4a2e35
  #5  victory-image-...+0x193e1ba ... #15 victory-image-...+0x2215eca

The faulting helper (exe+0x56a2ab0) is a bump-allocator range check: it computes end = vcall()+heap[8],
p = base + align_up(size), and int3s when p > end. At the trap: base=0x1266d0000, end=0x126a10000
(3.25 MiB of room) while the request through the host XMemAlloc (victory.exe+0x572858, hooks[0]) is
15 MiB (rdi=0xf00000) with attributes 0x30808000. So the title's hook pool has only ~3.25 MiB left when the
host asks it for 15 MiB. The title crash context says Game State: System Init, Frame: 0, Streaming Requests: 0.

What I tried (all deterministic, same trap)

  • CONSOLE=series-x gets past System Init (title regions 7x3840 MB, menus reached in earlier attempts) — the assert
    seems specific to the series-s memory layout / hook pool sizing.
  • same on 37bb30f (current main), its parent a185b1e, and PR #49 merged locally: unchanged
  • VICTORY_PAGES=0: unchanged; scope MemoryMax is large (11+ GiB), not a cap issue (host free shows ~6 GiB at crash)
  • runtimes: both GE-Proton10-34 and Fedora's wine-11.21 (Staging) with the stock USE_SYSTEM_WINE=1 path: same trap
  • patched mesa (repo mesa.patch) + vkd3d-proton built from the submodules, VK_DRIVER_FILES correct

Hardware/OS

  • ASUS ROG Ally X: Ryzen Z1 Extreme, 15 GiB RAM (+7.4 GiB zram)
  • dual AMD GPU: iGPU Phoenix (drives the desktop) + eGPU Radeon RX 6850M XT (Navi 22, 1002:73df, 12 GiB; Mesa reports this shared device id as "RX 6800M";
    MESA_VK_DEVICE_SELECT=1002:73df; DXVK lists both RADV devices
  • Bazzite (Fedora 42-based, immutable), repo main @ 37bb30f, container build (Fedora 44, clang-cl/lld-link, rust 1.98.1)

Since #54 and #57 show the title booting on RDNA2 with a single GPU, I suspect the hook pool on series-s only
carries a few MiB for host-side XMemAlloc callers — is that expected? Is there a knob to route the host's 15 MiB
XMemAlloc (attrs 0x30808000) elsewhere, or to size the hook's arena on series-s? Happy to run traces; I can
catch the trap under gdb on request.

**@⁠storm1er** on GitHub · 2026-12-01 12:30 UTC · [original](https://github.com/lobomfz/VIctory-xmem/issues/66) ## What happens On the `series-s` profile, the title hits its own allocator assert during **System Init** (frame 0), a few ms after `victory_hle::modules::xmem: xmem allocation hooks found=true`: ``` VIctory: unhandled exception 0x80000003 at victory-image-b99f876b74d4a77f.dll+0x56a2afd rax 0x126a10000 rbx 0x8fc rcx 0x1275d0000 rdx 0x1266d0000 rsi 0x30808000 rdi 0xf00000 rsp 0x49bf220 rbp 0x49bf400 r8 0x49bf8b0 r9 0x49bf2a0 r10 0x0 r11 0x1 r12 0x49bf648 r13 0x0 r14 0x49bf280 r15 0x80070057 #0 victory-image-b99f876b74d4a77f.dll+0x56a2afd #1 victory-image-b99f876b74d4a77f.dll+0x4deb4ef #2 victory.exe+0x57285a #3 victory.exe+0x4a29d9 #4 victory.exe+0x4a2e35 #5 victory-image-...+0x193e1ba ... #15 victory-image-...+0x2215eca ``` The faulting helper (exe+0x56a2ab0) is a bump-allocator range check: it computes `end = vcall()+heap[8]`, `p = base + align_up(size)`, and `int3`s when `p > end`. At the trap: `base=0x1266d0000`, `end=0x126a10000` (3.25 MiB of room) while the request through the host `XMemAlloc` (victory.exe+0x572858, hooks[0]) is **15 MiB** (`rdi=0xf00000`) with attributes `0x30808000`. So the title's hook pool has only ~3.25 MiB left when the host asks it for 15 MiB. The title crash context says `Game State: System Init`, `Frame: 0`, `Streaming Requests: 0`. ## What I tried (all deterministic, same trap) * `CONSOLE=series-x` **gets past System Init** (title regions 7x3840 MB, menus reached in earlier attempts) — the assert seems specific to the `series-s` memory layout / hook pool sizing. * same on `37bb30f` (current main), its parent `a185b1e`, and PR #49 merged locally: unchanged * `VICTORY_PAGES=0`: unchanged; scope `MemoryMax` is large (11+ GiB), not a cap issue (host `free` shows ~6 GiB at crash) * runtimes: both `GE-Proton10-34` and Fedora's **wine-11.21 (Staging)** with the stock `USE_SYSTEM_WINE=1` path: same trap * patched mesa (repo `mesa.patch`) + vkd3d-proton built from the submodules, `VK_DRIVER_FILES` correct ## Hardware/OS * ASUS ROG Ally X: Ryzen Z1 Extreme, **15 GiB RAM** (+7.4 GiB zram) * **dual AMD GPU**: iGPU Phoenix (drives the desktop) + eGPU **Radeon RX 6850M XT (Navi 22, 1002:73df, 12 GiB; Mesa reports this shared device id as "RX 6800M"**; `MESA_VK_DEVICE_SELECT=1002:73df`; DXVK lists both RADV devices * Bazzite (Fedora 42-based, immutable), repo main @ 37bb30f, container build (Fedora 44, clang-cl/lld-link, rust 1.98.1) Since #54 and #57 show the title booting on RDNA2 with a single GPU, I suspect the hook pool on `series-s` only carries a few MiB for host-side `XMemAlloc` callers — is that expected? Is there a knob to route the host's 15 MiB `XMemAlloc` (attrs `0x30808000`) elsewhere, or to size the hook's arena on `series-s`? Happy to run traces; I can catch the trap under gdb on request.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-01 12:33:21 +00:00
github-bot changed title from series-s on RDNA2 (RX 680M eGPU): title allocator assert at victory-image+0x56a2afd during System Init, right after xmem allocation hooks to series-s on RDNA2 (RX 6850M XT eGPU): title allocator assert at victory-image+0x56a2afd during System Init, right after xmem allocation hooks 2026-12-01 13:20:36 +00:00
Author
Owner

@⁠OboTheHobo on GitHub · 2026-12-02 02:21 UTC · original

I am having this same issue on a 9070XT, so seems to not only be RDNA2. But I see others are booting into it fine on their own cards. For some reason, I think this may be just an issue on Fedora? I see you are on Bazzite.

**@⁠OboTheHobo** on GitHub · 2026-12-02 02:21 UTC · [original](https://github.com/lobomfz/VIctory-xmem/issues/66#issuecomment-7332746015) I am having this same issue on a 9070XT, so seems to not only be RDNA2. But I see others are booting into it fine on their own cards. For some reason, I think this may be just an issue on Fedora? I see you are on Bazzite.
Author
Owner

@⁠GENETX on GitHub · 2026-12-02 06:27 UTC · original

Also here, same issue on an AMD Radeon 9070 (non XT) with AMD Ryzen 7900X and 32GB ram. I am running OpenSUSE Leap 16.1. Tried the latest commit #d044248.

**@⁠GENETX** on GitHub · 2026-12-02 06:27 UTC · [original](https://github.com/lobomfz/VIctory-xmem/issues/66#issuecomment-7337041555) Also here, same issue on an AMD Radeon 9070 (non XT) with AMD Ryzen 7900X and 32GB ram. I am running OpenSUSE Leap 16.1. Tried the latest commit #d044248.
Author
Owner

@⁠storm1er on GitHub · 2026-12-02 06:37 UTC · original · edited 2026-12-02 09:32 UTC

EDIT: sorry for the automated AI response. TL;DR: given the response above and my own tries, It's not fedora specific. Can people above tell me if they used series-x or series-s (or tried both) and which failed at which point?


Update from this reporter: I don't think it's Fedora-specific — I reproduced the identical trap with two runtimes:
GE-Proton10-34 (its own bundled Wine 10) and Fedora's wine-11.21 (Staging) via the stock USE_SYSTEM_WINE=1 path,
inside a Fedora 44 container on Bazzite. @⁠GENETX on openSUSE (and the RDNA4 cards here generally) suggest something
else as the common factor. For calibration, on my box CONSOLE=series-x gets past this point (the trap fires on the
first host XMemAlloc of ~15 MiB when the hook arena holds ~3.25 MiB) — does series-x also boot on your setups?

**@⁠storm1er** on GitHub · 2026-12-02 06:37 UTC · [original](https://github.com/lobomfz/VIctory-xmem/issues/66#issuecomment-7337217554) · edited 2026-12-02 09:32 UTC EDIT: sorry for the automated AI response. TL;DR: given the response above and my own tries, It's not fedora specific. Can people above tell me if they used series-x or series-s (or tried both) and which failed at which point? ---- Update from this reporter: I don't think it's Fedora-specific — I reproduced the identical trap with two runtimes: GE-Proton10-34 (its own bundled Wine 10) and Fedora's wine-11.21 (Staging) via the stock `USE_SYSTEM_WINE=1` path, inside a Fedora 44 container on Bazzite. @⁠GENETX on openSUSE (and the RDNA4 cards here generally) suggest something else as the common factor. For calibration, on my box `CONSOLE=series-x` gets past this point (the trap fires on the first host `XMemAlloc` of ~15 MiB when the hook arena holds ~3.25 MiB) — does `series-x` also boot on your setups?
Author
Owner

@⁠GENETX on GitHub · 2026-12-02 20:05 UTC · original

Well, it seems to be a kernel issue on my side. I had it both with Series-X and Series-S. But upgrading from the default kernel 6.12 to the latest stable 7.3 makes it at least run. Have not done further testing yet.

**@⁠GENETX** on GitHub · 2026-12-02 20:05 UTC · [original](https://github.com/lobomfz/VIctory-xmem/issues/66#issuecomment-7357187492) Well, it seems to be a kernel issue on my side. I had it both with Series-X and Series-S. But upgrading from the default kernel 6.12 to the latest stable 7.3 makes it at least run. Have not done further testing yet.
Author
Owner

@⁠xnuken on GitHub · 2026-12-02 22:43 UTC · original

I have a RDNA2 (6950XT) card and can confirm the same behaviour at the same address. I am on Fedora 44 with Kernel 7.3.6-200. Series-X will run "normally" but Series-S will crash at 0x56a2afd I have tried different wine and proton versions with the same result.

**@⁠xnuken** on GitHub · 2026-12-02 22:43 UTC · [original](https://github.com/lobomfz/VIctory-xmem/issues/66#issuecomment-7361072371) I have a RDNA2 (6950XT) card and can confirm the same behaviour at the same address. I am on Fedora 44 with Kernel 7.3.6-200. Series-X will run "normally" but Series-S will crash at 0x56a2afd I have tried different wine and proton versions with the same result.
This discussion has been locked. Commenting is limited to contributors.
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.

Dependencies

No dependencies set

Reference
github/lobomfz--VIctory-xmem#66
No description provided.