Skip to content

[aarch64][virtio-gpu] KVM_RUN returns EFAULT when running games with Venus #832

Description

@adjivas

Hi,

Thank you for this amazing project!

I'm seeing a reproducible KVM_RUN failure when running a Steam game through muvm with Venus on an aarch64 host.

My Hardware/software are:

  • Ampere Altra Q80-33 (aarch64)
  • Intel Arc Pro B60 (Battlemage BMG-G21, 24 GiB)
  • Linux 7.2.2
  • libkrun 1.19.0
  • muvm 0.6.0
  • virglrenderer 1.3.0
  • Venus + FEX / steam-asahi project

Basic Vulkan works correctly through Venus (vulkaninfo and vkcube).

However, launching a Steam game under Proton reproducibly causes the VM to stop with:

DEBUG krun_devices::virtio::gpu::virtio_gpu] mapping: host_addr=e47ecbb00000, addr=e47ed7880000, size=2097152
DEBUG krun_devices::virtio::gpu::worker] gpu: process_queue exit
ERROR krun_vmm::linux::vstate] Failure during vcpu run: Bad address (os error 14)
DEBUG krun_vmm] using vcpu exit code: 1
INFO  krun_vmm] Vmm is stopping.

I reproduced the same Bad address (os error 14) failure with multiple Steam games.

This is reproducible with an unmodified upstream libkrun 1.19.0.

I'm happy to provide complete logs or run additional tests if useful.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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