Skip to content

[Vulkan Bug] Wrong-device selection on multi-GPU systems #8

@goniz

Description

@goniz

Problem

vulkan.cpp picks the first physical device with compute support, not the fastest/discrete/preferred one. On laptops or mixed iGPU+dGPU systems this can silently pick the wrong adapter.

Tasks

  • Add device preference/fitness ranking (prefer discrete GPU)
  • Consider device type when selecting physical device
  • Add environment variable override for device selection

Related

See "Wrong-device selection" in probable bugs/risky areas.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions