Hi,
I also have a Powermac G5 Quad and tried with both the Geforce 6600 and Quadro FX4500 video cards and I have successfully gotten it up and running using the nouveau driver along with 2D acceleration on the XOrg desktop. I have compiled many newer kernels and created debian packages for them. Newer 4.0+ kernels also have issues in terms of detecting the nvidia DCB from the FCODE ROM… But there are other workarounds for this to get it up and running. You shouldn't need to use the boot parameter "nouveau.noaccel=1" once you have properly configured your kernel.
In my case, the reason why X does not seem to work with your configuration is twofold:
The recent Debian (and Fedora) kernels for PowerPC 64 Bit running on the G5 64bit powermac are configured with a 64Kb kernel pagesize. This works slightly better in terms of performance, however the nouveau driver does not support this size. You must recompile the kernel unfortunately and configure with 4Kb kernel pagesize as this is what nouveau will work with for now.
To confirm, run the following command in a shell as root:
“getconf PAGESIZE”
If it returns 65536, you are using a 64Kb pagesize kernel.
Otherwise if it returns 4096, i.e. 4Kb kernel pagesize, check the next item below.
The newer nouveau drivers in more recent kernels default to using MSI interrupts, however with the PPC G5, when using MSI interrupts, the powerpc FCODE rom on Nvidia cards does not correctly set up the MSI address (or vector).
To confirm, run the following command in a shell as root:
“cat /proc/interrupts”
Look for the nouveau interrupt, if it is using MSI interrupts, you need to disable MSI interrupts either by passing the option to the nouveau module, disable MSI interrupts by passing an option to the kernel command line in yaboot.conf or disable MSI interrupt support in total when compiling a new kernel. If configured correctly, nouveau should be using level or edge interrupts.
This is what worked for me anyway.
Cheers,
Peter
Hello Peter,
amazing thx for pointing this out, we need to preserve and document this information as detailed as possible.
Based on the details you mentioned someone could add information to the ppc faq and known issues/ workaround intructions, but it might be best if you did it yourself, seeing as you came up with the workaround and know the details behind it and likely could describe things more thoroughly. Also a bug report on it could help, always good to know whats causing issues and where exactly so it may be fixed at a later time.
https://wiki.ubuntu.com/PowerPCKnownIssues (should absolutely be in here)
https://wiki.ubuntu.com/PowerPCFAQ (could be added in here as well but this page is a lot less recent and not as helpful)
Grüße
boris
Sounds like a plan!
Well I have good experience with google drive's file hosting, seems to work well, easy to use, reliable, for smaller projects their free hosting should suffice so for a fairly small crowd like ours it's plenty I guess.
I think we could count on files staying available there.
Hey, thx Peter!
I have no G5 system to currently test this on myself (briefly had a single core G5 PowerMac sadly it's mainboard got damaged when the PSU blew).
PeterCheers,Link Below:As always, i accept no responsibility for data loss.Please give feedback and i will try to update documentation.Hi Boris,
As promised, I have attached a Google Drive link for a 64 BitG5 Powermac 3.18.16 kernel and headers deb packages for Debian Jessie.
This kernel is based off the default Debian Jessie kernel config, but basically optimised for G5 processors, with 4kb kernel pagesize and msi interrupts disabled. This is basically what nouveau requires to enable XOrg 2d acceleration.I have installed this on a fresh Debian Jessie install and seems to work ok, i have quickly set this up but i can improve it further.
The kernel image and header deb files should be saved somewhere and as root install the deb files. it will complain about a module link when installing but disregard it, it will install the vmlinux & initrd images in boot. Create a new entry in yaboot.conf and test it out.
Im curious if is solves the nouveau issues for Powermac G5 11.2 owners.
Try it out only if you know what you are doing.
https://drive.google.com/open?id=0B8pqd5Ots1vffmY5ZnpGUDg4UGNnVFk2M05tQUtEUUkwUmhmQWdLMWpfZGVraDIxSFltb1k&authuser=0
Peter I would suggest opening a topic over here:
http://ubuntuforums.org/forumdisplay.php?f=328
there you would get attention of enthusiasts and hardware owners a like. There are also some Amiga folks around that might be interested to test on their compatible hardware.
If you do make sure the topic is exact and catchy, something like nouveau 3d accel G5 fix or some such.
Also a new message on the devel mailing list more of interest to kernel devs and more technical/ possibly linking to an existing or newly created bug report might also gather more attention on the dev side of things.
On Jun 30, 2015, at 1:09 AM, Rick Thomas <rbth...@pobox.com> wrote:
You would be better off not appending any options to yaboot.conf and blacklisting nouveau for now.
I’ll give that a try!Here’s what happens when I blacklist kernel module nouveau and set the append in yaboot.conf to just plain “ ro”. I’m attaching /var/log/dmesg and /var/log/Xorg.0.log incase they have clues. I notice some mentions of “nouveau” in the Xorg.0.log file. Is this expected? Thanks! Rick
NvBios: Specify VBIOS source as one of OpenFirmware/PRAMIN/PROM/ACPI/PCIROM/PLATFORM, or a filename passed to request_firmwareWhat about trying the other dvi connector?
Ooops! Here are the attachments! )-:
Good Luck :)Also, if you are on the sid repositories, try mesa 11.0.5 out. Hopefully you will have a pleasant surprise with OpenGL!It sure is for for our machines, i.e. the Powermac G5 11.2 (i.e. with PCIe).It should also work for the Powermac's with AGP graphics as well, (cant remember if i left AGP enabled)
Please give it a try, just remember to disable MSI interrupts by passing the module option as described. Let me know how it goes, as i can tweak the config where appropriate!
-- Clive Menzies Political Economist +44 (0) 7836 601378
I had some sound issues on my g5. By adding the correct kernel modules I solved the problem.
I'm in the same boat and unfortunately haven't found the time to sail my way out of it just yet. What I do know is if I boot with an old 3.18 kernel I have, everything works out okay again. I believe it was mentioned already that this could be related to the issue with binutils being used to build the newer kernel you are trying to boot from that came with Stretch.
I downloaded Peter's 4.5.0-rc2 kernel, installed it, and updated my yaboot.conf but still the same issue. But honestly I could have missed something when configuring my system to boot from his newer kernel. Planning to look at that again here this evening and peruse some logs to see what pops out at me.
If nothing else I will re-install Jessie, download and install Peter's 4.5.0-rc2 kernel, and then complete the upgrade to stretch and continue booting from that same kernel. Will post my results when I can.
As an aside, I don't have sound or flash working yet - gnash doesn't seem to work and swf-dec is not in stretch. Can anyone point me in the right direction
If you happen to be running the 4.5.0-rc2 kernel I built, it should work out of the box, assuming that no snd-aoa modules happen to be previously blacklisted.
I recall a quirk with sound and it seemed that the built in speaker is always muted by default the first time snd-aoa driver is used!
Not sure if anyone else has noticed this?
Either way, in a console run alsamixer and check that the master and pcm output is not muted and increase the levels.... It should work (i hope)!
If sound still doesn't work, please post your dmesg log when using the 4.5.0-rc2 kernel.
I don't think there is Flash available, neither Skype.
You would have to use another solution, i think.
On Youtube, normally i use
Iceweasel + Greasemonkey Add-on +ViewTube Script
http://isebaro.com/viewtube/?ln=en
plus, i like very much
MPV player + Youtube-Viewer (by Trizen).
Starting with Jessie, MPV is available.
On Wheezy you would need to compile it yourself
cheers
rich
---------- Původní zpráva ----------
Od: Peter Saisanas <psai...@gmail.com>
Komu: alade...@gmail.com
Datum: 15. 11. 2015 21:42:16
Předmět: Re: Re: Debian 8 on Late 2005 G5, Graphics Issues
Hi,
It looks like you are not booting from the 3.18.16 kernel.
If you have installed the packages, you need to create an entry for the
new kernel by editing /etc/yaboot.conf and once saved run ybin -v.
Also, i have built a 4.3.0 kernel deb package.
Aside from the newer kernel, it also has a nouveau pageflip patch for
drm and pre nv50 class gpu's.
Also, it has i2c-powermac built in to the kernel, so it should
automatically start the appropriate windfarm driver for fans / cooling
and snd-aoa sound driver for your machine.
MSI interrupts are enabled again in this kernel, but still wont work
with nouveau and powermac 11.2 for now
Once installing the kernel and modifying yaboot, you need to create a
module option file in /etc/modprobe.d and save file as nouveau.conf with
the following single line below:
options nouveau config="NvMSI=0"
Once file is saved, you need to update your initrd for kernel 4.3.0,
apply the change by running the following command:
update-initramfs -u
Reboot and if all goes well, you should be booting with kernel 4.3.0 and
lightdm login should pop up.
Up to you, but If you switch to sid repositories, mesa 11.0.5 is
available and you should be able to get OpenGL working with nouveau and
your particular GPU.
Google drive link for kernel debs below:
https://drive.google.com/folderview?id=0B8pqd5Ots1vfT2puX09CYjEwcFk&usp=sharing
Please let me know how you go.
Regards,
Peter
plus i would install also vlc-browser-plugin or similar for the distro you use. if you install vlc it probably gets installed automagically hope this helps clive rich Am Feb 12, 2016 um 2:13 PM schrieb Clive Menzies <cl...@clivemenzies.co.uk>:Thanks Richard Regards Clive On 12/02/16 13:04, Richard Kuenz wrote:you need gecko-mediaplayer Clive Menzies schrieb: