[Spice-devel] Delay in Gimp when using qxl driver

Alon Levy alevy at redhat.com
Wed Jan 18 02:18:26 PST 2012


On Wed, Jan 18, 2012 at 09:54:49AM +0100, Dominique Rodrigues wrote:
> 
> Le 18/01/2012 09:44, Alon Levy a écrit :
> >On Wed, Jan 18, 2012 at 08:06:40AM +0100, Dominique Rodrigues wrote:
> >>Hi,
> >>
> >>Since I use qxl driver in virtual desktop powered by qemu-kvm, I
> >>found a strange problem with Gimp.
> >>
> >>After launching Gimp, open a new windows, and then try to draw
> >>something. It appears that the drawing is very slow and does not
> >>follow the mouse at all.
> >>
> >>It is the same if I use spicy, spicec or vnc to connect to my
> >>virtual desktop.
> >>
> >>This problem does not appear with cirrus or vmware graphic drivers.
> >>
> >>I found that on any Linux distribution (CentOS, RHEL, Scientific
> >>Linux, Debian, Ubuntu).
> >>
> >>I currently use :
> >>- qemu-kvm 1.0 compiled with spice support
> >>- spice-protocol 0.10.1
> >>- spice 0.10
> >>- spice-gtk 0.7
> >>- xorg-qxl driver 0.16
> >>
> >>Is there any explanation for that ?
> >I would assume it is qxl driver cpu bound on something, probably busy
> >waiting on the command ring. Can you run perf top on the guest?
> >
> 
> Indeed, during the drawing in Gimp, Xorg takes between 55% and 66% of CPU.
> 
> After, Xorg goes down to 0.3%.
> 
> (Test done on CentOS 6.2 guest, with 1280 Mb vRAM)

ok, can you drill down - you should be able to install the debug symbols
for the qxl driver (xorg-x11-drv-qxl package) and see the specific
functions that are taking the most time.

> 
> >>Regards,
> >>
> >>-- 
> >>
> >>
> >>        Dominique Rodrigues
> >>
> >>nanoClouD<http://www.nanocloud.com>
> >>8, rue Lemercier
> >>75017 Paris
> >>France
> >>standard : +33 1 77 69 64 38
> >>529 002 743 R.C.S. Paris
> >>begin:vcard
> >>fn:Dominique Rodrigues
> >>n:Rodrigues;Dominique
> >>org:nanoClouD
> >>adr:;;8, rue Lemercier;Paris;;75017;France
> >>email;internet:dominique.rodrigues at nanocloud.com
> >>title:Directeur Technique
> >>tel;work:+33 (0) 1 77 69 64 38
> >>tel;cell:+33 (0) 6 28 52 37 70
> >>url:www.nanocloud.com
> >>version:2.1
> >>end:vcard
> >>
> >
> >
> >
> >>_______________________________________________
> >>Spice-devel mailing list
> >>Spice-devel at lists.freedesktop.org
> >>http://lists.freedesktop.org/mailman/listinfo/spice-devel

> begin:vcard
> fn:Dominique Rodrigues
> n:Rodrigues;Dominique
> org:nanoClouD
> adr:;;8, rue Lemercier;Paris;;75017;France
> email;internet:dominique.rodrigues at nanocloud.com
> title:Directeur Technique
> tel;work:+33 (0) 1 77 69 64 38
> tel;cell:+33 (0) 6 28 52 37 70
> url:www.nanocloud.com
> version:2.1
> end:vcard
> 




> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel



More information about the Spice-devel mailing list