Also, in order to at least disable XGL in order to make my gui run smoother
... use the vesa driver instead for this.
Now in UBUNTU 7.10 I log into XGL sessions and the GUI lags.
Why are you using XGL? You should be using AIGLX.
I see you have a thread in ubuntuforums
From the look of things there, you have been getting very confused. If you really have XGL installed at all, you need to remove it completely. Then you can
Screen resolution thing suggests you need the 915resolution package.
But... why would you go to the trouble installing XGL in the first place? Could it be that you were following that thread
you referenced in your post, where the solution was to install xgl ...
That thread is also confused: ashkev claimed good results by installing glx, but later, sumsar claims that disabling xgl was the way to go. dkarnows asserts that uninstalling
glx was the way to go.
markballerman posted his experiences - he had your exact symptoms with glx. His solution was to do a fresh install. Others in the thread report that uninstalling X and then reinstalling also fixes the issue.
So it is back to what I was telling you: completely remove glx. You shouldn't have installed it in the first place. It is possible that there are now too many fiddles in your config to troubleshoot successfully from a distance like this...