qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Re: qemu-system-sparc video problem on 16 bitdisplays


From: Blue Swirl
Subject: Re: [Qemu-devel] Re: qemu-system-sparc video problem on 16 bitdisplays
Date: Wed, 06 Sep 2006 18:59:39 +0200

Digging old bugs, I found this problem.

Maybe this patch helps? I can't test it here (can't get display to 16 bit somehow).

On 8/9/06, Anthony Liguori <address@hidden> wrote:
On Thu, 10 Aug 2006 00:32:20 +0200, Juergen Lock wrote:

> Hi!
>
>  I was made aware of this by a FreeBSD user, but i suspect the
> problem is not specific to FreeBSD hosts:  If run on a 16 bit display,
> qemu-system-sparc' video is messed up like shown here:
>       http://img320.imageshack.us/img320/3807/qemusparckd1.png
> (pink, and uses only half of the window's width...) It looks okay on 24
> bit displays.

Looks you're telling QEMU that you've got a 16 bit buffer when it's really
a 32 bit buffer.

Perhaps we're mixing up bits-per-pixel with depth?

Regards,

Anthony Liguori

>  Thanx,
>       Juergen





Perhaps this in tcx.c?

   switch (ts->ds->depth) {
   case 32:
   f = tcx_draw_line32;
   break;
   case 24:
   f = tcx_draw_line24;
   break;
   default:
   case 8:
   f = tcx_draw_line8;
   break;
   case 0:
   return;
   }

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

Attachment: tcx-fix.diff.bz2
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]