LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 10-04-2006, 01:20 PM   #1
nflenz
Member
 
Registered: Feb 2006
Distribution: CRUX 2.4
Posts: 96

Rep: Reputation: 18
x.org doesn't work with nvidia driver


I installed the drivers the debian way:

update-pciids
apt-get install module-assistant
m-a prepare
m-a a-i nvidia
apt-get install nvidia-glx nvidia-settings
modprobe nvidia
echo nvidia >> /etc/modules
dpkg-reconfigure xserver-xorg #changed driver from nv to nvidia

When I run x.org my screen turns black and I can't do anything. I try to return to CLI with Ctl-Alt-F1, but that won't even work. I can use x by switching back to the nv driver, but I can't play bzflag with that.
 
Old 10-04-2006, 01:26 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
I had to just use the nvidia installer in etch as both the m-a method and the aptitude install method failed (both appeared to load, but xorg wouldn't start).

The nvidia installer seems to work, although I'm using Etch and there's no nvidia-glx package currently in the repos, so I can't run glxgears or the like to verify...
 
Old 10-04-2006, 01:30 PM   #3
nflenz
Member
 
Registered: Feb 2006
Distribution: CRUX 2.4
Posts: 96

Original Poster
Rep: Reputation: 18
Well, I'll use the official installer if no one has a solution, but the debian developers seem to discourage this for some reason.
 
Old 10-04-2006, 01:41 PM   #4
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
Yeah, I've seen they do, and I think it's related to where the nvidia installer puts stuff after installation. There's an argument you feed the installer to make it install modules in the normal debian place. I think it's something like sh NVIDIA-blah blah --x-module-path=/usr/lib/xorg/modules/ or the like...
 
Old 10-04-2006, 01:43 PM   #5
Volhv
Member
 
Registered: Sep 2006
Distribution: Debian 4.0 and Ubuntu 7.04
Posts: 50

Rep: Reputation: 15
nvidia installer works just fine
 
Old 10-04-2006, 01:45 PM   #6
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
http://tuxedup.wordpress.com/2006/06...g-70-problems/
 
Old 10-04-2006, 02:43 PM   #7
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,886
Blog Entries: 28

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
Another great reason why I love Kanotix. Installing Nvidia drivers is as simple as running install-nvidia-debian.sh

Host/Kernel/OS "KanotixBox" running Linux 2.6.18-slh-up-2 i686 [ Kanotix 2006 Easter ]
CPU Info AMD Duron 64 KB cache flags( - ) clocked at [ 1800.144 MHz ]
Videocard nVidia NV34 [GeForce FX 5500] X.Org 7.1.1 [ 1024x768 @75hz ]
Network cards Silicon Integrated Systems [SiS] SiS900 PCI Fast Ethernet, at port: e400
GLX Renderer GeForce FX 5500/AGP/SSE/3DNOW! | GLX Version 2.0.2 NVIDIA 87.74 | Client Shell wrapper | Infobash v2.50rc21
 
Old 10-04-2006, 03:18 PM   #8
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
Quote:
Originally Posted by pljvaldez
The nvidia installer seems to work, although I'm using Etch and there's no nvidia-glx package currently in the repos, so I can't run glxgears or the like to verify...
Just stumbled across that I need to install the mesa-utils package for glxgears...
 
Old 10-04-2006, 11:30 PM   #9
nflenz
Member
 
Registered: Feb 2006
Distribution: CRUX 2.4
Posts: 96

Original Poster
Rep: Reputation: 18
Well, I used the nvidia installer and it seems to have added to my problems. I have the same issues with the screen turning black and me losing the computer, but now I can't start X.org with the nv driver and I can't access the internet anymore. Any solutions?
 
Old 10-04-2006, 11:34 PM   #10
JackieBrown
Member
 
Registered: Dec 2004
Location: San Antonio, TX
Distribution: Debian-AMD64 Sid
Posts: 481

Rep: Reputation: 31
After using the module assisant you need to install nvidia-glx

Then modprode it.

The module assisant just helps with the kernel stuff.
 
Old 10-04-2006, 11:45 PM   #11
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
Quote:
Then modprode it
I would do that from Single User mode, and while I'm in there use vim to make sure the xorg.conf file is set to nvidia, as opposed to nv

My experience is with ati, tho
 
Old 10-04-2006, 11:49 PM   #12
JackieBrown
Member
 
Registered: Dec 2004
Location: San Antonio, TX
Distribution: Debian-AMD64 Sid
Posts: 481

Rep: Reputation: 31
Yeah, except I am more of a nano user. I get lost in vim
 
Old 10-04-2006, 11:50 PM   #13
nflenz
Member
 
Registered: Feb 2006
Distribution: CRUX 2.4
Posts: 96

Original Poster
Rep: Reputation: 18
Waht commands do I use for module assistant?
 
Old 10-05-2006, 12:44 AM   #14
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally Posted by nflenz
Waht commands do I use for module assistant?
You already used the proper commands for the module-assistant. Look at your xorg.cong in the modules section and make sure that your reconfigure of the xserver-xorg commented out the Load "dri" line like this and included the Load "glx".

Code:
Section "Module"
        Load    "bitmap"
        Load    "dbe"
        Load    "ddc"
#       Load    "dri"
        Load    "extmod"
        Load    "freetype"
        Load    "glx"
        Load    "int10"
        Load    "record"
        Load    "type1"
        Load    "vbe"
        Load    "xtrap"
EndSection
If the GLCore is there make sure that is commented out as well. Now if these are then start with nvidia for the driver let it fail now when you reboot use the recovery option and copy the /var/log/Xorg.0.log file to a backup then change back to the nv in the X file. Now once booted post the backed up copy of the file it is rather big so put it into two posts and while your posting include the xorg.conf that you are using. In addition the output of this command would be nice to see as well.

Code:
>$ COLUMNS=125 dpkg -l | grep nvidia
ii  nvidia-glx                1.0.9625-1                NVIDIA binary XFree86 4.x driver
ii  nvidia-glx-dev            1.0.9625-1                NVIDIA binary XFree86 4.x / Xorg driver development files
ii  nvidia-kernel-2.6.18-ck1- 1.0.9625-1+2.6.18-ck1-smp NVIDIA binary kernel module for Linux 2.6.18-ck1-smp
ii  nvidia-kernel-common      20051028+1                NVIDIA binary kernel module common files
ii  nvidia-kernel-source      1.0.9625-1                NVIDIA binary kernel module source
ii  nvidia-settings           1.0+20060516-1            Tool of configuring the NVIDIA graphics driver
You should see similar for your version of the driver installed and if using the 9625 then make sure that nothing is loading the eeprom module or it will not start.

Last edited by HappyTux; 10-05-2006 at 12:45 AM.
 
Old 10-05-2006, 08:04 AM   #15
JackieBrown
Member
 
Registered: Dec 2004
Location: San Antonio, TX
Distribution: Debian-AMD64 Sid
Posts: 481

Rep: Reputation: 31
Quote:
Originally Posted by nflenz
Waht commands do I use for module assistant?
module-assistant
 
  


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
Nvidia driver won't work... Chikne Slackware 7 07-31-2006 09:04 PM
Does the new nVidia driver actually work for anyone? YodaCows Linux - Hardware 2 04-14-2006 05:43 PM
Nvidia FX 5200 driver trouble with x.org 6.8.2 and 2.6.13.2 somedude Linux - Software 9 10-06-2005 06:21 PM
ATI driver update for SUSE LINUX 9.2..NVIDIA Installer HOWTO... RPM packages of X.Org coolbreeze7000 SUSE / openSUSE 17 02-08-2005 04:50 PM
nvidia driver doesn't work valueduser Mandriva 21 10-30-2003 09:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 11:44 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