Kubuntu GLX Problem / Xorg DISPLAY Variable

General questions regarding Linux.

Moderators: Terry, FWLUG Administrator

Kubuntu GLX Problem / Xorg DISPLAY Variable

Postby Randy » Thu Nov 22, 2007 7:44 am

Here's one to make your brain hurt...

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.
-- Randy
User avatar
Randy
Site Admin
 
Posts: 351
Joined: Mon Feb 13, 2006 9:45 pm
Location: Fort Worth, Texas

Postby Randy » Thu Nov 22, 2007 9:22 am

Follow-up:

Turns out that Xgl is added during the upgrade. For whatever reason, it thinks DISPLAY=:1.0. I played with some of the options in the scripts, but never really got anywhere doing that.

So, I ended up doing `apt-get remove xserver-xgl` and everything is back to normal.

However, if you want Compiz to work, you will probably need this package. Since I'm not going to be using Compiz on this machine, that is my solution. :)

Have a great Thanksgiving, everyone!
-- Randy
User avatar
Randy
Site Admin
 
Posts: 351
Joined: Mon Feb 13, 2006 9:45 pm
Location: Fort Worth, Texas

Remember!

Postby Davemon » Fri Nov 23, 2007 5:21 am

2008 is the year of the Linux desktop. It's only 2007. :)


I had Terry come over and do an install of Slackware on a system. Mandriva, Kubuntu, and some others wouldn't see the PCI video card. Something in Slackware works better.


Sigh... Still some issues with Linux and video.



Davemon
User avatar
Davemon
 
Posts: 247
Joined: Sat Feb 10, 2007 2:42 pm


Return to FWLUG General Discussions

Who is online

Users browsing this forum: No registered users and 16 guests

cron