qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* Re: [Qemu-devel] Re: qemu-system-sparc video problem on 16 bitdisplays
@ 2006-09-06 16:59 Blue Swirl
  2006-09-06 17:22 ` WaxDragon
  2006-09-07 18:03 ` Juergen Lock
  0 siblings, 2 replies; 11+ messages in thread
From: Blue Swirl @ 2006-09-06 16:59 UTC (permalink / raw)
  To: waxdragon, anthony, nox; +Cc: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 1334 bytes --]

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 <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;
>    }

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

[-- Attachment #2: tcx-fix.diff.bz2 --]
[-- Type: application/octet-stream, Size: 481 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread
* Re: [Qemu-devel] Re: qemu-system-sparc video problem on 16 bitdisplays
@ 2006-09-08 19:26 Blue Swirl
  2006-09-12  0:17 ` Stuart Brady
  0 siblings, 1 reply; 11+ messages in thread
From: Blue Swirl @ 2006-09-08 19:26 UTC (permalink / raw)
  To: igor.v.kovalenko; +Cc: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 559 bytes --]

>It must be hanging while probing for sound modules, try adding 'blacklist
>snd-sun-cs4231' to /etc/modules.d/blacklist

This patch should fix hanging, unless some program waits until playback is 
finished.

Implementing full audio support for CS4231 would not be too difficult. Is 
this chip used anywhere else? The data sheet mentions some ISA card and 
Windows 3.1.

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar - get it now! 
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/

[-- Attachment #2: cs4231.diff.bz2 --]
[-- Type: application/octet-stream, Size: 2620 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2006-09-12  0:16 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-06 16:59 [Qemu-devel] Re: qemu-system-sparc video problem on 16 bitdisplays Blue Swirl
2006-09-06 17:22 ` WaxDragon
2006-09-06 18:04   ` Blue Swirl
2006-09-06 19:23     ` Igor Kovalenko
2006-09-06 19:51       ` Blue Swirl
2006-09-06 20:14       ` WaxDragon
2006-09-08 14:56         ` Blue Swirl
2006-09-08 16:27           ` Igor Kovalenko
2006-09-07 18:03 ` Juergen Lock
  -- strict thread matches above, loose matches on Subject: below --
2006-09-08 19:26 Blue Swirl
2006-09-12  0:17 ` Stuart Brady

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).