There still seems to be just one more problem!
If I run X and (let's say) fgl_glxgears as root, no problems.
But as a normal (non-root) user, X crashes on first run with a blank screen, I have to stop it and restart it then it works. But then fgl_glxgears fails as non-root;
BTW I used the slamd64-current kernel.
libGL error: open DRM failed (Operation not permitted)
libGL error: reverting to (slow) indirect rendering
X Error of failed request : GLXBadDrawable
Major opcode of failed request: 144 (GLX)
Minor opcode of failed request: 5 (X_GLXMakeCurrent)
Serial number of failed request: 45
Current serial number in output stream: 45
I don't get the error message as root, and direct rendering works - but only as root!
Ok, I've half solved the one with the fgl_glxgears not working as root with the following:
Though X as non root still fails first time as non-root!
Looks like there's something wrong in dmesg; (look at lines 360 onwards);
And even when X was working, I noticed this:
But I managed to fix that missing file with ' ln -s /usr/X11R6/lib64/modules/dri/fglrx_dri.so /usr/lib64/xorg/modules/dri/fglrx_dri.so !
AIGLX error: dlopen of /usr/lib64/xorg/modules/dri/fglrx_dri.so failed (/usr/lib64/xorg/modules/dri/fglrc_dri.so : cannot open shared object file : no such file or directory)
X Still died on 1st run though as non root.....