#1095682 cirrus_drv.so: undefined symbol: vgaHWFreeHWRec

Package:
xserver-xorg-video-cirrus
Source:
xserver-xorg-video-cirrus
Description:
X.Org X server -- Cirrus display driver
Submitter:
Julien Plissonneau Duquène
Date:
2025-02-11 09:12:01 UTC
Severity:
normal
#1095682#5
Date:
2025-02-10 17:32:08 UTC
From:
To:
Dear Maintainers,

This driver currently fails to load on trixie with the following error:

[    51.396] (EE) Failed to load /usr/lib/xorg/modules/drivers/cirrus_drv.so: /usr/lib/xorg/modules/drivers/cirrus_drv.so: undefined symbol: vgaHWFreeHWRec
[    51.396] (EE) Failed to load module "cirrus" (loader failed, 0)

This emulated CLGD 5446 is the default graphics device used by libvirt/qemu
VMs, and is currently used by the Debian Vagrant boxes.

I will attach a Vagrantfile later for testing.

Best regards,

#1095682#10
Date:
2025-02-10 20:25:19 UTC
From:
To:
TTBOMK on qemu you should use the modesetting driver, not cirrus.

Chris

#1095682#15
Date:
2025-02-10 20:55:16 UTC
From:
To:
Best regards,
#1095682#20
Date:
2025-02-11 09:09:43 UTC
From:
To:
Le 2025-02-10 21:25, Chris Hofstaedtler a écrit :

Actually Xorg without configuration will fall back to this driver but
for some reason (kernel limitation?) only 16bpp depth is available at
1024x768 though the original chip should accept 24bpp at that resolution
(not sure whether the emulated chip enforces a limit at higher
resolutions, but the cirrus drivers probably do).

Also not sure why this is still the default with vagrant/virtio/debian
vagrant boxes as that default was changed in qemu over a decade ago. Any
of std/qxl/virtio should perform better with less issues.