mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 22:00:52 +01:00
[GH-ISSUE #1552] finding: boot.ps1 keyboard pad reads unfocused keystrokes; NVIDIA ucode.elf lands in the repo root #31
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#31
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?
Originally created by @QemmHD on GitHub (Nov 25, 2026).
Original GitHub issue: https://github.com/ubiquitarianism/leonida/issues/1552
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 commented on GitHub (Nov 25, 2026):
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 commented on GitHub (Nov 25, 2026):
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).