Qemu package and guide for Windows available

About Qemu-system-ppc, a PPC Mac emulator for Windows, macOS and Linux that can run Mac OS 9.0 up to Mac OS X 10.5

Moderators: Cat_7, Ronald P. Regensburg

thom75
Inquisitive Elf
Posts: 30
Joined: Sat May 06, 2017 6:40 pm

Re: Qemu package and guide for Windows available

Post by thom75 »

Hi Cat_7,

I'm trying to compile latest version of binaries for Linux but for some reason it fails downloading sources from git.
How I would compile latest experimental version or both? Are there different, separate sources or parameters to compile?

Regards
Thom
User avatar
Cat_7
Expert User
Posts: 6145
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: Qemu package and guide for Windows available

Post by Cat_7 »

Hi,

Which repositories are you using?

Best,
Cat_7
thom75
Inquisitive Elf
Posts: 30
Joined: Sat May 06, 2017 6:40 pm

Re: Qemu package and guide for Windows available

Post by thom75 »

Hi Cat_7,
I'm using same as last time.
thom75 wrote:

Code: Select all

git clone -b screamer https://github.com/mcayland/qemu qemu-screamer
cd qemu-screamer
./configure --target-list="ppc-softmmu" --enable-gtk --enable-sdl
make
cd ppc-softmmu
strip qemu-system-ppc
Kind regards,
Thom
User avatar
Cat_7
Expert User
Posts: 6145
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: Qemu package and guide for Windows available

Post by Cat_7 »

Concerning the Windows 7 problem:

I tried building from the official repository and such a build also fails on windows 7. So it is not related to the screamer code.
As the GDI32 dll is a windows dll I assume my compiler/qemu are now relying on the version that is available in Windows 10.

Besides the obvious inconvenience that this presents to Windows 7 users, I would remark that Windows 7 is almost obsolete.

Best,
Cat_7
User avatar
ruthan
Tinkerer
Posts: 72
Joined: Mon Oct 31, 2016 11:56 pm
Location: Prague or space village in woods near of it

Re: Qemu package and guide for Windows available

Post by ruthan »

If you know where pleas report bug report, some people are using Windows 7 just because they dont like Windows 10 appearance or data telemetry.
I search a lot, but i never found some nice Qemu forum, they should be something like that, they probably still living in age of mailing list and IRC, what is in direct contraction to not support Windows 7 which even MS still supporting.
User avatar
Cat_7
Expert User
Posts: 6145
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: Qemu package and guide for Windows available

Post by Cat_7 »

I guess you might try the official windows builds from Stefan Weil. Note his builds do not support sound, as the code for that is not in the official repository. Also, our guides do not cover them.

https://qemu.weilnetz.de/

Bug reports should go to the bugtracker: https://bugs.launchpad.net/qemu/
EDIT: I suggest you do not send there bug reports based on the builds we provide.

Best,
Cat_7
Last edited by Ronald P. Regensburg on Tue Mar 24, 2020 2:39 pm, edited 2 times in total.
Reason: added info on bug reports
User avatar
Cat_7
Expert User
Posts: 6145
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: Qemu package and guide for Windows available

Post by Cat_7 »

Hi Thom,

Those instructions should still work. It might be you experienced a time-out on the download from those additional repositories. Sometimes happens to me as well. Just try again after a while.

Best,
Cat_7
thom75
Inquisitive Elf
Posts: 30
Joined: Sat May 06, 2017 6:40 pm

Re: Qemu package and guide for Windows available

Post by thom75 »

Hi Cat_7,

It stops around 20-21% with this message:

Code: Select all

Cloning into 'qemu-screamer'...
remote: Enumerating objects: 476200, done.
error: RPC failed; curl 56 OpenSSL SSL_read: error:14095126:SSL routines:ssl3_read_n:unexpected eof while reading, errno 0
fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
Tried yesterday and today no difference, two different PCs.
Btw is that repository with ATI and Screamer or just Screamer?

Edit: It must be my connection. Asked friend of my and He just downloaded it fine.

Regards
Thom
User avatar
Cat_7
Expert User
Posts: 6145
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: Qemu package and guide for Windows available

Post by Cat_7 »

I have now compiled latest qemu /qemu with screamer sound support with msys2. At least in my virtual machine with Windows 7, they run OK.

Find them here (under experimental builds):
https://www.emaculation.com/forum/viewt ... 788#p53788

Best,
Cat_7
User avatar
Cat_7
Expert User
Posts: 6145
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: Qemu package and guide for Windows available

Post by Cat_7 »

@Thom

Both screamer and regular qemu now "support" the ati card. You will need, however, the openbios from our ati-related download to run with the ati card enabled.

EDIT:
I got a message from the developer saying:
the ATI bios may not be enough for MacOS with current upstream QEMU
because I think this patch is still needed to fix some mouse issues:

http://patchwork.ozlabs.org/patch/1147878/

and that was not taken in QEMU yet. But there's also absolutely no
advantage using ati-vga vs. standard vga yet as it's still using the same
unaccalerated framebuffer because the parts of the card needed for
accelerated graphics are not yet emulated so anyone interested in using
ati-vga might want to read here:

https://osdn.net/projects/qmiga/wiki/SubprojectAti

(and help to finish emulation if they are able to).

Best,
Cat_7
Last edited by Cat_7 on Fri Mar 27, 2020 9:02 pm, edited 1 time in total.
Reason: added info from developer
User avatar
waldiamiga
Space Cadet
Posts: 4
Joined: Thu Nov 22, 2018 7:51 pm
Location: Poland, Krakow

Re: Qemu package and guide for Windows available

Post by waldiamiga »

Hey Cat_7
You can ask to build version 5.0.0 rc2 for Windows, apparently it is faster and AmigaOS4.1FE does not work on version rc0 (MorphOS3.11 works)
Thanks.
User avatar
Cat_7
Expert User
Posts: 6145
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: Qemu package and guide for Windows available

Post by Cat_7 »

New Windows build from Qemu 5.0 RC3 code is available in the first post under experimental builds.
Not tested in Windows 7.

Best,
Cat_7
User avatar
waldiamiga
Space Cadet
Posts: 4
Joined: Thu Nov 22, 2018 7:51 pm
Location: Poland, Krakow

Re: Qemu package and guide for Windows available

Post by waldiamiga »

Thanks!
Works on Windows 10 64bit, not work Windows 7 64bit (gdi32.dll problem)
nasdaq8810
Space Cadet
Posts: 7
Joined: Fri May 17, 2019 4:27 am

Re: Qemu package and guide for Windows available

Post by nasdaq8810 »

Hi Dear Cat_7:
I have a problem in installing MacOS9.2 to the "Qemu 4.2 with screamer sound support" experimental build edition,when I execute the .bat file it comes as "dsound: Could not initialize DirectSoundCapture" and "dsound: Reason: No sound driver is available for use, or the given GUID is not a valid DirectSound device ID".And my operating system is Win10 64bit edition, Do you have any idea in solving this problem? Thank you!
Thanks,
Vonvan Row.
User avatar
ruthan
Tinkerer
Posts: 72
Joined: Mon Oct 31, 2016 11:56 pm
Location: Prague or space village in woods near of it

Re: Qemu package and guide for Windows available

Post by ruthan »

Its own problem that Qemu 4.2 has broken sound on windows.

There some diff files for source fixing:
https://www.vogons.org/viewtopic.php?p=817904#p817904
nasdaq8810
Space Cadet
Posts: 7
Joined: Fri May 17, 2019 4:27 am

Re: Qemu package and guide for Windows available

Post by nasdaq8810 »

Thank you for replying me,I had download two diff files,but I don't know where should I put it in.Thank you!
User avatar
Cat_7
Expert User
Posts: 6145
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: Qemu package and guide for Windows available

Post by Cat_7 »

You cannot simply put those files somewhere and expect things to work. You would need to compile qemu yourself with those patches applied. I believe the current qemu source has these (or at least comparable) fixes included.

I think you error might be caused by windows 10 not allowing access to your microphone (even though Qemu-system-ppc cannot use it).

To Fix: Click Start, go to ⚙ Settings> Privacy Settings> Microphone. Turn On "Allow apps to access your microphone"
(https://stackoverflow.com/questions/536 ... on-windows)

Best,
Cat_7
nasdaq8810
Space Cadet
Posts: 7
Joined: Fri May 17, 2019 4:27 am

Re: Qemu package and guide for Windows available

Post by nasdaq8810 »

Cat_7 wrote:You cannot simply put those files somewhere and expect things to work. You would need to compile qemu yourself with those patches applied. I believe the current qemu source has these (or at least comparable) fixes included.

I think you error might be caused by windows 10 not allowing access to your microphone (even though Qemu-system-ppc cannot use it).

To Fix: Click Start, go to ⚙ Settings> Privacy Settings> Microphone. Turn On "Allow apps to access your microphone"
(https://stackoverflow.com/questions/536 ... on-windows)

Best,
Cat_7
Thank you for replying me,I did the same you say,but it did't work,and my qemu still turn out "dsound: Could not initialize DirectSoundCapture".Can you help me?
Thank you a lot!
Vonvan Row
nasdaq8810
Space Cadet
Posts: 7
Joined: Fri May 17, 2019 4:27 am

Re: Qemu package and guide for Windows available

Post by nasdaq8810 »

nasdaq8810 wrote:
Cat_7 wrote:You cannot simply put those files somewhere and expect things to work. You would need to compile qemu yourself with those patches applied. I believe the current qemu source has these (or at least comparable) fixes included.

I think you error might be caused by windows 10 not allowing access to your microphone (even though Qemu-system-ppc cannot use it).

To Fix: Click Start, go to ⚙ Settings> Privacy Settings> Microphone. Turn On "Allow apps to access your microphone"
(https://stackoverflow.com/questions/536 ... on-windows)

Best,
Cat_7
Thank you for replying me,I did the same you say,but it did't work,and my qemu still turn out "dsound: Could not initialize DirectSoundCapture".Can you help me?
Thank you a lot!
Vonvan Row
Dear Mr Cat_7,you are right when I re-install my audio drive it works,but there is still a problem that the sound is broken,do you have any idea about this?

Thanks!
User avatar
ruthan
Tinkerer
Posts: 72
Joined: Mon Oct 31, 2016 11:56 pm
Location: Prague or space village in woods near of it

Re: Qemu package and guide for Windows available

Post by ruthan »

Patch should fix both dsound message error and broken sound.. but if you have half broken sound with screamer its normal.

These files are some simple patch, you have to download source, add text from diff files into it and build it, its not easy.
User avatar
Cat_7
Expert User
Posts: 6145
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: Qemu package and guide for Windows available

Post by Cat_7 »

2 new qemu-system-ppc sound-enabled builds for Windows have landed:

https://www.emaculation.com/forum/viewt ... 788#p53788
(find them under experimental builds)

Note that they are both still experimental, and in the case of the build with fpu speed-up even extremely experimental as no guarantee is provided for correct fpu results.

Happy testing,
Cat_7
rscaboyke
Student Driver
Posts: 24
Joined: Thu May 10, 2007 7:54 am

Re: Qemu package and guide for Windows available

Post by rscaboyke »

I just wanna ask, are those experimental windows builds going to be ported to osx too ? It is just something to wonder about, emulating on older apple os apparently grows quicker on a Microsoft platform ? Really some paradox no ?
User avatar
adespoton
Forum All-Star
Posts: 4227
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: Qemu package and guide for Windows available

Post by adespoton »

The macOS experimental build for the sound-enabled build has been out for months; only the FPU one is new. Generally, the macOS builds come out slightly before the Windows builds, although sometimes Cat_7 gets the Windows ones out first (like in the case of the FPU patch). The source is all there if you want to build it yourself.
User avatar
Cat_7
Expert User
Posts: 6145
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: Qemu package and guide for Windows available

Post by Cat_7 »

Yep,

It just a matter of time and convenience: creating and testing a distributable OSX build is more complex compared to creating a windows build.
I'll get to it.

Best,
Cat_7
User avatar
Cat_7
Expert User
Posts: 6145
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: Qemu package and guide for Windows available

Post by Cat_7 »

I have just posted an experimental Windows build that should solve some of the keyboard issues. Find it under the experimental builds over here:

https://www.emaculation.com/forum/viewt ... =34&t=9028

When the mouse/keyboard are grabbed inside the Qemu window after a click inside the qemu window, the Windows key on a pc keyboard will no longer let the Windows start menu pop up.

Key are sent into the guest correctly:
-Using a mac keyboard everything works as expected.
-Using a pc keyboard the actual alt key is the actual mac alt key.
-Using a pc keyboard the windows key is the mac command key.

Physically it looks like this:
mac: (ctrl) - (alt-option) -(apple-command)
pc: (ctrl) -(apple-command) -(alt-option)

Happing testing,
Cat_7
Post Reply