You are not logged in.

#1 2022-07-01 16:54:16

mettacrawler
Member
Registered: 2020-09-26
Posts: 26

Trouble with QXL in libvirt/KVM/Qemu

Hi,

When I try to use QXL with the display resolution set to 1600 x 900 I can't click on anything around the screen edges. The closer to the edge of the screen the more my mouse pointer appears to be at an offset. If I'm clicking on something near the edge I have to hover the mouse away from what I click on. If it's toward the right edge of the screen I have to hover the pointer to the right of what I'm clicking on. As I try to click on something closer to the edge I can't reach it even trying at an offset.

Everything is OK with 1024 x 768 on QXL. Only higher resolutions have this issue.

I tried with KDE and then Gnome and that didn't fix it, both have the same issue so the type of desktop is probably not causing this.

This does not happen when I'm using other VMs with another OS instead of Arch so it does not seem to be caused by the libvirt/KVM/Qemu I'm using.

I switched from QXL to virtio video, 1440 x 900 resolution, 3d acceleration and opengl and it works.  I want to use 1600 x 900 but virtio doesn't support that.

The image for the VM came from Vagrant https://gitlab.archlinux.org/archlinux/arch-boxes/ but that says the images should work with libvirt.

Has anyone had this experience? Any suggestions about how to make it work?

Thanks

Offline

#2 2022-07-02 12:09:11

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,182

Re: Trouble with QXL in libvirt/KVM/Qemu

Vagrant
Vagrant images for the VirtualBox and Libvirt provider are released to Vagrant Cloud.

I'm 99% certain that means the images are intended for virtualbox on top of vagrant and libvirt on top of vagrant.

Are you starting them through vagrant or directly from cli / virt-manager ?
If the latter you'll probably want to try with the qcow2 basic image listed a bit lower on the arch-boxes repo page.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 2022-07-02 14:19:48

mettacrawler
Member
Registered: 2020-09-26
Posts: 26

Re: Trouble with QXL in libvirt/KVM/Qemu

I am using the qcow2 basic image.
Arch-Linux-x86_64-basic.qcow2
How will using that have an affect on QXL?

Offline

#4 2022-07-02 14:57:05

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: Trouble with QXL in libvirt/KVM/Qemu

mettacrawler wrote:

I want to use 1600 x 900 but virtio doesn't support that.

https://wiki.archlinux.org/title/Xrandr … esolutions

QXL is old and broken. Use virtio instead.


Jin, Jîyan, Azadî

Offline

#5 2022-07-02 15:21:45

mettacrawler
Member
Registered: 2020-09-26
Posts: 26

Re: Trouble with QXL in libvirt/KVM/Qemu

https://man.archlinux.org/man/qemu.1.en  -- "qxl ... Recommended choice when using the spice protocol."

Offline

#6 2022-07-03 09:50:20

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,182

Re: Trouble with QXL in libvirt/KVM/Qemu

mettacrawler wrote:

I am using the qcow2 basic image.
Arch-Linux-x86_64-basic.qcow2
How will using that have an affect on QXL?

The other 3 images are intended for specific environments and have adjustments to make them work better in those specific environmnets.
Such changes often cause issues when used in different environments.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#7 2022-07-03 15:45:19

mettacrawler
Member
Registered: 2020-09-26
Posts: 26

Re: Trouble with QXL in libvirt/KVM/Qemu

Lone_Wolf wrote:
mettacrawler wrote:

I am using the qcow2 basic image.
Arch-Linux-x86_64-basic.qcow2
How will using that have an affect on QXL?

The other 3 images are intended for specific environments and have adjustments to make them work better in those specific environmnets.
Such changes often cause issues when used in different environments.

I suppose I could start from scratch with an Arch Linux iso.

Offline

Board footer

Powered by FluxBB