The issue is this. Upon logging on, the client is OK for a coupel of seconds, then it gets _really_ slow, and spits out
fglX11AllocateManagedSurface: __FGLTexMgrAllocMem failed!!
over an dover again. What happens next is the really weird part. Under some circumstances it gets better almost right away, but it will go bad once I visit something with lots of polygons (or textures?).
Usually, after about 5 minutes of a stuttering client, the problem goes away completely and never comes back until I restart or reinit the display (e.g. switch to fullscreen).
I don't think this is the shared mem permission problem for the following reasons:
1) There's not problems with permissions of /dev/shm by ls -l
2) The client can create its file in there just fine
3) No other xclient shows the same problem
4) It shouldn't get better after a while if it were.
I had thought that the 1.13 version fixed this, but I think the test grid wasn't busy enough to show the problem. I suspected a hardware problem, since I was having artifacts in windows, but a driver upgrade fixed that issue. I've put on a few hours in windows without problems.
Other things I noticed. If I turn on FSAA it seems to never get better. It seems to get faster if the window is small. This is a bit annoying since recently resizing the window from small to large gives sig11. At one point I did an strace on the binary when it was emitting thos messages and saw this:
ioctl(16, 0x4008642b, 0xbfdd66b0) = 0
ioctl(16, 0x4008642a, 0xbfdd65e

ioctl(16, 0xc0146440, 0xbfdd6530) = -1 ENOMEM (Cannot allocate memory)
ioctl(16, 0xc0146440, 0xbfdd6530) = -1 ENOMEM (Cannot allocate memory)
0xc0146440 looks to me like it corresponds to the DRM_RADEON_CP_INIT ioctl.
I don't know if y'all are trying to run some special ATI texture command directly or if it's from within ATI's hacked up opengl driver.
Other info:
It's an IBM t43p with a 2GHZ P4 M with 1GB of RAM.
Distro is fedora core 6, but I also tried briefly under Ubuntu Dapper with an older kernel/ fglrx driver- same results.
I tried disabling all of the opengl extensions and tried with and without
"KernelModuleParm" "locked-userpages=0"
(many times fwiw

None of these driver tweaks seem to have any effect.