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-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-07 18:03 ` Juergen Lock
  1 sibling, 1 reply; 11+ messages in thread
From: WaxDragon @ 2006-09-06 17:22 UTC (permalink / raw)
  To: qemu-devel

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

On 9/6/06, Blue Swirl <blueswir1@hotmail.com> wrote:
> 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).
>

Seems like it works, booting aurora-2.0-sparc-disc1.iso gives me the
penguin at least.  Then it hangs and burns CPU as usual.

WD

-- 
22:38 <@WaxDragon> false ^ true
22:39 < false> :(
22:39 < false> dont you think you can XOR me and get away with it! I
always return!

[-- Attachment #2: aurora.png --]
[-- Type: image/png, Size: 9783 bytes --]

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

* Re: [Qemu-devel] Re: qemu-system-sparc video problem on 16 bitdisplays
  2006-09-06 17:22 ` WaxDragon
@ 2006-09-06 18:04   ` Blue Swirl
  2006-09-06 19:23     ` Igor Kovalenko
  0 siblings, 1 reply; 11+ messages in thread
From: Blue Swirl @ 2006-09-06 18:04 UTC (permalink / raw)
  To: waxdragon; +Cc: qemu-devel

>Seems like it works, booting aurora-2.0-sparc-disc1.iso gives me the
>penguin at least.  Then it hangs and burns CPU as usual.

So early? I get to 'Running anaconda..' etc. Before AIO, install almost 
finished.

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

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

* Re: [Qemu-devel] Re: qemu-system-sparc video problem on 16 bitdisplays
  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
  0 siblings, 2 replies; 11+ messages in thread
From: Igor Kovalenko @ 2006-09-06 19:23 UTC (permalink / raw)
  To: qemu-devel

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

On 9/6/06, Blue Swirl <blueswir1@hotmail.com> wrote:
>
> >Seems like it works, booting aurora-2.0-sparc-disc1.iso gives me the
> >penguin at least.  Then it hangs and burns CPU as usual.
>
> So early? I get to 'Running anaconda..' etc. Before AIO, install almost
> finished.


It still cannot decide on console device; linux console=/dev/tty0 works fine


-- 
Kind Regards,
Igor V. Kovalenko

[-- Attachment #2: Type: text/html, Size: 701 bytes --]

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

* Re: [Qemu-devel] Re: qemu-system-sparc video problem on 16 bitdisplays
  2006-09-06 19:23     ` Igor Kovalenko
@ 2006-09-06 19:51       ` Blue Swirl
  2006-09-06 20:14       ` WaxDragon
  1 sibling, 0 replies; 11+ messages in thread
From: Blue Swirl @ 2006-09-06 19:51 UTC (permalink / raw)
  To: igor.v.kovalenko; +Cc: qemu-devel

>> >Seems like it works, booting aurora-2.0-sparc-disc1.iso gives me the
>> >penguin at least.  Then it hangs and burns CPU as usual.
>>
>>So early? I get to 'Running anaconda..' etc. Before AIO, install almost
>>finished.
>
>
>It still cannot decide on console device; linux console=/dev/tty0 works 
>fine

Now I see, I'm using the current SVN version (82) of OpenBIOS, not Qemu's. 
Console selection works fine in the current version.

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

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

* Re: [Qemu-devel] Re: qemu-system-sparc video problem on 16 bitdisplays
  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
  1 sibling, 1 reply; 11+ messages in thread
From: WaxDragon @ 2006-09-06 20:14 UTC (permalink / raw)
  To: qemu-devel

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

On 9/6/06, Igor Kovalenko <igor.v.kovalenko@gmail.com> wrote:
>
> On 9/6/06, Blue Swirl <blueswir1@hotmail.com> wrote:
> > >Seems like it works, booting aurora-2.0-sparc-disc1.iso gives me the
> > >penguin at least.  Then it hangs and burns CPU as usual.
> >
> > So early? I get to 'Running anaconda..' etc. Before AIO, install almost
> > finished.
>
>
> It still cannot decide on console device; linux console=/dev/tty0 works fine
>

I found "console=tty0" works a little better, thanks for the hint.

Specifying the console allows aurora to get farther, even starting X.
Mouse doesn't seem to work though. ;0)

Gentoo 2004.0 shows me a mangled penguin, but otherwise boots.

 WD
-- 
22:38 <@WaxDragon> false ^ true
22:39 < false> :(
22:39 < false> dont you think you can XOR me and get away with it! I
always return!

[-- Attachment #2: aurora4.png --]
[-- Type: image/png, Size: 153954 bytes --]

[-- Attachment #3: gentoo2.png --]
[-- Type: image/png, Size: 31964 bytes --]

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

* Re: [Qemu-devel] Re: qemu-system-sparc video problem on 16 bitdisplays
  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-07 18:03 ` Juergen Lock
  1 sibling, 0 replies; 11+ messages in thread
From: Juergen Lock @ 2006-09-07 18:03 UTC (permalink / raw)
  To: Blue Swirl; +Cc: qemu-devel, anthony, mark

On Wed, Sep 06, 2006 at 06:59:39PM +0200, Blue Swirl wrote:
> 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).
> [...]

Thanx, that seems to fix the 16 bit display problem. (I just had to set
	DefaultDepth 16
in Section "Screen" in xorg.conf to test it...)

 Fabrice, please apply. :)

 thanx + cheers,
	Juergen

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

* Re: [Qemu-devel] Re: qemu-system-sparc video problem on 16 bitdisplays
  2006-09-06 20:14       ` WaxDragon
@ 2006-09-08 14:56         ` Blue Swirl
  2006-09-08 16:27           ` Igor Kovalenko
  0 siblings, 1 reply; 11+ messages in thread
From: Blue Swirl @ 2006-09-08 14:56 UTC (permalink / raw)
  To: waxdragon; +Cc: qemu-devel

>Specifying the console allows aurora to get farther, even starting X.
>Mouse doesn't seem to work though. ;0)

Mouse should work with Igor Kovalenko's patch, which I resent some days ago.

But I can't get to X with aurora-2.0, it just hangs much earlier.

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

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

* Re: [Qemu-devel] Re: qemu-system-sparc video problem on 16 bitdisplays
  2006-09-08 14:56         ` Blue Swirl
@ 2006-09-08 16:27           ` Igor Kovalenko
  0 siblings, 0 replies; 11+ messages in thread
From: Igor Kovalenko @ 2006-09-08 16:27 UTC (permalink / raw)
  To: qemu-devel

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

>
> >Specifying the console allows aurora to get farther, even starting X.
> >Mouse doesn't seem to work though. ;0)
>
> Mouse should work with Igor Kovalenko's patch, which I resent some days
> ago.
>
> But I can't get to X with aurora-2.0, it just hangs much earlier.


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

-- 
Kind Regards,
Igor V. Kovalenko

[-- Attachment #2: Type: text/html, Size: 613 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

* 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, 0 replies; 11+ messages in thread
From: Stuart Brady @ 2006-09-12  0:17 UTC (permalink / raw)
  To: qemu-devel

On Fri, Sep 08, 2006 at 09:26:52PM +0200, Blue Swirl wrote:
> 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.

The "Windows Sound System" cards apparently used it.
-- 
Stuart Brady

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