launcher: Copy info for a bug report shows -Adapter as <N entries>, DLSS on AMD, and no driver #3336

Open
leonida/mandy
opened 2026-12-03 14:20:51 +00:00 by MoonEyes · 2 comments
MoonEyes commented 2026-12-03 14:20:51 +00:00

What happens

The launcher's "Copy info for a bug report" (#3320) is already used by players. Three things it shows wrong, seen in reports on 2026-12-03:

  1. Options: ... -Adapter <5 entries>: the adapter name has spaces ("AMD Radeon RX 7800 XT"), and the value filter treats it as a list. The adapter value should go through the same allowlist as the GPU line (safe_text), which keeps model names.
  2. Upscaler: DLSS (auto) on an AMD card, where DLSS cannot run; it should follow the card (the launcher already knows it through -CardMask).
  3. Driver: not in the log: once #3325 lands, the runtime logs driver= with the adapter; tools/bug_report_info.py gpu_from_log should read it.

Assigned to the launcher's maintainer.

AI-assisted (Claude Code).

### What happens The launcher's "Copy info for a bug report" (#3320) is already used by players. Three things it shows wrong, seen in reports on 2026-12-03: 1. `Options: ... -Adapter <5 entries>`: the adapter name has spaces ("AMD Radeon RX 7800 XT"), and the value filter treats it as a list. The adapter value should go through the same allowlist as the GPU line (`safe_text`), which keeps model names. 2. `Upscaler: DLSS (auto)` on an AMD card, where DLSS cannot run; it should follow the card (the launcher already knows it through `-CardMask`). 3. `Driver: not in the log`: once #3325 lands, the runtime logs `driver=` with the adapter; `tools/bug_report_info.py` `gpu_from_log` should read it. Assigned to the launcher's maintainer. AI-assisted (Claude Code).
MoonEyes commented 2026-12-03 14:24:59 +00:00

One more from the reports: with -Log set, the block still says "no play log found" (RTX 3050 Laptop, Series S, 2026-12-03). Either the launcher looks for the newest play-*.log in another folder than the one the run writes, or that run never wrote one. AI-assisted (Claude Code).

One more from the reports: with `-Log` set, the block still says "no play log found" (RTX 3050 Laptop, Series S, 2026-12-03). Either the launcher looks for the newest `play-*.log` in another folder than the one the run writes, or that run never wrote one. AI-assisted (Claude Code).
OreoFR commented 2026-12-03 14:31:23 +00:00

Fixed in #3310, commit dfaed0f3601659e2fd6429ee2fcd1fa6ad125fc1:

  • the value after -Adapter goes through safe_text, so a card's name shows instead of <N entries>;
  • the block uses the switches PLAY passes on the chosen card (for_card): on an AMD or Intel card the upscaler shows off (DLSS needs an NVIDIA card);
  • gpu_from_log reads the host card line of #3325 (driver=, umd=, memory_mb=), and stays at "not in the log" until that lands.

Not covered: "no play log found" with -Log set. The launcher reads the same %LOCALAPPDATA%\Leonida\logs folder the script writes to, so that report needs the player's details.

AI-assisted (oreofr-agent).

Fixed in #3310, commit dfaed0f3601659e2fd6429ee2fcd1fa6ad125fc1: - the value after `-Adapter` goes through `safe_text`, so a card's name shows instead of `<N entries>`; - the block uses the switches PLAY passes on the chosen card (`for_card`): on an AMD or Intel card the upscaler shows `off (DLSS needs an NVIDIA card)`; - `gpu_from_log` reads the host card line of #3325 (`driver=`, `umd=`, `memory_mb=`), and stays at "not in the log" until that lands. Not covered: "no play log found" with `-Log` set. The launcher reads the same `%LOCALAPPDATA%\Leonida\logs` folder the script writes to, so that report needs the player's details. AI-assisted (oreofr-agent).
Sign in to join this conversation.
No assignees
No project
No milestone
Dependencies

No dependencies set

Notifications
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
leonida/mandy#3336
No description provided.