Re: DRM/DRI accelerated (3D) graphics?
Thanks again for the troubleshooting and patches. I applied your patch
to my Gentoo (just trying it out I swear!) 2.6.39 system, compiled with
KMS on by default on my zx6000 / RV610 (Radeon HD2400) system. I was
greeted by a black (dead) screen in the text console and a gray non
response screen in X. However a little more research and I found I was
missing the Radeon firmware for my card, got that installed and its
working! Accelerated Desktop, let alone 3D is so much nicer looking and
I did notice this error in dmesg, but its still working fine as above:
[drm:radeon_agp_init] *ERROR* Unable to acquire AGP: -19
[drm] Forcing AGP to PCIE mode
I put in a module option in the radeon-kms.conf file to force AGP to 4x
and it didnt seem to make any difference. I dont know if this is
affecting the system in a negative way anyhow, though my HD2400 only
manages 500fps in glxgears. I did have a R300 card but I think its
physically broken (zx6000 does the beeping and all lights flashing error
frequently with it in).
Food for thought anyhow!
On 23/08/11 21:14, Émeric Maschino wrote:
Huh, I just forgot about an important thing in my previous message!
KMS, even with current kernel, still complains about AGP bind memory
problem. (As a result?) GPU acceleration is disabled and AGP mode
forced to PCI.
This issue has been fixed in agp/amd-k7 for the AMD platform. I've
simply adapted this patch for the zx1-derivatives and the problem
seems to go away (see
http://marc.info/?l=linux-ia64&m=130263778331960&w=2 for details). I
never got any feedback on this patch port, so I don't know (i) if it's
correct and (ii) if it really enables back GPU acceleration or simply
get rid off the error messages! Indeed, with or without this patch
applied to kernel source, glxgears still reports extremely low ~85 FPS
Great news! I just repost the above patch
(http://marc.info/?l=linux-ia64&m=131412890819311&w=2) and it should
be merged into mainstream by Tony Luck.
I forgot (once again!) one important thing: I was running glxgears
synchronized to the vertical refresh, hence the mere 85 FPS in
average. Running glxgears not synchronized to the screen refresh, I'm
now getting 1700 FPS! With such "high" framerate, GPU acceleration is
probably running fine :-)