Nvidia Problems Newb

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read this

Nvidia Problems Newb

Postby VonBillion on Sat Aug 15, 2009 4:37 pm

Hello,

Fairly new to Linux and am having no luck getting my Nvidia settings configured. Nvidia Xserver settings tells me that I have to run nvidia-xconfig as root, which I have done successfully using "sudo nvidia-xconfig", but then when I restart the system hangs and will not boot. I have to run recovery mode and auto fix graphical problems to get it running again. I do not get sound output, so I don't think it is a refresh rate problem. I am using the recommended 173 driver but have also tried the 180 and results are the same. I do not know if my kernel headers and kernel source are correct; I do not know how to check this (or really what this means), however I have used the synaptic package manager to install the 173 driver and it seems to tell me that it is installing the correct headers at that point as well. Have searched forums and Google and have been at this for some time now without success so any help would be really appreciated.

Thanks much, Jeffrey

System info:

OS: Linux 2.6.28-11-generic i686
System: "Linux Mint 7 Gloria - KDE Community Edition"
KDE: 4.2.4 (KDE 4.2.4
Graphics card: Nvidia Gforce FX5500 AGP

Output of lspci:

00:00.0 Host bridge: Intel Corporation 82875P/E7210 Memory Controller Hub (rev 02)
00:01.0 PCI bridge: Intel Corporation 82875P Processor to AGP Controller (rev 02)
00:06.0 System peripheral: Intel Corporation 82875P/E7210 Processor to I/O Memory Interface (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c2)
00:1f.0 ISA bridge: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801EB (ICH5) SATA Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02)
01:00.0 VGA compatible controller: nVidia Corporation NV34 [GeForce FX 5200] (rev a1)
02:01.0 Communication controller: Conexant Systems, Inc. Device 2702 (rev 01)
02:02.0 Multimedia audio controller: Creative Labs [SB Live! Value] EMU10k1X
02:02.1 Input device controller: Creative Labs [SB Live! Value] Input device controller
02:08.0 Ethernet controller: Intel Corporation 82562EZ 10/100 Ethernet Controller (rev 02)
User avatar
VonBillion
Level 1
Level 1
 
Posts: 4
Joined: Fri Aug 14, 2009 9:03 pm

Linux Mint is funded by ads and donations.
 

Re: Nvidia Problems Newb

Postby lagagnon on Sat Aug 15, 2009 5:58 pm

Boot into recovery mode, drop to a root terminal and type:

inxi -G

and show us the output. From that terminal also try:

sudo dpkg-reconfigure xserver-xorg
User avatar
lagagnon
Level 7
Level 7
 
Posts: 1888
Joined: Wed Jun 17, 2009 7:38 pm
Location: an island in the Pacific...

Re: Nvidia Problems Newb

Postby asdlkj on Sat Aug 15, 2009 6:31 pm

VonBillion wrote:Hello,

Fairly new to Linux and am having no luck getting my Nvidia settings configured. Nvidia Xserver settings tells me that I have to run nvidia-xconfig as root, which I have done successfully using "sudo nvidia-xconfig" (rev 02)


I'm a newb too..
Can you tell me how you were successfull?
i also have a similar problem..
I tryied to run the driver Nvidia but it keeps asking me to run as root..
so i just tried sudo nvidia ... and the result gave me "command not found"
where was ur nvidia-xconfig placed[located] in?
was it on ur desktop?
asdlkj
Level 1
Level 1
 
Posts: 14
Joined: Fri Aug 14, 2009 3:39 pm

Re: Nvidia Problems Newb

Postby VonBillion on Sat Aug 15, 2009 10:31 pm

Thank you for the reply.

Boot into recovery mode, drop to a root terminal and type:

inxi -G


This tells me that the command is not found.

sudo dpkg-reconfigure xserver-xorg


After I do this, when I boot I can log in to a terminal but the GUI will not start. I try running "startx" and the operation fails.

where was ur nvidia-xconfig placed[located] in?
was it on ur desktop?


I'm not sure; at the risk of sounding like a complete newb, I can't find anything other than the manual entry using "whereis nvidia-xconfig", however the description of the command says that the output should be placed in /etc/X11/xorg.conf

I really appreciate the help but I am unfortunately still stuck!
User avatar
VonBillion
Level 1
Level 1
 
Posts: 4
Joined: Fri Aug 14, 2009 9:03 pm

Re: Nvidia Problems Newb

Postby VonBillion on Mon Aug 17, 2009 10:00 pm

I would really appreciate it if someone could please help me troubleshoot my problem. I have provided some additional info below:

The following has been suggested:

Boot into recovery mode, drop to a root terminal and type:

inxi -G


okay...I figured out how to get inxi working. The output of "inxi -G" is:

Graphics: Card nVidia NV34 [GeForce FX 5200] X.Org 1.6.0 Res: 1280x1024@60.0hz
GLX Renderer N/A GLX Version N/A


Also, i have read to ensure that your kernel headers match your version. The output of "uname -r" is "2.6.28-11-generic" , but there are 2 files in /usr/src. One is called "linux-headers-2.6.28-11" and the second is called "linux-headers-2.6.28-11-generic". Do I need both these files and could this be my problem?

before i enter "sudo nvidia-xconfig" my xconfig file looks like:

Section "Device"
Identifier "Configured Video Device"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
EndSection

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

And after it looks like:

Section "Monitor"
Identifier "Configured Monitor"
EndSection

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

Section "Device"
Identifier "Configured Video Device"
Driver "nvidia"
EndSection


I really appreciate any help that can be offered. if there is anything else that I can provide that would help to diagnose this please let me know.

Thank you, Jeff
User avatar
VonBillion
Level 1
Level 1
 
Posts: 4
Joined: Fri Aug 14, 2009 9:03 pm

Re: Nvidia Problems Newb

Postby DrHu on Mon Aug 17, 2009 11:32 pm

VonBillion wrote:OS: Linux 2.6.28-11-generic i686
System: "Linux Mint 7 Gloria - KDE Community Edition"
KDE: 4.2.4 (KDE 4.2.4
Graphics card: Nvidia Gforce FX5500 AGP
Output of lspci:
01:00.0 VGA compatible controller: nVidia Corporation NV34 [GeForce FX 5200] (rev a1)

That's interesting, now the graphic card on your system is different, how come ?
or which is it the nvidia, 5200 or the 5500

That kernel 2.6.28.11 was the initial kernel released by Mint 7, it is now at release kernel 2.6.28.13
in terminal, check
    uname -a
    Linux tux 2.6.28-13-generic #45-Ubuntu SMP Tue Jun 30 19:49:51 UTC 2009 i686 GNU/Linux
--or uname -r for a shorter version of the same data..

Before going any further, I would suggest, in a terminal or via mintupdate
In the terminal
    sudo apt-get update
    sudo apt-get upgrade
--indicate any errors that occur.

Additional in terminal, checks
    inxi -F
    --short list of all the hardware
    glxinfo
    --first few lines of output
    glxinfo
    name of display: :0.0
    display: :0 screen: 0
    direct rendering: Yes
    server glx vendor string: NVIDIA Corporation
    server glx version string: 1.4
User avatar
DrHu
Level 16
Level 16
 
Posts: 6783
Joined: Wed Jun 17, 2009 8:20 pm

Re: Nvidia Problems Newb

Postby VonBillion on Tue Aug 18, 2009 8:56 pm

Hello and thank you for taking the time to reply.

That's interesting, now the graphic card on your system is different, how come ?
or which is it the nvidia, 5200 or the 5500


I apologize... that was my mistake. I definitely have a 128MB GeForce FX5200 card

sudo apt-get upgrade

For whatever reason it "held back" some parts of the update, including kernel headers. I googled around for a bit and found the suggestion to run

sudo apt-get dist-upgrade

which seems to have upgraded me to Kernel 2.6.28-15-generic i686 (32 bit)

Output of inxi -F

System: Host vonbillion-desktop Kernel 2.6.28-15-generic i686 (32 bit) Distro Linux Mint 7 Gloria - KDE Community Edition
CPU: Single core Intel Pentium 4 (UP) cache 512 KB flags (sse2) bmips 5985.4
Clock Speeds: (1) 2992.702 MHz (2) 2992.702 MHz
Graphics: Card nVidia NV34 [GeForce FX 5200] X.Org 1.6.0 Res: 1280x1024@60.0hz
GLX Renderer N/A GLX Version N/A Direct Rendering N/A
Audio: Card Creative Labs [SB Live! Value] EMU10k1X driver EMU10K1X at port df20
Sound: Advanced Linux Sound Architecture Version 1.0.18rc3
Network: Card Intel 82562EZ 10/100 Ethernet Controller driver e100 v: 3.5.23-k6-NAPI at port df40
Disks: HDD Total Size: 1000.2GB (1.8% used) 1: /dev/sda WDC WD1001FALS-0 1000.2GB
Partition: ID:/ size: 915G used: 17G (2%) ID:swap-1 size: 3.08GB used: 0.00GB (0%)
Info: Processes 126 Uptime 1 min Memory 332.5/1002.0MB Client Shell inxi 1.1.13

first few lines of glxinfo

glxinfo
name of display: :0.0
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Error: couldn't find RGB GLX visual or fbconfig

And running "nvidia-xconfig" as root just creates the same problem...wont boot and needs to recover.

Its nice to see helpful people out there...thank you!
User avatar
VonBillion
Level 1
Level 1
 
Posts: 4
Joined: Fri Aug 14, 2009 9:03 pm

Re: Nvidia Problems Newb

Postby DrHu on Tue Aug 18, 2009 11:21 pm

VonBillion wrote:And running "nvidia-xconfig" as root just creates the same problem...wont boot and needs to recover

I always use nvidia-settings to setup the /etc/X11/xorg.conf file
--the second question then becomes, which nvidia driver do you need to use ?, the one suggested by the OS or some other version

I would probably delete the /etc/X11/xorg.conf file
    sudo mv /etc/X11/xorg.conf /etc/X11/xorg.sav
    sudo rm -f /etc/X11/xorg.conf
    reboot the system

In terminal, check
    lsmod |grep nv
    nvidia 7233756 26
    agpgart 42696 1 nvidia
sudo apt-get dist-upgrade might or might not be a good idea, you usually don't have to go beyond the latest kernel version included within the distribution (Mint)

In a terminal, check
    uname -r
    locate linux-headers-2.6.28-13-generic
    --this should be the kernel name that you get from the first command (uname -r)
https://help.ubuntu.com/community/Kernel/Compile
You now might also have to obtain the kernel headers for the kernel you have updated to
2.6.28.15-Generic
    ls /usr/src/linux-headers-2.6.28-13-generic/
    arch drivers init lib net sound
    block firmware ipc Makefile samples ubuntu
    crypto fs Kbuild mm scripts usr
    Documentation include kernel Module.symvers security
--you should have something in /usr/src..

http://packages.ubuntu.com/dapper/build-essential
It is a good idea to also install the build-essential list, although it is likely already enabled since you were able to update the kernel
In terminal, check
    apt search build-essential
    i A build-essential - Informational list of build-essential pack
User avatar
DrHu
Level 16
Level 16
 
Posts: 6783
Joined: Wed Jun 17, 2009 8:20 pm

Linux Mint is funded by ads and donations.
 

Return to Newbie Questions

Who is online

Users browsing this forum: Barry87, Google Adsense [Bot] and 25 guests