Re: Running SPICE on PPC64

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mo, 2015-04-13 at 16:43 +0300, Denis Kirjanov wrote:
> On 4/10/15, Christophe Fergeau <cfergeau@xxxxxxxxxx> 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


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





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]