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

Open
opened 2026-12-03 14:20:51 +00:00 by MoonEyes · 2 comments
MoonEyes commented 2026-12-03 14:20:51 +00:00 (Migrated from github.com)
Contributor

Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-12-03T14:20:51Z.


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).

<!-- greyfinch-sync:ubiquitarianism/leonida:issue:6770644771 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/issues/3336). Originally posted by [MoonEyes](https://github.com/MoonEyes) on 2026-12-03T14:20:51Z. --- ### 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 (Migrated from github.com)
Author
Contributor

Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-12-03T14:24:59Z.


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).

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7381408654 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/issues/3336#issuecomment-7381408654). Originally posted by [MoonEyes](https://github.com/MoonEyes) on 2026-12-03T14:24:59Z. --- 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 (Migrated from github.com)
Author
Contributor

Imported from ubiquitarianism/leonida. Originally posted by OreoFR on 2026-12-03T14:31:23Z.


Fixed in #3310, commit dfaed0f360:

  • 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).

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7381585323 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/issues/3336#issuecomment-7381585323). Originally posted by [OreoFR](https://github.com/OreoFR) on 2026-12-03T14:31:23Z. --- 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 labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
ProjectLeonida/mandy#3336
No description provided.