I think this could be related to what I was experiencing for GLX over network.
Running any GLX application over network was horribly slow. I then found out that running GLX application over network loopback on the same machine was event slow. Ie i tested the following.
DISPLAY=localhost:0.0 LIBGL_ALWAYS_INDIRECT=1 xbmc
vs
DISPLAY=:0.0 LIBGL_ALWAYS_INDIRECT=1 xbmc
where xbmc being XBMC Media Center is a opengl application. The first test gave a fps of 10, while the second a fps 40 on my hardware. After some pondering i thought about the nagle algorithm.
After modifying libxcb to disable the nagle algorthim, the above two commands rendered at about the same speed of 40fps.
I think this could be related to what I was experiencing for GLX over network.
Running any GLX application over network was horribly slow. I then found out that running GLX application over network loopback on the same machine was event slow. Ie i tested the following.
DISPLAY= localhost: 0.0 LIBGL_ALWAYS_ INDIRECT= 1 xbmc INDIRECT= 1 xbmc
vs
DISPLAY=:0.0 LIBGL_ALWAYS_
where xbmc being XBMC Media Center is a opengl application. The first test gave a fps of 10, while the second a fps 40 on my hardware. After some pondering i thought about the nagle algorithm.
After modifying libxcb to disable the nagle algorthim, the above two commands rendered at about the same speed of 40fps.
I'll attach a diff.