Problemi nVidia

Se avete problemi con l'installazione e la configurazione di Slackware postate qui. Non usate questo forum per argomenti generali... per quelli usate Gnu/Linux in genere.

Moderatore: Staff

Regole del forum
1) Citare sempre la versione di Slackware usata, la versione del Kernel e magari anche la versione della libreria coinvolta. Questi dati aiutano le persone che possono rispondere.
2) Per evitare confusione prego inserire in questo forum solo topic che riguardano appunto Slackware, se l'argomento è generale usate il forum Gnu/Linux in genere.
3) Leggere attentamente le risposte ricevute.
4) Scrivere i messaggi con il colore di default, evitare altri colori.
5) Scrivere in Italiano o in Inglese, se possibile grammaticalmente corretto, evitate stili di scrittura poco chiari, quindi nessuna abbreviazione tipo telegramma o scrittura stile SMS o CHAT.
6) Appena registrati è consigliato presentarsi nel forum dedicato.

La non osservanza delle regole porta a provvedimenti di vari tipo da parte dello staff, in particolare la non osservanza della regola 5 porta alla cancellazione del post e alla segnalazione dell'utente. In caso di recidività l'utente rischia il ban temporaneo.
Avatar utente
Darkstar89
Packager
Packager
Messaggi: 372
Iscritto il: mer 17 dic 2008, 19:06
Nome Cognome: Francesco
Slackware: 13
Località: Sassari

Problemi nVidia

Messaggio da Darkstar89 »

Ciao a tutti, ho un problema da tempo.. da quando ho aggiornato il kernel al 2.6.29.1 non riesco ad installare i driver propietari, ho una scheda supportata:
01:00.0 VGA compatible controller: nVidia Corporation NV11 [GeForce2 MX/MX 400] (rev b2)
Questo è l'Xorg di xorgsetup:

Codice: Seleziona tutto

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

Section "Files"
        RgbPath      "/usr/share/X11/rgb"
        ModulePath   "/usr/lib/xorg/modules"
        FontPath     "/usr/share/fonts/TTF"
        FontPath     "/usr/share/fonts/OTF"
        FontPath     "/usr/share/fonts/Type1"
        FontPath     "/usr/share/fonts/misc"
        FontPath     "/usr/share/fonts/75dpi/:unscaled"
EndSection

Section "Module"
        Load  "xtrap"
        Load  "record"
        Load  "dri"
        Load  "extmod"
        Load  "GLcore"
        Load  "glx"
        Load  "dbe"
        Load  "type1"
        Load  "freetype"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option       "XkbModel"  "pc101"
        Option       "XkbLayout"  "it"
EndSection

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

Section "Monitor"
        #DisplaySize      320   240     # mm
        Identifier   "Monitor0"
        VendorName   "AOC"
        ModelName    "7V"
 ### Comment all HorizSync and VertRefresh values to use DDC:
        HorizSync    30.0 - 70.0
        VertRefresh  50.0 - 160.0
        Option      "DPMS"
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     "UseFBDev"                  # [<bool>]
        #Option     "Rotate"                    # [<str>]
        #Option     "VideoKey"                  # <i>
        #Option     "FlatPanel"                 # [<bool>]
        #Option     "FPDither"                  # [<bool>]
        #Option     "CrtcNumber"                # <i>
        #Option     "FPScale"                   # [<bool>]
        #Option     "FPTweak"                   # <i>
        #Option     "DualHead"                  # [<bool>]
        Identifier  "Card0"
        Driver      "nv"
        VendorName  "nVidia Corporation"
        BoardName   "NV11 [GeForce2 MX/MX 400]"
        BusID       "PCI:1:0:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultDepth 24
        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
Mentre questo è /var/log/nvidia-installer.log :

Codice: Seleziona tutto

...
   NVIDIA: left KBUILD.
-> done.
-> Kernel module compilation complete.
ERROR: Unable to load the kernel module 'nvidia.ko'.  This happens most
       frequently when this kernel module was built against the wrong or
       improperly configured kernel sources, with a version of gcc that differs
       from the one used to build the target kernel, or if a driver such as
       rivafb/nvidiafb is present and prevents the NVIDIA kernel module from
       obtaining ownership of the NVIDIA graphics device(s).

       Please see the log entries 'Kernel module load error' and 'Kernel
       messages' at the end of the file '/var/log/nvidia-installer.log' for
       more information.
-> Kernel module load error: insmod: error inserting './usr/src/nv/nvidia.ko':
   -1 Invalid module format
-> Kernel messages:
   Intel ISA PCIC probe: not found.
   Databook TCIC-2 PCMCIA probe: not found.
   NET: Registered protocol family 10
   lo: Disabled Privacy Extensions
   rt73usb 1-2:1.0: firmware: requesting rt73.bin
   ADDRCONF(NETDEV_UP): wlan0: link is not ready
   ADDRCONF(NETDEV_UP): wlan0: link is not ready
   wlan0: authenticate with AP 00:90:d0:f9:8b:44
   wlan0: authenticated
   wlan0: associate with AP 00:90:d0:f9:8b:44
   wlan0: RX AssocResp from 00:90:d0:f9:8b:44 (capab=0x411 status=0 aid=3)
   wlan0: associated
   ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
   wlan0: authenticate with AP 00:90:d0:f9:8b:44
   wlan0: authenticate with AP 00:90:d0:f9:8b:44
   wlan0: authenticated
   wlan0: associate with AP 00:90:d0:f9:8b:44
   wlan0: RX ReassocResp from 00:90:d0:f9:8b:44 (capab=0x411 status=0 aid=3)
   wlan0: associated
   wlan0: no IPv6 routers present
   NET: Registered protocol family 4
   NET: Registered protocol family 3
   NET: Registered protocol family 5
   i2c_core: exports duplicate symbol i2c_smbus_xfer (owned by kernel)
   nvidia: version magic '2.6.29.1-smp preempt mod_unload modversions ELAN '
   should be '2.6.29.1 mod_unload 486 '
ERROR: Installation has failed.  Please see the file
       '/var/log/nvidia-installer.log' for details.  You may find suggestions
       on fixing installation problems in the README available on the Linux
       driver download page at www.nvidia.com.
Ho risolto per la risoluzione da schifo..
ho trovato: http://kmuto.jp/debian/hcl/Apple/PowerMac+G4+Silver dove leggo che la mia scheda funziona su il 2.6.29.x..
Non so che driver cercare....Perfavore aiuto, ne ho bisogno..Please =)

Avatar utente
teox99
Linux 3.x
Linux 3.x
Messaggi: 738
Iscritto il: ven 25 lug 2008, 14:54
Slackware: 13.37
Desktop: KDE - Xfce
Località: Roma[Eur]
Contatta:

Re: Problemi nVidia

Messaggio da teox99 »

prima di tutto la soluzione a soliti problemi e' scritta qui

"This happens most frequently when this kernel module was built against the wrong or
improperly configured kernel sources, with a version of gcc that differs
from the one used to build the target kernel, or if a driver such as
rivafb/nvidiafb is present and prevents the NVIDIA kernel module from
obtaining ownership of the NVIDIA graphics device(s)."

quanti kernel hai installato sulla macchina? hai i scaricato i rispettivi kernel source? la stessa ver di gcc che usi e' la stessa con cui hai compilato i kernel?
comunque
il kernel 2.6.29.1 e' una vera chiavica usa il 28 o il 29.2 appena uscito.

Avatar utente
Darkstar89
Packager
Packager
Messaggi: 372
Iscritto il: mer 17 dic 2008, 19:06
Nome Cognome: Francesco
Slackware: 13
Località: Sassari

Re: Problemi nVidia

Messaggio da Darkstar89 »

Ho già messo la patch da tempo.. ora ho agg il profilo...Comunque ho appena disinsallato il 2.6.27.7.. ho questi pacchetti:
kernel-firmware-2.6.29.1-noarch-1
kernel-generic-2.6.29.1-i486-1
kernel-headers-2.6.29.1-x86-1
kernel-huge-2.6.29.1-i486-1
kernel-modules-2.6.29.1-i486-1
kernel-source-2.6.29.1_smp-noarch
comunque non ho mai installato gcc ho la 4.2.4...In usr/src ho cancellato linux e ho fatto il collegamento linux a linux-2.6.29.1...
Provo a reinstallare i driver?

Avatar utente
teox99
Linux 3.x
Linux 3.x
Messaggi: 738
Iscritto il: ven 25 lug 2008, 14:54
Slackware: 13.37
Desktop: KDE - Xfce
Località: Roma[Eur]
Contatta:

Re: Problemi nVidia

Messaggio da teox99 »

devi scaricare ed installare i kernel-source dell'attuale kernel usato.

Avatar utente
Darkstar89
Packager
Packager
Messaggi: 372
Iscritto il: mer 17 dic 2008, 19:06
Nome Cognome: Francesco
Slackware: 13
Località: Sassari

Re: Problemi nVidia

Messaggio da Darkstar89 »

Ho disinstallato tutti i precedenti kernel e ho scaricato tutti i pacchetti:
kernel-firmware-2.6.29.2-noarch-1
kernel-huge-2.6.29.2-i486-1
kernel-generic-2.6.29.2-i486-1
kernel-modules-2.6.29.2-i486-1
kernel-headers-2.6.29.2-x86-1
kernel-source-2.6.29.2_smp-noarch-1
...Ora sto compilando... una domanda posso eliminare le directory di /usr/src/linux-vecchie? Grazie comunq :D

Avatar utente
phobos3576
Staff
Staff
Messaggi: 2980
Iscritto il: dom 17 apr 2005, 0:00
Slackware: 13.1
Kernel: 2.6.37-smp
Desktop: KDE 4.5.3

Re: Problemi nVidia

Messaggio da phobos3576 »

Nella section "Device" si nota la riga:

Codice: Seleziona tutto

Driver      "nv"
Quindi, stai usando il driver opensource "nv" e non quello closed "nvidia".

Riavvia il PC con il kernel 2.6.29.2 e assicurati che siano presenti i sorgenti in /usr/src.
Accedi come root e, prima di avviare il server X, esegui il comando:

Codice: Seleziona tutto

nvidia-installer --uninstall
Poi:

Codice: Seleziona tutto

sh NVIDIA-Linux-x86-180.51-pkg0.run -n
Alla fine, quando ti viene chiesto se vuoi modificare automaticamente xorg.conf, rispondi YES.

Avatar utente
Darkstar89
Packager
Packager
Messaggi: 372
Iscritto il: mer 17 dic 2008, 19:06
Nome Cognome: Francesco
Slackware: 13
Località: Sassari

Re: Problemi nVidia

Messaggio da Darkstar89 »

Ho modificato lilo, disinstallato i driver e riavviato ma quando ho provato a reinstallare idriver mi ha dato lo stesso errore..

Codice: Seleziona tutto

ERROR: Unable to load the kernel module 'nvidia.ko'.  This happens most
       frequently when this kernel module was built against the wrong or
       improperly configured kernel sources, with a version of gcc that differs
       from the one used to build the target kernel, or if a driver such as
       rivafb/nvidiafb is present and prevents the NVIDIA kernel module from
       obtaining ownership of the NVIDIA graphics device(s).

       Please see the log entries 'Kernel module load error' and 'Kernel
       messages' at the end of the file '/var/log/nvidia-installer.log' for
       more information.
-> Kernel module load error: insmod: error inserting './usr/src/nv/nvidia.ko':
   -1 Invalid module format
-> Kernel messages:
   EXT3 FS on hda1, internal journal
   lp0: using parport0 (interrupt-driven).
   lp0: console ready
   Intel ISA PCIC probe: not found.
   Databook TCIC-2 PCMCIA probe: not found.
   NET: Registered protocol family 10
   lo: Disabled Privacy Extensions
   i2c_core: exports duplicate symbol i2c_smbus_xfer (owned by kernel)
   nvidia: version magic '2.6.29.2-smp SMP mod_unload 686 ' should be '2.6.29.2
   mod_unload 486 '
ERROR: Installation has failed.  Please see the file
       '/var/log/nvidia-installer.log' for details.  You may find suggestions
       on fixing installation problems in the README available on the Linux
       driver download page at www.nvidia.com.
...
Nell'errore ho letto gcc 4.3.3 mi sà e poi nello stesso messaggio gcc 4.2.4...
Devo aggiornare gcc?
Posso eliminare le directory linux-2.6.27.7 linux-2.6.29.1 da /usr/src ? Grazie

Avatar utente
phobos3576
Staff
Staff
Messaggi: 2980
Iscritto il: dom 17 apr 2005, 0:00
Slackware: 13.1
Kernel: 2.6.37-smp
Desktop: KDE 4.5.3

Re: Problemi nVidia

Messaggio da phobos3576 »

Ma, guarda, io ho Slackware 12.2 e il kernel 2.6.29.2 ricompilato da me e non ho nessun problema ad installare i driver nVidia.

Non è che per caso hai aggiornato GCC?

Inoltre, sei sicuro di aver scaricato il giusto driver nVidia per la tua MX 400?
Prova ad inserire qui i dati della tua scheda video:

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

Puoi eliminare tranquillamente i sorgenti dei vecchi kernel che non stai più usando.

Avatar utente
zoros
Linux 4.x
Linux 4.x
Messaggi: 1362
Iscritto il: lun 28 mag 2007, 22:51
Nome Cognome: Fabio`Zorba`
Slackware: 15.0
Kernel: 5.15.19smp
Desktop: Trinity R14.0.11
Località: Gorizia

Re: Problemi nVidia

Messaggio da zoros »

Ma, a me sembra che ci sia un problema di versione ... si vede nei log:

Codice: Seleziona tutto

   i2c_core: exports duplicate symbol i2c_smbus_xfer (owned by kernel)
   nvidia: version magic '2.6.29.2-smp SMP mod_unload 686 ' should be '2.6.29.2
stai usando il kernel huge e compili sui sorgenti "marcati" -smp ... chiaramente il modulo nvidia.ko si compila ma non viene accettato in fase di inserimento ...

per ricompilare nvidia.ko al cambio di kernel (con driver X già funzionante) non occorre reinstallare tutto: si estrae la directory del driver "./NVIDIA-Linux-x86-nnn.pkg1.run -x", si entra nella directory dei sorgenti: "cd NVIDIA-Linux-x86-nnn.pkg1/usr/src/nv", poi "make module" e "make install"
vorrei riavere le mie firme ...

Avatar utente
Darkstar89
Packager
Packager
Messaggi: 372
Iscritto il: mer 17 dic 2008, 19:06
Nome Cognome: Francesco
Slackware: 13
Località: Sassari

Re: Problemi nVidia

Messaggio da Darkstar89 »

Ciao e grazie a tutti per il supporto... :D
Allora gcc --version dà "gcc (GCC) 4.2.4"...Inoltre non sò che driver scaricare dal sito invidia nella zona Product Series...
Ho anche provato ad estrarre il driver nella sua directory..vado nella directory nv dove ho questi file:

Codice: Seleziona tutto

-rwxrwxrwx 1 Francesco users    8954 2009-02-24 00:46 Makefile.kbuild
-rwxrwxrwx 1 Francesco users    3529 2009-02-24 00:46 Makefile.nvidia
-rwxrwxrwx 1 Francesco users   48533 2009-02-24 00:46 conftest.sh
-rwxrwxrwx 1 Francesco users    5799 2009-02-24 00:46 cpuopsys.h
-rwxrwxrwx 1 Francesco users    9077 2009-02-24 00:46 gcc-version-check.c
-rwxrwxrwx 1 Francesco users    9406 2009-02-24 00:46 nv-i2c.c
-rwxrwxrwx 1 Francesco users 5335224 2009-02-24 00:46 nv-kernel.o
-rwxrwxrwx 1 Francesco users   43143 2009-02-24 00:46 nv-linux.h
-rwxrwxrwx 1 Francesco users    2967 2009-02-24 00:46 nv-memdbg.h
-rwxrwxrwx 1 Francesco users    1267 2009-02-24 00:46 nv-misc.h
-rwxrwxrwx 1 Francesco users   22951 2009-02-24 00:46 nv-vm.c
-rwxrwxrwx 1 Francesco users     768 2009-02-24 00:46 nv-vm.h
-rwxrwxrwx 1 Francesco users  114277 2009-02-24 00:46 nv.c
-rwxrwxrwx 1 Francesco users   19003 2009-02-24 00:46 nv.h
-rwxrwxrwx 1 Francesco users    4767 2009-02-24 00:46 nvreadme.h
-rwxrwxrwx 1 Francesco users   15420 2009-02-24 00:46 nvtypes.h
-rwxrwxrwx 1 Francesco users    8874 2009-02-24 00:46 os-agp.c
-rwxrwxrwx 1 Francesco users     784 2009-02-24 00:46 os-agp.h
-rwxrwxrwx 1 Francesco users   27989 2009-02-24 00:46 os-interface.c
-rwxrwxrwx 1 Francesco users    8241 2009-02-24 00:46 os-interface.h
-rwxrwxrwx 1 Francesco users   21173 2009-02-24 00:46 os-registry.c
drwxr-xr-x 2 Francesco users   20480 2009-02-24 01:06 precompiled
-rwxrwxrwx 1 Francesco users    1803 2009-02-24 00:46 readme
-rwxrwxrwx 1 Francesco users    3752 2009-02-24 00:46 rmretval.h
..Ma dando make modules ottengo:
make: *** No rule to make target `modules'. Stop.
e solo con make: make: *** No targets specified and no makefile found. Stop.
Tutto questo da quando ho installato il nuovo kernel, auiti?

Avatar utente
zoros
Linux 4.x
Linux 4.x
Messaggi: 1362
Iscritto il: lun 28 mag 2007, 22:51
Nome Cognome: Fabio`Zorba`
Slackware: 15.0
Kernel: 5.15.19smp
Desktop: Trinity R14.0.11
Località: Gorizia

Re: Problemi nVidia

Messaggio da zoros »

Avevo scritto: "make module" ... guarda eventualmente dentro al Makefile quali sono le opzioni utilizzabili ...

la tua scheda è ormai datata, si fa sempre più fatica a trovare il driver aggiornato alle ultime versioni del kernel ... di solito va cercato in quelle cosiddette "GPU legacy" o qualcosa di simile, tipo la serie 96xx ... indicazioni più o meno approssimative, ma forse riesci a combinare ...
vorrei riavere le mie firme ...

Avatar utente
conraid
Staff
Staff
Messaggi: 13631
Iscritto il: gio 14 lug 2005, 0:00
Nome Cognome: Corrado Franco
Slackware: current64
Desktop: kde
Località: Livorno
Contatta:

Re: Problemi nVidia

Messaggio da conraid »

tu devi usare questi:
http://www.nvidia.com/object/linux_disp ... 43.11.html
Sembra che si compilano con il 2.6.29, ma hanno problemi

Leggi questa discussione
http://www.nvnews.net/vbulletin/showthread.php?t=132191

Prendi l'ultimo kernel e ricompilalo come indicato

su mandriva consigliano di avviare il sistema con l'opzione nopat
https://qa.mandriva.com/show_bug.cgi?id=47998

Avatar utente
michele.p
Packager
Packager
Messaggi: 1276
Iscritto il: ven 24 nov 2006, 16:52
Nome Cognome: Michele Petrecca
Slackware: 13.37
Kernel: 2.6.37.6
Desktop: KDE
Distribuzione: ..Fedora e Mandriva
Località: Pontecorvo(FR)
Contatta:

Re: Problemi nVidia

Messaggio da michele.p »

...il segnaatore del bug su qamandriva.com ha scritto anche questa guida;

http://www.mandrakeitalia.org/modules/w ... icleid=415

vedi se può esserti di aiuto. Io ho (praticamente) la tua stessa scheda, ma al momento ancora non mi sono cimentato nelle "nuove installazioni"; se ne parlerà la prossima settimana.

Bye 8)

Avatar utente
Darkstar89
Packager
Packager
Messaggi: 372
Iscritto il: mer 17 dic 2008, 19:06
Nome Cognome: Francesco
Slackware: 13
Località: Sassari

Re: Problemi nVidia

Messaggio da Darkstar89 »

Grazie a tutti per l'aiuto :D ..
Comunque stavo già usando il driver che mi è stato consigliato.. ho dato una guardata a i siti che mi avete linkato, e non ho capito dove aggiungere nopat del sito suggerito da michele.. Devo aggiungerlo al lilo.conf?

Avatar utente
michele.p
Packager
Packager
Messaggi: 1276
Iscritto il: ven 24 nov 2006, 16:52
Nome Cognome: Michele Petrecca
Slackware: 13.37
Kernel: 2.6.37.6
Desktop: KDE
Distribuzione: ..Fedora e Mandriva
Località: Pontecorvo(FR)
Contatta:

Re: Problemi nVidia

Messaggio da michele.p »

...si, prova ad aggiungere la riga;

append="nopat"

Bye 8)

Rispondi