[Spice-devel] Bug in qxl kernel driver (bpp)

Melroy van den Berg webmaster1989 at gmail.com
Wed May 13 22:38:38 UTC 2020


Hi folks,

The Xorg log is getting spammed with the following messages (I noticed I'm not the only one on the Internet):
> qxl_surface_create: Bad bpp: 1 (1)
> qxl_surface_create: Bad bpp: 1 (1)
> qxl_surface_create: Bad bpp: 1 (1)

I think this isn't nice for anyone. So I propose a fix in the driver around here:
https://elixir.bootlin.com/linux/latest/source/drivers/gpu/drm/qxl/qxl_cmd.c#L396
A valid value of Bits per pixel (bpp aka Pixelmap) is often 24 (or 32 bit depth). Please try to play around with this, and see if you could make Xorg server happy again.
Thanks!
Regards,
Melroy van den Berg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20200514/54c092b9/attachment.htm>


More information about the Spice-devel mailing list