My Community
September 09, 2010, 12:25:12 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: No News Is Good News
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: NVIDIA Installation  (Read 2502 times)
Vern Heesch
Administrator
Jr. Member
*****
Posts: 67


View Profile
« on: July 18, 2005, 11:26:22 PM »

You've got that nice NVIDIA video card and want to use it's 3D functions in linux. This will explain how to do it on Mandriva Linux, other distro's may differ.

You may want to print this because most of the procedure requires you to be out of the X environment and working from the command line.

The first thing you need to do is to install the kernel-source that matches the running kernel that you are using. You can find your version of your running kernel with:
Code:
uname -r

For purposes of this howto, I'll be talking about LE2005 versions. The running kernel is 2.6.11-6mdk which means that I would need the 2.6.11-6mdk kernel-source. To install that package:
Code:
urpmi kernel-source-2.6-2.6.11-6mdk

The above command may say it's already installed if you had installed it previously. The key thing here is that the output of the following two commands show the EXACT same versions.
Code:
uname -r
ll /usr/src/linux

Now get the nvidia driver from nvidia.com http://www.nvidia.com/object/unix.html
In most cases it's the driver for the IA32 architecture...if your machines architecture was different then that, you'd know it.  Smiley

The actual installation of the NVIDIA drivers must be done while you are out of the X environment, so log out of your window manager. We need to get to the command line, so if you are now sitting at the graphical login screen, hit the CTRL+ALT+F1 keys combination to get there and login as root.

Once you are at the command line you shut down the X environment with one of the following:
Code:
telinit 3
or
service dm stop
or
init 3

Now change directories to wherever you had downloaded the NVIDIA driver to and run the following command:
Code:
sh NVIDIA-Linux-<version-here>.run

The installation begins after issueing the above command. Accept the license agreement, and answer 'YES' to the questions it asks. The drivers will install and tell you at the end that it was successful.

Now you need to edit the xorg.conf file to use the nvidia driver. You can use any command line editor you want, I'll be using the vi editor:
Code:
vi /etc/X11/xorg.conf

Hit the 'i' or insert key to get into edit mode. Find the 'Section Device' section in the config and change Driver "nv" to Driver "nvidia" as shown here:


Now go up in the file and find the "Section Module" section and add the line Load "glx" if it isn't there. If it is there, be sure it is not commented out.


If you have either of these two lines then remove them:
Code:
Load "dri"
Load "GLCore"

Save and exit the file by hitting the Esc key to get to vi's command mode and enter the following command:
Code:
:wq

Now we'll edit one more file to tell the system to load the nvidia module when the machine boots:
Code:
vi /etc/modprobe.preload

Again, hit the 'i' key to get into insert mode and add the word nvidia to the bottom of the file:


Save and exit the file by hitting the Esc key to get to vi's command mode and enter the following command:
Code:
:wq

The configuration is done and now all you need to do is restart the X environment and login to your window manager:
Code:
telinit 5
or
service dm start
or
init 5

Once back in your window manager, you can verify the installation by running the following command and looking for direct rendering: Yes
Code:
glxinfo | grep render


« Last Edit: February 25, 2009, 07:50:51 PM by Vern Heesch » Logged
GracieGamble6359
Hero Member
*****
Posts: 711


View Profile
« Reply #1 on: June 04, 2010, 05:41:27 AM »

Wii SportsBeadsTractor Supply CompanyJohn Deere 110 TractorDiecast Model TractorsNebraska Furniture MartContemporary Dining FurnitureAshley Furniture RugsMoncton Furniture StoresJamie Durie Patio FurnitureFitted Home Office FurnitureModern Vanity FurnitureAmerican Tv FurnitureHuman FurnitureMoroccan Garden FurnitureBerkline Furniture RepairBedroom Furniture GalleryChina Furniture OnlineComputer Ergonomic FurnitureModern Ottoman FurnitureMexican Dining FurnitureChampion Super HoodRefrigerator PartsPool LadderRed Monkey JeansIcon JeansJean PeauNemours Jean BaptisteSeven Jeans BuyKids Coogi JeansMens Jeans StylesUrban Designer JeansMo Cycle JeansSkinny Bright JeansLed Tv GizmagPurse HandbagsBeco Baby CarrierSewing Machine Tables32 Hdtv LcdZojirushiLadder HoistPower Cable PricesSd Memory CardXerox Toner CartridgeRadio ScannerAshtrayWii AccessoriesPretty Girl PhotosTractor TiresFarm Tractor PricesUsed Mahindra TractorsBig Lots FurnitureLodge FurnitureAshley Furniture KatyDanker Furniture StorePatio Furniture BaltimoreOffice Furniture CatalogueWhite Vanity FurnitureLcd Tv FurnitureCalifornia Guildcraft FurnitureWire Garden FurnitureSustainable Furniture CouncilAll Wood Bedroom FurnitureChina Furniture CompanyFurniture Express MichiganOttoman Furniture ChairsDining Furniture PerthNinja HoodWine RefrigeratorLadder LittleJeans MensPepe Jeans ShopJean Felix LalanneJean FreerUfo Jeans BuyDiscount Coogi JeansClearance Mens JeansHigh Waisted Designer JeansAlpinestars Cycle JeansPetrol Jeans PantsLed Tv ChinaPurse BackpackLow Cost CarrierBest Sewing MachineLcd Flat Panel HdtvBread MachineWooden CorbelsPower CablesMemory BitsCartridge Recycling2 Way RadiosGuayaberaMy SimsHandysTractors For SaleTractor LiftEuroleopard TractorsFurniture OutdoorTeak Wood FurnitureAshley Furniture CouchLargest Furniture StoreRent Patio FurnitureOffice Furniture NzClean Old Wood FurnitureBig Screen Tv FurnitureInnovations FurnitureLeader Garden FurnitureSustainable Furniture DesignHowdens Bedroom FurnitureChina Furniture MarketFurniture ExpressionsLeather Ottoman FurnitureCorner Dining FurnitureRacy Robin HoodWater Filter RefrigeratorLadder RacksJuniors JeansFaded JeansJean MarkaleJean Dominique BaubyPepe Jeans BuyPlus Size Coogi JeansMens Pinstripe JeansDesign Own JeansR Cycle JeansPetrol Jeans LadiesLed Lcd TvsDesigner PurseCupcake CarrierHand Held Sewing Machine1080P HdtvBread MachinesSawmillsPower Cables PricesMemory UpgradePrinter Cartridge RecyclingScanner RadioCigar HumidorMario GalaxyTilesNew Holland TractorsTractor GraderIngersoll Garden TractorsFurniture PatioItalian Bedroom FurnitureAshley Furniture HoursFurniture Stores PeterboroughPatio Furniture VirginiaOffice Furniture WaCleaning Finished Wood FurnitureFlat Panel Tv FurnitureSwimming Pool FurnitureSynthetic Wicker Garden FurnitureGreen Sustainable FurnitureOff White Bedroom FurnitureMade In China FurnitureDp Furniture ExpressOttoman Furniture FootstoolIso Dining FurnitureZip HoodRefrigerator Water FilterPlatform LaddersJeans DesignerBuy Skinny JeansJean Michel BazireJean Marie MonierBlue Jeans BluesBaby Coogi JeansMens Bootleg JeansAll Designer JeansLife Cycle JeansLawman Petrol JeansLed Backlight Lcd TvPurses WholesalePaper Carrier BagsSewing Machine NeedlesPlasma HdtvBreadman MachineUsed Onan GeneratorUsb CableCorsair MemorySamsung Printer CartridgeCb AntennaBlack And MildSuperbikesTatting How ToTractor Supply StoreTractor PartyAmerican TractorsFurniture BuyFrench Antique FurnitureAshley Axis FurnitureRestoration Furniture StoreApartment Patio FurnitureImperial Office FurniturePatio Furniture WickerCal Tv FurnitureCommercial Pool FurnitureUsed Garden FurnitureBaltix Sustainable FurnitureFunky Kids Bedroom FurnitureMennonite Furniture OntarioFurniture Express OhioRound Ottoman FurnitureDining Furniture CentreRobin Hood OutfitRefrigerator FilterLadder RackIn JeansFiorucci Jeans
Logged
zeff
Newbie
*
Posts: 1

"one shot, one pic"


View Profile WWW
« Reply #2 on: July 19, 2010, 09:02:18 AM »

thanks for the info
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.5 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!