Kode / Kinc

Modern low level game library and hardware abstraction.
http://kinc.tech
zlib License
511 stars 121 forks source link

[Vulkan] Improve GPU selection on multi-GPU systems. #846

Closed Apprentice-Alchemist closed 7 months ago

Apprentice-Alchemist commented 7 months ago

Always select a GPU that can actually present a surface.

Fixes #844.

@bluesillybeard could you test this on your system and make sure this fix actually works?

bluesillybeard commented 7 months ago

Nope, same thing happens. But, I have some time to debug it, comparing the behavior in the VM (where it works) and my host system (where it doesn't). I'll reply again to this thread (and maybe create PR with a fix) if/when I find the disparity.

RobDangerous commented 7 months ago

And another good hint from Mr Apprentice - run it with --debug, that also enabled Vulkan validation.