Login  •  Register


The time is now: Fri Dec 13, 2019 12:33 pm

Emaculation wiki  •  Delete all board cookies



Post new topic  Reply to topic Page 5 of 8 [ 191 posts ]    Go to page Previous  1, 2, 3, 4, 5, 6, 7, 8  Next
Print view Previous topic  |  Next topic
Author Message
PostPosted: Mon Oct 30, 2017 9:24 pm 
Offline
Student Driver

Joined: Sat May 06, 2017 6:40 pm
Posts: 18
Hi Cat_7,

Just noticed new official version has been released. Do you thin an updated experimental version would work any better now? Is it even worth bothering?

Kind Regards
Thom


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Mon Oct 30, 2017 9:45 pm 
Offline
Expert User
User avatar

Joined: Fri Feb 13, 2004 8:59 am
Posts: 4720
Location: Sittard, The Netherlands
Hi Thom,

With regard to speed or functionality there would be nothing gained right now if I build a new version from official source.
For the experimental builds we are waiting for the inclusion of the PMU so Leopard can run in official Qemu builds, and perhaps better sound support. There are some quirks to be ironed out before those can be added.

There are other improvements on the way, such as a multi-threaded tiny code generator (TCG), but I don't know whether that will make it into the PPC emulator.

Best,
Cat_7


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Mon Oct 30, 2017 10:02 pm 
Offline
Student Driver

Joined: Sat May 06, 2017 6:40 pm
Posts: 18
Hi Cat_7,

Thanks for an update, will wait then.

Kind regards,
Thom


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Mon Dec 18, 2017 10:37 pm 
Offline
Tinkerer
User avatar

Joined: Tue Nov 10, 2015 7:50 pm
Posts: 76
Still no sound *cries* :(


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Mon Dec 18, 2017 11:35 pm 
Offline
Forum All-Star
User avatar

Joined: Fri Nov 27, 2009 5:11 am
Posts: 2757
Location: Emaculation.com
usbaudio still... works.


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Mon Dec 18, 2017 11:56 pm 
Offline
Tinkerer
User avatar

Joined: Tue Nov 10, 2015 7:50 pm
Posts: 76
That means I'd have to buy an USB device solely for emulation purposes using QEMU. I'd prefer if emulated Mac OS could output through my onboard audio driver like any other program does.


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Tue Dec 19, 2017 12:11 am 
Offline
Forum All-Star
User avatar

Joined: Fri Nov 27, 2009 5:11 am
Posts: 2757
Location: Emaculation.com
The usb-audio device is a shim; it exports to your default audio output, and just presents as a USB audio device on the guest OS.


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Tue Dec 19, 2017 12:17 am 
Offline
Tinkerer
User avatar

Joined: Tue Nov 10, 2015 7:50 pm
Posts: 76
Would you be so kind as to explicitely explain how to achieve this software hack? Please be verbose. I'm under Windows 7 64-bits. Thanks.


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Tue Dec 19, 2017 7:32 am 
Offline
Expert User
User avatar

Joined: Fri Feb 13, 2004 8:59 am
Posts: 4720
Location: Sittard, The Netherlands
Just add -device usb-audio to the command line.

But be aware, with 9.0 it doesn't work, 9.1 and 9.2 show an empty desktop after a short time.
And 10.X versions have their own problems ;-)

Best,
Cat_7


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Tue Dec 19, 2017 12:45 pm 
Offline
Tinkerer
User avatar

Joined: Tue Nov 10, 2015 7:50 pm
Posts: 76
Cat_7 wrote:
Just add -device usb-audio to the command line.

But be aware, with 9.0 it doesn't work, 9.1 and 9.2 show an empty desktop after a short time.
And 10.X versions have their own problems ;-)

Best,
Cat_7


Oh wow, yep, it worked for a minute! :D The sound lags a lot tough and... yeah it freezes the whole Mac OS 9.2 emulator after a minute or two. Hope development continues on this, it's slowly getting closer to a SheepShaver replacement, but it's not there yet.

Hey, what's qemu-system-ppcw.exe compared to qemu-system-ppc.exe ?


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Tue Dec 26, 2017 4:08 pm 
Offline
Student Driver

Joined: Sat May 06, 2017 6:40 pm
Posts: 18
Hi Cat_7,

I can't get to work last (2017.12.24) experimental version, looks very unstable in comparison to version from 2017.12.15. Apple Audio Extension crashes most of times on boot, but if it boots I can't get any sound from the system. When Apple Audio Extension crases QEMU it self crashes too, windows log below. If I try play sound from Sound control panel system freezes for about a minute but there is no sound coming out.
I tried to use Realtek jack output instead S/PDIF as well disable other sound devices on my Win 7 Pro x64 but no difference, Windows restored fresh yesterday from image.
System is installed new & clean, currently 9.2.2 but I tried 9.2.1 and 9.0.4. The last one freezes on desktop when trying to load cd installer.

Command Line: qemu-system-ppc-screamer.exe -L pc-bios -boot c -m 256 -M mac99 -prom-env "boot-args=-v" -prom-env "auto-boot?=true" -prom-env "vga-ndrv?=true" -drive file=..\DiskImages\Disk0.img,format=raw,media=disk -device usb-mouse -device usb-kbd -netdev user,id=net0 -device sungem,netdev=net0 -sdl


QEMU crash log:
Faulting application name: qemu-system-ppc-screamer.exe, version: 2.11.50.0, time stamp: 0x00000000
Faulting module name: KERNELBASE.dll, version: 6.1.7601.23915, time stamp: 0x59b94f2a
Exception code: 0x80000003
Fault offset: 0x00000000000331f2
Faulting process id: 0x14fc
Faulting application start time: 0x01d37e3cdc2522d0
Faulting application path: [removed]\qemu-system-ppc-screamer.exe


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Wed Dec 27, 2017 9:33 am 
Offline
Expert User
User avatar

Joined: Fri Feb 13, 2004 8:59 am
Posts: 4720
Location: Sittard, The Netherlands
Hi,

That is too bad.
Please note that you cannot mix files from earlier downloads with this one. A download into a folder of its own is best.

Best,
Cat_7


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Thu Dec 28, 2017 2:25 pm 
Offline
Student Driver

Joined: Sat May 06, 2017 6:40 pm
Posts: 18
Cat_7 wrote:
Hi,

That is too bad.
Please note that you cannot mix files from earlier downloads with this one. A download into a folder of its own is best.

Best,
Cat_7


Hi Cat_7,

I create folder for each version so no files are mixed. Only old files I'm using are hardfile and qemu-img.exe. Only thing I can think of are multiple music cards and script with is modified every time to new version.

Edit: I just did test on latest OSX experimental version on Sierra and behaves exactly the same as Windows build.

It must be something else. Perhaps I'm using wrong OS9 iso.

Kind Regards
Thom


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Fri Dec 29, 2017 9:48 pm 
Offline
Student Driver

Joined: Sat May 06, 2017 6:40 pm
Posts: 18
Hi Cat_7,

I did some tests and I got idea what can be a problem.
When I create partition system partition it's most of cases small partition about 400MB so there is no space for virtual memory.
Today for test I've created 512MB and flew bigger disk images and sound worked.
However when virtual memory was disabled system frozen like before, no matter what size of the disk image.
So my question is whether this is qemu/driver or OS9 system issue/bug.

I wonder if anyone can confirm my discovery?

Kind Regards
Thom


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Fri Dec 29, 2017 10:18 pm 
Offline
Expert User
User avatar

Joined: Fri Feb 13, 2004 8:59 am
Posts: 4720
Location: Sittard, The Netherlands
Hi,

Yesterday there was a post from CharlesS also making a point about virtual memory.
If sound doesn't work without VM, than that would probably be a bug, but I tested 9.04 without VM and sound worked (in Windows).
There are some issues booting 9.04 anyway: you need to click and move the mouse to get boot to advance and to get to the dekstop.
You experience these problems also with 9.1 or 9.2?

I noticed that setting memory to 64 Mb results in qemu reporting an unbootable disk image. This is not new for this screamer build :-(

Best,
Cat_7


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Fri Dec 29, 2017 11:06 pm 
Offline
Student Driver

Joined: Sat May 06, 2017 6:40 pm
Posts: 18
Hi Cat_7,

All my recent tests are on 9.2.2 (tried 9.2.1 but no difference).
What is model of mac you using with 9.0.4 and 9.2.x? Is it mac99 for both?

P.S. One more thing, I tried to play Dark Forces and there was noticeable sound delay. I would say half second. Please note game was set to maximum details possible.
I'll try other games later to confirm it's not emulation speed issue. I'll try compare Dark Forces gameplay on QEMU to SheepShaver, perhaps on lower details as I remember maximum was not playable.

Kind Regards
Thom


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Fri Jan 05, 2018 6:21 am 
Offline
Tinkerer

Joined: Sun Sep 28, 2014 11:53 am
Posts: 82
Location: China
Hi Cat_7, could you tell me which source or patches you used on the experimental builds?
I'd like to compile one on Linux.


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Fri Jan 05, 2018 7:54 am 
Offline
Expert User
User avatar

Joined: Fri Feb 13, 2004 8:59 am
Posts: 4720
Location: Sittard, The Netherlands
Screamer source:
https://github.com/mcayland/qemu/tree/screamer-ppc-next

PMU source:
https://github.com/mcayland/qemu/tree/p ... ip-current

Speed patch here:
http://lists.nongnu.org/archive/html/qe ... 03236.html

Best,
Cat_7


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Fri Jan 26, 2018 3:05 pm 
Offline
Tinkerer
User avatar

Joined: Tue Nov 10, 2015 7:50 pm
Posts: 76
Any development regarding SOUND SUPPORT freezing QEMU?

Note: I tested this VM thing I saw popping in this thread and elsewhere, but it's just a placebo effect to me.

1) 450MB HDD, 256MB of RAM, not enough room for VM but it's still set to ON. Works with lots of sound lag gaps, freezes after 1-2 minutes, hiding the desktop in the process.

2) 1GB HDD, 256MB of RAM, virtual memory ON and restart just to be sure it's effective: it does not change anything, it still works for 1-2 minutes with same frequent sound lag gaps and then freezes the whole QEMU, hiding the desktop as you previously mentioned.

3) 450MB or 1GB HDD, 256MB of RAM, virtual memory turned OFF and rebooted just to be sure: Works only the VERY FIRST SOUND EFFECT you play (e.g.: adjusting the volume in the control strip) it will output 0.5 second of sound and totally freeze QEMU right there, without hiding the desktop, just literally HANG while playing the very first sound. Left it there for a minute, it never came back. Tried this twice, same result both times.

So after testing all these scenarios I'm sure that virtual memory does not change anything at all regarding this sound support issue, at least not with my Gigabyte motherboard, which altough is extremely common, seems to be one of the rare motherboards for which -usbaudio sound support never worked out.


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Sun May 20, 2018 11:18 am 
Offline
Tinkerer
User avatar

Joined: Tue Nov 10, 2015 7:50 pm
Posts: 76
Just tested both 2 new releases from april 24th and may 4th.

April 24th works "fine", well except for the sound which only works for 30 seconds and then freezes the whole emulator, same as previous releases I guess.

May 4th does not boot at all. There is a new line character preventing the batch file (QEMU.bat) to launch correctly, but even after fixing QEMU.bat it does not go any further than:

Image


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Sun May 20, 2018 9:32 pm 
Offline
Expert User
User avatar

Joined: Fri Feb 13, 2004 8:59 am
Posts: 4720
Location: Sittard, The Netherlands
Hi,

The april 24 build is not a "screamer" build so it doesn't support the default Mac OS audio device. Support for this device should not be confused with the USB audio option. The USB audio problems are known, so you shouldn't be using that.

Use a screamer enabled build for audio, like the dec 24 build. Only 9.1/9.2 work reliably with audio. I had best results when iTunes 2 and Quicktime 6 were installed. This build does not require the -device usb-audio on the command line.

You boot problem with the may 4 build seems to indicate that you have -boot d in the command line, but that you not have the cdrom drive entry before the disk entry in your command line.

Best,
Cat_7


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Tue May 22, 2018 2:11 pm 
Offline
Tinkerer
User avatar

Joined: Tue Nov 10, 2015 7:50 pm
Posts: 76
Cat_7 wrote:
Use a screamer enabled build for audio [...] This build does not require the -device usb-audio on the command line.


WOW! That's actually not written anywhere that I could find over the last year and yet I feel like this is a VERY important piece of information. It should definitely be clearer in the guide! Removing the " -device usb-audio" flag from a screamer build actually also solved QEMU completely freezing after ~30 seconds playing its first sound that I've been whining about for more than 1 year on this thread! INCREDIBLE.

Cat_7 wrote:
You boot problem with the may 4 build seems to indicate that you have -boot d in the command line, but that you not have the cdrom drive entry before the disk entry in your command line.


Whoops! That's actually exactly what happened, sorry for having been distracted, it now boots properly with "-boot c" instead of "-boot d". This happened because that's how the batch file came and I misread that flag at first :D

ALSO, why are the newer builds not coming as a screamer EXE?

Thanks :D


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Tue May 22, 2018 3:07 pm 
Offline
Expert User
User avatar

Joined: Fri Feb 13, 2004 8:59 am
Posts: 4720
Location: Sittard, The Netherlands
Quote:
Removing the " -device usb-audio" flag from a screamer build actually also solved QEMU completely freezing after ~30 seconds playing its first sound that I've been whining about for more than 1 year on this thread!


It simply never crossed my mind that one could confuse built-in support for audio with the use of an additional device. Perhaps we grew up with this, and you do not visit enough ;-)

Quote:
ALSO, why are the newer builds not coming as a screamer EXE?


Because that would require a different .bat file. And to be consistent, it would also require a renamed bios file because the bios is specific for these screamer-enabled builds.
Just use a descriptive folder name to keep them apart?

Hopefully we get to the point where every build has the screamer enabled by default. But we are not there yet.
(still problems with sound in screamer builds when running any of the OSX guests.)

ps: your info here https://www.macintoshrepository.org/964 ... -0-to-10-5 could be improved with respect to networking. As the sungem network device is now supported in all current builds, the realtek stuff is no longer needed. You can simply replace rtl8139 with sungem in your bat files.


Best,
Cat_7


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Thu May 24, 2018 12:11 pm 
Offline
Tinkerer
User avatar

Joined: Tue Nov 10, 2015 7:50 pm
Posts: 76
Cat_7 wrote:
ps: your info here https://www.macintoshrepository.org/964 ... -0-to-10-5 could be improved with respect to networking. As the sungem network device is now supported in all current builds, the realtek stuff is no longer needed. You can simply replace rtl8139 with sungem in your bat files.


Yes, everything on that website could be improved, really, so much information to put in it's overwhelming BUT... YOU can help do it, anybody can! Click the EDIT link at the top of any page and break your typing skills loose! (* Sign in first)

Image

It's funny tough because yesterday that conversation emerged and the outcome was that realtek worked better for him as opposed to sungem, at least that's what I understood from the conversation. But honestly, I almost always end up referring people to read the guide on this forum anyway, because it's almost fool proof, all information on here is up to date and correct, except a few missing details that I ended up discovering by myself that were not written anywhere in the guide :P

Image


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Thu May 24, 2018 1:46 pm 
Offline
Expert User
User avatar

Joined: Fri Feb 13, 2004 8:59 am
Posts: 4720
Location: Sittard, The Netherlands
Quote:
It's funny tough because yesterday that conversation emerged and the outcome was that realtek worked better for him as opposed to sungem,


I don't think so. The build used was quite old, so it probably doesn't even include the sungem device. They both work, the only (but big) difference is the fact that the sungem doesn't require installation.

Best,
Cat_7


Top
 Profile  
Reply with quote Post a reply  
Display posts from previous:  Sort by  
Post new topic  Reply to topic Page 5 of 8 [ 191 posts ]    Go to page Previous  1, 2, 3, 4, 5, 6, 7, 8  Next


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
 

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group