Menu navigation with the left stick and back from the bottom buttons; AMD sensors and the picture lines in the performance overlay

The left stick now moves the menu cursor as the D-pad does (ImGui only scrolled with it). The page's rows are a
direct NavFlattened child of the menu window: behind a second child level ImGui did not clip them, so up from
Continue went to the tabs and down from the tabs to Continue.

The full overlay reads temperature, board power, clock and GPU load from ADL's PM log on AMD GPUs (matched by PCI
bus), and shows the window, game image and 3D scene sizes, the scaling to the window (FSR and its sharpness), the
frame limit and the presentation mode in use.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Valiantsin DzerakhandClaude Opus 5.5 committed 2026-10-27 15:21:41 +03:00
1 parent f8219ed793
commit 89cc960f09
13 files changed
+265 -51

No files matched your search

+5 -4
View File
@@ -23,7 +23,8 @@ typedef struct {
float cpu_total_pct, cpu_game_pct, cpu_temp_c;
// memory, MB
float ram_used_mb, ram_total_mb, ram_game_mb;
// GPU: load and dedicated memory from the system's counters, temperature, power and clock from NVML (NVIDIA)
// GPU: load and dedicated memory from the system's counters, temperature, power and clock from NVML (NVIDIA) or
// ADL (AMD)
char gpu_name[96];
float gpu_pct, gpu_temp_c, gpu_power_w, gpu_clock_mhz, vram_used_mb, vram_total_mb;
// per frame, averaged over the last half second: replay (NVN to Vulkan recording), GPU busy time (timestamps; -1
@@ -36,9 +37,9 @@ typedef struct {
// the machine sampling thread (twice a second) and turns on the event counts and GPU timestamps; leaving full stops
// them. Off: perf_present skips perfmon_frame and nothing samples.
void perfmon_mode(int mode);
// The Vulkan device the game renders on: its name, its LUID (8 bytes; NULL when the driver gives none) and its
// device-local memory. Before the first perfmon_mode(2).
void perfmon_set_gpu(const char *name, const uint8_t *luid, float vram_total_mb);
// The Vulkan device the game renders on: its name, its LUID (8 bytes; NULL when the driver gives none), its PCI bus
// (-1 unknown) and its device-local memory. Before the first perfmon_mode(2).
void perfmon_set_gpu(const char *name, const uint8_t *luid, int pci_bus, float vram_total_mb);
// A game frame was presented (perf_present, the render thread, only while the overlay is on): the time since the last
// one, the render thread's waits of this frame (PERF_N entries, host.h), its replay time and the running count of
// texture uploads.