Cat_7 wrote: Mon Mar 03, 2025 12:21 pm
The main developer/maintainer of the powermac part of qemu-system-ppc is otherwise engaged. Hence, a fix for screamer hasn´t had much attention lately. There are several other issues as well:
-no support for Mac OS 9.0.4 for the "real" G4 and earlier down to 8.6 (which should run on the powermac3,1) at least partly due to some hd driver in the rom issue.
-usb issues with Mac OS 9.0.4 OSX 10.0 and 10.1
-graphics issue with OSX 10.2
-keyboard type issues (standard/extended) between via=pmu (usb) and cuda/adb
And lets not forget some nice-to-haves:
-accelerated graphics
-improved g3beige support
Anyone capable enough to fix those issues can send patches to the list.
Q800 support is in Qemu's main repository. Splitting qemu-system-ppc into running MacOS/OSX (based on a rom) and other supported operating systems (based on openbios) might look interesting, but my guess is that would also take considerable effort.
Best,
Cat_7
I think Balaton had a patch at one time that could run the Beige G3 ROM, but it would only run Open Firmware and you could not boot from it.
DingusPPC runs a verity of ROMs, I have not kept up with the latest developments.
3D graphics is a tough one, I did make some attempts to post Voodoo2 support from PCem to Qemu, but in the end failed. Balaton and I did get most of the 2d parts of the Rage128 working in Qemu for the Mac OS, and I think Balaton had luck with 2d graphics acceleration working with MorphOS in Qemu.
The issues are Openbios support, and the lack of whitepappers for any 3D card that has drivers under the Mac OS other than the leaked Voodoo 2 white paper.
We have the leaked Rage128 White Paper, but it doesn't cover the 3D parts needed.
We don't even have a white paper for the Mach64.
Even if we overcome these issues we are still emulating at least a 64bit GPU( Mach64 ) or a 128bit GPU( Rage128 ) .So what is real world performance going to be?
We don't know, and we can't know, because we don't know the speed of the host.
I did use PCI Passthrough of a Rage128 PCI with Qemu and it did work with Balaton's patches to Openbios for the words the Rage128 FCode ROM uses.
I just ordered some kit, a Raspberry Pi 5, and a 'Hat' with a PCI-E slot and I have a Radeon x1950xt in my G5 Quad. So I plan on testing PCI Passthough on that system with the x1950xt, we'll see.
Even a really fast modern computer is pushed to its limits emulating a PowerPC processor and a Voodoo2 on a single core. That's why I pushed so hard to get some threading going on.
Voodoo2 emulation is doable with Qemu, but we only have drivers for the classic Mac OS, writing 3D drivers for OS X is not feasible or we would just use Qemu's 3D graphics stack on OS X PPC. If Apple ever opens the sources up for the older PPC graphics stack, that would be optional, but until then, I think we are stuck with PCI Passthrough.
The Rage128 did better than one would think in PCI Passthrough for the 3D games it was designed to handle. My host system emulated PowerPC around the speed of an 800MHz G4.
We'll see what the Pi 5 can do, ARM, in my experience handles RISC emulation better than X86, likely because it is native to RICS.
Is the Pi 5 going to dethrone the G5 Quad, not now, but 5 or 10 years from now, it likely will emulate PowerPC faster than a native Quad G5.
I'd say, from benchmarks I have seen, that Apple's M4 Max can emulate PowerPC in Qemu as far as integer performance, it's going to be right there with the Quad, but then we are talking about a $4k+ modern CPU vs $120 Pi 5.