qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] SDL Audio
@ 2004-11-02 20:38 malc
  2004-11-03  7:46 ` zitu
  2004-11-03  9:11 ` [Qemu-devel] Re: SDL Audio Ronald
  0 siblings, 2 replies; 9+ messages in thread
From: malc @ 2004-11-02 20:38 UTC (permalink / raw)
  To: qemu-devel


Following should (theoretically) fix shutdown problem.

--- sdlaudio.c  Sun Oct 31 06:00:32 2004
+++ sdlaudio-shutdown.c Tue Nov  2 23:36:43 2004
@@ -154,6 +154,9 @@
     HWVoice *hw = &sdl->hw;
     int samples = len >> hw->shift;

+    if (glob_sdl.exit) {
+        return;
+    }
     while (samples) {
         int to_mix, live, decr;


-- 
mailto:malc@pulsesoft.com

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

* Re: [Qemu-devel] SDL Audio
  2004-11-02 20:38 [Qemu-devel] SDL Audio malc
@ 2004-11-03  7:46 ` zitu
  2004-11-03  8:51   ` [Qemu-devel] running Wine on LinuxPPC Igor Shmukler
  2004-11-03  9:11 ` [Qemu-devel] Re: SDL Audio Ronald
  1 sibling, 1 reply; 9+ messages in thread
From: zitu @ 2004-11-03  7:46 UTC (permalink / raw)
  To: qemu-devel, malc

Quoting malc <malc@pulsesoft.com>:
>
> Following should (theoretically) fix shutdown problem.
>

It did fix it for me on dos622 and later on win95osr.
Thanks!

PS: would the choppy sound from wav playing in win95/win98
come from some emulation bottleneck from qemu's core ?
The reason for this is that mod playing under dos with even
a lot of tracks (~32) is very smooth and not choppy.

Zitu
--

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

* [Qemu-devel] running Wine on LinuxPPC
  2004-11-03  7:46 ` zitu
@ 2004-11-03  8:51   ` Igor Shmukler
  2004-11-03 13:27     ` David Woodhouse
  0 siblings, 1 reply; 9+ messages in thread
From: Igor Shmukler @ 2004-11-03  8:51 UTC (permalink / raw)
  To: qemu-devel

Hello,

I was under the impression user emulation worked under qemu-0.5.5. Is that correct?
I built and installed sdl then qemu, uncompressed qemu-gnemul-0.5.1 and wine-20020411 into the /.
Everything went well as far as I understand. At the end I executed /usr/local/wine-i386/bin/wine-conf.sh .
As per manual, I am trying to run putty.exe by executing:
$qemu-i386 /usr/local/wine-i386/bin/wine /usr/local/wine-i386/wine/Program\ Files/qemu/putty.exe

I get a following error:
wine: could not exec wineserver

Any ideas what could I be doing wrong and/or how could track down what might be the problem?

Thank you,
Igor.

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

* [Qemu-devel] Re: SDL Audio
  2004-11-02 20:38 [Qemu-devel] SDL Audio malc
  2004-11-03  7:46 ` zitu
@ 2004-11-03  9:11 ` Ronald
  1 sibling, 0 replies; 9+ messages in thread
From: Ronald @ 2004-11-03  9:11 UTC (permalink / raw)
  To: qemu-devel

Le Tue, 02 Nov 2004 23:38:28 +0300, malc a écrit :

> 
> Following should (theoretically) fix shutdown problem.
> 
> --- sdlaudio.c  Sun Oct 31 06:00:32 2004 +++ sdlaudio-shutdown.c Tue Nov 
> 2 23:36:43 2004 @@ -154,6 +154,9 @@
>      HWVoice *hw = &sdl->hw;
>      int samples = len >> hw->shift;
> 
> +    if (glob_sdl.exit) {
> +        return;
> +    }
>      while (samples) {
>          int to_mix, live, decr;

Thanks, qemu shut down properly now, on linux host with
QEMU_AUDIO_DRIVER=sdl/windows guest and on win98 host/linux or
windows guest. 

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

* Re: [Qemu-devel] running Wine on LinuxPPC
  2004-11-03  8:51   ` [Qemu-devel] running Wine on LinuxPPC Igor Shmukler
@ 2004-11-03 13:27     ` David Woodhouse
  2004-11-03 18:13       ` Re[2]: " Igor Shmukler
  0 siblings, 1 reply; 9+ messages in thread
From: David Woodhouse @ 2004-11-03 13:27 UTC (permalink / raw)
  To: Igor Shmukler, qemu-devel

On Wed, 2004-11-03 at 11:51 +0300, Igor Shmukler wrote:
> Hello,

Why did you reply to the message about SDL audio? How does your question
related to SDL audio?

> I was under the impression user emulation worked under qemu-0.5.5. Is that correct?
> I built and installed sdl then qemu, uncompressed qemu-gnemul-0.5.1 and wine-20020411 into the /.
> Everything went well as far as I understand. At the end I executed /usr/local/wine-i386/bin/wine-conf.sh .
> As per manual, I am trying to run putty.exe by executing:
> $qemu-i386 /usr/local/wine-i386/bin/wine /usr/local/wine-i386/wine/Program\ Files/qemu/putty.exe
> 
> I get a following error:
> wine: could not exec wineserver
> 
> Any ideas what could I be doing wrong and/or how could track down what might be the problem?

You haven't set up binfmt_misc to automatically invoke qemu when you run
i386 binaries. If you're using the qemu package from my Fedora/ppc yum
repo at ftp://ftp.uk.linux.org/pub/people/dwmw2/fc2-mac/ the init script
ought to do this for you automatically.

-- 
dwmw2

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

* Re[2]: [Qemu-devel] running Wine on LinuxPPC
  2004-11-03 13:27     ` David Woodhouse
@ 2004-11-03 18:13       ` Igor Shmukler
  2004-11-03 18:55         ` Jernej Simonиiи
  2004-11-03 22:53         ` David Woodhouse
  0 siblings, 2 replies; 9+ messages in thread
From: Igor Shmukler @ 2004-11-03 18:13 UTC (permalink / raw)
  To: David Woodhouse; +Cc: qemu-devel

> Why did you reply to the message about SDL audio? How does your question
> related to SDL audio?

I thought it was clear from the header that I writing in regard to "running Wine on LinuxPPC."

> > I was under the impression user emulation worked under qemu-0.5.5. Is that correct?
> > I built and installed sdl then qemu, uncompressed qemu-gnemul-0.5.1 and wine-20020411 into the /.
> > Everything went well as far as I understand. At the end I executed /usr/local/wine-i386/bin/wine-conf.sh .
> > As per manual, I am trying to run putty.exe by executing:
> > $qemu-i386 /usr/local/wine-i386/bin/wine /usr/local/wine-i386/wine/Program\ Files/qemu/putty.exe
> > 
> > I get a following error:
> > wine: could not exec wineserver
> > 
> > Any ideas what could I be doing wrong and/or how could track down what might be the problem?
> 
> You haven't set up binfmt_misc to automatically invoke qemu when you run
> i386 binaries. If you're using the qemu package from my Fedora/ppc yum
> repo at ftp://ftp.uk.linux.org/pub/people/dwmw2/fc2-mac/ the init script
> ought to do this for you automatically.

That's true, I have not. Although, this does not answer my question.

I wanted to know do I get an error when trying to execute Windows binary.

Any ideas what have I been doing wrong?

Igor

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

* Re: [Qemu-devel] running Wine on LinuxPPC
  2004-11-03 18:13       ` Re[2]: " Igor Shmukler
@ 2004-11-03 18:55         ` Jernej Simonиiи
  2004-11-03 19:00           ` Re[2]: " Igor Shmukler
  2004-11-03 22:53         ` David Woodhouse
  1 sibling, 1 reply; 9+ messages in thread
From: Jernej Simonиiи @ 2004-11-03 18:55 UTC (permalink / raw)
  To: Igor Shmukler on [qemu-devel]

On Wednesday, November 3, 2004, 19:13:16, Igor Shmukler wrote:

> I thought it was clear from the header that I writing in regard to "running Wine on LinuxPPC."

The subject does say that, but since you just changed the it and deleted the
actual content of reply, your message is threaded under zitu's reply on SDL
audio. Somebody who ignores the thread might thus miss your message.

-- 
< Jernej Simoncic ><><><><>< http://deepthought.ena.si/ >

Clothes make the man. Naked people have little or no influence on society.
       -- Haberdasher's Instruction

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

* Re[2]: [Qemu-devel] running Wine on LinuxPPC
  2004-11-03 18:55         ` Jernej Simonиiи
@ 2004-11-03 19:00           ` Igor Shmukler
  0 siblings, 0 replies; 9+ messages in thread
From: Igor Shmukler @ 2004-11-03 19:00 UTC (permalink / raw)
  To: qemu-devel

Thank you for pointing that out.

-----Original Message-----
From: Jernej Simonиiи <jernej@ena.si>
To: "Igor Shmukler on [qemu-devel]" <qemu-devel@nongnu.org>
Date: Wed, 3 Nov 2004 19:55:15 +0100
Subject: Re: [Qemu-devel] running Wine on LinuxPPC

> On Wednesday, November 3, 2004, 19:13:16, Igor Shmukler wrote:
> 
> > I thought it was clear from the header that I writing in regard to "running Wine on LinuxPPC."
> 
> The subject does say that, but since you just changed the it and deleted the
> actual content of reply, your message is threaded under zitu's reply on SDL
> audio. Somebody who ignores the thread might thus miss your message.
> 
> -- 
> < Jernej Simoncic ><><><><>< http://deepthought.ena.si/ >
> 
> Clothes make the man. Naked people have little or no influence on society.
>        -- Haberdasher's Instruction
> 
> 
> 
> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/qemu-devel
> 


http://Mail.Ru - неограниченные возможности:
неограниченный объем почтового ящика

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

* Re: Re[2]: [Qemu-devel] running Wine on LinuxPPC
  2004-11-03 18:13       ` Re[2]: " Igor Shmukler
  2004-11-03 18:55         ` Jernej Simonиiи
@ 2004-11-03 22:53         ` David Woodhouse
  1 sibling, 0 replies; 9+ messages in thread
From: David Woodhouse @ 2004-11-03 22:53 UTC (permalink / raw)
  To: Igor Shmukler; +Cc: qemu-devel

On Wed, 2004-11-03 at 21:13 +0300, Igor Shmukler wrote:
> > Why did you reply to the message about SDL audio? How does your question
> > related to SDL audio?
> 
> I thought it was clear from the header that I writing in regard to "running Wine on LinuxPPC."

No, it was clear from the header that you were writing in response to
the message with Message-Id <1099468014.41888cee505db@imp5-q.free.fr>,
which was about SDL audio.

> > > wine: could not exec wineserver 
> > > Any ideas what could I be doing wrong?
> > You haven't set up binfmt_misc
> That's true, I have not. Although, this does not answer my question.
> 
> I wanted to know do I get an error when trying to execute Windows binary.
> 
> Any ideas what have I been doing wrong?

One of the possible reasons for such an error is that you have not set
up binfmt_misc, so the wineserver binary cannot be executed.

-- 
dwmw2

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

end of thread, other threads:[~2004-11-03 23:05 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-02 20:38 [Qemu-devel] SDL Audio malc
2004-11-03  7:46 ` zitu
2004-11-03  8:51   ` [Qemu-devel] running Wine on LinuxPPC Igor Shmukler
2004-11-03 13:27     ` David Woodhouse
2004-11-03 18:13       ` Re[2]: " Igor Shmukler
2004-11-03 18:55         ` Jernej Simonиiи
2004-11-03 19:00           ` Re[2]: " Igor Shmukler
2004-11-03 22:53         ` David Woodhouse
2004-11-03  9:11 ` [Qemu-devel] Re: SDL Audio Ronald

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