mirror of
https://github.com/Comfy-Org/desktop.git
synced 2026-11-04 23:47:43 +00:00
[GH-ISSUE #1560] GPU preselect chooses AMD iGPU over NVIDIA dGPU when both present #459
Labels
No labels
area: desktop-app
Bounty
bug
bug-cop:answered
bug-cop:response-received
component: installer
component: preload
custom node
dependencies
Design
documentation
duplicate
enhancement
expected
frontend
good first issue
installation
Low-Priority
performance
Planned
platform: cross-platform
platform: windows
Potential Bug
Potential Bug
pull-request
question
refactor
Release
stale
User Support
V1
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Comfy-Org/desktop#459
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Originally created by @benceruleanlu on GitHub (Jan 26, 2026).
Original GitHub issue: https://github.com/Comfy-Org/desktop/issues/1560
Originally assigned to: @benceruleanlu on GitHub.
Summary
On Windows systems with an AMD iGPU and an NVIDIA dGPU, the install GPU preselect can choose AMD (ROCm) instead of NVIDIA. The user also observed a brief NVIDIA selection that then switches to AMD.
Steps to reproduce
Actual behavior
Expected behavior
Notes / possible cause
validateHardware()usessysteminformation.graphics().controllersand returns the first detected GPU. If the AMD iGPU appears first,detectedGpubecomesamd, which is then used by the frontend to preselect.A fix could prioritize NVIDIA when both are present (or prefer discrete GPUs over integrated GPUs).
Impact
Users with NVIDIA dGPU may be misled into installing AMD ROCm packages.
┆Issue is synchronized with this Notion page by Unito
@coderabbitai[bot] commented on GitHub (Jan 26, 2026):
📝 CodeRabbit Plan Mode
Generate an implementation plan and prompts that you can use with your favorite coding agent.
Examples
🔗 Related PRs
Comfy-Org/desktop#1501 - Add AMD GPU Support [merged]
🧪 Issue enrichment is currently in open beta.
You can configure auto-planning by selecting labels in the issue_enrichment configuration.
To disable automatic issue enrichment, add the following to your
.coderabbit.yaml:💬 Have feedback or questions? Drop into our discord!
@dosubot[bot] commented on GitHub (Jan 26, 2026):
The current GPU preselect logic on Windows scans the list of detected GPUs and picks the first match—so if your AMD iGPU appears before your NVIDIA dGPU, the installer will preselect AMD (ROCm), even if an NVIDIA GPU is present. This is because the detection code in
getWindowsGpuFromGraphicsandvalidateHardwaredoes not prioritize discrete GPUs or NVIDIA over AMD; it simply returns the first detected type from the controllers list, which can lead to non-deterministic and unstable preselection (including the visible "flip" you described) [PR #1501].To fix this, the detection logic should be updated to scan all controllers and explicitly prefer NVIDIA (especially discrete) GPUs when both are present, falling back to AMD only if no NVIDIA GPU is found. This prioritization should be implemented in the GPU detection code—specifically in
getWindowsGpuFromGraphicsandvalidateHardware—to ensure deterministic and user-friendly preselection. This would prevent users with NVIDIA dGPUs from being misled into installing AMD ROCm packages and eliminate the selection "flip" during install.To reply, just mention @dosu.
Docs are dead. Just use Dosu.