Problem with QXL driver

Serhio Gor yousergor at gmail.com
Sat Apr 12 18:56:17 UTC 2025


Hello,
My name is Sergio , I'm sysadmin  and I use Proxmox with virtual machines
with Spice remote connection.
Today I faced with problem -

Have Virtual machine with Devuan and GUI Mate . During surfing in internet
and when I click some buttons on pages the virtual machine freezes and
don't work . In logs I found
kernel: [16172.719139] [drm:qxl_gem_object_create [qxl]] *ERROR* Failed to
allocate GEM object (261164, 1, 4096, -12)
kernel: [16172.719160] [drm:qxl_alloc_ioctl [qxl]] *ERROR* qxl_alloc_ioctl:
failed to create gem ret=-12

 I found this problem  described here
https://forum.proxmox.com/threads/ttm-buffer-eviction-failed.152720/
solution is not to use QXL but use virtio
=================================================
Hi,

@jebbam <https://forum.proxmox.com/members/77564/> I cannot solve your
problem but at least I can reference a workaround:
https://bbs.archlinux.org/viewtopic.php?id=215839

QXL should be the culprit and the workaround is to switch to VirtIO for the
display settings.

View attachment 75429 <https://forum.proxmox.com/attachments/75429/>

VDI Client still works fine. Also feels faster.

Other reference and bonus:
https://www.reddit.com/r/Proxmox/comments/1b01sbx/spice_really_sluggish_with_ubuntu_2204/
https://www.reddit.com/r/Proxmox/comments/1auvdlg/qxl_vs_virtio_gpu_vs_virgl_gpu_trivial_benchmark/

Best regards,
Stefan
===================================================
but I need Spice connection to virtual machines and without qxl it doesn't
work.

I ask you if you have some patch or another solution for this problem
please give me answer.
Thank you in advance!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20250412/93e191e0/attachment.htm>


More information about the Spice-devel mailing list