Page 65 of 83

Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Posted: Sun Feb 05, 2017 3:55 am
by Meow_2004
This:

Code: Select all

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.

Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Posted: Sun Feb 05, 2017 3:59 am
by alex195812
Well,the long pause after "ATS Server" is normal as I recall.
BSD root found,it goes right.

Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Posted: Sun Feb 05, 2017 4:03 am
by Meow_2004
???

Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Posted: Sun Feb 05, 2017 4:08 am
by alex195812
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.

Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Posted: Sun Feb 05, 2017 4:10 am
by Meow_2004
yes, it seems fine

Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Posted: Sun Feb 05, 2017 5:37 am
by adespoton
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.

Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Posted: Sun Feb 05, 2017 6:39 am
by Programmingkid
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?

Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Posted: Sun Feb 05, 2017 2:23 pm
by Meow_2004
Image
ummmmmmmmmmmmmmmmmmm

Code: Select all

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

Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Posted: Sun Feb 05, 2017 2:57 pm
by darthnvader
Meow_2004 wrote:Image
ummmmmmmmmmmmmmmmmmm

Code: Select all

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: Select all

 -g 1024x768x8
or

Code: Select all

-g 800x600x8

Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Posted: Sun Feb 05, 2017 3:20 pm
by alex195812
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?

Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Posted: Sun Feb 05, 2017 3:38 pm
by Meow_2004
It's your build

Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Posted: Sun Feb 05, 2017 3:42 pm
by alex195812
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.

Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Posted: Sun Feb 05, 2017 3:46 pm
by Meow_2004
I get up to the installation and get this: (IGNORE THE ^A)

Image

Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Posted: Sun Feb 05, 2017 3:48 pm
by alex195812
Hmm...At what moment does it happen?

Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Posted: Sun Feb 05, 2017 3:50 pm
by Meow_2004
When it's preparing for the installation

Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Posted: Sun Feb 05, 2017 3:52 pm
by alex195812
It seems started without -sdl and 1024x768?Does this screen appear after grafical Installer or before?

Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Posted: Sun Feb 05, 2017 3:53 pm
by Meow_2004
before

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

Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Posted: Sun Feb 05, 2017 3:56 pm
by alex195812
And it stays on this screen?No move?Is it x8 or x16 graphics?

Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Posted: Sun Feb 05, 2017 3:57 pm
by Meow_2004
x8 It closes down automatically after it says "done"

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

Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Posted: Sun Feb 05, 2017 4:06 pm
by alex195812
Your host screen resolution seems non-standard.What is it?
Ah,have you come to graphics installer?

Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Posted: Sun Feb 05, 2017 4:07 pm
by Meow_2004
Don'y know, how can I check?

No i only get up to preparing for installation

Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Posted: Sun Feb 05, 2017 4:12 pm
by alex195812
Oh then I don't understand where you are now..

Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Posted: Sun Feb 05, 2017 4:14 pm
by darthnvader
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.

Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Posted: Sun Feb 05, 2017 4:17 pm
by alex195812
Oh,it passes by and switches to resolution you assign on command line.

Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Posted: Sun Feb 05, 2017 4:43 pm
by darthnvader
I set:

Code: Select all

-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