PowerPC agpmode issues

2016-02-04 Thread Mike
Hi. Managed to get the Radeon R300 running on mesa 11.1.1 with an old 2013 patch from Michel Dànzer, next problem is of course enabling agpmode, running with pci-mode with radeon.agpmode=-1 works, but is of course slow, and seems to load the cpu a lot. Upon initial investigation i could not initia

Re: PowerPC agpmode issues

2016-02-04 Thread Denis Kirjanov
On 2/5/16, Mike wrote: > Hi. > Managed to get the Radeon R300 running on mesa 11.1.1 with an old 2013 > patch from Michel Dànzer, next problem is of course enabling agpmode, > running with pci-mode with radeon.agpmode=-1 works, but is of course slow, > and seems to load the cpu a lot. For me nouv

Re: PowerPC agpmode issues

2016-02-05 Thread Herminio Hernandez Jr.
I have been experiencing the same thing with my iBook and PowerBook. Sent from my iPhone > On Feb 4, 2016, at 8:47 PM, Mike wrote: > > Hi. > Managed to get the Radeon R300 running on mesa 11.1.1 with an old 2013 patch > from Michel Dànzer, next problem is of course enabling agpmode, running

Re: PowerPC agpmode issues

2016-02-05 Thread Mike
Put the info forth in an Amiga ppc related thread, agpmode=-1 is also needed on the Pegasos 2, need do some research/googling but is it safe to say its broken for all non x86 platforms? Including those replies here: Hi Christian and Mike, for my personal experiences on Pegasos2 and MacMini G4

Re: PowerPC agpmode issues

2016-02-05 Thread Mike
Herminio, Ok, take a look at this. https://github.com/threader/mesa-11.1.1-ppc-r300-debian or if on stable maybe this is more fitting https://github.com/threader/mesa-10.6.3-ppc-r300-debian - this only fixes the issue for r300 on powerpc though. On 5 February 2016 at 14:32, Herminio Hernandez Jr.

Re: PowerPC agpmode issues

2016-02-05 Thread Herminio Hernandez, Jr.
I have already applied his patches on my PowerBook running Jessie to get accelerated graphics. However they are only a work around and not a real fix so they will be committed to mesa. On Fri, Feb 5, 2016 at 8:44 AM, Mike wrote: > Herminio, > > Ok, take a look at this. > https://github.com/threa

Re: PowerPC agpmode issues

2016-02-05 Thread Mike
True, a permanent patch was needed, but at least we are up and running and can identify other issues.. In the thread with the patches it is highlighted that the drivers are broken in the first place On 5 February 2016 at 17:51, Herminio Hernandez, Jr. < herminio.hernande...@gmail.com> wrote: > I

Re: PowerPC agpmode issues

2016-02-05 Thread Herminio Hernandez, Jr.
Yeah the issue is with the driOpenDriver function at least that what I think from what I saw in gdb. On Fri, Feb 5, 2016 at 12:06 PM, Mike wrote: > True, a permanent patch was needed, but at least we are up and running and > can identify other issues.. In the thread with the patches it is > high

Re: PowerPC agpmode issues

2016-02-05 Thread Mike
Thanks, found this now - https://www.mail-archive.com/search?l=mesa-...@lists.freedesktop.org&q=subject:%22%5C%5BMesa%5C-dev%5C%5D+gallium+r300+driver+for+PowerPC%22&o=newest&f=1 On 5 February 2016 at 18:08, Herminio Hernandez, Jr. < herminio.hernande...@gmail.com> wrote: > Yeah the issue is wit

Re: PowerPC agpmode issues

2016-02-05 Thread Herminio Hernandez, Jr.
Yeah that is the thread I am on On Fri, Feb 5, 2016 at 1:44 PM, Mike wrote: > Thanks, found this now - > https://www.mail-archive.com/search?l=mesa-...@lists.freedesktop.org&q=subject:%22%5C%5BMesa%5C-dev%5C%5D+gallium+r300+driver+for+PowerPC%22&o=newest&f=1 > > > On 5 February 2016 at 18:08, He

Re: PowerPC agpmode issues

2016-02-05 Thread Mike
Excellent work! On 5 February 2016 at 19:46, Herminio Hernandez, Jr. < herminio.hernande...@gmail.com> wrote: > Yeah that is the thread I am on > > On Fri, Feb 5, 2016 at 1:44 PM, Mike wrote: > >> Thanks, found this now - >> https://www.mail-archive.com/search?l=mesa-...@lists.freedesktop.org&q=

Re: PowerPC agpmode issues

2016-02-05 Thread Herminio Hernandez, Jr.
Excellent work would be me figure out how to fix it :) On Fri, Feb 5, 2016 at 1:59 PM, Mike wrote: > Excellent work! > > On 5 February 2016 at 19:46, Herminio Hernandez, Jr. < > herminio.hernande...@gmail.com> wrote: > >> Yeah that is the thread I am on >> >> On Fri, Feb 5, 2016 at 1:44 PM, Mike

Re: PowerPC agpmode issues

2016-02-08 Thread Michel Dänzer
On 05.02.2016 11:47, Mike wrote: > Hi. > Managed to get the Radeon R300 running on mesa 11.1.1 with an old 2013 > patch from Michel Dànzer, next problem is of course enabling agpmode, > running with pci-mode with radeon.agpmode=-1 works, but is of course > slow, and seems to load the cpu a lot. >

Re: PowerPC agpmode issues

2016-02-08 Thread Mike
I feel that would alleviate the symptoms and still leave a sick puppy. If one could work around some of the issues i'd like that solution, it would certainly make it easier for newcomers. It's a lucky enough situation that default shipping mesa is broken enough to default to swrast, hardware accele

Re: PowerPC agpmode issues

2016-02-08 Thread Mike
Certainly 750~800 fps in glxgears vs 3000+ in debian squeeze, i cant bring myself to say that it's an acceptable situation no matter how tired i am of the problem knowing how well the setup could do. It's clear that the implementation is broken for everything but x86, if that's a acceptable situati

Re: PowerPC agpmode issues

2016-02-08 Thread Michel Dänzer
On 08.02.2016 22:28, Mike wrote: > Certainly 750~800 fps in glxgears vs 3000+ in debian squeeze, i cant > bring myself to say that it's an acceptable situation no matter how > tired i am of the problem knowing how well the setup could do. It's > clear that the implementation is broken for everythin

Re: PowerPC agpmode issues

2016-02-08 Thread Mike
Ok, so its quirks to be added then? Something not implemented in KMS that was in UMS? Reports are that the same issue exsist on PPC Amiga Ones with a VIA chipset, and the Pegasos 2 with the Artica s chipset, i posted a mail from detailiing that. Sure that might be it, but i get different results

Re: PowerPC agpmode issues

2016-02-09 Thread Gerhard Pircher
> On 9 Feb 2016 03:27, "Mike" wrote: > Ok, so its quirks to be added then? Something not implemented in KMS > that was in UMS? > Reports are that the same issue exsist on PPC Amiga Ones with a VIA > chipset, and the Pegasos 2 with the Artica s chipset, i posted a > mail from detailiing that. Just

RE: PowerPC agpmode issues

2016-02-09 Thread luigi burdo
irc...@gmx.net > To: michael.hel...@gmail.com > Subject: Re: PowerPC agpmode issues > Date: Tue, 9 Feb 2016 12:52:15 +0100 > CC: aneesh.ku...@linux.vnet.ibm.com; mic...@daenzer.net; > linuxppc-dev@lists.ozlabs.org; reinhard.bo...@googlemail.com; > bobby.pr...@gmail.com > > > On 9

Re: PowerPC agpmode issues

2016-08-24 Thread Mike
Any improvement on your ends? Seems -1 is now the quirk. But does your trackpads work? Did an update after getting a new and the latest released powerbook up. Also found an interesting interface which can replace our ide drives, intended for ipod classics, but it can fit in the bay and has msata in

Re: PowerPC agpmode issues

2016-08-24 Thread Mathieu Malaterre
On Thu, Aug 25, 2016 at 5:09 AM, Mike wrote: > Any improvement on your ends? Seems -1 is now the quirk. But does your > trackpads work? Did an update after getting a new and the latest released > powerbook up. Also found an interesting interface which can replace our ide > drives, intended for ipo

Re: PowerPC agpmode issues

2016-08-25 Thread Benjamin Herrenschmidt
On Thu, 2016-08-25 at 05:09 +0200, Mike wrote: > Any improvement on your ends? Seems -1 is now the quirk. But does > your trackpads work? Did an update after getting a new and the latest > released powerbook up. Also found an interesting interface which can > replace our ide drives, intended for ip

Re: PowerPC agpmode issues

2016-09-19 Thread Benjamin Herrenschmidt
On Mon, 2016-09-19 at 02:13 -0700, Herminio Hernandez, Jr. wrote: > > I noticed the GPU was set to PCI mode however I did not set > radeon.agpmode=-1 in yaboot. I then installed Lubuntu 16.10 along > side Debian. I noticed that GPU was working and it was not set to > force PCI mode. Has there been

Re: PowerPC agpmode issues

2016-09-19 Thread Mathieu Malaterre
Hi, On Mon, Sep 19, 2016 at 11:13 AM, Herminio Hernandez, Jr. wrote: > Apologies for the previous email. > > What I was trying to say was I just recently installed Debain on my PowerMac > G5. I upgraded to sid and install the nonfree firmware. After reboot I > noticed that GPU acclleration was br

Re: PowerPC agpmode issues

2016-09-19 Thread Michel Dänzer
On 19/09/16 09:36 PM, Mathieu Malaterre wrote: > > Finally your dmesg looks odd since the line `[drm] Forcing AGP to PCI > mode` comes only after the first error. That isn't odd but the AGP->PCI(e) fallback mechanism working as intended, trying AGP first and falling back to PCIe if AGP fails. He

Re: PowerPC agpmode issues

2016-09-19 Thread Herminio Hernandez, Jr.
Michel, Yes to both, however when I set radeon.agpmode=1 most of the time the kernel freezes when booting. When I do get past that I get these errors: rican-linux@Debian-G5:~$ dmesg |grep -e radeon -e drm *[0.00] Kernel command line: root=UUID=aeca9a67-31d7-4c4b-a0f8-4db328b33305 radeon.

Re: PowerPC agpmode issues

2016-09-19 Thread Michel Dänzer
On 20/09/16 12:43 PM, Herminio Hernandez, Jr. wrote: > > Yes to both, however when I set radeon.agpmode=1 most of the time the > kernel freezes when booting. When I do get past that I get these errors: [...] > *[ 11.415769] [drm:.radeon_agp_init [radeon]] *ERROR* Illegal AGP > Mode: 1 (valid 4

Re: PowerPC agpmode issues

2016-09-21 Thread Herminio Hernandez, Jr.
I am still getting errors even with radeon.agpmode=4 is set rican-linux@Debian-G5:~$ dmesg |grep -e radeom -e drm -e radeon.agpmode [0.00] Kernel command line: root=UUID=aeca9a67-31d7-4c4b-a0f8-4db328b33305 radeon.agpmode=4 [9.734366] [drm] Initialized drm 1.1.0 20060810 [ 10.934519

Re: PowerPC agpmode issues

2016-10-08 Thread Herminio Hernandez, Jr.
Performed an apt dist-upgrade and rebooted with agpmode=4 and still the GPU is failing with errors. Should I proceed to place a bug report on this? Herminio On Tue, Sep 20, 2016 at 11:20 PM, Herminio Hernandez, Jr. < herminio.hernande...@gmail.com> wrote: > I am still getting errors even with ra

Re: PowerPC agpmode issues

2016-10-09 Thread Benjamin Herrenschmidt
On Sat, 2016-10-08 at 12:05 -0700, Herminio Hernandez, Jr. wrote: > Performed an apt dist-upgrade and rebooted with agpmode=4 and still > the GPU is failing with errors. Should I proceed to place a bug > report on this? I wouldn't even try to be honest. The HW issues in Apple AGP implementation pr