<div dir="ltr"><div class="gmail_extra"><div class="gmail_extra">Hi. </div><div class="gmail_extra">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.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Upon initial investigation i could not initially believe agp could be this this broken for this long, until i found this.</div><div class="gmail_extra"><div class="gmail_extra"> "committed with Ben Skeggs on Feb 26, 2013"</div><div class="gmail_extra"><a href="https://github.com/DespairFactor/bullhead/commit/650e1203c11354ba84d69ba445abc0efcfe3890a">https://github.com/DespairFactor/bullhead/commit/650e1203c11354ba84d69ba445abc0efcfe3890a</a></div></div><div class="gmail_extra"><a href="http://lxr.free-electrons.com/source/drivers/gpu/drm/nouveau/nouveau_agp.c?v=4.2">http://lxr.free-electrons.com/source/drivers/gpu/drm/nouveau/nouveau_agp.c?v=4.2</a></div><div class="gmail_extra">#ifdef __powerpc__</div><div class="gmail_extra"><span class="" style="white-space:pre">           </span>/* Disable AGP by default on all PowerPC machines for</div><div class="gmail_extra"><span class="" style="white-space:pre">                </span> * now -- At least some UniNorth-2 AGP bridges are</div><div class="gmail_extra"><span class="" style="white-space:pre">           </span> * known to be broken: DMA from the host to the card</div><div class="gmail_extra"><span class="" style="white-space:pre">         </span> * works just fine, but writeback from the card to the</div><div class="gmail_extra"><span class="" style="white-space:pre">               </span> * host goes straight to memory untranslated bypassing</div><div class="gmail_extra"><span class="" style="white-space:pre">               </span> * the GATT somehow, making them quite painful to deal</div><div class="gmail_extra"><span class="" style="white-space:pre">               </span> * with...</div><div class="gmail_extra"><span class="" style="white-space:pre">           </span> */</div><div class="gmail_extra"><span class="" style="white-space:pre">          </span>if (nouveau_agpmode == -1)</div><div class="gmail_extra"><span class="" style="white-space:pre">                   </span>return false;</div><div class="gmail_extra">#endif</div><div class="gmail_extra"> </div><div class="gmail_extra"> and now later this: </div><div class="gmail_extra"><a href="https://github.com/torvalds/linux/blob/master/drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.c">https://github.com/torvalds/linux/blob/master/drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.c</a></div><div class="gmail_extra">#ifdef __powerpc__</div><div class="gmail_extra"><span class="" style="white-space:pre">   </span>/* Disable AGP by default on all PowerPC machines for now -- At</div><div class="gmail_extra"><span class="" style="white-space:pre">      </span> * least some UniNorth-2 AGP bridges are known to be broken:</div><div class="gmail_extra"><span class="" style="white-space:pre"> </span> * DMA from the host to the card works just fine, but writeback</div><div class="gmail_extra"><span class="" style="white-space:pre">      </span> * from the card to the host goes straight to memory</div><div class="gmail_extra"><span class="" style="white-space:pre"> </span> * untranslated bypassing that GATT somehow, making them quite</div><div class="gmail_extra"><span class="" style="white-space:pre">       </span> * painful to deal with...</div><div class="gmail_extra"><span class="" style="white-space:pre">   </span> */</div><div class="gmail_extra"><span class="" style="white-space:pre">  </span>mode = 0;</div><div class="gmail_extra">#endif</div><div class="gmail_extra"><br></div><div class="gmail_extra">All seems to point to serious issues had around the time of change to ums to kms and a serious regression hitting the linux kernel? No?</div><div class="gmail_extra"><br></div><div class="gmail_extra">Cheers</div><div class="gmail_extra">-Mike</div></div></div>