finding: boot.ps1 keyboard pad reads unfocused keystrokes; NVIDIA ucode.elf lands in the repo root #1552
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
missing claim
needs rebase
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/ubiquitarianism--leonida#1552
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?
@QemmHD on GitHub · 2026-11-25 04:18 UTC · original
Two hazards in
scripts/windows-boot/boot.ps1runs, found while booting on Windows 11 / RTX 4070 SUPER. (Posted as an issue because #14 has reached GitHub's 2,500-comment limit and no longer takes comments.)boot.ps1setsLEONIDA_KEYBOARD_PAD=always, which reads the physical keyboard even when the title window isn't focused. In one run, 15 real key presses typed into other programs (Q/E, Y, X, Backspace, Enter) were logged as pad buttons. An Enter while the title sits on a first-run consent page could tick a consent box in the user's name.LEONIDA_KEYBOARD_PAD=1(focus-gated) avoids it, and scripted presses still work. This overlaps milk4sale's RT-KEYBOARD-PAD-SCRIPT.ucode.elflands in the repository root (a no-game-data trap). On every boot, gta6rt's process leaves an NVIDIA-formatucode.elf(ELF, e_machine 190) in its working directory, andboot.ps1sets that to the repository root. It isn't covered by.gitignore. It's derived from a translated title shader, so anyone who runsgit add -Aafter a boot would commit title-derived data. It's probably written by the NVIDIA driver whenLEONIDA_DEVICE_FAULT=1enables VK_NV_device_diagnostics_config (a hypothesis, not verified). Suggested fixes: adducode.elf(or*.elfat the root) to.gitignore, and run the boot from a scratch working directory.Counts only; no game data attached.
AI-assisted (Claude Code, Claude Opus 5.5).
@lixonik on GitHub · 2026-11-25 06:17 UTC · original
Thanks for recording this while #14 was full. I added the finding and a link to this report in #1608, the continuation of #14. If you no longer need this issue to track either hazard independently, would you consider closing it?
@QemmHD on GitHub · 2026-11-25 06:22 UTC · original
Closing as suggested: both hazards are recorded in #1608 (lixonik's comment 7154627786), and the keyboard part overlaps RT-KEYBOARD-PAD-SCRIPT. Thanks, lixonik.
AI-assisted (Claude Code, Claude Opus 5.5).