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.
DmaBuf not working on 16.04.3 with latest 4.14-stable kernel #11
Closed
Description
Have compiled the latest 4.14-stable cloned from here with the relevant i915 KVMGT driver bits set to "y" and I have a Broadwell GPU (MacBookAir6,2 a.k.a "Early 2015") that works with vgpu (if headless, it works fine, I mean.) however using kvmgt-dmabuf-example to show the guest's framebuffer does not work (no display output unless I specifically add another vga device like -vga qxl.) I also noticed that some firmware load failed in the syslog, which could be the cause of the problem:
$ dmesg | grep -i i915
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.14.0-newperson1746-test2-generic root=UUID=e5561bd9-6268-4883-83e5-aa521d59814b ro --verbose i915.enable_gvt=1 kvm.ignore_msrs=0 intel_iommu=igfx_off vt.handoff=7
[ 0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.14.0-newperson1746-test2-generic root=UUID=e5561bd9-6268-4883-83e5-aa521d59814b ro --verbose i915.enable_gvt=1 kvm.ignore_msrs=0 intel_iommu=igfx_off vt.handoff=7
[ 1.874932] i915 0000:00:02.0: Direct firmware load for i915/gvt/vid_0x8086_did_0x1626_rid_0x09.golden_hw_state failed with error -2
[ 1.886786] i915 0000:00:02.0: MDEV: Registered
[ 1.886852] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=io+mem
[ 1.902343] [drm] Initialized i915 1.6.0 20170818 for 0000:00:02.0 on minor 0
[ 4.469475] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
[ 6.776064] snd_hda_intel 0000:00:03.0: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
From qemu:
$ qemu-system-x86_64 ... {long options}
qemu-system-x86_64: -device vfio-pci,sysfsdev=/sys/bus/pci/devices/0000:00:02.0/20d78d8d-d2f1-416f-b49a-fc9a58171df0: vfio: get dmabuf mgr fd failed:-1
egl extensions found. Intel GVT-g indirect display will be enabled
Use dma-buf to get guest framebuffer
I am trying gvt-staging now, however that branch is older by 3 days and therefore my hopes aren't high.
Metadata
Metadata
Assignees
Labels
No labels