FreeBSD is definitely the best OS to put on the G5. I have a dual core 2.3 GHz model with 8GB of RAM running perfectly on a ZFS installation.
I found this for FreeBSD (https://wiki.freebsd.org/AppleMacbook#Apple_MacBook_support_...). Maybe I'll give it another shot.