Does anyone know where the DISPLAY variable for Xorg gets set? KDM may be doing this to me, as well. I'm just not sure yet.
A recent upgrade of Kubuntu to 7.10 has changed something so that when you log in via KDM, and get to your desktop, the display is running on DISPLAY=:1.0. It should be DISPLAY=:0.0
Because of that, the GLX server drops to software rendering.
- Code: Select all
direct rendering: No
server glx vendor string: SGI
server glx version string: 1.2
If I drop to a console login, and add the following to my .xinitrc file,
- Code: Select all
export DISPLAY=:0.0
startkde
and then start X, everything works as it should.
- Code: Select all
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.4
This only affects the GLX server and not the GLX client.
I have looked at the files in /etc/X11/, but I can't seem to find anything that actually gets set there. I'm off to further explore how this works. I need to find an updated book on Xorg.
Just be aware if you upgrade Ubuntu/Kubuntu to 7.10 from an existing installation, you may break your 3D-accelerated video.
I'll post any resolution should I find one.