Skip to content
This repository was archived by the owner on Oct 3, 2024. It is now read-only.
This repository was archived by the owner on Oct 3, 2024. It is now read-only.

GTK display problems with plain QEMU #76

@Ordspilleren

Description

@Ordspilleren

Hello,

When trying to run GVT-g with DMA_BUF directly from QEMU (Windows Guest), I get the following output from QEMU. I am using GTK display:
qemu-system-x86_64: vfio_region_write(3f1a954f-efe9-4be5-b9b4-0a0b8c599907:region0+0x2230, 0x10120119,4) failed: Bad address

And this output in dmesg:

[ 3917.549659] gvt: vgpu(1) Invalid FORCE_NONPRIV write 83a8 at offset 24ec
[ 3917.815792] gvt: vgpu 1: srm access to non-render register (21f0)
[ 3917.815794] gvt: vgpu 1: MI_STORE_REGISTER_MEM handler error
[ 3917.815794] gvt: vgpu 1: cmd parser error
[ 3917.815795] 0x0 
[ 3917.815795] 0x24 

[ 3917.815797] gvt: vgpu 1: scan wa ctx error
[ 3917.815798] GVT Internal error  for the guest
[ 3917.815799] Now vgpu 1 will enter failsafe mode.
[ 3917.815800] gvt: vgpu 1: failed to submit desc 0
[ 3917.815800] gvt: vgpu 1: fail submit workload on ring 0
[ 3917.815801] gvt: vgpu 1: fail to emulate MMIO write 00002230 len 4

I have tried with both the 25.20.100.6326 and 25.20.100.6577 drivers, none of them work.
Running Arch Linux with the 4.20.13 kernel and QEMU 3.1.0.

Any idea what the problem could be? It works fine in Libvirt with SPICE.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions