qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: WaxDragon <waxdragon@gmail.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Re: qemu-system-sparc video problem on 16 bit displays
Date: Mon, 14 Aug 2006 09:49:05 -0400	[thread overview]
Message-ID: <9b0d5f320608140649h3f25ab67q8d901839f247f01@mail.gmail.com> (raw)
In-Reply-To: <pan.2006.08.10.03.46.18.360894@codemonkey.ws>

On 8/9/06, Anthony Liguori <anthony@codemonkey.ws> 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;
    }

WD
-- 
< undrdawg> it was buggy and hung a lot

      reply	other threads:[~2006-08-14 13:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-09 22:32 [Qemu-devel] qemu-system-sparc video problem on 16 bit displays Juergen Lock
2006-08-10  2:30 ` WaxDragon
2006-08-10  3:46 ` [Qemu-devel] " Anthony Liguori
2006-08-14 13:49   ` WaxDragon [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9b0d5f320608140649h3f25ab67q8d901839f247f01@mail.gmail.com \
    --to=waxdragon@gmail.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).