LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 11-09-2011, 07:50 PM   #1
Knightron
Senior Member
 
Registered: Jan 2011
Location: Planet Earth
Distribution: Slackware.
Posts: 1,343
Blog Entries: 7

Rep: Reputation: 159Reputation: 159
macbook pro 7.1 nvidia drivers 64 bit


Hi guys, am configuring my macbook pro 7.1 with linux and have never had to worry about nvidia drivers before because my other laptop uses Intel integrated graphics. I am absolutely lost, i'm trying to install on a Debian squeeze system 64 bit, and the Debian wiki is just to messy, it talks about other distrobutions and other side notes that make it to confusing, the links don't work. My biggest issue is it says i need to find out which driver i need and i can do this with lspci. Here is my lspci results.

Code:
00:00.0 Host bridge: nVidia Corporation MCP89 HOST Bridge (rev a1)
00:00.1 RAM memory: nVidia Corporation MCP89 Memory Controller (rev a1)
00:01.0 RAM memory: nVidia Corporation Device 0d6d (rev a1)
00:01.1 RAM memory: nVidia Corporation Device 0d6e (rev a1)
00:01.2 RAM memory: nVidia Corporation Device 0d6f (rev a1)
00:01.3 RAM memory: nVidia Corporation Device 0d70 (rev a1)
00:02.0 RAM memory: nVidia Corporation Device 0d71 (rev a1)
00:02.1 RAM memory: nVidia Corporation Device 0d72 (rev a1)
00:03.0 ISA bridge: nVidia Corporation MCP89 LPC Bridge (rev a2)                         
00:03.1 RAM memory: nVidia Corporation MCP89 Memory Controller (rev a1)                  
00:03.2 SMBus: nVidia Corporation MCP89 SMBus (rev a1)                                   
00:03.3 RAM memory: nVidia Corporation MCP89 Memory Controller (rev a1)                  
00:03.4 Co-processor: nVidia Corporation MCP89 Co-Processor (rev a1)                     
00:04.0 USB Controller: nVidia Corporation MCP89 OHCI USB 1.1 Controller (rev a1)
00:04.1 USB Controller: nVidia Corporation MCP89 EHCI USB 2.0 Controller (rev a2)
00:06.0 USB Controller: nVidia Corporation MCP89 OHCI USB 1.1 Controller (rev a1)
00:06.1 USB Controller: nVidia Corporation MCP89 EHCI USB 2.0 Controller (rev a2)
00:08.0 Audio device: nVidia Corporation MCP89 High Definition Audio (rev a2)
00:0a.0 IDE interface: nVidia Corporation MCP89 SATA Controller (rev a2)
00:0b.0 RAM memory: nVidia Corporation Device 0d75 (rev a1)
00:0e.0 PCI bridge: nVidia Corporation Device 0d9a (rev a1)
00:15.0 PCI bridge: nVidia Corporation Device 0d9b (rev a1)
00:16.0 PCI bridge: nVidia Corporation Device 0d9b (rev a1)
00:17.0 PCI bridge: nVidia Corporation MCP89 PCI Express Bridge (rev a1)
01:00.0 FireWire (IEEE 1394): Agere Systems FW643 PCI Express1394b Controller (PHY/Link) (rev 08)
02:00.0 Network controller: Broadcom Corporation BCM4322 802.11a/b/g/n Wireless LAN Controller (rev 01)
03:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5764M Gigabit Ethernet PCIe (rev 10)
04:00.0 VGA compatible controller: nVidia Corporation Device 08a0 (rev a2)
I have have almost no idea when it comes to computer hardware, but i believe the card should be after "VGA compatible controller:"? Well on the list of drivers i don't know which one is suited to that card.

Please help me, thankyou
 
Old 11-09-2011, 09:27 PM   #2
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Mageia Studio-13.37 Kubuntu.
Posts: 3,325
Blog Entries: 33

Rep: Reputation: 199Reputation: 199
seems your card (08a0) is not listed yet.

http://pciids.sourceforge.net/
http://pciids.sourceforge.net/v2.2/pci.ids

there are some alternatives, nouveau is the newer nvidia free driver, nv is the xorg driver and vesa just works everywhere(imho).

But being unlisted does not mean it won't work.

there may be more info from lenovo or nvidia.

http://www.nvidia.com/Download/index.aspx?lang=en-us

you may be in for a (long) wait.
 
Old 11-09-2011, 10:37 PM   #3
Knightron
Senior Member
 
Registered: Jan 2011
Location: Planet Earth
Distribution: Slackware.
Posts: 1,343
Blog Entries: 7

Original Poster
Rep: Reputation: 159Reputation: 159
Oh ok, well i may be missing something because i'm simperly inexperienced with drivers and hardware, but i have installed mepis and Ubuntu on the same machine in the past and Mepis's included nvidia driver and Ubuntu's additional one both worked. Which drivers are used in them two distros?
 
Old 11-09-2011, 10:51 PM   #4
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Mageia Studio-13.37 Kubuntu.
Posts: 3,325
Blog Entries: 33

Rep: Reputation: 199Reputation: 199
They both use the xorg drivers

/edit, the mepis cd's are debian based and so is ubunto.

see the file /etc/X11/xorg.conf (if it exists) and check the driver name, this bit...
Code:
snip........
Section "Device"
    Identifier "device1"
    VendorName "nVidia Corporation"
    BoardName "NVIDIA GeForce 6100 and later"
    Driver "nv"
   # Driver "vesa"
    Option "DPMS"
EndSection
......./snip
you may edit this file as root

just change the line to nv to use the xorg driver.

Last edited by GlennsPref; 11-09-2011 at 11:12 PM. Reason: xorg.conf snippet
 
Old 11-14-2011, 03:35 PM   #5
Knightron
Senior Member
 
Registered: Jan 2011
Location: Planet Earth
Distribution: Slackware.
Posts: 1,343
Blog Entries: 7

Original Poster
Rep: Reputation: 159Reputation: 159
Hello, i do not have an xorg.conf file. I created one after reading your reply with Xorg -configure and after moving it to /etc/X11, i restarted and it failed to get an x server. Do i have to install anything?
 
Old 11-15-2011, 07:15 AM   #6
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Mageia Studio-13.37 Kubuntu.
Posts: 3,325
Blog Entries: 33

Rep: Reputation: 199Reputation: 199
Hi,

Search for the file (with locate or find) xorg.conf on your system, Not sure about debian, it may be in /usr/X11R6/lib/X11.

But I'm really not sure.
Quote:
I created one after reading your reply with Xorg -configure and after moving it to /etc/X11,
What's in the file, can you post it here for us to view please?

as for the install, this web page details the deps (package dependencies)
http://packages.debian.org/squeeze/xorg

you may need to check them one by one, This system uses the rpm system for package management, so

I don't know exactly how to use the debian system, so I won't try/pretend to.

cheers, Glenn

ps. this page discusses the absence of xorg.conf from /etc/X11/
http://forums.debian.net/viewtopic.php?f=17&t=42932

Last edited by GlennsPref; 11-15-2011 at 07:17 AM.
 
Old 11-16-2011, 02:49 AM   #7
Knightron
Senior Member
 
Registered: Jan 2011
Location: Planet Earth
Distribution: Slackware.
Posts: 1,343
Blog Entries: 7

Original Poster
Rep: Reputation: 159Reputation: 159
All i want to do is install nvidia drivers, other people seem to happly using them, and other distrobutions have automatically done it for me on this same computer. How come this is so difficult for Debian?
Here is the xorg.conf file my computer generated that failed; it said something like it couldn't detect a monitor.

Code:
Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
	ModulePath   "/usr/lib/xorg/modules"
	FontPath     "/usr/share/fonts/X11/misc"
	FontPath     "/usr/share/fonts/X11/cyrillic"
	FontPath     "/usr/share/fonts/X11/100dpi/:unscaled"
	FontPath     "/usr/share/fonts/X11/75dpi/:unscaled"
	FontPath     "/usr/share/fonts/X11/Type1"
	FontPath     "/usr/share/fonts/X11/100dpi"
	FontPath     "/usr/share/fonts/X11/75dpi"
	FontPath     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
	FontPath     "built-ins"
EndSection

Section "Module"
	Load  "glx"
	Load  "dri2"
	Load  "dbe"
	Load  "dri"
	Load  "record"
	Load  "extmod"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "auto"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "SWcursor"           	# [<bool>]
        #Option     "HWcursor"           	# [<bool>]
        #Option     "NoAccel"            	# [<bool>]
        #Option     "ShadowFB"           	# [<bool>]
        #Option     "VideoKey"           	# <i>
	Identifier  "Card0"
	Driver      "nouveau"
	VendorName  "nVidia Corporation"
	BoardName   "Unknown Board"
	BusID       "PCI:4:0:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	SubSection "Display"
		Viewport   0 0
		Depth     1
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     4
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     15
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection
 
Old 11-16-2011, 10:23 PM   #8
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Mageia Studio-13.37 Kubuntu.
Posts: 3,325
Blog Entries: 33

Rep: Reputation: 199Reputation: 199
hi,

You could try this, change the number 0 to 1 for the screen.

I have more to say of my experience at the end that may help too.
here,
Quote:
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
and here,
Quote:
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
I have found that the kernel "staging" section loads the nouveau module really early and

when I tried to install the "nvidia" module (.run package) the module was already in use for the display

and could not be unloaded. So,

I black listed "nouveau" and "drm_kms_helper" in /etc/modprobe.d/blacklist-mga (on my system)

Then at reboot,

I used the kernel command-line (at boot, press F3, (grub1)) appending these commands,

nokmsboot #(no kernel module service at boot)

you could also try to set the video module to "vesa" or "nv" in xorg.conf as they are not hardware dependant.

see how you go, I know I could be wrong about this with your Debian system, but seeing as no-one else from the Deb forums have piped up with an exact solution...blah blah...

Regards Glenn.
 
  


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
Linux on a macbook/macbook pro... any experiences/problems, or is it even necessary? enigma_0Z Linux - Laptop and Netbook 13 09-14-2007 11:29 PM
Nvidia drivers -> no 32 bit depth? Vgui Linux - Software 4 08-10-2005 01:38 AM
9.2 64-bit and nvidia drivers pattont Suse/Novell 2 03-10-2005 12:28 PM
NVIDIA DRivers on SUSE 9.1 PRO Anmol Linux - General 1 08-11-2004 11:18 AM
Using 32-bit color (radeon 9500 pro - I already have drivers working) Zoombie Linux - Hardware 3 09-15-2003 09:32 PM


All times are GMT -5. The time now is 09:22 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration