On 8/31/24 6:43 PM, ToddAndMargo via users wrote:
On 8/31/24 18:33, Samuel Sieb wrote:
On 8/31/24 6:29 PM, ToddAndMargo via users wrote:
On 8/31/24 17:43, Samuel Sieb wrote:
On 8/31/24 4:32 PM, ToddAndMargo via users wrote:
On 8/31/24 16:09, Samuel Sieb wrote:
On 8/31/24 3:53 PM, ToddAndMargo via users wrote:
On my Fedora 40 XFCe/MATE qemu-kvm guest virtual
machine configures for QXL video.  How do I
install the guest QXL drivers?

They're included by default as part of the kernel.

When I expand the windows size, the resolution should
change automatically, but does not.  All my Windows
VM's automatically scale and they are using QXL as
well.  What am I missing?

I'm pretty sure that's not the video driver, it's the guest tools. That's certainly what it is for windows.

Try the "qemu-guest-agent" package.


Dang!

# dnf install qemu-guest-agent
Last metadata expiration check: 2:38:38 ago on Sat 31 Aug 2024 03:50:14 PM PDT.
Package qemu-guest-agent-2:8.2.6-3.fc40.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!

systemctl status qemu-guest-agent.service


Double Dang!

# systemctl status qemu-guest-agent.service
○ qemu-guest-agent.service - QEMU Guest Agent
     Loaded: loaded (/usr/lib/systemd/system/qemu-guest-agent.service; disabled>
     Drop-In: /usr/lib/systemd/system/service.d
              └─10-timeout-abort.conf
      Active: inactive (dead)

# systemctl enable qemu-guest-agent.service
Created symlink /etc/systemd/system/dev-virtio\x2dports-org.qemu.guest_agent.0.device.wants/qemu-guest-agent.service → /usr/lib/systemd/system/qemu-guest-agent.service. Unit /usr/lib/systemd/system/qemu-guest-agent.service is added as a dependency to a non-existent unit dev-virtio\x2dports-org.qemu.guest_agent.0.device.

# systemctl start qemu-guest-agent.service
wait, wait, wait, wait
A dependency job for qemu-guest-agent.service failed. See 'journalctl -xe' for details.

$ journalctl -xe
Aug 31 16:44:18 localhost.localdomain spice-vdagent[1468]: Found card '/sys/devices/pci0000:00/0000:00:02.0/drm/card0' with Vendor ID 0x100,> Aug 31 16:44:18 localhost.localdomain spice-vdagent[1468]: Mapping connector Virtual-1 to display #0 Aug 31 16:44:18 localhost.localdomain spice-vdagent[1468]: Device /dev/dri/card0 is at /sys/devices/pci0000:00/0000:00:02.0/drm/card0 Aug 31 16:44:18 localhost.localdomain spice-vdagent[1468]: Found card '/sys/devices/pci0000:00/0000:00:02.0/drm/card0' with Vendor ID 0x100,> Aug 31 16:44:18 localhost.localdomain spice-vdagent[1468]: Found matching X Output: name=Virtual-1 id=67 Aug 31 16:44:18 localhost.localdomain spice-vdagent[1468]: Adding graphics device info: channel_id: 0 monitor_id: 0 device_address: pci/0000> Aug 31 16:44:18 localhost.localdomain spice-vdagent[1468]: display: failed to call GetCurrentState from mutter over DBUS Aug 31 16:44:18 localhost.localdomain spice-vdagent[1468]:    error message: Cannot invoke method; proxy is for the well-known name org.gnom> Aug 31 16:44:18 localhost.localdomain spice-vdagent[1468]: Unable to find a display id for output index 1) Aug 31 16:44:18 localhost.localdomain spice-vdagent[1468]: Unable to find a display id for output index 2) Aug 31 16:44:18 localhost.localdomain spice-vdagent[1468]: Unable to find a display id for output index 3) Aug 31 16:44:18 localhost.localdomain spice-vdagent[1468]: vdagent_audio_playback_sync mute=no nchannels=2 Aug 31 16:44:18 localhost.localdomain spice-vdagent[1468]: vdagent-audio: (playback-left) 65535 (100.00%) Aug 31 16:44:18 localhost.localdomain spice-vdagent[1468]: vdagent-audio: (playback-right) 65535 (100.00%) Aug 31 16:44:18 localhost.localdomain spice-vdagent[1468]: vdagent_audio_record_sync mute=no nchannels=2 Aug 31 16:44:18 localhost.localdomain spice-vdagent[1468]: vdagent-audio: (capture-left) 65535 (100.00%) Aug 31 16:44:18 localhost.localdomain spice-vdagent[1468]: vdagent-audio: (capture-right) 65535 (100.00%) Aug 31 18:28:33 localhost.localdomain systemd[1035]: Started dbus-:1.2-org.xfce.Xfconf@2.service.
░░ Subject: A start job for unit UNIT has finished successfully
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ A start job for unit UNIT has finished successfully.
░░
░░ The job identifier is 332.

It looks like the spice vdagent is running and it looks like the qemu agent didn't enable properly. If you're using the spice display, then that's probably the agent you want.

--
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to