Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 01-26-10, 05:05 PM   #1
mooviies
Registered User
 
Join Date: Jan 2010
Posts: 2
Default Nvidia hybrid SLI on Debian

Hi,

I got my new laptop Alienware m17x with a Nvidia Geforce GTX 260M. I'm trying for now 3 days to make it work on Debian Lenny. I tried the nvidia-glx driver, the official nvidia driver, installing it on Debian Sid. It just won't work. Now I returned on Debian Lenny and installed nvidia-glx and I tried a lot of configuration for my xorg.conf.

Now, sould I use the official nvidia driver? or the nvidia-glx? and how to configure my xorg.conf?

Thanks a lot!

My actual xorg.conf:
Code:
Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd evdev"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"ca"
	Option		"XkbVariant"	"multi"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse evdev"
EndSection

Section "Module"
	Load	"glx"
EndSection

Section "Device"
	Identifier	"Device0"
	Driver "nvidia"
	BusID	"PCI:2:0:0"
EndSection

Section	"Device"
	Identifier	"Device1"
	Driver "nvidia"
	BusID	"PCI:4:0:0"
EndSection

Section "Monitor"
	Identifier	"Configured Monitor"
	DisplaySize	365	228
	HorizSync	28-64
	VertRefresh	60.0-60.0
	Option   "DDC"             "Off"
	Option   "IgnoreEDID"      "True"
	Option   "MonitorLayout"   "CRT,LFP"
	Option   "Clone"           "True"
	Option   "CloneRefresh"    "60"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Monitor		"Configured Monitor"
	Device	"Device0"
	SubSection "Display"
		Depth	24
		Modes "1920x1200" "1920x1080" "1680x1050"  "1440x900" "1280x800"
	EndSubSection
EndSection
And Here's the resulting Xorg.0.log from this configuration:
(I just wrote the errors and warning)
Quote:
(WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
Entry deleted from font path.
(WW) The directory "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" does not exist.
Entry deleted from font path.
(WW) NVIDIA: No matching Device section for instance (BusID PCI:0:3:5) found
(WW) NVIDIA: No matching Device section for instance (BusID PCI:4:0:0) found
(WW) NVIDIA(0):
(WW) NVIDIA(0): The IgnoreEDID and NoDDC options have been deprecated. The
(WW) NVIDIA(0): NVIDIA X driver makes use of a display device's EDID
(WW) NVIDIA(0): during construction of its modePool. It is recommended
(WW) NVIDIA(0): that you allow the X driver to make use of any available
(WW) NVIDIA(0): EDID. If, however, you know what you are doing and have
(WW) NVIDIA(0): good reason to do so, you can disable the X driver's use
(WW) NVIDIA(0): of EDIDs by setting the "UseEDID" X configuration option
(WW) NVIDIA(0): to FALSE; e.g.,
(WW) NVIDIA(0):
(WW) NVIDIA(0): Option "UseEDID" "FALSE"
(WW) NVIDIA(0):
(WW) NVIDIA(0): Note that, rather than globally disable all uses of the EDID,
(WW) NVIDIA(0): you can individually disable each particular use of the
(WW) NVIDIA(0): EDID; e.g.,
(WW) NVIDIA(0):
(WW) NVIDIA(0): Option "UseEDIDFreqs" "FALSE"
(WW) NVIDIA(0): Option "UseEDIDDpi" "FALSE"
(WW) NVIDIA(0): Option "ModeValidation" "NoEdidModes"
(WW) NVIDIA(0):
(WW) NVIDIA(0): See Appendix B: X Config Options in the README for details on
(WW) NVIDIA(0): each of these options.
(WW) NVIDIA(0):
(WW) NVIDIA(GPU-0): Unable to read EDID for display device CRT-0
(WW) NVIDIA(0): No valid modes for "1920x1200"; removing.
(WW) NVIDIA(0): No valid modes for "1920x1080"; removing.
(WW) NVIDIA(0): No valid modes for "1680x1050"; removing.
(WW) NVIDIA(0): Unable to get display device CRT-0's EDID; cannot compute DPI
(WW) NVIDIA(0): from CRT-0's EDID.
(WW) NVIDIA(GPU-1): Unable to read EDID for display device CRT-0
(WW) NVIDIA(0): Option "MonitorLayout" is not used
(WW) NVIDIA(0): Option "Clone" is not used
(WW) NVIDIA(0): Option "CloneRefresh" is not used
(WW) <default pointer>: No Device specified, looking for one...
Thanks again
mooviies is offline   Reply With Quote
Old 01-27-10, 04:44 PM   #2
mdriftmeyer
Registered User
 
Join Date: Feb 2009
Posts: 40
Default Re: Nvidia hybrid SLI on Debian

Steps I use to build nvidia drivers.

Download the debian nvidia-kernel-source.

user@mymachine:~/Temp$ wget -c http://ftp.debian.org/debian/pool/no...53-1_amd64.deb

user@mymachine:~/Temp$ sudo dpkg -i nvidia-kernel-source_190.53-1_amd64.deb

user@mymachine:$ cd /usr/src/

user@mymachine:$ sudo tar xvjf nvidia-kernel.tar.bz2

user@mymachine:/usr/src/$ cd modules/nvidia-kernel

user@mymachine:/usr/src/modules/nvidia-kernel$ cd debian

user@mymachine:/usr/src/modules/nvidia-kernel/debian$ sudo ./debian/rules KSRC='/usr/src/linux-headers-2.6.32-trunk-amd64' KVERS='2.6.32-trunk-amd64' binary_modules

user@mymachine:/usr/src/modules/nvidia-kernel/debian$ cd ../

user@mymachine:/usr/src/modules/nvidia-kernel$ sudo dpkg -i nvidia-kernel-2.6.32-trunk-amd64_190.53-1_amd64.deb

user@mymachine:/usr/src/modules$ cd ~/Temp

user@mymachine:~/Temp$ wget -c http://ftp.debian.org/debian/pool/no...53-1_amd64.deb

user@mymachine:~/Temp$ wget -c http://ftp.debian.org/debian/pool/no...53-1_amd64.deb [assuming you use 32bit libs]

user@mymachine:~/Temp$ wget -c http://ftp.debian.org/debian/pool/no...53-1_amd64.deb

user@mymachine:~/Temp$ wget -c http://ftp.debian.org/debian/pool/no...53-1_amd64.deb

user@mymachine:~/Temp$ sudo dpkg -i nvidia-glx_190.53-1_amd64.deb nvidia-glx-ia32_190.53-1_amd64.deb nvidia-vdpau-driver_190.53-1_amd64.deb nvidia-vdpau-driver-ia32_190.53-1_amd64.deb

My Xorg.conf

Quote:
Section "Files"
# path to defoma fonts
FontPath "/usr/local/share/fonts"
FontPath "/usr/share/fonts/type1"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/share/fonts/X11/100dpi:unscaled"
FontPath "/usr/share/fonts/X11/75dpi:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "unix/:7100"
EndSection

Section "Module"
Load "i2c"
# Load "bitmap"
# Load "ddc"
# Load "extmod"
# Load "freetype"
# Load "glx"
# Load "int10"
# Load "dbe"
# Load "dri"
# Load "type1"
EndSection
# Dedicated "Extensions" section (may not be present already)
Section "Extensions"
Option "Composite" "enable"
EndSection

Section "InputDevice"
Identifier "Apple, Inc. Keyboard"
Driver "evdev"
Option "CoreKeyboard"
Option "SendCoreEvents" "true"
Option "Name" "Apple, Inc Apple Keyboard" # (cat /proc/bus/input/devices)
# Option "Device" "/dev/input/by-id/usb-Apple__Inc_Apple_Keyboard-event-kbd" # (cat /proc/bus/input/devices)
# Option "Device" "/dev/input/event2"
Option "Phys" "usb-0000:00:1d.7-3.2/input0"
Option "XkbRules" "xorg"
Option "XkbModel" "macintosh"
Option "XkbGeometry" "applepro"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "evdev"
Option "CorePointer"
Option "SendCoreEvents" "true"
Option "Name" "Logitech USB-PS/2 Optical Mouse" # (cat /proc/bus/input/devices)
# Option "Device" "/dev/input/by-id/usb-Logitech_USB-PS.2_Optical_Mouse-event-mouse"
# Option "Device" "/dev/input/event1"
Option "Phys" "usb-0000:00:1d.7-3.1/input0"
Option "Buttons" "3"
Option "Resolution" "1000"
Option "Emulate3Buttons" "false"
# Option "GrabDevice" "false"
EndSection

Section "Device"
Identifier "Nvidia 8600 GTS"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "gEfORCE 8600 GTS"
#BusID "PCI:0:2:0"
BusID "PCI:4:0:0"
VideoRam 262144
# Option "AperTexSize" "131,072"
# Option "XVideo" "true"
# Option "XAA" "true"
# Option "BackingStore" "true"
Option "AllowSHMPixmaps" "false"
# Option "AddARGBGLXVisuals" "True"
Option "FlatPanelProperties" "Scaling = DFP"
Option "ExactModTimingsDVI"
EndSection

Section "Monitor"
Identifier "LP2475w"
ModelName "Hewlett Packard HP LP2475w"
HorizSync 30.0 - 94.0
VertRefresh 48.0 - 85.0
Gamma 1.00 1.00 1.00 # created by KGamma
Option "DPMS"
# calc: (x|y)pixels * 25.4 / dpi
# DisplaySize 168 126 # 96 DPI @ 640x480
# DisplaySize 210 157 # 96 DPI @ 800x600
# DisplaySize 269 201 # 96 DPI @ 1024x768
# DisplaySize 302 227 # 96 DPI @ 1152x864
# DisplaySize 336 252 # 96 DPI @ 1280x960
# DisplaySize 336 210 # 96 DPI @ 1280x800 (non 4:3 aspect)
# DisplaySize 339 271 # 96 DPI @ 1280x1024 (non 4:3 aspect)
# DisplaySize 370 277 # 96 DPI @ 1400x1050
# DisplaySize 380 238 # 96 DPI @ 1440x900 (non 4:3 aspect)
# DisplaySize 420 315 # 96 DPI @ 1600x1200
# DisplaySize 444 277 # 96 DPI @ 1680x1050 (non 4:3 aspect)
#DisplaySize 506 315 # 120 DPI @ 1920x1200 (non 4:3 aspect)
Option "UseEdidDpi" "DFP-1"
Option "DPI" "120 x 120"
EndSection

#Section "Monitor Two"
# Identifier "SC190"
# ModelName "Sylvania SC190"
# HorizSync 30.0 - 96.0
# VertRefresh 50.0 - 160.0
# Option "DPMS"
#EndSection

Section "Screen"
Identifier "Default Screen"
Device "Nvidia 8600 GTS"
Monitor "LP2475w"
DefaultDepth 24
Option "CustomEDID" "DFP-1:/etc/X11/hp2475w-edid.bin"
Option "UseEDID" "True"
Option "TwinView" "0"
Option "metamodes" "1920x1200 +0+0; 1280x1024 +0+0; 1280x960 +0+0; 1152x864 +0+0; 1024x768 +0+0; 832x624 +0+0; 800x600 +0+0; 720x400 +0+0; 640x480 +0+0"
SubSection "Display"
Depth 24
EndSubSection
# Option "TwinView" "0"
# Option "TwinViewXineramaInfoOrder" "CRT-0"
# Option "metamodes" "1600x1200_75 +0+0; 1600x1200 +0+0; 1280x1024 +0+0; 1280x960 +0+0; 1152x864 +0+0; 1024x768 +0+0; 832x624 +0+0; 800x600 +0+0; 720x400 +0+0; 640x480 +0+0"
# SubSection "Display"
# Depth 1
# Modes "1280x1024" "1280x960" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
# EndSubSection
# SubSection "Display"
# Depth 4
# Modes "1280x1024" "1280x960" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
# EndSubSection
# SubSection "Display"
# Depth 8
# Modes "1600x1200" "1280x1024" "1280x960" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
# EndSubSection
# SubSection "Display"
# Depth 15
# Modes "1600x1200" "1280x1024" "1280x960" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
# EndSubSection
# SubSection "Display"
# Depth 16
# Modes "1600x1200" "1280x1024" "1280x960" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
# EndSubSection
# SubSection "Display"
# Depth 24
# Modes "1600x1200" "1280x1024" "1280x960" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
# EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Apple, Inc. Keyboard" "CoreKeyboard"
# InputDevice "Apple, Inc. Keyboard" "SendCoreEvents"
InputDevice "Configured Mouse" "CorePointer"
# InputDevice "Configured Mouse" "SendCoreEvents"
EndSection

Section "DRI"
Mode 0666
EndSection
mdriftmeyer is offline   Reply With Quote
Reply


Thread Tools

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 On
HTML code is Off
Forum Jump


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


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.