Driver nvidia su Debian Sarge

Da Wizard linux team wiki.

Jump to: navigation, search

Ecco a voi una Breve guida su come installare i Driver nvidia su debian sarge.

Contents

Installazione dei moduli del kernel

Installare i moduli del kernel contenuti nei cd di debian Sarge con i seguenti comandi, da root:

apt-get install module-assistant nvidia-kernel-common
module-assistant prepare
module assistant auto-install nvidia

Installazione dei kernel-headers

Installate i kernel-headers della versione del vostro kernel (per vedere che versione è basta un uname -r)

apt-get install kernel-headers-2.6.8-2-386 

Ricordatevi di installare quelli del vostro kernel che probabilmente saranno diversi dal mio.

Scaricamento dei driver nvidia dal sito ufficiale

Se avete una scheda vecchia come la mia tipo una TNT2 vi consiglio di prendere questa versione NVIDIA-Linux-x86-1.0-7174-pkg1.run, Prendete l'ultima versione solo per schede più recenti

Installazione dei Driver

Uscite dall'interfaccia grafica, autenticatevi come root alla console ed installate i driver nvidia con questa sintassi:

sh NVIDIA-Linux-x86-1.0-7174-pkg1.run --kernel-name=2.6.8-2-386

Procedete con l'installazione guidata fino alla fine. Ricordatevi di mettere il Numero Della VOSTRA VERSIONE DEL KERNEL dopo l'opzione --kernel-name=

Riconfigurazione server Grafico

Abbiamo due per riconfigurare il server grafico, uno utilizzando dpkg l'altro editando il file con un editor di testo.

Riconfigurazione con dpkg

Riconfigurate il server grafico con: dpkg-reconfigure -pmedium xserver-xfree86 Scegliete durante la configurazione come driver nvidia al posto di nv o vesa e sceglete glx deselezionando GLCore e dri

Riconfigurazione Editando il file /etc/X11/XF86Config-4

Potete editare con vi o qualsiasi altro editor il file /etc/X11/XF86Config-4 ed aggiungete il carattere # davanti alle voci GLCore e dri aggiungete la voce Load glx se non c'è o cancellate il carattere # se sta davanti, infine dove è driver scrivete nvidia al posto di nv. Per evitare errori posto il mio:

# XF86Config-4 (XFree86 X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# This file is automatically updated on xserver-xfree86 package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xfree86
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands as root:
#
# cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.custom
# md5sum /etc/X11/XF86Config-4 >/var/lib/xfree86/XF86Config-4.md5sum
# dpkg-reconfigure xserver-xfree86

Section "Files"
FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/CID"
FontPath "/usr/lib/X11/fonts/Speedo"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
EndSection

Section "Module"
# Load "GLcore"
Load "bitmap"
Load "dbe"
Load "ddc"
# Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "record"
Load "speedo"
Load "type1"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "it"
Option "XkbVariant" "it"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/psaux"
Option "Protocol" "PS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection

Section "Device"
Identifier "NVIDIA Corporation NV5M64 [RIVA TNT2 Model 64/Model 64 Pro]"
Driver "nvidia"
EndSection

Section "Monitor"
Identifier "Monitor Generico"
HorizSync 30-60
VertRefresh 50-75
Option "DPMS"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "NVIDIA Corporation NV5M64 [RIVA TNT2 Model 64/Model 64 Pro]"
Monitor "Monitor Generico"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection

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

Section "DRI"
Mode 0666
EndSection

Avvio nuova interfaccia

Avviate l'interfaccia grafica con il comando

startx

Godetevi il logo nvidia e buon divertimento con i vostri nuovi driver.

Personal tools
wizard linux team