Return to Level1Techs.com

Stuck at Waiting for host to signal it's ready

Please help. Thanks.

My system is 4690K, Asus Maximus VI Formula, XFX 280X DD (UEFI, 015.041.000.000.000000)

Debian testing (bullseye)

“user-a” is the username
user-a who runs virt-manager is added to kvm, libvirt, libvirt-qemu groups.

I did the below

/etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="intel_iommu=on vfio-pci.ids=1002:6798,1002:aaa0 video=efifb:off"
/etc/modprobe.d/vfio.conf
options vfio-pci ids=1002:6798,1002:aaa0
options kvm_intel nested=1
softdep radeon pre: vfio-pci
softdep amdgpu pre: vfio-pci
  1. shared memory set to the “user-a”
/etc/tmpfiles.d/10-looking-glass.conf
f       /dev/shm/looking-glass  0660    user-a  kvm     -
systemd-tmpfiles --create /etc/tmpfiles.d/10-looking-glass.conf

CANNOT INCLUDE LINK

Setting

IOMMU groups

pastebin.com/uZzV0XXJ

IOMMU Group 0:
	00:00.0 Host bridge [0600]: Intel Corporation 4th Gen Core Processor DRAM Controller [8086:0c00] (rev 06)
IOMMU Group 1:
	00:01.0 PCI bridge [0604]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller [8086:0c01] (rev 06)
	01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Tahiti XT [Radeon HD 7970/8970 OEM / R9 280X] [1002:6798]
	01:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Tahiti HDMI Audio [Radeon HD 7870 XT / 7950/7970] [1002:aaa0]
IOMMU Group 10:
	00:1c.1 PCI bridge [0604]: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #2 [8086:8c12] (rev d5)
IOMMU Group 11:
	00:1c.6 PCI bridge [0604]: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #7 [8086:8c1c] (rev d5)
IOMMU Group 12:
	00:1c.7 PCI bridge [0604]: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #8 [8086:8c1e] (rev d5)
IOMMU Group 13:
	00:1d.0 USB controller [0c03]: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 [8086:8c26] (rev 05)
IOMMU Group 14:
	00:1f.0 ISA bridge [0601]: Intel Corporation Z87 Express LPC Controller [8086:8c44] (rev 05)
	00:1f.2 SATA controller [0106]: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] [8086:8c02] (rev 05)
	00:1f.3 SMBus [0c05]: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller [8086:8c22] (rev 05)
IOMMU Group 15:
	03:00.0 Network controller [0280]: Broadcom Inc. and subsidiaries BCM4352 802.11ac Wireless Network Adapter [14e4:43b1] (rev 03)
IOMMU Group 16:
	04:00.0 SATA controller [0106]: ASMedia Technology Inc. ASM1062 Serial ATA Controller [1b21:0612] (rev 01)
IOMMU Group 17:
	05:00.0 SATA controller [0106]: ASMedia Technology Inc. ASM1062 Serial ATA Controller [1b21:0612] (rev 01)
IOMMU Group 2:
	00:02.0 Display controller [0380]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [8086:0412] (rev 06)
IOMMU Group 3:
	00:03.0 Audio device [0403]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller [8086:0c0c] (rev 06)
IOMMU Group 4:
	00:14.0 USB controller [0c03]: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI [8086:8c31] (rev 05)
IOMMU Group 5:
	00:16.0 Communication controller [0780]: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 [8086:8c3a] (rev 04)
IOMMU Group 6:
	00:19.0 Ethernet controller [0200]: Intel Corporation Ethernet Connection I217-V [8086:153b] (rev 05)
IOMMU Group 7:
	00:1a.0 USB controller [0c03]: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 [8086:8c2d] (rev 05)
IOMMU Group 8:
	00:1b.0 Audio device [0403]: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller [8086:8c20] (rev 05)
IOMMU Group 9:
	00:1c.0 PCI bridge [0604]: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 [8086:8c10] (rev d5)
dmesg | grep -i -e DMAR -e IOMMU

pastebin.com/pi03XWA5

dmesg | grep -i -e DMAR -e IOMMU
[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-5.5.0-2-amd64 root=UUID=ae5fbd15-e5e7-4655-b965-c3233de3fe91 ro quiet intel_iommu=on vfio-pci.ids=1002:6798,1002:aaa0 video=efifb:off
[    0.006202] ACPI: DMAR 0x00000000A871C6F8 0000B8 (v01 INTEL  HSW      00000001 INTL 00000001)
[    0.072612] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.5.0-2-amd64 root=UUID=ae5fbd15-e5e7-4655-b965-c3233de3fe91 ro quiet intel_iommu=on vfio-pci.ids=1002:6798,1002:aaa0 video=efifb:off
[    0.072650] DMAR: IOMMU enabled
[    0.101222] DMAR: Host address width 39
[    0.101223] DMAR: DRHD base: 0x000000fed90000 flags: 0x0
[    0.101225] DMAR: dmar0: reg_base_addr fed90000 ver 1:0 cap c0000020660462 ecap f0101a
[    0.101226] DMAR: DRHD base: 0x000000fed91000 flags: 0x1
[    0.101228] DMAR: dmar1: reg_base_addr fed91000 ver 1:0 cap d2008020660462 ecap f010da
[    0.101228] DMAR: RMRR base: 0x000000a8687000 end: 0x000000a8693fff
[    0.101229] DMAR: RMRR base: 0x000000ab000000 end: 0x000000af1fffff
[    0.101230] DMAR-IR: IOAPIC id 8 under DRHD base  0xfed91000 IOMMU 1
[    0.101231] DMAR-IR: HPET id 0 under DRHD base 0xfed91000
[    0.101231] DMAR-IR: Queued invalidation will be enabled to support x2apic and Intr-remapping.
[    0.101580] DMAR-IR: Enabled IRQ remapping in x2apic mode
[    0.442880] iommu: Default domain type: Translated 
[    1.026774] DMAR: No ATSR found
[    1.026799] DMAR: dmar0: Using Queued invalidation
[    1.026804] DMAR: dmar1: Using Queued invalidation
[    1.159484] pci 0000:00:00.0: Adding to iommu group 0
[    1.159529] pci 0000:00:01.0: Adding to iommu group 1
[    1.163737] pci 0000:00:02.0: Adding to iommu group 2
[    1.163769] pci 0000:00:03.0: Adding to iommu group 3
[    1.163820] pci 0000:00:14.0: Adding to iommu group 4
[    1.163856] pci 0000:00:16.0: Adding to iommu group 5
[    1.163895] pci 0000:00:19.0: Adding to iommu group 6
[    1.163944] pci 0000:00:1a.0: Adding to iommu group 7
[    1.163974] pci 0000:00:1b.0: Adding to iommu group 8
[    1.164011] pci 0000:00:1c.0: Adding to iommu group 9
[    1.164042] pci 0000:00:1c.1: Adding to iommu group 10
[    1.164078] pci 0000:00:1c.6: Adding to iommu group 11
[    1.164114] pci 0000:00:1c.7: Adding to iommu group 12
[    1.164164] pci 0000:00:1d.0: Adding to iommu group 13
[    1.165185] pci 0000:00:1f.0: Adding to iommu group 14
[    1.165191] pci 0000:00:1f.2: Adding to iommu group 14
[    1.165198] pci 0000:00:1f.3: Adding to iommu group 14
[    1.165205] pci 0000:01:00.0: Adding to iommu group 1
[    1.165209] pci 0000:01:00.1: Adding to iommu group 1
[    1.165240] pci 0000:03:00.0: Adding to iommu group 15
[    1.165269] pci 0000:04:00.0: Adding to iommu group 16
[    1.165299] pci 0000:05:00.0: Adding to iommu group 17
[    1.165336] DMAR: Intel(R) Virtualization Technology for Directed I/O
[    1.169391] AMD-Vi: AMD IOMMUv2 driver by Joerg Roedel <[email protected]>
[    1.169391] AMD-Vi: AMD IOMMUv2 functionality not available on this system
[    1.398213] i915 0000:00:02.0: DMAR active, disabling use of stolen memory
dmesg | grep -i vfio

pastebin.com/7awWMY8T
dmesg | grep -i vfio

[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-5.5.0-2-amd64 root=UUID=ae5fbd15-e5e7-4655-b965-c3233de3fe91 ro quiet intel_iommu=on vfio-pci.ids=1002:6798,1002:aaa0 video=efifb:off
[    0.072612] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.5.0-2-amd64 root=UUID=ae5fbd15-e5e7-4655-b965-c3233de3fe91 ro quiet intel_iommu=on vfio-pci.ids=1002:6798,1002:aaa0 video=efifb:off
[    1.336880] VFIO - User Level meta-driver version: 0.3
[    1.346916] vfio-pci 0000:01:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=io+mem
[    1.365247] vfio_pci: add [1002:6798[ffffffff:ffffffff]] class 0x000000/00000000
[    1.385267] vfio_pci: add [1002:aaa0[ffffffff:ffffffff]] class 0x000000/00000000
[    1.398753] vfio-pci 0000:01:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=io+mem
lspci -vnn abstract (only pcie graphics)

pastebin.com/Ry794Rkt

01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Tahiti XT [Radeon HD 7970/8970 OEM / R9 280X] [1002:6798] (prog-if 00 [VGA controller])
	Subsystem: XFX Pine Group Inc. Tahiti XTL [Radeon R9 280X] [1682:3001]
	Flags: bus master, fast devsel, latency 0, IRQ 255
	Memory at c0000000 (64-bit, prefetchable) [size=256M]
	Memory at dfd00000 (64-bit, non-prefetchable) [size=256K]
	I/O ports at e000 [size=256]
	Expansion ROM at 000c0000 [disabled] [size=128K]
	Capabilities: [48] Vendor Specific Information: Len=08 <?>
	Capabilities: [50] Power Management version 3
	Capabilities: [58] Express Legacy Endpoint, MSI 00
	Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit+
	Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
	Capabilities: [150] Advanced Error Reporting
	Capabilities: [270] Secondary PCI Express
	Capabilities: [2b0] Address Translation Service (ATS)
	Capabilities: [2c0] Page Request Interface (PRI)
	Capabilities: [2d0] Process Address Space ID (PASID)
	Kernel driver in use: vfio-pci
	Kernel modules: radeon, amdgpu

01:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Tahiti HDMI Audio [Radeon HD 7870 XT / 7950/7970] [1002:aaa0]
	Subsystem: XFX Pine Group Inc. Tahiti HDMI Audio [Radeon HD 7870 XT / 7950/7970] [1682:aaa0]
	Flags: fast devsel, IRQ 255
	Memory at dfd60000 (64-bit, non-prefetchable) [disabled] [size=16K]
	Capabilities: [48] Vendor Specific Information: Len=08 <?>
	Capabilities: [50] Power Management version 3
	Capabilities: [58] Express Legacy Endpoint, MSI 00
	Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit+
	Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
	Capabilities: [150] Advanced Error Reporting
	Kernel driver in use: vfio-pci
	Kernel modules: snd_hda_intel
lspci -vvn

pastebin.com/bt45xFvx

lspci -vnn
00:00.0 Host bridge [0600]: Intel Corporation 4th Gen Core Processor DRAM Controller [8086:0c00] (rev 06)
	Subsystem: ASUSTeK Computer Inc. 4th Gen Core Processor DRAM Controller [1043:8534]
	Flags: bus master, fast devsel, latency 0
	Capabilities: [e0] Vendor Specific Information: Len=0c <?>
	Kernel driver in use: hsw_uncore

00:01.0 PCI bridge [0604]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller [8086:0c01] (rev 06) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 26
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
	I/O behind bridge: 0000e000-0000efff [size=4K]
	Memory behind bridge: dfd00000-dfdfffff [size=1M]
	Prefetchable memory behind bridge: 00000000c0000000-00000000cfffffff [size=256M]
	Capabilities: [88] Subsystem: ASUSTeK Computer Inc. Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller [1043:8534]
	Capabilities: [80] Power Management version 3
	Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
	Capabilities: [a0] Express Root Port (Slot+), MSI 00
	Capabilities: [100] Virtual Channel
	Capabilities: [140] Root Complex Link
	Capabilities: [d94] Secondary PCI Express
	Kernel driver in use: pcieport

00:02.0 Display controller [0380]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [8086:0412] (rev 06)
	DeviceName:  Onboard IGD
	Subsystem: ASUSTeK Computer Inc. Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [1043:8534]
	Flags: bus master, fast devsel, latency 0, IRQ 36
	Memory at df400000 (64-bit, non-prefetchable) [size=4M]
	Memory at b0000000 (64-bit, prefetchable) [size=256M]
	I/O ports at f000 [size=64]
	Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
	Capabilities: [d0] Power Management version 2
	Capabilities: [a4] PCI Advanced Features
	Kernel driver in use: i915
	Kernel modules: i915

00:03.0 Audio device [0403]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller [8086:0c0c] (rev 06)
	Subsystem: ASUSTeK Computer Inc. Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller [1043:8534]
	Flags: bus master, fast devsel, latency 0, IRQ 38
	Memory at dfe34000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: [50] Power Management version 2
	Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit-
	Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel

00:14.0 USB controller [0c03]: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI [8086:8c31] (rev 05) (prog-if 30 [XHCI])
	Subsystem: ASUSTeK Computer Inc. 8 Series/C220 Series Chipset Family USB xHCI [1043:8534]
	Flags: bus master, medium devsel, latency 0, IRQ 33
	Memory at dfe20000 (64-bit, non-prefetchable) [size=64K]
	Capabilities: [70] Power Management version 2
	Capabilities: [80] MSI: Enable+ Count=1/8 Maskable- 64bit+
	Kernel driver in use: xhci_hcd
	Kernel modules: xhci_pci

00:16.0 Communication controller [0780]: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 [8086:8c3a] (rev 04)
	Subsystem: ASUSTeK Computer Inc. 8 Series/C220 Series Chipset Family MEI Controller [1043:8534]
	Flags: bus master, fast devsel, latency 0, IRQ 37
	Memory at dfe3f000 (64-bit, non-prefetchable) [size=16]
	Capabilities: [50] Power Management version 3
	Capabilities: [8c] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Kernel driver in use: mei_me
	Kernel modules: mei_me

00:19.0 Ethernet controller [0200]: Intel Corporation Ethernet Connection I217-V [8086:153b] (rev 05)
	DeviceName:  Onboard LAN
	Subsystem: ASUSTeK Computer Inc. Ethernet Connection I217-V [1043:859f]
	Flags: bus master, fast devsel, latency 0, IRQ 31
	Memory at dfe00000 (32-bit, non-prefetchable) [size=128K]
	Memory at dfe3d000 (32-bit, non-prefetchable) [size=4K]
	I/O ports at f080 [size=32]
	Capabilities: [c8] Power Management version 2
	Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [e0] PCI Advanced Features
	Kernel driver in use: e1000e
	Kernel modules: e1000e

00:1a.0 USB controller [0c03]: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 [8086:8c2d] (rev 05) (prog-if 20 [EHCI])
	Subsystem: ASUSTeK Computer Inc. 8 Series/C220 Series Chipset Family USB EHCI [1043:8534]
	Flags: bus master, medium devsel, latency 0, IRQ 20
	Memory at dfe3c000 (32-bit, non-prefetchable) [size=1K]
	Capabilities: [50] Power Management version 2
	Capabilities: [58] Debug port: BAR=1 offset=00a0
	Capabilities: [98] PCI Advanced Features
	Kernel driver in use: ehci-pci
	Kernel modules: ehci_pci

00:1b.0 Audio device [0403]: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller [8086:8c20] (rev 05)
	Subsystem: ASUSTeK Computer Inc. 8 Series/C220 Series Chipset High Definition Audio Controller [1043:857e]
	Flags: bus master, fast devsel, latency 0, IRQ 39
	Memory at dfe30000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: [50] Power Management version 2
	Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
	Capabilities: [100] Virtual Channel
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel

00:1c.0 PCI bridge [0604]: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 [8086:8c10] (rev d5) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 27
	Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
	I/O behind bridge: [disabled]
	Memory behind bridge: [disabled]
	Prefetchable memory behind bridge: [disabled]
	Capabilities: [40] Express Root Port (Slot-), MSI 00
	Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
	Capabilities: [90] Subsystem: ASUSTeK Computer Inc. 8 Series/C220 Series Chipset Family PCI Express Root Port [1043:8534]
	Capabilities: [a0] Power Management version 3
	Kernel driver in use: pcieport

00:1c.1 PCI bridge [0604]: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #2 [8086:8c12] (rev d5) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 28
	Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
	I/O behind bridge: [disabled]
	Memory behind bridge: df800000-dfafffff [size=3M]
	Prefetchable memory behind bridge: [disabled]
	Capabilities: [40] Express Root Port (Slot+), MSI 00
	Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
	Capabilities: [90] Subsystem: ASUSTeK Computer Inc. 8 Series/C220 Series Chipset Family PCI Express Root Port [1043:8534]
	Capabilities: [a0] Power Management version 3
	Kernel driver in use: pcieport

00:1c.6 PCI bridge [0604]: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #7 [8086:8c1c] (rev d5) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 29
	Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
	I/O behind bridge: 0000d000-0000dfff [size=4K]
	Memory behind bridge: dfc00000-dfcfffff [size=1M]
	Prefetchable memory behind bridge: [disabled]
	Capabilities: [40] Express Root Port (Slot+), MSI 00
	Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
	Capabilities: [90] Subsystem: ASUSTeK Computer Inc. 8 Series/C220 Series Chipset Family PCI Express Root Port [1043:8534]
	Capabilities: [a0] Power Management version 3
	Kernel driver in use: pcieport

00:1c.7 PCI bridge [0604]: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #8 [8086:8c1e] (rev d5) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 30
	Bus: primary=00, secondary=05, subordinate=05, sec-latency=0
	I/O behind bridge: 0000c000-0000cfff [size=4K]
	Memory behind bridge: dfb00000-dfbfffff [size=1M]
	Prefetchable memory behind bridge: [disabled]
	Capabilities: [40] Express Root Port (Slot+), MSI 00
	Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
	Capabilities: [90] Subsystem: ASUSTeK Computer Inc. 8 Series/C220 Series Chipset Family PCI Express Root Port [1043:8534]
	Capabilities: [a0] Power Management version 3
	Kernel driver in use: pcieport

00:1d.0 USB controller [0c03]: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 [8086:8c26] (rev 05) (prog-if 20 [EHCI])
	Subsystem: ASUSTeK Computer Inc. 8 Series/C220 Series Chipset Family USB EHCI [1043:8534]
	Flags: bus master, medium devsel, latency 0, IRQ 23
	Memory at dfe3b000 (32-bit, non-prefetchable) [size=1K]
	Capabilities: [50] Power Management version 2
	Capabilities: [58] Debug port: BAR=1 offset=00a0
	Capabilities: [98] PCI Advanced Features
	Kernel driver in use: ehci-pci
	Kernel modules: ehci_pci

00:1f.0 ISA bridge [0601]: Intel Corporation Z87 Express LPC Controller [8086:8c44] (rev 05)
	Subsystem: ASUSTeK Computer Inc. Z87 Express LPC Controller [1043:8534]
	Flags: bus master, medium devsel, latency 0
	Capabilities: [e0] Vendor Specific Information: Len=0c <?>
	Kernel driver in use: lpc_ich
	Kernel modules: lpc_ich

00:1f.2 SATA controller [0106]: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] [8086:8c02] (rev 05) (prog-if 01 [AHCI 1.0])
	Subsystem: ASUSTeK Computer Inc. 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] [1043:8534]
	Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 32
	I/O ports at f0d0 [size=8]
	I/O ports at f0c0 [size=4]
	I/O ports at f0b0 [size=8]
	I/O ports at f0a0 [size=4]
	I/O ports at f060 [size=32]
	Memory at dfe3a000 (32-bit, non-prefetchable) [size=2K]
	Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
	Capabilities: [70] Power Management version 3
	Capabilities: [a8] SATA HBA v1.0
	Kernel driver in use: ahci
	Kernel modules: ahci

00:1f.3 SMBus [0c05]: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller [8086:8c22] (rev 05)
	Subsystem: ASUSTeK Computer Inc. 8 Series/C220 Series Chipset Family SMBus Controller [1043:8534]
	Flags: medium devsel, IRQ 18
	Memory at dfe39000 (64-bit, non-prefetchable) [size=256]
	I/O ports at f040 [size=32]
	Kernel driver in use: i801_smbus
	Kernel modules: i2c_i801

01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Tahiti XT [Radeon HD 7970/8970 OEM / R9 280X] [1002:6798] (prog-if 00 [VGA controller])
	Subsystem: XFX Pine Group Inc. Tahiti XTL [Radeon R9 280X] [1682:3001]
	Flags: bus master, fast devsel, latency 0, IRQ 255
	Memory at c0000000 (64-bit, prefetchable) [size=256M]
	Memory at dfd00000 (64-bit, non-prefetchable) [size=256K]
	I/O ports at e000 [size=256]
	Expansion ROM at 000c0000 [disabled] [size=128K]
	Capabilities: [48] Vendor Specific Information: Len=08 <?>
	Capabilities: [50] Power Management version 3
	Capabilities: [58] Express Legacy Endpoint, MSI 00
	Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit+
	Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
	Capabilities: [150] Advanced Error Reporting
	Capabilities: [270] Secondary PCI Express
	Capabilities: [2b0] Address Translation Service (ATS)
	Capabilities: [2c0] Page Request Interface (PRI)
	Capabilities: [2d0] Process Address Space ID (PASID)
	Kernel driver in use: vfio-pci
	Kernel modules: radeon, amdgpu

01:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Tahiti HDMI Audio [Radeon HD 7870 XT / 7950/7970] [1002:aaa0]
	Subsystem: XFX Pine Group Inc. Tahiti HDMI Audio [Radeon HD 7870 XT / 7950/7970] [1682:aaa0]
	Flags: fast devsel, IRQ 255
	Memory at dfd60000 (64-bit, non-prefetchable) [disabled] [size=16K]
	Capabilities: [48] Vendor Specific Information: Len=08 <?>
	Capabilities: [50] Power Management version 3
	Capabilities: [58] Express Legacy Endpoint, MSI 00
	Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit+
	Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
	Capabilities: [150] Advanced Error Reporting
	Kernel driver in use: vfio-pci
	Kernel modules: snd_hda_intel

03:00.0 Network controller [0280]: Broadcom Inc. and subsidiaries BCM4352 802.11ac Wireless Network Adapter [14e4:43b1] (rev 03)
	Subsystem: ASUSTeK Computer Inc. BCM4352 802.11ac Wireless Network Adapter [1043:855c]
	Flags: bus master, fast devsel, latency 0, IRQ 17
	Memory at dfa00000 (64-bit, non-prefetchable) [size=32K]
	Memory at df800000 (64-bit, non-prefetchable) [size=2M]
	Capabilities: [48] Power Management version 3
	Capabilities: [58] MSI: Enable- Count=1/1 Maskable- 64bit+
	Capabilities: [68] Vendor Specific Information: Len=44 <?>
	Capabilities: [ac] Express Endpoint, MSI 00
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [13c] Device Serial Number 54-27-00-ff-ff-00-00-01
	Capabilities: [150] Power Budgeting <?>
	Capabilities: [160] Virtual Channel
	Capabilities: [1b0] Latency Tolerance Reporting
	Capabilities: [220] Resizable BAR <?>
	Kernel driver in use: wl
	Kernel modules: bcma, wl

04:00.0 SATA controller [0106]: ASMedia Technology Inc. ASM1062 Serial ATA Controller [1b21:0612] (rev 01) (prog-if 01 [AHCI 1.0])
	Subsystem: ASUSTeK Computer Inc. ASM1062 Serial ATA Controller [1043:858d]
	Flags: bus master, fast devsel, latency 0, IRQ 34
	I/O ports at d050 [size=8]
	I/O ports at d040 [size=4]
	I/O ports at d030 [size=8]
	I/O ports at d020 [size=4]
	I/O ports at d000 [size=32]
	Memory at dfc00000 (32-bit, non-prefetchable) [size=512]
	Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit-
	Capabilities: [78] Power Management version 3
	Capabilities: [80] Express Legacy Endpoint, MSI 00
	Capabilities: [100] Virtual Channel
	Kernel driver in use: ahci
	Kernel modules: ahci

05:00.0 SATA controller [0106]: ASMedia Technology Inc. ASM1062 Serial ATA Controller [1b21:0612] (rev 01) (prog-if 01 [AHCI 1.0])
	Subsystem: ASUSTeK Computer Inc. ASM1062 Serial ATA Controller [1043:858d]
	Flags: bus master, fast devsel, latency 0, IRQ 35
	I/O ports at c050 [size=8]
	I/O ports at c040 [size=4]
	I/O ports at c030 [size=8]
	I/O ports at c020 [size=4]
	I/O ports at c000 [size=32]
	Memory at dfb00000 (32-bit, non-prefetchable) [size=512]
	Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit-
	Capabilities: [78] Power Management version 3
	Capabilities: [80] Express Legacy Endpoint, MSI 00
	Capabilities: [100] Virtual Channel
	Kernel driver in use: ahci
	Kernel modules: ahci
vm xml

pastebin.com/8sTeHMaq

<domain type='kvm'>
  <name>windows-10-pro</name>
  <uuid>66677e1d-5704-40d3-8b14-cd1686e1c335</uuid>
  <metadata>
    <libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
      <libosinfo:os id="http://microsoft.com/win/10"/>
    </libosinfo:libosinfo>
  </metadata>
  <memory unit='KiB'>16777216</memory>
  <currentMemory unit='KiB'>16777216</currentMemory>
  <vcpu placement='static'>4</vcpu>
  <os>
    <type arch='x86_64' machine='pc-i440fx-4.2'>hvm</type>
    <loader readonly='yes' type='pflash'>/usr/share/OVMF/OVMF_CODE.fd</loader>
    <nvram>/var/lib/libvirt/qemu/nvram/windows-10-pro_VARS.fd</nvram>
    <boot dev='hd'/>
  </os>
  <features>
    <acpi/>
    <apic/>
    <hyperv>
      <relaxed state='on'/>
      <vapic state='on'/>
      <spinlocks state='on' retries='8191'/>
    </hyperv>
    <vmport state='off'/>
  </features>
  <cpu mode='host-passthrough' check='none'/>
  <clock offset='localtime'>
    <timer name='rtc' tickpolicy='catchup'/>
    <timer name='pit' tickpolicy='delay'/>
    <timer name='hpet' present='no'/>
    <timer name='hypervclock' present='yes'/>
  </clock>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>destroy</on_crash>
  <pm>
    <suspend-to-mem enabled='no'/>
    <suspend-to-disk enabled='no'/>
  </pm>
  <devices>
    <emulator>/usr/bin/qemu-system-x86_64</emulator>
    <disk type='file' device='disk'>
      <driver name='qemu' type='qcow2' cache='none' io='native'/>
      <source file='/img/templates/windows-10-pro.qcow2'/>
      <target dev='sda' bus='scsi'/>
      <address type='drive' controller='0' bus='0' target='0' unit='0'/>
    </disk>
    <disk type='file' device='cdrom'>
      <driver name='qemu' type='raw'/>
    <disk type='file' device='cdrom'>
      <driver name='qemu' type='raw'/>
      <source file='/dat/iso/Win10_1909_English_x64.iso'/>
      <target dev='sdb' bus='sata'/>
      <readonly/>
      <address type='drive' controller='0' bus='0' target='0' unit='1'/>
    </disk>
    <controller type='usb' index='0' model='qemu-xhci' ports='15'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
    </controller>
    <controller type='scsi' index='0' model='virtio-scsi'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
    </controller>
    <controller type='pci' index='0' model='pci-root'/>
    <controller type='sata' index='0'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
    </controller>
    <controller type='virtio-serial' index='0'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/>
    </controller>
    <interface type='network'>
      <mac address='52:54:00:8b:44:54'/>
      <source network='default'/>
      <model type='virtio'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
    </interface>
    <channel type='spicevmc'>
      <target type='virtio' name='com.redhat.spice.0'/>
      <address type='virtio-serial' controller='0' bus='0' port='1'/>
    </channel>
    <input type='tablet' bus='usb'>
      <address type='usb' bus='0' port='1'/>
    </input>
    <input type='mouse' bus='ps2'/>
    <input type='keyboard' bus='ps2'/>
    <graphics type='spice' autoport='yes'>
      <listen type='address'/>
      <image compression='off'/>
    </graphics>
    <sound model='ich9'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
    </sound>
    <video>
      <model type='none'/>
    </video>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <source>
        <address domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
      </source>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x0b' function='0x0'/>
    </hostdev>
     <address type='pci' domain='0x0000' bus='0x00' slot='0x0b' function='0x0'/>
    </hostdev>
    <redirdev bus='usb' type='spicevmc'>
      <address type='usb' bus='0' port='2'/>
    </redirdev>
    <redirdev bus='usb' type='spicevmc'>
      <address type='usb' bus='0' port='3'/>
    </redirdev>
    <memballoon model='virtio'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x09' function='0x0'/>
    </memballoon>
    <shmem name='looking-glass'>
      <model type='ivshmem-plain'/>
      <size unit='M'>32</size>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x0a' function='0x0'/>
    </shmem>
  </devices>
</domain>

terminal output

[I]               main.c:996  | run                            | Looking Glass (debian/0+b1-3+b1)
[I]               main.c:997  | run                            | Locking Method: Atomic
[I]               main.c:1015 | run                            | Wayland detected
[I]               main.c:1024 | run                            | SDL_VIDEODRIVER has been set to wayland
[I]                egl.c:187  | egl_initialize                 | Double buffering is on
[I]               main.c:902  | try_renderer                   | Using Renderer: EGL
[I]              spice.c:197  | spice_connect                  | Remote: 127.0.0.1:5900
[I]                egl.c:447  | egl_render_startup             | Vendor  : Intel Open Source Technology Center
[I]                egl.c:448  | egl_render_startup             | Renderer: Mesa DRI Intel(R) Haswell Desktop
[I]                egl.c:449  | egl_render_startup             | Version : OpenGL ES 3.1 Mesa 19.3.3
[I]               main.c:1259 | run                            | Waiting for host to signal it's ready...
[I]              spice.c:409  | spice_on_common_read           | notify message: keyboard channel is insecure

I formatted your post a bit, and added the links in. You can get permission to post links by leveling up, and reading posts on the forum while logged in is the quickest way to do that.

You can click the triangles to expand the details section to see the hidden text.

Welcome to the forum.

1 Like

I’m running LG on Ubuntu Bionic so the setup experience should be similar to Debian. A few things to check:

  • Make sure you have the host executable running properly on the Windows guest.
  • I don’t see the log entry indicating that your shared memory device is opening (you should have a “KVMFR Device” line early in the log). Do you have apparmor enforcing on your Debian host? If you do, run:

dmesg | grep ‘apparmor=“DENIED”.*/dev/shm/look’

If you get any results, then apparmor is blocking QEMU from opening the shared device. If that’s the case, add the following to the bottom of /etc/apparmor.d/abstractions/libvirt-qemu:

/dev/shm/looking-glass rw,

I have no idea what version this is, seems the package maintainer has decided to fudge the versioning… sigh…

Make sure you have the correct host program to suit, and please provide the logs from the host program.

Thank you very much!

1 Like

Thanks. I did add looking-glass to apparmor.

Thank you. I have gnome and wayland. I wonder where the log be?

The windows host log, it will be in %TEMP%\looking-glass-host.txt

Wayland is not supported with LG at this time and may not work well.

Found it. I can’t post a link so please add dot com. Thanks.
http://pastebin.com/vX0UF0FK

Failed to create D3D11 device: 0x887a0004 (The specified device interface or feature level is not supported on this system.)

It seems you still have the virtual video device attached to the guest VM. You must turn it off by setting the video device type to none in libvirt. You have to type in this value as it’s not an option in the list.

I did, I added it back just to access the log.
Let me run it again without virtual video device and try to get the log.

Understood.

Unfortunatly because the Debian maintainer has decided to provide his/her own version number I have no idea what build this is, and what version of the host program to match it with.

I have contacted the package maintainer to request they do not alter the version reported by the client to prevent this in the future.

It seems that the log overwritten every time the host program runs. I scheduled to run it again once in next the couple of minutes. I think I should be able to get the log up shortly.

It isn’t, it is appended to.

I dug out the version from the debian package, it’s B1 and you have the correct host version also, so that’s not it.

Are you per chance using SCREAM for audio in the guest?

new log. I have an AMD 280X.

[I] app.c:350 | app_main | Looking Glass Host (B1-rc6-6-gb979752989+1)
[I] app.c:351 | app_main | IVSHMEM Size : 32 MiB
[I] app.c:357 | app_main | IVSHMEM Address : 0x11D0000
[I] app.c:366 | app_main | Max Cursor Size : 1 MiB
[I] app.c:367 | app_main | Max Frame Size : 15 MiB
[I] app.c:368 | app_main | Cursor : 0x11D0080 (0x00000080)
[I] app.c:374 | app_main | Frame 0 : 0x12D0080 (0x00100080)
[I] app.c:374 | app_main | Frame 1 : 0x2250000 (0x01080000)
[I] app.c:381 | app_main | Trying : NVFBC (NVidia Frame Buffer Capture)
[E] wrapper.cpp:60 | NvFBCInit | Failed to load NvFBC64.dll: 0x0000007e (The specified module could not be found.)
[I] app.c:381 | app_main | Trying : DXGI

Are you per chance using SCREAM for audio in the guest?

No. I don’t think I set this up.
Thanks.

The only other thing that comes to mind is wayland, LG doesn’t support it well at all.

Thanks a lot.