E-Maculation
https://www.emaculation.com/forum/

GSOC qemu Boot Mac OS >= 8.5 on PowerPC system
https://www.emaculation.com/forum/viewtopic.php?f=34&t=7047
Page 65 of 83

Author:  Meow_2004 [ Sun Feb 05, 2017 3:55 am ]
Post subject:  Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

This:
Code:
qemu-system-ppc.exe -bios openbios-ppc -L pc-bios -m 512 -M mac99 -prom-env "auto-boot?=false" -prom-env "boot-args=-v" -g 800x600x32 -cpu G3 -drive file=MacOSX_developer_preview_4.iso,format=raw,media=disk -drive file=DP4.raw,format=raw,media=disk

Once it gets to that screen after 10 seconds it closes out.

Author:  alex195812 [ Sun Feb 05, 2017 3:59 am ]
Post subject:  Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Well,the long pause after "ATS Server" is normal as I recall.
BSD root found,it goes right.

Author:  Meow_2004 [ Sun Feb 05, 2017 4:03 am ]
Post subject:  Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

???

Author:  alex195812 [ Sun Feb 05, 2017 4:08 am ]
Post subject:  Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

qemu window closes?Itself?It's strange.If so is it OK with your system?In the worst case it can stall on this screen but shouldn't close.

Author:  Meow_2004 [ Sun Feb 05, 2017 4:10 am ]
Post subject:  Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

yes, it seems fine

Author:  adespoton [ Sun Feb 05, 2017 5:37 am ]
Post subject:  Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

ProgrammingKid wrote:
The floating point unit in QEMU is slow, but I think it might be fast enough handle sound playback.


A number of months ago, when we were looking at the USB sound, we discovered that the FPU was the culprit in causing the delays to the sound buffer. I still think that the floating point unit is the culprit here (and in a number of other performance areas) and the tinycode is going to band-aid it, but not really fix the issue.

Has anyone started looking at implementing a new streamlined FPU module? It would take me a few years to do it, but if nobody else is, I might start.

Author:  Programmingkid [ Sun Feb 05, 2017 6:39 am ]
Post subject:  Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

adespoton wrote:
ProgrammingKid wrote:
The floating point unit in QEMU is slow, but I think it might be fast enough handle sound playback.


A number of months ago, when we were looking at the USB sound, we discovered that the FPU was the culprit in causing the delays to the sound buffer. I still think that the floating point unit is the culprit here (and in a number of other performance areas) and the tinycode is going to band-aid it, but not really fix the issue.

I'm not sure we can say the FPU is the problem. It was more of a theory rather than a proven fact.

adespoton wrote:
Has anyone started looking at implementing a new streamlined FPU module? It would take me a few years to do it, but if nobody else is, I might start.

I have. I tried making it so that floating point math was handled by the host floating point unit. Things did not work out. Just changing the optimization level of GCC was enough to make the code break. I could show you my patch if you want.

How would you go about making QEMU's floating point unit faster?

Author:  Meow_2004 [ Sun Feb 05, 2017 2:23 pm ]
Post subject:  Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Image
ummmmmmmmmmmmmmmmmmm
Code:
qemu-system-ppc-sdl20.exe -bios openbios-qemu-scr-sunM.elf -L pc-bios -m 512 -M g3beige -prom-env "auto-boot?=false" -prom-env "boot-args=-v" -g 800x600x32 -cpu G3 -drive file=MacOSX_developer_preview_2.iso,format=raw,media=cdrom -drive file=DP2.raw,format=raw,media=disk

Author:  darthnvader [ Sun Feb 05, 2017 2:57 pm ]
Post subject:  Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Meow_2004 wrote:
Image
ummmmmmmmmmmmmmmmmmm
Code:
qemu-system-ppc-sdl20.exe -bios openbios-qemu-scr-sunM.elf -L pc-bios -m 512 -M g3beige -prom-env "auto-boot?=false" -prom-env "boot-args=-v" -g 800x600x32 -cpu G3 -drive file=MacOSX_developer_preview_2.iso,format=raw,media=cdrom -drive file=DP2.raw,format=raw,media=disk


Maybe try:

Code:
 -g 1024x768x8


or

Code:
-g 800x600x8

Author:  alex195812 [ Sun Feb 05, 2017 3:20 pm ]
Post subject:  Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Maybe 1024x768x16 or 800x600x16.I think it's an sdl-specific issue.I met it in MacOS sdl build.It happens only in DPs and Server in 32-bit mode.
Is it the August qemu build or the new one?

Author:  Meow_2004 [ Sun Feb 05, 2017 3:38 pm ]
Post subject:  Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

It's your build

Author:  alex195812 [ Sun Feb 05, 2017 3:42 pm ]
Post subject:  Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

You may try my build also without -sdl.Interesting to try the older one,too.It seems that in August build there was no such effect.

Author:  Meow_2004 [ Sun Feb 05, 2017 3:46 pm ]
Post subject:  Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

I get up to the installation and get this: (IGNORE THE ^A)

Image

Author:  alex195812 [ Sun Feb 05, 2017 3:48 pm ]
Post subject:  Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Hmm...At what moment does it happen?

Author:  Meow_2004 [ Sun Feb 05, 2017 3:50 pm ]
Post subject:  Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

When it's preparing for the installation

Author:  alex195812 [ Sun Feb 05, 2017 3:52 pm ]
Post subject:  Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

It seems started without -sdl and 1024x768?Does this screen appear after grafical Installer or before?

Author:  Meow_2004 [ Sun Feb 05, 2017 3:53 pm ]
Post subject:  Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

before

Edit: DP4 loading screen is up! Got pass the closing down @ Starting ATS Server part!!

Author:  alex195812 [ Sun Feb 05, 2017 3:56 pm ]
Post subject:  Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

And it stays on this screen?No move?Is it x8 or x16 graphics?

Author:  Meow_2004 [ Sun Feb 05, 2017 3:57 pm ]
Post subject:  Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

x8 It closes down automatically after it says "done"

EDIT: NO SPACE TO INSTALL ON FOR DP4 TOO?!?!?!?

Author:  alex195812 [ Sun Feb 05, 2017 4:06 pm ]
Post subject:  Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Your host screen resolution seems non-standard.What is it?
Ah,have you come to graphics installer?

Author:  Meow_2004 [ Sun Feb 05, 2017 4:07 pm ]
Post subject:  Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Don'y know, how can I check?

No i only get up to preparing for installation

Author:  alex195812 [ Sun Feb 05, 2017 4:12 pm ]
Post subject:  Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Oh then I don't understand where you are now..

Author:  darthnvader [ Sun Feb 05, 2017 4:14 pm ]
Post subject:  Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

For DP2 I need x8, or the boot process stop with a garbled screen at BootX, and I don't think it ever loads the Kernel.

Author:  alex195812 [ Sun Feb 05, 2017 4:17 pm ]
Post subject:  Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Oh,it passes by and switches to resolution you assign on command line.

Author:  darthnvader [ Sun Feb 05, 2017 4:43 pm ]
Post subject:  Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

I set:

Code:
-g 1024x666x8


And BootX shows at that resolution, but once the Kernel loads, it switches to 640x480x16 or 32, I'm not sure.

Image

There doesn't appear to be a way to change the screen resolution in DP2, the Mac OS Preferences, doesn't have anyway to change it under Displays.


As you said before, alex, DP2 is really buggy, sometimes it launches two Finders. Shutdown doesn't really work all the time, and many other bugs, but Classic does run, once you set it up with the MacOS.app.

Image

Page 65 of 83 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/