Viewer: --gpu <name> picks the graphics adapter #65

Manually merged
github merged 1 commit from gh-pr/65/head into gh-pr/65/base 2026-11-26 20:07:05 +00:00
Owner

@⁠holdmysocks on GitHub · 2026-11-23 18:34 UTC · original
holdmysocks:claude/gpu-flag → master · +21 −2 · 1 files · 1 commits · merged 2026-11-23 18:54 UTC

--gpu radeon (any part of the adapter's name, without regard to case) makes the viewer render on that adapter instead of the default high-performance one. It prints the adapters it saw and the one it took.

For running viewer screenshots on the integrated GPU while the other card is busy.

Checked

On a machine with an RTX 4080 and an AMD integrated GPU the viewer reports "using AMD Radeon(TM) Graphics" and renders a vehicle.

Not checked

  • The process still shows in nvidia-smi, because the window is presented on a display the NVIDIA card drives. How much load that leaves on the NVIDIA card was not measured.
  • macOS (the Metal renderer has its own setup).
**@⁠holdmysocks** on GitHub · 2026-11-23 18:34 UTC · [original](https://github.com/holdmysocks/SixNG/pull/65) `holdmysocks:claude/gpu-flag` → `master` · +21 −2 · 1 files · 1 commits · merged 2026-11-23 18:54 UTC `--gpu radeon` (any part of the adapter's name, without regard to case) makes the viewer render on that adapter instead of the default high-performance one. It prints the adapters it saw and the one it took. For running viewer screenshots on the integrated GPU while the other card is busy. ## Checked On a machine with an RTX 4080 and an AMD integrated GPU the viewer reports "using AMD Radeon(TM) Graphics" and renders a vehicle. ## Not checked - The process still shows in `nvidia-smi`, because the window is presented on a display the NVIDIA card drives. How much load that leaves on the NVIDIA card was not measured. - macOS (the Metal renderer has its own setup).
--gpu radeon (any part of the adapter's name, without regard to case)
makes the viewer render on that adapter instead of the default
high-performance one, and prints the adapters it saw and the one it
took. For running viewer screenshots on the integrated GPU while the
other card is busy.

Checked on a machine with an RTX 4080 and an AMD integrated GPU: the
viewer reports "using AMD Radeon(TM) Graphics" and renders. The
process still shows in nvidia-smi, because the window is presented on a
display the NVIDIA card drives.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 20:07:01 +00:00
github manually merged commit 475276902c into gh-pr/65/base 2026-11-26 20:07:05 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.