Skip to content

Menu: the first opening no longer holds the game (NGX and microphones asked ahead) - #149

Closed
RootChad wants to merge 1 commit into
mainfrom
menu-first-open
Closed

RootChad wants to merge 1 commit into
mainfrom
menu-first-open

Conversation

@RootChad

Copy link
Copy Markdown
Collaborator

Discord #issues, 17/11: "The game freezes for a few seconds the first time I open the menu; this always happens the first time."

At its opening the menu called dlss_probe() (NVIDIA's NGX loaded and started, on the render thread: seconds on some PCs) and listed the microphones through SDL. Now:

  • warm_up() asks both on a thread of its own, about 4 s into the game (240 frames); the opening asks again, cheap then (NGX is started once).
  • An opening that still takes over 50 ms logs what took the time (controls, DLSS, microphones), so a report's relink_log.txt says where the rest goes.

Tested on an RX 6600 XT dev game: menu: made ready for its first opening (NVIDIA's DLSS asked 0 ms, the microphones listed 0 ms), the menu opens with no slow-opening line. Not measured on an NVIDIA card, where NGX is the cost this removes.

🤖 Generated with Claude Code

…ophone list (Discord, 17/11)

"The game freezes for a few seconds the first time I open the menu": the opening asked NVIDIA's NGX whether the Upscaler
row can offer DLSS (its runtime loaded and started on the render thread) and listed the microphones through SDL. Both are
asked ahead now, on a thread of their own, four seconds or so into the game (240 frames); the opening asks again, cheap
then. An opening that still takes over 50 ms says in relink_log.txt what took the time.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@pixl27

pixl27 commented Nov 22, 2026

Copy link
Copy Markdown
Owner

Merged into 0.7.9.3 (https://github.com/pixl27/ProjectReLink/releases/tag/v0.7.9.3), through the hotfix branch rather than this pull request, with your authorship kept in the commit (Co-authored-by). Thank you, RootChad.

@pixl27 pixl27 closed this Nov 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants