fix(dlss): NGX's own lines are logged when its Frame Gen query fails, and a cut sandbox note says so #3113
No reviewers
Labels
No labels
area/accessibility
area/audio
area/input
area/install
area/menu
area/mods
area/renderer
area/saves
area/tooling
area/upscaling
beanstalk: approved
beanstalk: failed
beanstalk: needs approval
beanstalk: running
beanstalk: tested
ci: approved
good first issue
gpu/amd
gpu/igpu
gpu/intel
gpu/nvidia
help wanted
kind
bug
kind
chore
kind
docs
kind
feature
kind
performance
kind
question
needs measurements
platform/linux
platform/macos
platform/steam-deck
platform/windows
preview
priority
critical
priority
high
priority
low
regression
risk
high
risk
low
risk
medium
status
blocked
status
confirmed
status
duplicate
status
invalid
status
needs-info
status
wontfix
ci: approved
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Longshot!3113
Loading…
Reference in a new issue
No description provided.
Delete branch "HumanBean/Longshot:fix/ngx-fg-log"
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?
Summary
A player's RTX 3060 Ti has no DLSS on Windows, and the log they could send didn't say why. This doesn't fix that: it makes the next such log say more.
DLSS Frame Gen (NGX): NGX did not say which device extensions it needs (0xbad00001). That answer is expected on an RTX 30 card, and NGX also gives it when it can't learn the GPU's architecture. The query now takes the log's callback, and a failed query writes NGX's own lines under it, as a failed start does since #3086.See #3085.
Read first:
dlss_fg_device_extensionsingpu/vk/vk_dlss.cpp,note_linesinsandbox_windows.rs.Testing
Tested: Linux, game-free only. Not run in the game or on Windows.
tests/test_dlss_fg_requirements_log.py(new, g++ and clang++): fails without the fix, passes with it.a_cut_note_says_it_was_cut(new): fails without the fix, passes with it.test_doc_anchors.py,test_switch_table.py: pass on the rebased head.vk_dlss.cpp: llvm-mingw-fsyntax-onlywithLONGSHOT_NGX, against the Linux NGX SDK's headers: no errors.Still to test:
cargo test -p build-coreand clippy on the rebased head, expecting all to pass (queue)ngx:lines under it if NGX says any that early (by hand)Measurements
Nothing to measure: log lines at startup only.
Risks
Checklist
Ready for review
main; the title is a Conventional Commit.--forceon request)mise run testpasses (any failure that also fails onmainis named). (Only the checks above ran)main, or Measurements says why there is nothing to measure.third_party/untouched; nothing GPL-incompatible.When it applies
mainand passes here.Assisted-by:/Co-Authored-By:trailers.Ready to merge
main, measured again or a comment says why the numbers still hold.🤖 Generated with Claude Code
A player's RTX 3060 Ti had no DLSS in the Windows sandbox, and its launcher's log (which stops at the start-up screen) held one NGX answer: 'NGX did not say which device extensions it needs (0xbad00001)'. In NVIDIA's NGX core 0xbad00001 is both 'not on this GPU' and NGXCheckArchitectureSupport failing to learn the GPU's architecture through NvAPI ('unsupported hw detected'); the line could not tell them apart. The Frame Generation requirements query is now given the log's callback, and a failed query writes NGX's lines under it (ngx_log_failed), as a failed start does since #3086. The builder's sandbox lines cut at 6,144 bytes now end with a line saying how many were left out, so a grant missing from a player's log is not read as one the builder did not make. Co-Authored-By: Claude Opus 5.5 <[email protected]>Possibly related, for context:
WIP: fix(dlss): NGX's own lines are logged when its Frame Gen query fails, and a cut sandbox note says soto fix(dlss): NGX's own lines are logged when its Frame Gen query fails, and a cut sandbox note says sollun referenced this pull request2026-12-03 21:13:51 +00:00
llun referenced this pull request2026-12-03 21:36:06 +00:00