LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-18-2009, 11:41 AM   #1
invisibleman
LQ Newbie
 
Registered: Feb 2006
Posts: 4

Rep: Reputation: 0
Unable to load NVIDIA drivers or change monitor resolution Ubuntu 8.10


Have been having a difficult time trying to get Ubuntu 8.10 to work with my NVIDIA card. I've scoured forums, tried several things and not much luck.

Upon boot, I get:
Failed to initialize the NVIDIA graphics device PCI:0:5:0
Screens founds, but none have a usable configuration

Distro: Ubuntu 8.10
Kernel: 2.6.27-9-generic
Video Card: 00:05.0 VGA compatible controller: nVidia Corporation C51 [GeForce 6150 LE] (rev a2)
Driver: nvidia-glx-180

I've tried versions 71, 96, 173, 177, 180 all with no success. I've tried installing with Restricted Drivers Manager, envyg, manually, all with no success.

Please help!
 
Old 01-19-2009, 03:57 AM   #2
rylan76
Senior Member
 
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,552

Rep: Reputation: 103Reputation: 103
It sounds as if you have a xorg.conf error. Take a look at the x.org site for alternative x.org configs, or post on a x.org forum.

Also, what driver are you using? You can also see if you can post your xorg.conf along with your problem statement - I suspect you can fix this by editing your xorg.conf to contain different settings - not sure exactly what (it depends on your specific issue) but if you post your xorg.conf here guys with more X experience should be able to help you directly...
 
Old 01-19-2009, 08:11 AM   #3
invisibleman
LQ Newbie
 
Registered: Feb 2006
Posts: 4

Original Poster
Rep: Reputation: 0
I am currently on driver v180. I've tried all the drivers available w/in synaptic with no success. Here's a copy of /etc/X11/xorg.conf

# 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 "Monitor"
Identifier "Configured Monitor"
EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
DefaultDepth 24
EndSection

Section "Module"
Load "glx"
EndSection

Section "Device"
Identifier "Configured Video Device"
Driver "nvidia"
Option "NoLogo" "True"
EndSection
 
Old 01-20-2009, 12:27 AM   #4
rylan76
Senior Member
 
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,552

Rep: Reputation: 103Reputation: 103
Hmm - I'm using an old AGP 6800GT, and it works 100% - here's my /etc/X11/xorg.conf (I'm on Fedora Core 6 with a 2.6.18.1 kernel):

Code:
Section "ServerLayout"
        Identifier     "Default Layout"
        Screen      0  "Screen0" 0 0
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option      "XkbModel" "pc105"
        Option      "XkbLayout" "us"
EndSection

Section "Device"
        Identifier  "Videocard0"
        Driver      "nv"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Videocard0"
        DefaultDepth    16
        SubSection "Display"
                Viewport   0 0
                Depth     16
        EndSubSection
EndSection
Some notable differences with yours, if you'll look closely... you are using the nvidia driver, I'm using the native X.org "nv" driver. My "screen" section looks a bit different too - maybe you can try adapting yours? Could possibly be that section - seeing that the error message you get is
Quote:
Failed to initialize the NVIDIA graphics device PCI:0:5:0
Screens founds, but none have a usable configuration
Also, try different color depths (valid values should be 8, 16, 24 and 32) - I once had a trident card that wouldn't work at any depth except 24 - other depths just put all these weird lines on the screen whenever I tried to get into X.

Furthermore - "synaptic" is an auto-package management thingy for Ubuntu, right? I've seen lots of posts with people having extreme difficulties with package-managing an update to their Nvidia provided drivers. The Nvidia driver is completely dependant on the kernel being compatible with it. Without a package manager (i. e. if you do the update manually) you compile the Nvidia driver against the running kernel's source. Then (usually) you have no problems. I. e. what could have happened with you is that synaptic got an incompatible nvidia driver version for the kernel you are running. If this is the case, you have two options:

1. Update the kernel (with synaptic, or whatever) to match the version the synaptic'ed nvidia driver was built for.

2. Get the Nvidia driver yourself and compile it against your kernel. (Note, you will most likely need the kernel source and you'll have to "point" the Nvidia driver to this source)

This is EXACTLY why I try to avoid package managers - you never know exactly what the bloody thing is going to change and do, and breakdowns (especially when trying to upgrade Nvidia drivers) seem much too common. Its too much like Windows - little black boxes that plug and pray, and often (surprise!) they don't work right.

Hope this helps...

Last edited by rylan76; 01-20-2009 at 12:39 AM.
 
Old 01-21-2009, 10:01 PM   #5
tyggna
LQ Newbie
 
Registered: Jul 2007
Posts: 14

Rep: Reputation: 0
you could use the Ubuntu catch-all fix for xorg problems. This'll fix it if it worked right after installing it:

Code:
sudo dpkg-reconfigure xserver-xorg
The other thing to try is to stop fighting it and let nvidia do its thing

Code:
sudo nvidia-xconfig
If it's an xorg problem, one of those is likely to fix it. I'd put more faith in the latter command, personally.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to modify monitor resolution sfzab SUSE / openSUSE 1 06-18-2007 02:12 PM
Unable to change monitor resolution in Debian adityavpratap Debian 1 10-04-2005 10:25 AM
Unable to Increase Monitor Resolution latino Linux - Hardware 4 02-21-2005 06:26 PM
Another monitor resolution change issue Shentar Linux - Newbie 4 02-18-2005 09:24 AM
New Monitor? Need to change Resolution Options marct1974 Linux - Hardware 1 04-03-2004 09:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration