<div dir="ltr">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 situation to then perhaps a recommendation to use a BSD derived system on everything other then x86 ought be the recommended not more hacky crippling workarounds, this is turning into a hackjob resembling the 90's already, just to get to anything remotely functional. Might as well deprecate the entire AGP system </div><div class="gmail_extra"><br><div class="gmail_quote">On 8 February 2016 at 12:41, Boris Reinhard <span dir="ltr"><<a href="mailto:reinhard.boris@googlemail.com" target="_blank">reinhard.boris@googlemail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Definitely would have made sense for years, but could someone possibly look into a proper solution?<div><br><div class="gmail_quote"><div><div class="h5"><div dir="ltr">Michel Dänzer <<a href="mailto:michel@daenzer.net" target="_blank">michel@daenzer.net</a>> schrieb am Mo., 8. Feb. 2016 11:00:<br></div></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">On 05.02.2016 11:47, Mike wrote:<br>
> Hi.<br>
> Managed to get the Radeon R300 running on mesa 11.1.1 with an old 2013<br>
> patch from Michel Dànzer, next problem is of course enabling agpmode,<br>
> running with pci-mode with radeon.agpmode=-1 works, but is of course<br>
> slow, and seems to load the cpu a lot.<br>
><br>
> Upon initial investigation i could not initially believe agp could be<br>
> this this broken for this long, until i found this.<br>
>  "committed with Ben Skeggs on Feb 26, 2013"<br>
> <a href="https://github.com/DespairFactor/bullhead/commit/650e1203c11354ba84d69ba445abc0efcfe3890a" rel="noreferrer" target="_blank">https://github.com/DespairFactor/bullhead/commit/650e1203c11354ba84d69ba445abc0efcfe3890a</a><br>
> <a href="http://lxr.free-electrons.com/source/drivers/gpu/drm/nouveau/nouveau_agp.c?v=4.2" rel="noreferrer" target="_blank">http://lxr.free-electrons.com/source/drivers/gpu/drm/nouveau/nouveau_agp.c?v=4.2</a><br>
> #ifdef __powerpc__<br>
> /* Disable AGP by default on all PowerPC machines for<br>
> * now -- At least some UniNorth-2 AGP bridges are<br>
> * known to be broken: DMA from the host to the card<br>
> * works just fine, but writeback from the card to the<br>
> * host goes straight to memory untranslated bypassing<br>
> * the GATT somehow, making them quite painful to deal<br>
> * with...<br>
> */<br>
> if (nouveau_agpmode == -1)<br>
> return false;<br>
> #endif<br>
><br>
>  and now later this:<br>
> <a href="https://github.com/torvalds/linux/blob/master/drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.c" rel="noreferrer" target="_blank">https://github.com/torvalds/linux/blob/master/drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.c</a><br>
> #ifdef __powerpc__<br>
> /* Disable AGP by default on all PowerPC machines for now -- At<br>
> * least some UniNorth-2 AGP bridges are known to be broken:<br>
> * DMA from the host to the card works just fine, but writeback<br>
> * from the card to the host goes straight to memory<br>
> * untranslated bypassing that GATT somehow, making them quite<br>
> * painful to deal with...<br>
> */<br>
> mode = 0;<br>
> #endif<br>
><br>
> All seems to point to serious issues had around the time of change to<br>
> ums to kms and a serious regression hitting the linux kernel? No?<br>
<br>
Not really. UMS was just using a static GART mapping, whereas KMS is<br>
dynamically binding pages into the GART as needed. Apparently, older<br>
revisions of UniNorth have trouble with the latter. I think it would<br>
make sense to change radeon.agpmode to default to -1 on powerpc as well.<br>
Any takers?<br>
<br>
<br>
--<br>
Earthling Michel Dänzer               |               <a href="http://www.amd.com" rel="noreferrer" target="_blank">http://www.amd.com</a><br>
Libre software enthusiast             |             Mesa and X developer<br></div></div><span class="">
_______________________________________________<br>
Linuxppc-dev mailing list<br>
<a href="mailto:Linuxppc-dev@lists.ozlabs.org" target="_blank">Linuxppc-dev@lists.ozlabs.org</a><br>
<a href="https://lists.ozlabs.org/listinfo/linuxppc-dev" rel="noreferrer" target="_blank">https://lists.ozlabs.org/listinfo/linuxppc-dev</a></span></blockquote></div></div>
</blockquote></div><br></div>