I've been having some general GUI instabilities running Gnome under CentOS 5.2 and I have never been able to track down the root cause. Recently, I found out about xrestop and decided to try it. Unfortunately, on most systems, xrestop was failing with the following error message:
xrestop: XResQueryExtension failed. Display Missing XRes extension ?
On the systems were xrestop was failing, the following lines were in the xorg.conf file:
After commenting out the loading of the glx module and restarting the X server, I was able to run xrestop. Then I decided to upgrade to the latest NVIDIA driver, and when I installed the driver, the xorg.conf file was modified to load the glx module again. I also noticed the following difference in the number of extensions loaded in the output of xdpyinfo with (15) and without (32) the glx module loaded:
number of extensions: 15 | number of extensions: 32
So my questions are:
- Why is the NVIDIA installer adding the Load "glx" to the xorg.conf file and is there a way to tell the installer not to do so?
- What is this glx module?
- Why does loading the glx module cause xrestop to fail (i.e., why is the X-Resource extension not loaded)?
- Why are there less extensions available when the glx module is loaded in the xorg.conf file (15 vs. 32)?
- Is the GLX extension related to the glx module? If so, why is it loaded in both cases?
I don't usually monitor these forums, but one of the recent threads mentioned disabling the glx module to avoid a memory leak. I'm hoping that disabling it will also fix my various instabilities.