-
-
Notifications
You must be signed in to change notification settings - Fork 192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compatibility with PPC in general and MacOS PPC in particular? #392
Comments
That's not entirely true. Currently the only supported arch is amd64 (x86_64) machines, and we are working on arm64 (i.e. Mac M1/M2, Pinebook Pro) support as well. Most of the code would build on ppc but not all - there are some tricky bits of assembly language that make critical things work in Mach and objc. Those don't exist yet for ppc. TLDR: we can probably get there but not today. |
Please add a note that this is desirable to have supported, even if low-priority. P. S. If things reach a stage where generic support is there but MacOS ppc assembler is a stopper, I would take a look if I can contribute to that or ask someone more experienced. |
Sure, let's leave this open to keep track of the idea. I'd be grateful if you wanted to try getting the ppc asm working. It's been a long time since I wrote any and it wasn't 64 bit. I also don't have any ppc hardware these days so that's a big obstacle as well. |
@mszoek By the way, while the following is not related to |
I'm not familiar enough with PPC multiprocessing to offer much. Typically a kernel will use spinlocks and disable interrupts during critical sections to support SMP. Maybe some of that got broken over the years for PPC? |
@barracuda156 Last year I agonized quite intensively with FreeBSD 13.x and 14 on PPC64. On my G5 it didn't want to run well but on POWER9 (Talos II) it ran without much problems. |
@DKnoto Thank you for a confirmation. Need to somehow get attention of developers to fix this issue. P. S. If you have an extra minute, could you drop a line there on FreeBSD Bugzilla, so that developers see the issue affects some real users and occurs consistently? |
@barracuda156 you can have look for DingusPPC |
I actually still have a PowerMac G5 I bought in 2022 with the stated goal of running MorphOS on it one day (still lacking a decent AMD GPU for that, alas. Been a while but I think it's a PCIe slot model) and I thought about how awesome it would be to have ravynOS on it one day. Even if we can overcome the tricky ASM bits though, the real question is: Will it even run Wayland? As in, will the average PowerMac user have a GPU new enough to support DRM/KMS? |
Even if we can overcome the tricky ASM bits though, the real question is: Will it even run Wayland? As in, will the average PowerMac user have a GPU new enough to support DRM/KMS?
Probably not. What chip is in that G5?
|
If you mean GPU, it will be OS-dependent. I cannot say which are the latest that Linux and OpenBSD can support, but there were video reports on YouTube with someone installing newer GPUs into PowerMacs. |
@markusbkk @barracuda156 As for GPU-free DRM running on virtio-gpu-pci, there has been a corresponding patch in the FreeBSD/DRM project for more than a year but for licensing reasons it has not yet been enabled. The author doesn't seem to have the time to rewrite it properly. On another note, if RavynOS is to be a reflection of macOS then Wayland is completely unnecessary to it, pure DRM is enough. |
@DKnoto Could you say if FreeBSD is still broken on G5 multicore? (I expect it is, will try to ping upstream to do something about that.) P. S. On a side note, Power9 is Bi-endian (as all Power cpus), you could just use |
I have not yet tried FreeBSD 15 CURRENT on my G5. I will try to check it out. PS. LE it's a necessity for me at the moment ;-) |
NVIDIA 6600. Stock ones are NVIDIA FX 5200, AFAIK. I think the highest end cards people (mainly MorphOS users) use with those PowerMac G5s are ATI Radeon X800 and maybe ATI Radeon X1950 Pro. The Radeon 9800 is still popular with those machines, too. |
Wayland is simply an abstraction and ravynOS' WindowServer already seems to hook into Mach IPC somewhat. |
This was the stock one for PowerMac 2.3 DC and 2.5 Quad.
Maybe for the earlier generation.
X800 and 9800, AFAIK, are for older PowerMacs and not even compatible with late 2005 models. There is no point in flashing PCI-E versions even if they exist, since better cards are available. Assuming you refer to the last generation of PowerMacs, the best GPUs supported by macOS are Quadro FX 4500, 7800 GT and ATI X1950 XT. There is some controversy on which of these three is superior. |
Possibly, but Wayland is the first thing I remove from Fedora Linux after instalation, for example ;-) |
There is a point if you wanna run MorphOS with full Warp3D support, which I'd argue is the largest niche amongst the niche that are PowerMac users in the year 2024.
Depends on what you wanna do, really. But for modern Amiga computing as well as Wayland, the ATI is the only sane option in that list. The more I think about it, the more I wanna work on this. It would actually be nice to undust my PowerMac G5 Quad (and getting it to run there could be a nice stepping stone towards making it run on a Power9 workstation. For all the five people out there who can drop this much money on a desktop). I don't suppose anybody would like to bribe me with an ATI Radeon X1950 XT? 😛 |
WDYM by "remove"? As in the Gnome Wayland session? Wayland is a protocol not a server (unlike Xorg). |
Both are true.. WindowServer doesn't actually need Wayland and it gets in the way to some extent. I used an existing minimal compositor to get things running quickly and for some *nix compatibility, but we may convert all that lower level stuff to pure DRM and drop Wayland at some point. It (and X) could be reimplemented on top of WindowServer later. Foot is also just a way to quickly get a terminal going. Eventually I would like to get iTerm2 or something like that working instead. Foot is a great terminal but it's a Wayland app - there's no integration at all with the Mac desktop. |
Fair enough. EDIT: Oh wait. I forgot that there's MIG. That'll probably work to generate and compile the IDL. |
comments under that video says that r600 driver work(ed?) on Linux on ppc bigendian machines. https://m.youtube.com/watch?v=t8mNV_VvkMk |
https://lists.nongnu.org/archive/html/discuss-gnustep/2018-12/msg00021.html hopefully names those ppc asm functions still missing from objc (may be in last 6 years they were added?) |
From README is seems to follow that all archs supported by FreeBSD are supposed to be supported by
ravynos
; has it been tried out on PowerPC (Big-endian)?Another question, there is the following note:
It would be awesome to have a compatibility with ppc/ppc64 macOS binaries too :)
The text was updated successfully, but these errors were encountered: