LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-19-2005, 03:12 AM   #1
davej
LQ Newbie
 
Registered: Mar 2005
Posts: 12

Rep: Reputation: 0
nvidia install


Hi,

I have just installed sarge and couldn't get over 800 x 600 in either gnome or kde. So I went to the irc channel debian and asked the question and got told that I needed to install the nvidia drivers. Ok, saw the link here and downloaded the run file. Problem is that it won't let me complete an install because the xserver is still running, ok I thought, using my old Unix skills I did an su root and then an init S - then the installer complained about being in single user mode! Frustration building How can I stop the xserver starting? I assume it is something in the inittab - what runlevel doesn't have the xserver?

thanks

davej
 
Old 03-19-2005, 03:24 AM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Code:
#/etc/init.d/gdm stop
This will get you into a console mode and you can install the drivers. If you are not using gdm just substitute it with the name of the login manager you are using. When you are finished installing the drivers and configuring your graphics card, as root do
Code:
#/etc/init.d/gdm start
to restart your login manager.
 
Old 03-19-2005, 03:31 AM   #3
davej
LQ Newbie
 
Registered: Mar 2005
Posts: 12

Original Poster
Rep: Reputation: 0
ok - got the gdm stopped - now I get a message that the installer is unable to find the kernel source tree for the currently running kernel.

How do I get one of those? I did an install of a downloaded ISO - single disk.
 
Old 03-19-2005, 04:10 AM   #4
RiSK
LQ Newbie
 
Registered: Feb 2005
Location: Serbia
Distribution: Debian
Posts: 16

Rep: Reputation: 0
Ok, never, but never run linux without installed kernel sources, or at least kernel sources' headers. You can install it with

# atp-get install kernel-headers-version_number

Replace version_number with correct version of your kernel headers. It's the same thing that is wroten after kernel-image package that you have installed.
 
Old 03-19-2005, 04:41 AM   #5
davej
LQ Newbie
 
Registered: Mar 2005
Posts: 12

Original Poster
Rep: Reputation: 0
ok ta. The last Unix I installed came on about a dozen diskettes labelled N1, N2 etc

ummm atp should be apt I think

Last edited by davej; 03-19-2005 at 04:47 AM.
 
Old 03-19-2005, 05:22 AM   #6
davej
LQ Newbie
 
Registered: Mar 2005
Posts: 12

Original Poster
Rep: Reputation: 0
hmmm, ok did all that, installed the nvidia driver, made the changes to XF86Config-4 but startx didn't. So I changed the nvidia back to nv and added 1024x768 to all the screen references and voila - I have 1024x768 - not sure why the nvidia driver didn't work though.

Thanks to all that helped
 
Old 03-19-2005, 05:28 AM   #7
short101
Member
 
Registered: May 2004
Location: Aust.
Distribution: Debian
Posts: 424

Rep: Reputation: 30
Quote:
Ok, never, but never run linux without installed kernel sources, or at least kernel sources' headers.
Would you mind saying why. I have never heard anything about it.
 
Old 03-19-2005, 06:37 AM   #8
geek_to_core
LQ Newbie
 
Registered: Mar 2005
Location: INDIA
Distribution: Fedora Core 3
Posts: 11

Rep: Reputation: 0
Quote:
Originally posted by RiSK
Ok, never, but never run linux without installed kernel sources, or at least kernel sources' headers. You can install it with
I didn't got the point behind that
Kindly enlighten as to why kernel SOURCES are so compulsorily needed?

thanks
 
Old 03-19-2005, 06:58 AM   #9
uberNUT69
Member
 
Registered: Jan 2005
Location: Tasmania
Distribution: Xen Debian Lenny/Sid
Posts: 578

Rep: Reputation: 30
deb http://people.debian.org/~rdonald/nvidia modules-unstable/i386/
 
Old 03-19-2005, 05:52 PM   #10
davej
LQ Newbie
 
Registered: Mar 2005
Posts: 12

Original Poster
Rep: Reputation: 0
Ok the solution - well for me anyway, this may or may not work for others but it might point you in the right direction, the same way that a lot of responses here did for me.

After being unable to start the xserver and setting the driver back to nv I did a little more searching on the net (gotta love google) and came up with the following procedure

1. Made a backup ccopy of sources.list and then added these lines
Quote:

# Stable
deb http://http.us.debian.org/debian/ stable main contrib non-free
deb http://non-us.debian.org/debian-non-US/ stable/non-US main non-free

# Security
deb http://security.debian.org/ stable/updates main contrib non-free

# Testing
deb http://http.us.debian.org/debian/ testing main contrib non-free
deb http://non-us.debian.org/debian-non-US/ testing/non-US main non-free

# Unstable
deb http://http.us.debian.org/debian/ unstable main contrib non-free
# deb-src http://http.us.debian.org/debian/ unstable main contrib non-free
deb http://non-us.debian.org/debian-non-US/ unstable/non-US main non-free

# Experimental
deb http://http.us.debian.org/debian/ ../project/experimental main contrib

# K3B
deb http://www.planet-moll.de/debian/ sarge main
deb http://www.planet-moll.de/debian/ woody main

# Randall Donald's prebuilt nvidia kernel modules
deb http://people.debian.org/~rdonald/nvidia modules-unstable/i386/

# unofficial packages by Christian Marillat:
# acroread 5, mplayer & friends, realplayer 8, others.
# see http://hpisi.nerim.net
deb ftp://ftp.nerim.net/debian-marillat/ stable main
deb ftp://ftp.nerim.net/debian-marillat/ testing main
deb ftp://ftp.nerim.net/debian-marillat/ unstable main

# Kalyxo (http://www.kalyxo.org): Qt themes for the Mozilla family
deb http://archive.kalyxo.org/kalyxo/ staging main
deb http://archive.kalyxo.org/kalyxo/ experimental main

# bootsplash themes
deb http://www.bootsplash.de/files/debian unstable main

# Matthias Ulrich: gpgsm, brings S/MIME support to KMail
deb http://smurf.noris.de/code/debian/ experimental smurf

# Real Time custom repository: PwManager
deb ftp://ftp.real-time.com/linux/real-time unstable custom
2. I then ran an apt-get update
3. Next I did the following:
Quote:
All as root:

NVDIST=unstable

apt-get install module-assistant nvidia-kernel-common

module-assistant auto-install nvidia (this will do most for you)

apt-get -t $NVDIST install nvidia-glx
4. I then re-edited my XF86Config-4 file and changed the nv back to nvidia - still failed
5. I followed the instructions at the top of the XF86Config-4 file
Quote:
# If you have edited this file but would like it to be automatically updated
# again, run the following commands as root:
#
# cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.custom
# md5sum /etc/X11/XF86Config-4 >/var/lib/xfree86/XF86Config-4.md5sum
# dpkg-reconfigure xserver-xfree86
and selected nvidia as the card. I also deselected the modules GLcore and dri - I remembered reading that on the nvidia page.
6. Did a /etc/init.d/gdm stop and then /etc/init.d/gdm start and voila - a pretty nvidia logo

Now steps 1 and 2 were shamelessly borrowed from http://www.linuxforums.org/forum/topic-35225.html
The rest was just me following my nose and using the pointers given by various contributors here. Thanks to everyone who responded, I hope my little epistle here will help someone else.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 install lestoil Slackware 4 08-24-2005 08:45 PM
Nvidia Install Spyder_FD3 Fedora 1 04-03-2005 11:52 PM
Nvidia install 9.2 jav1231 SUSE / openSUSE 6 11-19-2004 05:10 PM
NVIDIA INSTALL Cedrik Slackware 0 09-14-2004 05:46 AM
nvidia driver wont install (suse 8.2_ftp install) splintah Linux - Newbie 1 10-06-2003 03:03 PM

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

All times are GMT -5. The time now is 01:16 AM.

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