You are not logged in.

#1 2024-04-03 06:32:45

TopCheddar27
Member
Registered: 2024-04-03
Posts: 1

SPICE Connection fails to connect Arch Guest "Display 1"

With the QXL virtual device and driver, I cannot connect to my guest if a display blanks. journalctl displays the following:

Received Graphics Device Info:
spice-vdagent[1146]: card0 not found while listing DRM devices.
spice-vdagent[1146]: Unable to open file (null)
spice-vdagent[1146]: card0 not found while listing DRM devices.
spice-vdagent[1146]: Unable to open file (null)
spice-vdagent[1146]: channel_id: 0 monitor_id: 0 device_address: pci/0000/01.0, device_display_id: 0 xrandr output ID NOT FOUND
spice-vdagent[1146]: No SPICE display found for connector Virtual-1
spice-vdagent[1146]: vdagent_mutter_get_resolutions: No Spice display ID matching - assuming display ID == Monitor index
spice-vdagent[1146]: Received Graphics Device Info:
spice-vdagentd[801]: Set max clipboard: 104857600
spice-vdagent[1146]: card0 not found while listing DRM devices.
spice-vdagent[1146]: Unable to open file (null)
spice-vdagent[1146]: card0 not found while listing DRM devices.
spice-vdagent[1146]: Unable to open file (null)
spice-vdagent[1146]: channel_id: 0 monitor_id: 0 device_address: pci/0000/01.0, device_display_id: 0 xrandr output ID NOT FOUND


Upon defining "Display 1" within virt-viewer, and relaunching virt-viewer, I get the connection to the guest through SPICE. There are seemingly no configuration options within the connection profile to define this. I have found advice to set a virtual display with xrandr, but I am running Gome on Wayland. I am also confused as there seems to be a DRM check that is failing. Could this be caused by QXL driver not working properly?

Here is a lspci -k within the VM:
00:00.0 Host bridge: Intel Corporation 82G33/G31/P35/P31 Express DRAM Controller
        Subsystem: Red Hat, Inc. QEMU Virtual Machine
        Kernel modules: intel_agp
00:01.0 VGA compatible controller: Red Hat, Inc. QXL paravirtual graphic card (rev 04)
        Subsystem: Red Hat, Inc. QEMU Virtual Machine
        Kernel driver in use: qxl
        Kernel modules: qxl
00:02.0 PCI bridge: Red Hat, Inc. QEMU PCIe Root port
        Subsystem: Red Hat, Inc. QEMU PCIe Root port
        Kernel driver in use: pcieport
00:02.1 PCI bridge: Red Hat, Inc. QEMU PCIe Root port
        Subsystem: Red Hat, Inc. QEMU PCIe Root port
        Kernel driver in use: pcieport
00:02.2 PCI bridge: Red Hat, Inc. QEMU PCIe Root port
        Subsystem: Red Hat, Inc. QEMU PCIe Root port
        Kernel driver in use: pcieport
00:02.3 PCI bridge: Red Hat, Inc. QEMU PCIe Root port
        Subsystem: Red Hat, Inc. QEMU PCIe Root port
        Kernel driver in use: pcieport
00:02.4 PCI bridge: Red Hat, Inc. QEMU PCIe Root port
        Subsystem: Red Hat, Inc. QEMU PCIe Root port
        Kernel driver in use: pcieport
00:02.5 PCI bridge: Red Hat, Inc. QEMU PCIe Root port
        Subsystem: Red Hat, Inc. QEMU PCIe Root port
        Kernel driver in use: pcieport
00:02.6 PCI bridge: Red Hat, Inc. QEMU PCIe Root port
        Subsystem: Red Hat, Inc. QEMU PCIe Root port
        Kernel driver in use: pcieport
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
        Subsystem: Red Hat, Inc. QEMU Virtual Machine
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel
00:1f.0 ISA bridge: Intel Corporation 82801IB (ICH9) LPC Interface Controller (rev 02)
        Subsystem: Red Hat, Inc. QEMU Virtual Machine
        Kernel driver in use: lpc_ich
        Kernel modules: lpc_ich
00:1f.2 SATA controller: Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 6 port SATA Controller [AHCI mode] (rev 02)
        Subsystem: Red Hat, Inc. QEMU Virtual Machine
        Kernel driver in use: ahci
00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 02)
        Subsystem: Red Hat, Inc. QEMU Virtual Machine
        Kernel driver in use: i801_smbus
        Kernel modules: i2c_i801
01:00.0 Ethernet controller: Red Hat, Inc. Virtio 1.0 network device (rev 01)
        Subsystem: Red Hat, Inc. Virtio 1.0 network device
        Kernel driver in use: virtio-pci
        Kernel modules: virtio_pci
02:00.0 USB controller: Red Hat, Inc. QEMU XHCI Host Controller (rev 01)
        Subsystem: Red Hat, Inc. QEMU XHCI Host Controller
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_pci
03:00.0 Communication controller: Red Hat, Inc. Virtio 1.0 console (rev 01)
        Subsystem: Red Hat, Inc. Virtio 1.0 console
        Kernel driver in use: virtio-pci
        Kernel modules: virtio_pci
04:00.0 SCSI storage controller: Red Hat, Inc. Virtio 1.0 block device (rev 01)
        Subsystem: Red Hat, Inc. Virtio 1.0 block device
        Kernel driver in use: virtio-pci
        Kernel modules: virtio_pci
05:00.0 Unclassified device [00ff]: Red Hat, Inc. Virtio 1.0 memory balloon (rev 01)
        Subsystem: Red Hat, Inc. Virtio 1.0 memory balloon
        Kernel driver in use: virtio-pci
        Kernel modules: virtio_pci
06:00.0 Unclassified device [00ff]: Red Hat, Inc. Virtio 1.0 RNG (rev 01)
        Subsystem: Red Hat, Inc. Virtio 1.0 RNG
        Kernel driver in use: virtio-pci
        Kernel modules: virtio_pci

Let me know your thoughts, and thanks in advance.

Last edited by TopCheddar27 (2024-04-03 06:36:34)

Offline

Board footer

Powered by FluxBB