[Spice-devel] Running SPICE on PPC64

Gerd Hoffmann kraxel at redhat.com
Mon Apr 13 23:49:15 PDT 2015


On Mo, 2015-04-13 at 16:43 +0300, Denis Kirjanov wrote:
> On 4/10/15, Christophe Fergeau <cfergeau at redhat.com> wrote:
> > On Fri, Apr 10, 2015 at 01:16:37PM +0300, Denis Kirjanov wrote:
> >> Are you going to apply the patch series, based on the work by Erlon R.
> >> Cruz?
> >>
> >> Since my patches based on that.
> >
> > Ah, I had forgotten about these and assumed they were pushed already ;)
> >
> > Christophe
> >
> 
> Thanks for applying this!
> 
> Now I'm debugging an issue with the "inverted colors" on client: looks
> like that the bitmaps get somehow inverted. Any hints would help :)

-vga std or -vga qxl?  For the former the fix probably is:

--- a/ui/spice-display.c
+++ b/ui/spice-display.c
@@ -178,7 +178,7 @@ static void
qemu_spice_create_one_update(SimpleSpiceDisplay *ssd,
     image->bitmap.palette = 0;
     image->bitmap.format = SPICE_BITMAP_FMT_32BIT;
 
-    dest = pixman_image_create_bits(PIXMAN_x8r8g8b8, bw, bh,
+    dest = pixman_image_create_bits(PIXMAN_LE_x8r8g8b8, bw, bh,
                                     (void *)update->bitmap, bw * 4);
     pixman_image_composite(PIXMAN_OP_SRC, ssd->surface, NULL,
ssd->mirror,
                            rect->left, rect->top, 0, 0,


[ should apply and work fine for any qemu 2.3 release candidate ]

cheers,
  Gerd




More information about the Spice-devel mailing list