domenica 6 giugno 2010

installazione driver nvidia 195.36.24 su debian squeeze





Per installare gli ultimi driver nvidia sulla vostra debian squeeze o lenny seguite questi semplici passi.

scaricate il driver con wget.

wget http://it.download.nvidia.com/XFree86/Linux-x86/195.36.24/NVIDIA-Linux-x86-195.36.24-pkg1.run

cambiate nome al driver dandogli nvidia.run
date i permessi di esecuzione.

sudo chmod a+rwx nvidia.run


installate gli headers del kernel.

sudo apt-get install linux-headers-`uname -r`

stoppate il server grafico.

sudo /etc/init.d/gdm stop

sempre da terminale lanciate l'installazione dei driver.

sudo sh nvidia.run

rispondete alle domande che vi vengono proposte, alla fine vi ritroverete con i driver installate, se non avete un file xorg.conf potete utilizzare il mio:

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder63) Tue Jun 10 17:14:15 PDT 2008

# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by failsafeDexconf, using
# values from the debconf database and some overrides to use vesa mode.
#
# You should use dexconf or another such tool for creating a "real" xorg.conf
# For example:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Default Screen" 0 0
InputDevice "Generic Keyboard" "CoreKeyboard"
InputDevice "Configured Mouse" "CorePointer"
EndSection

Section "Module"
Load "glx"
Load "v4l"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "it"
Option "XkbOptions" "lv3:ralt_switch"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "Emulate3Buttons" "true"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
VendorName "Plug 'n' Play"
ModelName "Plug 'n' Play"
Gamma 1
ModeLine "1280x1024" 25.2 640 656 752 800 480 490 492 525 -hsync -vsync
EndSection

Section "Monitor"
#
Identifier "monitor1"
Gamma 1
EndSection

Section "Device"
Identifier "Configured Video Device"
Driver "nvidia"
BoardName "geforce"
BusID "PCI:2:0:0"
Screen 0
EndSection

Section "Device"
#
Identifier "device1"
Driver "vesa"
BoardName "vesa"
BusID "PCI:2:0:0"
Screen 1
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Configured Video Device"
Monitor "Configured Monitor"
DefaultDepth 24
SubSection "Display"
Virtual 1280 1024
Depth 24
Modes "1280x1024" "1024x768"
EndSubSection
EndSection

Section "Screen"
#
Identifier "screen1"
Device "device1"
Monitor "monitor1"
DefaultDepth 24
EndSection


vi consiglio di crearvi un file di testo nella vostra home di nome xorg.conf è sposaverlo dentro la cartella /etc/X11/

sudo mv xorg.conf /etc/X11/

riavviate il server grafico con:

sudo /etc/init.d/gdm start

Nessun commento: