Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
It was a while since I last tried out a linuxdistro (I had dual boot but didn't really use linux that often anymore :O), but recently I swapped back. I chose to give ubuntu a try.
Everything went nice and smooth, however... after the install I wanted to play a linuxgame (chess in 3d o.o) and for some reason it didn't work. I assumed it were the nvidia drivers and got the latest one from the nvidia website.
Those drivers kinda messed up my display, so I posted a message in the ubuntuforums. The topic died, so I decided to seek for help on this forum.
Please read through the topic so you'll be fully informed about what I HAVE and HAVEN'T tried and what's the current status of the problem... that saves me from typing it all over in here :P
guess your question how to I get my nvidia card to get going. well I have done 2 ways with 8.04.
be online system --> preferencers --> hardware enable non-free hardware sit back and let apt-get do its thing then reboot. drivers installed now go to System->Preference. Click on Desktop Effects and now you can play 3d chesse.
Your other problem My display setting are not right. sudo nvidia-settings save.
if still no 3d sudo nvidia-xorgconf . make sure like in the other forum to edit your xorg .
Quote:
Option "AddARGBGLXVisuals" "True"
Quote:
Option "DamageEvents" "True"
that is the ubuntu way linux I would as root glxgears and see if I had acceleration and rendering if if yes go set my disdlay if no . then hay down load the driver from nvidia and build install it and do the say yes thing to configure your xorg get it working . then enable my 3d desktop. then play chess any way you look at it you are reconfiguring the xorg to load the driver and setting up your display.
guess your question how to I get my nvidia card to get going. well I have done 2 ways with 8.04.
be online system --> preferencers --> hardware enable non-free hardware sit back and let apt-get do its thing then reboot. drivers installed now go to System->Preference. Click on Desktop Effects and now you can play 3d chesse.
Your other problem My display setting are not right. sudo nvidia-settings save.
if still no 3d sudo nvidia-xorgconf . make sure like in the other forum to edit your xorg .
that is the ubuntu way linux I would as root glxgears and see if I had acceleration and rendering if if yes go set my disdlay if no . then hay down load the driver from nvidia and build install it and do the say yes thing to configure your xorg get it working . then enable my 3d desktop. then play chess any way you look at it you are reconfiguring the xorg to load the driver and setting up your display.
I enabled the 177 driver that's in the "restricted driver" dialog and rebooted. The display output still is messy like here
My xorg.conf now looks like this:
Code:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder63) Tue Nov 4 14:07:17 PST 2008
# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# Note that some configuration settings that could be done previously
# in this file, now are automatically configured by the server and settings
# here are ignored.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Module"
Load "glx"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "keyboard"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "Monitor"
Identifier "Configured Monitor"
EndSection
Section "Device"
Identifier "Configured Video Device"
Driver "nvidia"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "Configured Video Device"
Monitor "Configured Monitor"
DefaultDepth 24
Option "UseFBDev" "true"
Option "NoLogo" "True"
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
Option "AddARGBGLXVisuals" "True"
Option "DamageEvents" "True"
EndSubSection
EndSection
And when I tried the glxgears command I got this:
Code:
stefaan@Stefaan-Ubuntu:~$ sudo glxgears
[sudo] password for stefaan:
Xlib: extension "GLX" missing on display ":0.0".
Error: couldn't get an RGB, Double-buffered visual
stefaan@Stefaan-Ubuntu:~$
The nvidia-settings thing says:
Quote:
You do not appear to be running the NVIDIA X driver. Please edit your X configuration file (just run 'nvidia-xconfig' as root) and restart the Xserver.
After doing so, nothing changed.
Any ideas?
Last edited by vegetassj2; 02-07-2009 at 06:04 AM.
yes ubuntu strips that driver and if you look around you will see ubuntu has a nvida glx kernel. I know it is crazy and if you have glx installed separate and install nvidia. it will come back and say no glx. why because it is built in to the nvidia kernel and the glx server is for ati cards and when nvida did it glx check it disabled it form it's kernel. so not to hurt your system. so if you have glx installed uninstall it. theses are the reasons I use linux even when I am on my ubuntu machine. it is all linux I just build my nvidia kernel and install it from source. I like the little nvida splash screen. why do we call it the nvidia kernel it is a small sub system that taint the kernel. as a mater of fact I used slackbuild.org 2.6.27 kernel patch build scripts to build them for mandriva pclinux slackware etc. I build I configure it and I am the one to brake it. My xorg has my monitor configured if you ran sudo nvidia-setting yours would to.
you need to as gui sudo nvidia-setting and save to xorg. if you do not have this program and it will not run right or set up your card you drivers are not there. log out then log in. and by the way you will see that 8,04 very few people got 3d to work do to the libmesa.so link problem ubuntu seems not to fix.
I've lost everyone who posted something to try and help me... I did everything from the start.
First I went with the generic drivers. Everything went fine. Then I activated the restricted driver (system > administration > hardware drivers). It asked me to reboot. I did, and now I have the crappy screen again. All I want is that these videodrivers work like they should... I didn't know it could be this hard >.<
If you need my current xorg.conf file, please enjoy this lap of text:
Quote:
# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# Note that some configuration settings that could be done previously
# in this file, now are automatically configured by the server and settings
# here are ignored.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg
EDIT:
Problem solved!
I reinstalled ubuntu (hooray for dataloss >.<), downloaded the nvidiadrivers from the nvidia website, and for the first time in my whole life, the installer actually did what it was supposed to do, and everything runs fine and smooth now.
Last edited by vegetassj2; 02-24-2009 at 10:45 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.