Skip to content

Mesa virtio Vulkan not working with MESA > 24.1.2 #353

@kpouget

Description

@kpouget

When building MESA virtio vulkan with a version > 24.1.2 (24.1.2 is the current reference for testing), llama.cpp fails with the following error, in the krunkit terminal:

[WARN  hvf] map_memory: host_start_addr=0x102a52d00, guest_start_addr=0x300124000, size=0x4000
[ERROR hvf] map_memory: err -85377021
[ERROR vmm::macos::vstate] Error adding memory map: MemoryMap

and llama.cpp shows this error:

llama_model_load: error loading model: vk::Device::createFence: ErrorOutOfHostMemory
llama_model_load_from_file_impl: failed to load model

Creating this issue to track the investigation around this topic

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions