Skip to content

muvm under 7.1.5 - issue with --gpu-mode=drm #240

Description

@siffredinho

Muvm seems to act different under kernel 7.1.5 compared to 7.0.13. I use wine (app-emulation/wine-staging under gentoo with +arm64ec and +wow64). The same happens with steam under FEX-Emu and I'm quite positive that it's the same with other software running under muvm.

So let's start with the first try (the --passt option is necessary, because passt doesn't like IP Aliases).

boris@morrigu ~ $ RUST_BACKTRACE=full RUST_LOG=info muvm --passt-args "-a 192.168.0.21" bash
No IPv6 nameserver available for NDP/DHCPv6
Using default interface naming scheme 'v260'.
boris@morrigu ~ $ rm -rf .wine
boris@morrigu ~ $ wineboot -i
wine: created the configuration directory '/home/boris/.wine'
002c:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
002c:fixme:winediag:loader_init wine-staging 11.14 is a testing version containing experimental patches.
002c:fixme:winediag:loader_init Please mention your exact version when filing bug reports on winehq.org.
004c:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
0054:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
004c:fixme:keyboard:klid_from_xkb_layout Unknown variant "de_mac"
[2026-07-27T22:51:36.829533Z ERROR krun_vmm::linux::vstate] Failure during vcpu run: Bad address (os error 14)
      [2026-07-27T22:51:36.829561Z INFO  krun_vmm] Vmm is stopping.

Let's use all three --gpu-mode options. First one (the default again) is drm (not necessary to paste this, but anyway...).

boris@morrigu ~ $ RUST_BACKTRACE=full RUST_LOG=info muvm --gpu-mode=drm --passt-args "-a 192.168.0.21" bash
No IPv6 nameserver available for NDP/DHCPv6
Using default interface naming scheme 'v260'.
boris@morrigu ~ $ rm -rf .wine
boris@morrigu ~ $ wineboot -i
wine: created the configuration directory '/home/boris/.wine'
002c:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
002c:fixme:winediag:loader_init wine-staging 11.14 is a testing version containing experimental patches.
002c:fixme:winediag:loader_init Please mention your exact version when filing bug reports on winehq.org.
004c:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
0054:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
004c:fixme:keyboard:klid_from_xkb_layout Unknown variant "de_mac"
[2026-07-27T22:54:04.144580Z ERROR krun_vmm::linux::vstate] Failure during vcpu run: Bad address (os error 14)
      [2026-07-27T22:54:04.144610Z INFO  krun_vmm] Vmm is stopping.

Now venus, which works (more or less) fine.

boris@morrigu ~ $ RUST_BACKTRACE=full RUST_LOG=info muvm --gpu-mode=venus --passt-args "-a 192.168.0.21" bash
No IPv6 nameserver available for NDP/DHCPv6
Using default interface naming scheme 'v260'.
boris@morrigu ~ $ rm -rf .wine
boris@morrigu ~ $ wineboot -i
wine: created the configuration directory '/home/boris/.wine'
002c:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
002c:fixme:winediag:loader_init wine-staging 11.14 is a testing version containing experimental patches.
002c:fixme:winediag:loader_init Please mention your exact version when filing bug reports on winehq.org.
004c:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
0054:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
004c:fixme:keyboard:klid_from_xkb_layout Unknown variant "de_mac"
could not connect vdrm
Error opening virtio-gpu device for Asahi native context
004c:err:vulkan:init_physical_devices Failed to enumerate physical devices, res -3
0054:fixme:keyboard:klid_from_xkb_layout Unknown variant "de_mac"
could not connect vdrm
Error opening virtio-gpu device for Asahi native context
0054:err:vulkan:init_physical_devices Failed to enumerate physical devices, res -3
libEGL warning: egl: failed to create dri2 screen
libEGL warning: egl: failed to create dri2 screen
libEGL warning: egl: failed to create dri2 screen
libEGL warning: egl: failed to create dri2 screen
0054:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x80004002
0054:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x80004002
0054:err:ole:apartment_get_local_server_stream Failed: 0x80004002
0054:err:ole:start_rpcss Failed to open RpcSs service
004c:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x80004002
004c:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x80004002
004c:err:ole:apartment_get_local_server_stream Failed: 0x80004002
0044:fixme:keyboard:klid_from_xkb_layout Unknown variant "de_mac"
002c:fixme:keyboard:klid_from_xkb_layout Unknown variant "de_mac"
<...>
0024:fixme:winediag:loader_init wine-staging 11.14 is a testing version containing experimental patches.
0024:fixme:winediag:loader_init Please mention your exact version when filing bug reports on winehq.org.

For a comparison, --gpu software.


boris@morrigu ~ $ RUST_BACKTRACE=full RUST_LOG=info muvm --gpu-mode=software --passt-args "-a 192.168.0.21" bash
No IPv6 nameserver available for NDP/DHCPv6
Using default interface naming scheme 'v260'.
boris@morrigu ~ $ rm -rf .wine
wboris@morrigu ~ $ wineboot -i
wine: created the configuration directory '/home/boris/.wine'
002c:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
002c:fixme:winediag:loader_init wine-staging 11.14 is a testing version containing experimental patches.
002c:fixme:winediag:loader_init Please mention your exact version when filing bug reports on winehq.org.
004c:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
0054:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
004c:fixme:keyboard:klid_from_xkb_layout Unknown variant "de_mac"
could not connect vdrm
Error opening virtio-gpu device for Asahi native context
004c:err:vulkan:init_physical_devices Failed to enumerate physical devices, res -3
0054:fixme:keyboard:klid_from_xkb_layout Unknown variant "de_mac"
could not connect vdrm
Error opening virtio-gpu device for Asahi native context
0054:err:vulkan:init_physical_devices Failed to enumerate physical devices, res -3
could not connect vdrm
Error opening virtio-gpu device for Asahi native context
libEGL warning: egl: failed to create dri2 screen
libEGL warning: egl: failed to create dri2 screen
could not connect vdrm
Error opening virtio-gpu device for Asahi native context
libEGL warning: egl: failed to create dri2 screen
could not connect vdrm
Error opening virtio-gpu device for Asahi native context
libEGL warning: egl: failed to create dri2 screen
could not connect vdrm
Error opening virtio-gpu device for Asahi native context
libEGL warning: egl: failed to create dri2 screen
libEGL warning: egl: failed to create dri2 screen
could not connect vdrm
Error opening virtio-gpu device for Asahi native context
libEGL warning: egl: failed to create dri2 screen
could not connect vdrm
Error opening virtio-gpu device for Asahi native context
libEGL warning: egl: failed to create dri2 screen
004c:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x80004002
004c:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x80004002
004c:err:ole:apartment_get_local_server_stream Failed: 0x80004002
0054:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x80004002
0054:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x80004002
0054:err:ole:apartment_get_local_server_stream Failed: 0x80004002
002c:fixme:keyboard:klid_from_xkb_layout Unknown variant "de_mac"
<...>
0024:fixme:winediag:loader_init wine-staging 11.14 is a testing version containing experimental patches.
0024:fixme:winediag:loader_init Please mention your exact version when filing bug reports on winehq.org.

So, let's ask strace about it...

boris@morrigu ~ $ RUST_BACKTRACE=full RUST_LOG=info muvm --passt-args "-a 192.168.0.21" bash
No IPv6 nameserver available for NDP/DHCPv6
Using default interface naming scheme 'v260'.
boris@morrigu ~ $ rm -rf .wine
strace -f -e trace=ioctl,memory,mmap,munmap,mprotect wineboot -i
<...>
[pid   289] mmap(NULL, 27012, PROT_READ, MAP_SHARED, 17, 0) = 0xffff99443000
[pid   289] ioctl(16, DRM_IOCTL_VERSION, 0x7dad50c470) = 0
[pid   289] ioctl(16, DRM_IOCTL_VERSION, 0x7dad50c470) = 0
[pid   289] ioctl(16, DRM_IOCTL_VERSION, 0x7dad50c470) = 0
[pid   289] ioctl(16, DRM_IOCTL_VERSION, 0x7dad50c470) = 0
[pid   289] ioctl(16, DRM_IOCTL_VIRTGPU_GET_CAPS, 0x1001099d0) = 0
[pid   289] ioctl(16, DRM_IOCTL_TEGRA_GEM_GET_TILING or DRM_IOCTL_VC4_GEM_MADVISE or DRM_IOCTL_VIRTGPU_CONTEXT_INIT, 0x100109920) = 0
[pid   289] ioctl(16, DRM_IOCTL_VIRTGPU_RESOURCE_CREATE_BLOB, 0x1001099d0) = 0
[pid   289] ioctl(16, DRM_IOCTL_EXYNOS_GEM_MAP or DRM_IOCTL_LIMA_GEM_CREATE or DRM_IOCTL_NOVA_GEM_CREATE or DRM_IOCTL_QAIC_CREATE_BO or DRM_IOCTL_QXL_MAP or DRM_IOCTL_TEGRA_GEM_MMAP or DRM_IOCTL_V3D_WAIT_BO or DRM_IOCTL_VC4_WAIT_SEQNO or DRM_IOCTL_VGEM_FENCE_ATTACH or DRM_IOCTL_VIRTGPU_MAP, 0x1001098c8) = 0
[pid   289] mmap(NULL, 16384, PROT_READ|PROT_WRITE, MAP_SHARED, 16, 0x100002000) = 0xffff99402000
[pid   289] ioctl(16, DRM_IOCTL_ETNAVIV_GEM_INFO or DRM_IOCTL_OMAP_GEM_NEW or DRM_IOCTL_PANFROST_MMAP_BO or DRM_IOCTL_V3D_MMAP_BO or DRM_IOCTL_VC4_CREATE_BO or DRM_IOCTL_VIRTGPU_GETPARAM, 0x1001098e0) = 0
[pid   289] ioctl(16, DRM_IOCTL_VIRTGPU_EXECBUFFER, 0x1001098e8) = 0
[pid   289] ioctl(16, DRM_IOCTL_VIRTGPU_EXECBUFFER, 0x1001098c8) = 0
[pid   289] ioctl(16, DRM_IOCTL_VIRTGPU_RESOURCE_CREATE_BLOB, 0x1001098f8) = 0
[pid   289] ioctl(16, DRM_IOCTL_PANFROST_GET_BO_OFFSET or DRM_IOCTL_TEGRA_OPEN_CHANNEL or DRM_IOCTL_VIRTGPU_RESOURCE_INFO, 0x100109968) = 0
[pid   289] ioctl(16, DRM_IOCTL_VIRTGPU_EXECBUFFER, 0x100109878) = 0
[pid   289] ioctl(16, DRM_IOCTL_VIRTGPU_RESOURCE_CREATE_BLOB, 0x1001098f8) = 0
[pid   289] ioctl(16, DRM_IOCTL_PANFROST_GET_BO_OFFSET or DRM_IOCTL_TEGRA_OPEN_CHANNEL or DRM_IOCTL_VIRTGPU_RESOURCE_INFO, 0x100109968) = 0
[pid   289] ioctl(16, DRM_IOCTL_EXYNOS_GEM_MAP or DRM_IOCTL_LIMA_GEM_CREATE or DRM_IOCTL_NOVA_GEM_CREATE or DRM_IOCTL_QAIC_CREATE_BO or DRM_IOCTL_QXL_MAP or DRM_IOCTL_TEGRA_GEM_MMAP or DRM_IOCTL_V3D_WAIT_BO or DRM_IOCTL_VC4_WAIT_SEQNO or DRM_IOCTL_VGEM_FENCE_ATTACH or DRM_IOCTL_VIRTGPU_MAP, 0x1001099d8) = 0
[pid   289] mmap(NULL, 16384, PROT_READ|PROT_WRITE, MAP_SHARED, 16, 0x10000a000) = 0xffff993dc000
[2026-07-27T23:18:16.182171Z ERROR krun_vmm::linux::vstate] Failure during vcpu run: Bad address (os error 14)
      [2026-07-27T23:18:16.182197Z INFO  krun_vmm] Vmm is stopping.

The last 2 lines of strace look fishy. Maybe it's just a Layer 8 (aka PEBCAK) issue, then I'm sorry. Just wanted to open this issue in case there are other people running into the same issue.

PS: Thank you for all the stuff you did for all of us "Asahi User".

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