* [Qemu-devel] qemu-system-sparc video problem on 16 bit displays
@ 2006-08-09 22:32 Juergen Lock
2006-08-10 2:30 ` WaxDragon
2006-08-10 3:46 ` [Qemu-devel] " Anthony Liguori
0 siblings, 2 replies; 4+ messages in thread
From: Juergen Lock @ 2006-08-09 22:32 UTC (permalink / raw)
To: qemu-devel
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.
Thanx,
Juergen
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] qemu-system-sparc video problem on 16 bit displays
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
1 sibling, 0 replies; 4+ messages in thread
From: WaxDragon @ 2006-08-10 2:30 UTC (permalink / raw)
To: qemu-devel
I can confirm this happens under linux also. Never thought to try 24bit.
On 8/9/06, Juergen Lock <qemu-l@jelal.kn-bremen.de> 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.
>
> Thanx,
> Juergen
>
>
> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/qemu-devel
>
--
< undrdawg> it was buggy and hung a lot
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Qemu-devel] Re: qemu-system-sparc video problem on 16 bit displays
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 ` Anthony Liguori
2006-08-14 13:49 ` WaxDragon
1 sibling, 1 reply; 4+ messages in thread
From: Anthony Liguori @ 2006-08-10 3:46 UTC (permalink / raw)
To: qemu-devel
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] Re: qemu-system-sparc video problem on 16 bit displays
2006-08-10 3:46 ` [Qemu-devel] " Anthony Liguori
@ 2006-08-14 13:49 ` WaxDragon
0 siblings, 0 replies; 4+ messages in thread
From: WaxDragon @ 2006-08-14 13:49 UTC (permalink / raw)
To: qemu-devel
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-08-14 13:49 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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).