|
|
#1 (permalink) Top |
|
Nonconformist Geek
![]() |
Howto Install NVidia drivers In Debian or Ubuntu -aka- Getting 3D in Debian or Ubuntu with NVidia Installing the proprietary NVidia drivers in Debian (or Ubuntu, a Debian spin-off) is surprisingly easy. Not as easy as they'd be if they were open-source, but I digress... ![]() STOP! Before proceeding, make sure to backup your xorg.conf! Ubuntu may break your xorg.conf, and it's always nice to have a point of reference. Also, I've written a script to make this much easier for *ubuntu users. Requirements:
Steps to install:
__________________
See My Desktop | Try Linux | Install Linux | Visit My Server | Support Hardware Forums | Easily rip DVDs in Linux |
|
|
|
|
#3 (permalink) Top |
|
May the source be with u!
![]() ![]() ![]() Join Date: Dec 2004
Age: 19 Male
Posts: 1,877
Times Helpful: 126
My Mood: Stressed
Status: Offline
|
__________________
Dear intel,
Already Made My DecisionNever trust a computer you can't repair yourself. Windows Vista - Viruses Intruders Spyware Trojans Adware Why Linux is Better!|Pastafairianism|Say no to National ID|Firefox Extensions Guide scientology has been getting alot of attention recently ![]() When the rich wage war, it is the poor who die. Where are the WMD's that our governments used to justify the war? |
|
|
|
|
#4 (permalink) Top |
|
Ani Ma'amin
![]() Join Date: May 2005
Age: 40 Male
Posts: 1,417
Times Helpful: 67
My Mood: Breezy
Status: Offline
|
Hi AT
Followed the instructions, thenks! However, I have a query - When I tried the command "glxinfo | grep render", debian complains that glxinfo is an unknown command. When I check the KInfoCenter I can see under OpenGL - see attached image I am using the HWF P4 kernel..... Is everything alright here?
__________________
This is not a PC friendly user!!! I want to use Linux because it is better. Cost and packages are added bonuses! Help with digital video? Help My Mini City to grow Hit or Miss
|
|
|
|
|
#5 (permalink) Top |
|
Nonconformist Geek
![]() |
glxinfo is part of the mesa-utils package. Just install that and you'll have the command you're looking for.
__________________
See My Desktop | Try Linux | Install Linux | Visit My Server | Support Hardware Forums | Easily rip DVDs in Linux |
|
|
|
|
#6 (permalink) Top |
|
Nonconformist Geek
![]() |
Ubuntu has added some scripts to the mix which make building drivers the NVidia way a real pain in the ass. To help counter this, I've written a primitive BASH script which Ubuntu users may find useful:
Code:
#!/bin/sh # ####################################### # Easy NVidia Builder Script # Licensed under the GPLv3 # (or later at your option): # http://www.gnu.org/copyleft/gpl.html ####################################### # ############################# ## Default Display Manager ## ############################# ## Change to kdm, gdm or xdm as necessary: DMNG=gdm ############################# ## NVidia Driver Location ## ############################# ## What's the absolute path to the drivers? NVDRIVER=/usr/local/src/nvidia/NVIDIA-current.run ############################# ## Path to X Modules ## ############################# ## Shouldn't have to change this in Ubuntu: XMODPATH=/usr/lib/xorg/modules ## Kill Ubuntu's annoying script that keeps respawning the display manager: killall gdmopen ## Now stop the display manager we've defined earlier: /etc/init.d/$DMNG stop ## If there are still any X.org processes hanging around, kill them too: killall Xorg ## Zombie Clause - Wait 6 seconds and make absolutely sure they stay dead: sleep 6 killall $DMNG killall gdmopen killall Xorg ## They've had their fair chance. After 3 seconds, we bring out the big guns: sleep 3 killall -9 $DMNG killall -9 gdmopen killall -9 Xorg ## Now we build the NVidia driver: sh $NVDRIVER --x-module-path=$XMODPATH -aqNX --no-runlevel-check ## Restart the display manager: /etc/init.d/$DMNG start
__________________
See My Desktop | Try Linux | Install Linux | Visit My Server | Support Hardware Forums | Easily rip DVDs in Linux |
|
|
|
|
#7 (permalink) Top | |
|
May the source be with u!
![]() ![]() ![]() Join Date: Dec 2004
Age: 19 Male
Posts: 1,877
Times Helpful: 126
My Mood: Stressed
Status: Offline
|
Off Topic:
Quote:
No more CPU time. I run KILL DASH NINE, And your process is mine. I run KILL DASH NINE, 'Cause it's MY time to shine So don't step outta line or else it's KILL DASH NINE! Kill Dash Nine | Lyrics
__________________
Dear intel,
Already Made My DecisionNever trust a computer you can't repair yourself. Windows Vista - Viruses Intruders Spyware Trojans Adware Why Linux is Better!|Pastafairianism|Say no to National ID|Firefox Extensions Guide scientology has been getting alot of attention recently ![]() When the rich wage war, it is the poor who die. Where are the WMD's that our governments used to justify the war? |
|
|
|
|
|
#8 (permalink) Top | ||||||
|
Ani Ma'amin
![]() Join Date: May 2005
Age: 40 Male
Posts: 1,417
Times Helpful: 67
My Mood: Breezy
Status: Offline
|
Hey all
Just came against a big wall when trying to install the nVidia driver against the 2.6.25 Kernel In Debian (Lenny). Basically the short of it is that the latest from nVidia will not build against a XEN enabled Kernel #476504 - nvidia-kernel-source: Fails to build with Linux kernel 2.6.25 - Debian Bug report logs. If, like me you are using a stock kernel and have not a clue how to compile a kernel, disabling the option, your best bet is to try and use Debian's latest, own nvidia-glx driver. It is unfortunate that the driver is only available from the Sid repo's. I suppose it is down to you whether you wish to dab in the unknown but this is how it worked for me: Just to quickly explain that I am using the new kernel out of choice as it solves an issue I had. If you are using the new Kernel it is likely that you are experimenting anyway so on your head be it..... Add and enable the Sid repository (I include the lot - main contrib non-free). Then as root: Quote:
When all is done: Quote:
Quote:
Quote:
Quote:
Disclaimer - this is not a how-to but just an FYI which I felt would be a bit silly if I did not include the way I manged to install the driver. I took the how to from here - Debian User Forums :: View topic - Nvidia 100.14.19 - Debian way, custom (or not) kernel. Note that I have omitted the Quote:
![]() AAAAnyways I hope some of you will find this useful.
__________________
This is not a PC friendly user!!! I want to use Linux because it is better. Cost and packages are added bonuses! Help with digital video? Help My Mini City to grow Hit or Miss
|
||||||
|
|
|
|
#9 (permalink) Top |
|
Nonconformist Geek
![]() |
Yeah, to be honest one shouldn't enable Xen in their kernels unless they actually plan to run hypervisors... and that would be weird on a desktop warranting 3D graphics anyway.
On typical desktops, Xen should be disabled.
__________________
See My Desktop | Try Linux | Install Linux | Visit My Server | Support Hardware Forums | Easily rip DVDs in Linux |
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| AIGLX + Beryl Nightly on Debian Sid HowTo | Anti-Trend | Linux and Other OSes | 6 | 30-01-2007 07:35 AM |
| HOWTO: Overclock nVidia cards (ubuntu/debian) | megamaced | Linux and Other OSes | 0 | 12-01-2007 07:29 PM |
| Latest nVidia & ATi drivers for Ubuntu 6.06 | megamaced | Linux and Other OSes | 4 | 14-12-2006 01:12 AM |
| Installing nVidia drivers in Debian - Helpful | Addis | Linux and Other OSes | 3 | 29-09-2006 07:12 PM |
| Do not install nVidia Beta drivers!! | Exfoliate | Drivers and Firmware | 5 | 12-06-2005 07:43 PM |