Date
Aug. 6th, 2025
 
2025年八月初六

Post: Proxmox QXL failed to allocate

Proxmox QXL failed to allocate

Published 00:08 Aug 03, 2025.

Created by @ezra. Categorized in #UNIX/Linux, and tagged as #UNIX/Linux.

Source format: Markdown

Table of Content
qxl 0000:00:01.0: object_init failed for (4096, 0x00000001)
[TTM] Buffer eviction failed
[drm:qxl_gem_object_create [qxl]] *ERROR* Failed to allocate GEM object (16384, 1, 4096, -12)
Process Xorg dumped core
Failed to start xfce4-notifyd.service

这些错误表明:QXL 虚拟显卡(Proxmox 默认虚拟显卡)无法分配图形内存(GEM 对象),返回码-12对应ENOMEM(内存不足)。这里可能存在两个问题:1、显存不足,桌面环境可能因图形操作频繁(如窗口渲染、光标更新)导致显存耗尽;2、QXL兼容性问题导致崩溃

解决办法:进入对应虚拟机的硬件设置,将原有的 “QXL” 显示设备,改为 “VirtIO-GPU”,并分配更多显存,如 256MB等。

Pinned Message
HOTODOGO
The Founder and CEO of Infeca Technology.
Developer, Designer, Blogger.
Big fan of Apple, Love of colour.
Feel free to contact me.
反曲点科技创始人和首席执行官。
开发、设计与写作皆为所长。
热爱苹果、钟情色彩。
随时恭候 垂询