Viewer: --gpu <name> picks the graphics adapter #65
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/holdmysocks--SixNG!65
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/65/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@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
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.