Linux: split lock / bus lock detection floods traps and slows the victory (Zen 5) #570
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/lobomfz--VIctory-xmem#570
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@arturbac on GitHub · 2026-12-05 10:29 UTC · original
Just for Your information, You do not have discussion section so I post it here:
Setup: Gentoo, kernel 6.18 (gentoo-dist), AMD Ryzen 9 9950X (CPU flag
bus_lock_detect), RX 7900 XTX,GE-Proton11-6, VIctory-xmem.
Symptom: while playing, the kernel log fills with
x86/split lock detection: #DB: <victory thread> took a bus_lock trap at address: ...— thousands per second, all fromthe game's own threads (e.g.
handle_bus_lock: 19019 callbacks suppressedwithin about 5 s).Why: the kernel default is
split_lock_detect=warn: every bus lock raises a debug trap that the kernel handlesand logs, and the default sysctl
kernel.split_lock_mitigate=1lets the kernel deliberately slow down the task thatcaused it. Both defaults are meant for shared servers (one tenant must not stall the memory bus for the others).
On a single-user gaming desktop they only cost the victory time, because x86 victory code under Wine does a lot of
split/bus locks.
What I've changed (host-wide):
/etc/sysctl.d/, e.g.split_lock.conf:dmesgshowsx86/split lock detection: disabledand the trap flood is gone.Notes: I've did not measure fps before/after; the visible effect is that the trap storm and the log flood stop.
One hang I saw at the same time was more likely the range allocator issue fixed upstream, so I do not claim that
split locks caused crashes.
Linux: split lock / bus lock detection floods traps and slows the game (Zen 5)to Linux: split lock / bus lock detection floods traps and slows the victory (Zen 5)