Feature #8114

Upgrade xserver-xorg-video-qxl for better performance in kvm/spice environments

Added by sdsx4 2014-10-14 13:25:24 . Updated 2016-05-30 08:49:20 .

Status:
Resolved
Priority:
Low
Assignee:
Category:
Virtualization
Target version:
Start date:
2014-10-14
Due date:
% Done:

100%

Feature Branch:
Type of work:
Debian
Blueprint:

Starter:
Affected tool:
Deliverable for:

Description

Please ship the latest version of xserver-xorg-video-qxl;

Currently shipped version: 0.0.17-2+b1
Available version: 0.1.2 [1] [2]

The reason for an upgrade is a much (leaps and bounds) improved graphics performance in kvm/spice environment.

[1] http://cgit.freedesktop.org/xorg/driver/xf86-video-qxl/
[2] https://packages.debian.org/jessie/xserver-xorg-video-qxl


Subtasks


Related issues

Related to Tails - Bug #11500: Poor graphics performance in KVM guest with QXL driver Resolved 2016-05-30

History

#1 Updated by intrigeri 2014-10-14 13:59:23

> Please ship the latest version of xserver-xorg-video-qxl;

> Currently shipped version: 0.0.17-2+b1
> Available version: 0.1.2 [1] [2]

Does the latest version build fine against Wheezy’s X.Org dev libs?

#2 Updated by sdsx4 2014-10-15 05:57:31

intrigeri wrote:
> > Please ship the latest version of xserver-xorg-video-qxl;
>
> > Currently shipped version: 0.0.17-2+b1
> > Available version: 0.1.2 [1] [2]
>
> Does the latest version build fine against Wheezy’s X.Org dev libs?

I was able to build source package v 0.1.1 from testing (apt-get -t testing source xserver-xorg-video-qxl) using libraries from stable (apt-get build-dep xserver-xorg-video-qxl) after installing one extra package: apt-get -t testing install libspice-protocol-dev.

Resulting module qxl_drv.so loaded fine in xorg from stable and performance has improved.

#3 Updated by sdsx4 2014-10-15 06:18:18

After further testing there appears to be a large amount of “Out of surfaces” messages in Xorg.0.log as well as OOM errors and “Out of video memory” messages. This is accompanied with several video artifacts.

#4 Updated by intrigeri 2014-10-15 06:55:37

> After further testing there appears to be a large amount of “Out of surfaces”
> messages in Xorg.0.log as well as OOM errors and “Out of video memory” messages.
> This is accompanied with several video artifacts.

I remember seeing this at least on Tails/Squeeze, and probably on Tails/Wheezy too.

Can you see that:

  • with the newer QXL driver?
  • with 64MB of video RAM assigned to the guest?

#5 Updated by intrigeri 2014-10-16 07:22:56

  • Subject changed from Please ship the latest version of xserver-xorg-video-qxl to Upgrade xserver-xorg-video-qxl for better performance in kvm/spice environments
  • Assignee set to sdsx4
  • QA Check set to Info Needed

sdsx4 wrote:
> I was able to build source package v 0.1.1 from testing (apt-get -t testing source xserver-xorg-video-qxl) using libraries from stable (apt-get build-dep xserver-xorg-video-qxl) after installing one extra package: apt-get -t testing install libspice-protocol-dev.

Is the libspice-protocol-dev from wheezy-backports (currently: 0.12.6-1~bpo70+2) enough? If that’s the case, then a backport should be straightforward. If someone published a wheezy-backports branch forked off the tag corresponding to the Wheezy version on git://git.debian.org/git/pkg-xorg/driver/xserver-xorg-video-qxl, I’d be glad to review and upload this backport.

#6 Updated by intrigeri 2014-11-07 14:46:02

Ping?

#7 Updated by sdsx4 2014-11-10 15:25:32

intrigeri wrote:
> Ping?

1) 64 MB video ram does not really change anything since the initial testing (with video artifacts and ‘out of memory …’) was done on 64 MB memory anyway

2) attempting to build the latest qxl video driver (tag 0.1.3 from official git) against wheezy build-deps and wheezy-backports libspice-protocol-dev results in a loadable .so that seems to work with better performance but still has very nasty bugs in Xorg.log

3) same for 0.1.2

#8 Updated by intrigeri 2014-11-10 15:57:20

sdsx4 wrote:
> 2) attempting to build the latest qxl video driver (tag 0.1.3 from official git) against wheezy build-deps and wheezy-backports libspice-protocol-dev results in a loadable .so that seems to work with better performance but still has very nasty bugs in Xorg.log

Great, thanks!

Two more questions, then:

  • Have you tried building Jessie’s QXL driver (0.1.1-2) against wheezy+backports?
  • Would you be willing to provide a wheezy-backports branch forked off the tag corresponding to the Wheezy version on git://git.debian.org/git/pkg-xorg/driver/xserver-xorg-video-qxl, or should I try and find someone else to take care of this part?

#9 Updated by sdsx4 2014-11-10 17:42:32

> * Have you tried building Jessie’s QXL driver (0.1.1-2) against wheezy+backports?

It builds but loading the resulting .so results in leaking memory on the order of 2GB per 5 seconds … :(

> * Would you be willing to provide a wheezy-backports branch forked off the tag corresponding to the Wheezy version on git://git.debian.org/git/pkg-xorg/driver/xserver-xorg-video-qxl, or should I try and find someone else to take care of this part?

I am sorry, I do not know how to do this.

#10 Updated by intrigeri 2014-11-10 23:12:48

  • Status changed from New to Confirmed
  • Assignee deleted (sdsx4)
  • QA Check deleted (Info Needed)

#11 Updated by sajolida 2014-11-16 11:10:48

  • Category changed from Hardware support to Virtualization

#12 Updated by intrigeri 2014-12-05 23:13:26

  • Type of work changed from Code to Debian

#13 Updated by intrigeri 2015-08-09 09:32:12

  • Priority changed from Normal to Low

With the migration to Jessie in view, IMO it’s too late to bother backporting stuff for Wheezy. If someone does it, fine, but let’s not pretend we’ll take care of it => downgrading priority.

#14 Updated by intrigeri 2016-05-30 08:49:20

  • Status changed from Confirmed to Resolved
  • % Done changed from 0 to 100

In 2.x we’re shipping 0.1.1.

#15 Updated by intrigeri 2016-05-30 08:56:33

  • related to Bug #11500: Poor graphics performance in KVM guest with QXL driver added