Skip to content

Support Asahi Linux #83

@LeeTeng2001

Description

@LeeTeng2001

A simple fix can make this build run in Asahi linux on arm64 architecture. Right now it'll fatal with the following error

Vulkan Devices: 
- [0] UnknownVendor 'Apple M2 Pro (G14S B1)' (Integrated GPU: vulkan 1.4.303, driver Honeykrisp Mesa 25.0.0-asahi20241211 - 25.0.0)
- [0] UnknownVendor 'llvmpipe (LLVM 18.1.8, 128 bits)' (CPU: vulkan 1.3.303, driver llvmpipe Mesa 25.0.0-asahi20241211 (LLVM 18.1.8) - 0.0.1)

Setting Device [0]:
FATAL: found no matching compute queue

This is because it requires a dedicated compute queue

	const auto computeFamily = FindQueue(queueFamilies, "compute", VK_QUEUE_COMPUTE_BIT, VK_QUEUE_GRAPHICS_BIT);

The fix is to fallback to a mixed capability compute queue when no dedicated compute queue is found.

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