Mouse & Keyboard caused the Loader to crash #1180
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA#1180
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?
@dinur125 on GitHub · 2026-11-28 14:59 UTC · original
EGTA VIGTA6.Xbox.v1.0.2.1-CYBERLEEKvictory(2).exe.txt
What could be the issue and what is the solution, the problem appeared when i toggle on mouse and keyboard.
@kibagami-nc on GitHub · 2026-11-28 15:04 UTC · original
Thanks for the report. The stop in it is a known one:
+0x2215c35, a write to address 0 on the game's own thread (the stack is+0x2215c35<+0x2215eca, the thread's start).It is the game's own hang watchdog. When the game makes no frame for a while, that thread crashes it on purpose. #846 tracks it, with the stall that comes before it.
It also shows in #1100's
crashes.logfour times, from before the MOUSE AND KEYBOARD switch existed. So the switch may not be what caused it. A stall during loading is enough, and yours came about 30 seconds after the start.To tell, could you try three starts with MOUSE AND KEYBOARD on, then three with it off? If it only ever happens with it on, please attach the play log of one of those runs (
%LOCALAPPDATA%\victory\logs\). The frames before the stop would show what stalled.@dinur125 on GitHub · 2026-11-28 15:07 UTC · original · edited 2026-11-28 15:09 UTC
I am not really a DEV.. I know my way arround that but not at your level. You have to be a bit more specifical. I've replaced the loader with the previous version and the game starts and runs perfectly.
PS. I've preloaded like 90k shaders before doing that and translated it, game started but after that i've replaced the loader with the last version toggled mose and keyboard and stop woking. Now with the previous release it runs perfect.
Tell me what to do next. Cheers
@TheRealScarHomie on GitHub · 2026-11-28 15:09 UTC · original
nobody is a dev here, this is all vibecoding with AI agents, the people running them are clueless about code too. Also the thing that responded too you is an AI, they also arent a dev.
@kibagami-nc on GitHub · 2026-11-28 15:10 UTC · original
Sure, here are the exact steps. One thing first: your two runs changed two things at once, the new
victory.exeand MOUSE AND KEYBOARD on.Your report shows no frame at all in the 30 seconds before the stop, and that is when the game's watchdog stops it. A new version of
victory.exeoften has to make its shaders again, since its cache is keyed to the build. That makes exactly this kind of long first wait, and your 90k preloaded shaders were made by the previous version.victory.exeback.victory.exe play --preload(or F1, PRELOAD SHADERS). Let it finish: it makes the shaders for this version, then starts the game.If step 3 runs and step 4 stops, it's the mouse and keyboard switch. In that case, please attach the play log of the step 4 run: the window prints its path at the start, on the
Log: ...line, in%LOCALAPPDATA%\victory\logs\. The text you attached is the window's output, and the log file has more.@dinur125 on GitHub · 2026-11-28 15:20 UTC · original
Now it starts with mouse and keyboard but the window cant be moved or maximized because the mouse jumps across the screens, it works in game but i't like its loked in the game
@dinur125 on GitHub · 2026-11-28 15:33 UTC · original
@kibagami-nc on GitHub · 2026-11-28 15:37 UTC · original
Glad it runs. So the stop came from the new version making its shaders again, not from the mouse and keyboard switch.
The mouse "locked" in the window is on purpose. With MOUSE AND KEYBOARD on, the game keeps the cursor in its window so that moving the mouse turns the camera. To get it out:
To skip moving the window at all: F1, FULLSCREEN (NO BORDER): ON, then SAVE AND RESTART NOW. The window then covers your main screen.
The stutters are mostly shaders the game meets for the first time. A preload makes all of them, so they get rarer as you play.
@POMXARK on GitHub · 2026-11-28 16:43 UTC · original
Also reporting a concrete mouse-not-working bug when enabling both
MOUSE CAPTURE < ON >andMOUSE AND KEYBOARD < ON >in the F1 menu (v2026.11.28.02/v2026.11.28.03):Root causes found in code
scripts/play-foxhound.ps1never mapsVICTORY_MNK=1->VICTORY_MNK_BINDINGS:MOUSE AND KEYBOARDin F1 savesVICTORY_MNK=1intovictory-settings.txt.apps/victory/src/play.rstranslatesVICTORY_MNK=1intoVICTORY_MNK_BINDINGS=<path>/bindings.ini, butscripts/play-foxhound.ps1does not.crates/victory-hle/src/modules/mnk.rs(load()) returnsNoneimmediately whenVICTORY_MNK_BINDINGSis unset, MnK silently stays disabled whenever launched viaplay-foxhound.ps1, even withMOUSE AND KEYBOARD < ON >saved and restarted.mnk.rscould fall back to a defaultbindings.ininext to the executable / settings file whenVICTORY_MNK=1is set andVICTORY_MNK_BINDINGSis empty, so scripts and direct runs behave identically.VICTORY_MOUSE_CAPTURE=1conflicts withVICTORY_MNK=1and F1 cursor release:VICTORY_MOUSE_CAPTURE=1only feedsGameInputmouse readings (Host::mouse()->captured_mouse_delta()), whereas console input pollsGameInputGamepadState(PadStatefrommnk::sample()). EnablingMOUSE CAPTUREwithoutVICTORY_MNK_BINDINGShides/clips the cursor while camera movement does nothing.crates/victory-hle/src/modules/lifecycle.rs::capture_mouse()callsClipCursor(&area)andShowCursor(0)onWM_SETFOCUS/WM_ACTIVATEwithout checkingvictory_gpu::SETTINGS_MENU_OPEN, so F1 does not release the clipped/hidden cursor whenMOUSE CAPTUREis enabled.Cleaner Xbox GDK
GameInput/ native Windows alternativeInstead of polling
GetCursorPos+ warpingSetCursorPos(center)every 8 ms inmnk.rs(which fightsClipCursor, DPI scaling, and multi-monitor edges), the host side can map directly to the same contract Xbox GDKGameInputuses:WM_INPUT) -> virtualGameInputGamepadStateright stick:RAWINPUTDEVICE { usUsagePage: 0x01, usUsage: 0x02, dwFlags: 0, hwndTarget }once on the game window.raw.data.mouse.lLastX/lLastY(whenusFlags & MOUSE_MOVE_RELATIVE == 0) into an atomic(AtomicI32, AtomicI32)delta whenever foreground &&!SETTINGS_MENU_OPEN.mnk::sample(), swap the accumulated atomic deltas to zero and feed them intoMouse::update_look(...)->PadStateright stick (and optionallyClipCursoronly while!SETTINGS_MENU_OPEN, releasing it immediately on F1 open).GameInput(IGameInput::GetCurrentReading(GameInputKindMouse | GameInputKindKeyboard)):GameInputAPI contract used by GDK:IGameInputReading::GetMouseStatealready returns monotonic relativepositionX/positionYdeltas and button masks independent of cursor position or DPI scaling, which can be converted directly into the guest'sGameInputGamepadState(rightThumbstickX/Y) withoutSetCursorPosrecentering loops.Either path eliminates cursor-warp fights between
VICTORY_MOUSE_CAPTUREandVICTORY_MNKand makes F1 cursor release deterministic.@trustno1-coder on GitHub · 2026-11-30 15:47 UTC · original
Closing this because it was opened before v2026.11.29.01, and a great deal has changed since then. The latest release is v2026.11.30.01.
If this still happens, or still applies, on the latest release, please open a new issue. For a bug, attach both logs from that run:
victory-nvidia-play-<date>-<time>-<number>.login%LOCALAPPDATA%\victory\logs\.%LOCALAPPDATA%\VIctory\data\7952987A\crashes.log, plus the newest.crash.login%LOCALAPPDATA%\VIctory\data\7952987A\temp\if there is one from that run.