Embio
Feb 7 2007, 02:01 AM
PearPC will mean we can run Jaguar or Panther, obviously. With the lack of Spotlight they may be faster.
Dragon
Feb 7 2007, 02:22 AM
I'll include both like a said before. It doesn't matter which turns out to be faster.
Oh, just realized that was one I took from knoppix, not qemu. So that means it's not running in ram and it is using kde, which makes things slower.
I am making a SLAX video now. Sorry for wasting your bandwidth lol. Will post in a few mins.
joe75
Feb 7 2007, 02:25 AM
Dragon, how much ram are you using and what is it?
Dragon
Feb 7 2007, 02:39 AM
Dell Dimension 2300
768mb ram
1.8ghz
Xp PRO Sp2 > Vmware Workstation > SLAX > Qemu(noaccel + 480mb ram) > OS X
mac-mini
Feb 7 2007, 02:56 AM

time to try it on my slow 700mhz P3
Dragon
Feb 7 2007, 03:06 AM
I will try with kqemu this weekend (on my p3).
Embio
Feb 7 2007, 03:40 AM
Dragon, is possible for you to record videos in another format? what your using at the minute hates quicktime, VLC and any codec I throw at it 0 if not it doesnt matter - keep up the good work.
and as soon as I get some more RAM for my Power Mac G3 I can put it back in my 733 coppermine and bash it till it runs
Dragon
Feb 7 2007, 04:50 AM
I'm just using Vmware video capture... I converted the latest video to divX, does that one work?
Embio
Feb 7 2007, 05:56 AM
a few minutes of blank white screen :S:S
Dragon
Feb 7 2007, 07:09 AM
krikey
Feb 7 2007, 11:46 AM
This sounds too good to be true. Admittedly the video you offered for download was a bit on the slow side. But could be useful if like me you want to test sites on the Safari 2 browser as I have OSX 10.2.8 in pearPC.
I understand that the reason you're using SLAX is for QEMU, however are there no SSE2-like emulators for windows that work? I stumbled upon this link
http://www.h7.dion.ne.jp/~qemu-win/ which says its QEMU for windows. Still in alpha however. Would this Windows version of QEMU negate the need for SLAX or any interim OS?
Dragon
Feb 7 2007, 12:51 PM
If you'd have looked on the qemu homepage you would see that there was a windows version available aswell. Of course you can use it to run OS X inside windows for testing purposes, but the aim here is to get it running fast enough to be a usable OS for people who lack SSE2.
And BTW, the reason i'm using SLAX is because it can be loaded into ram which windows can't.
Also, that video was mainly slow because of a combination of things.
1. Laggy video capture
2. All of that was running inside a Vmware session
3. There was no qemu accelerator being used
When running natively, hopefully with all of these obstacles out of the way, we should be able to run at decent speeds.
MacRetail
Feb 7 2007, 12:57 PM
@Dragon
I got way better speeds with PearPC in the past, but I wasn't running it in emulation. PearPC has an accelerator for Intel-processors built in. And I wasn't running it in a Linux LiveCD in VMWare either.
Sadly I can't find a PearPC binary for Linux (only source code) I"ll try to run PearPC for Windows in Wine (lol).
Dragon
Feb 7 2007, 01:15 PM
Why don't you apt-get it? That's what I was doing.
I haven't tested PearPC yet and I only have the 10.4.1 ppc install. Unless any of the other hackintosh dvd's are ppc aswell.
sudo apt-get install gcc
sudo apt-get install pearpc
mac-mini
Feb 7 2007, 01:31 PM
well im just going to test using windows and benchmark it
EDIT: going to try to make 10.4.8 work
MacRetail
Feb 7 2007, 01:36 PM
Well, I haven't got an internet connection on my PC. (writing this on a Mac mini G4)
mac-mini
Feb 7 2007, 01:40 PM
i already have it booting from the CD image
munky
Feb 7 2007, 04:28 PM
so... does kqemu require SSE2 in order to emulate SSE3 ?
sorry if this is a dumb question, i couldnt find any mention of it after a bit of googling...
Dragon
Feb 8 2007, 06:03 AM
The guys before said that you had to start qemu without it for it to work on p3, so I didn't give it much thought until now. But I just ran it (not with OS X) on my p3 with kqemu and it worked. Gained quite a bit of speed.
Mac-mini - Are you using Jagermeisters modified qemu?
munky
Feb 8 2007, 10:07 AM
wow... gonna give OS X a try?

qemu is a processor emulator, so presumably it will emulate SSE2 as well as SSE3.....?
will be very interesting to see what kind of speed we can get out of this... I have an old P3 733Mhz machine which i'd like to bring up to OS X
Dragon
Feb 8 2007, 11:39 AM
it emulates SSE2 and SSE3.
and i will give OS X a try this weekend when i get time to move the p3 out of my sisters room
munky
Feb 8 2007, 02:54 PM
Rock on
Baltazar
Feb 8 2007, 03:59 PM
Yeah, go crazy!
Cruxado
Feb 9 2007, 01:05 AM
I've been out for awhile... TESTs are flying everywhere here at the Univ.
I'll be testing using the SLAX version and OS X 10.4.6 x86
mac-mini
Feb 9 2007, 02:48 AM
no im not using the modded QEMU
Dragon
Feb 9 2007, 02:21 PM
i've made my own slax cd with qemu and pearpc modules and am just about to burn so i can test it on the p3.
This is the pearpc module required for SLAX.
Dragon
Feb 9 2007, 03:11 PM
Setting up pearpc on the p3 tomorrow morning, also try qemu with kqemu/qvm86.
munky
Feb 9 2007, 05:32 PM
good luck dude - cant wait
Dragon
Feb 10 2007, 01:26 AM
Kqemu module.
Dragon
Feb 10 2007, 02:11 AM
This is qmv86... i'm just converting all these from rpms and storing them here.
Sorry for the "spam".
Pu7o
Feb 10 2007, 02:23 AM
The thing is, kqemu and qvm86 change qemu from an emulator into a virtualizer. So, if you run qemu on a P3 with Kqemu/qvm86, you don't get SSE2/3, and therefore you don't run Mac OS X.
Dragon
Feb 10 2007, 03:01 AM
You are right... we have to use both pearpc and qemu (with no accelerator).
mac-mini
Feb 10 2007, 03:30 AM
so thats my problem in windows im using kqemu
munky
Feb 12 2007, 12:29 PM
so there's no way to virtualise non-SSE instructions and emulate the rest?
maxxuss used to trap the exception raised by the lack of an SSE3 instruction and trapped it to call emulation code, i think. is there any way we could do something similar?
Dragon
Feb 12 2007, 12:53 PM
qvm86 says :
Virtualisation allows "emulated" code to be run natively on the host cpu, using the CPU protection mechanisms to intercept and emulate priveleged events.
i'm wondering if it's possible to set which events are "priveleged".
maybe we could set all SSE2 calls to be emulated and the rest virtualized then.
Embio
Feb 12 2007, 02:49 PM
surely emulating instructions on something that runs them natively would be fast anyway, because it isnt going to take much effort to do? thats the nature of computers - it has to be faster than x86 on PPC or the other way round - no?
munky
Feb 12 2007, 04:39 PM
Embio - dont bet on it. Emulating a full x86 processor doesnt get any faster just because your executing your emulation code on an x86 processor. You have to specifically code to take advantage of x86 features if you want to optimise. Thats why QEMU on x86 is slow without the accelerator module, which does offload the work to the real processor.
What we want is a hybrid approach where instructions supported by the processor are run 'natively' or at least executed in a virtualisation-style way, and instructions which are not supported (eg SSE, SSE2, SSE3) are emulated in software.
JaS
Feb 12 2007, 04:56 PM
I wonder if the same sse2 emulation that is used in Qemu can be ported to the kernel and be done with it. Is the Qemu sse2 emulation avalable in source code somewhere ...
Embio
Feb 12 2007, 09:06 PM
Qemu is open source, thats going back to my original suggestion of integration. Obviously its the easiest way of doing things, and the fastest but we need someone with a lot of experience in this area
munky
Feb 12 2007, 09:13 PM
that would be a great solution, and would negate the need for qemu and linux. any volunteers?

EDIT: I think ops_sse.h in target_i386 of the qemu source will provide interesting reading...

EDIT2: If this is possible, it would be HUGE! Imagine all the 'disenfranchised' machines which could be supported...
Embio
Feb 12 2007, 11:17 PM
like I said, we need an expert. It would be very good for those of us with 3Ghz Athlons hanging around.
Dragon
Feb 12 2007, 11:42 PM
It's possible, but it would require quite an experience developer to implement it.
EDIT: As a backup plan, we could modify kqemu to only virtualize non-SSE2 instructions now that it's open source if that's easier.
Embio
Feb 12 2007, 11:49 PM
to me that sounds harder
Dragon
Feb 13 2007, 01:08 AM
that's why I called it a "backup plan".

it may still be easier though, OS X might give us other problems that don't rely on the kernel.
i still have a feeling a slight amount of emulation will be required.
Dragon
Feb 13 2007, 04:35 AM
I'm uploading my "PearOS"/"QemuOS" on megaupload for anyone that wants it. You have to start OS X manually and get access to the osx86 img/isos yourself.
I'll post the link when it finishes uploading.
Embio
Feb 13 2007, 04:50 AM
awesome - just let us know when its up. Can we use OSx86 DVDs with it?
Dragon
Feb 13 2007, 05:50 AM
yeah.
uploading at really slow speeds (12kb/s),
Time remaining : 01:57:22 (55.57 MB of 138.17 MB)
update - 00:56:04 (101.99 MB of 138.17 MB)
Dragon
Feb 13 2007, 09:43 AM
Baltazar
Feb 13 2007, 10:21 AM
Cool! Will check it out later.
Edit:
Have you tried it out on your P3 yet, and how did it perform compared to the video you posted earlier running trough vmware?
Dragon
Feb 13 2007, 12:30 PM
Probably triple that speed. Maybe more.
Also, remember my p3 is only 450mhz.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.