Driver NVIDIA e kernel 2.6.9

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.
Rispondi
Avatar utente
Harp
Staff
Staff
Messaggi: 1424
Iscritto il: sab 17 apr 2004, 0:00
Nome Cognome: Franco Fiorin
Slackware: 13.0
Kernel: 2.6.29
Desktop: KDE 4.2.4
Località: Vittorio Veneto (TV)
Contatta:

Driver NVIDIA e kernel 2.6.9

Messaggio da Harp »

Ciao, ho compilato il kernel 2.6.9, ma non riesco ad abilitare l´accelerazione grafica della scheda, mentre con il kernel 2.4.26 tutto è ok!
<BR>Vi posto il log.
<BR>
<BR>nvidia-installer log file ´/var/log/nvidia-installer.log´
<BR>creation time: Mon Nov 1 20:39:15 2004
<BR>
<BR>option status:
<BR> license pre-accepted : false
<BR> update : false
<BR> force update : false
<BR> expert : false
<BR> uninstall : false
<BR> driver info : false
<BR> no precompiled interface: false
<BR> no ncurses color : false
<BR> query latest driver ver : false
<BR> OpenGL header files : false
<BR> no questions : false
<BR> silent : false
<BR> X install prefix : /usr/X11R6
<BR> OpenGL install prefix : /usr
<BR> Installer install prefix: /usr
<BR> kernel source path : (not specified)
<BR> kernel install path : (not specified)
<BR> proc mount point : /proc
<BR> ui : (not specified)
<BR> tmpdir : /tmp
<BR> ftp site : <a href="ftp://download.nvidia.com" target="_blank" target="_new">ftp://download.nvidia.com</a>
<BR>
<BR>Using: nvidia-installer ncurses user interface
<BR>-> License accepted.
<BR>-> No precompiled kernel interface was found to match your kernel; would you li
<BR> che the installer to attempt to download a kernel interface for your kernel f
<BR> rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: No)
<BR>-> No precompiled kernel interface was found to match your kernel; this means
<BR> that the installer will need to compile a new kernel interface.
<BR>-> Kernel source path: ´/lib/modules/2.4.26/build´
<BR>-> Performing cc_version_check with CC="cc".
<BR>-> Performing rivafb check.
<BR>-> Performing rivafb module check.
<BR>WARNING: Your kernel was configured to include rivafb support as
<BR> a loadable kernel module.
<BR>
<BR> The rivafb driver conflicts with the NVIDIA driver; the
<BR> NVIDIA kernel module will still be built and installed,
<BR> but be aware that the NVIDIA driver will not be able to
<BR> function properly if the rivafb module is loaded!
<BR>-> Cleaning kernel module build directory.
<BR> executing: ´cd ./usr/src/nv; make clean´...
<BR> rm -f nv.o os-agp.o os-interface.o os-registry.o nv-linux.o nv_compiler.h *
<BR> .d NVdriver nvidia.o
<BR>-> Building kernel module:
<BR> executing: ´cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.4.26/build SY
<BR> SOUT=/lib/modules/2.4.26/build´...
<BR> Your kernel was configured to include rivafb support as
<BR> a loadable kernel module.
<BR>
<BR> The rivafb driver conflicts with the NVIDIA driver; the
<BR> NVIDIA kernel module will still be built and installed,
<BR> but be aware that the NVIDIA driver will not be able to
<BR> function properly if the rivafb module is loaded!
<BR>
<BR> *** Failed rivafb module sanity check, but continuing! ***
<BR>
<BR> echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > nv_compiler.h
<BR> cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp
<BR> arentheses -Wpointer-arith -Wno-multichar -Werror -O -fno-common -UDEBUG -
<BR> U_DEBUG -DNDEBUG -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_G
<BR> NU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1
<BR> -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=6111 -DNV_UNIX -DNV_LINUX -DNV_INT
<BR> 64_OK -DNVCPU_X86 -DREMAP_PAGE_RANGE_4 -DNV_CHANGE_PAGE_ATTR_PRESENT
<BR> -I. -I/lib/modules/2.4.26/build/include -Wno-cast-qual -Wno-error nv.c
<BR> cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp
<BR> arentheses -Wpointer-arith -Wno-multichar -Werror -O -fno-common -UDEBUG -
<BR> U_DEBUG -DNDEBUG -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_G
<BR> NU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1
<BR> -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=6111 -DNV_UNIX -DNV_LINUX -DNV_INT
<BR> 64_OK -DNVCPU_X86 -DREMAP_PAGE_RANGE_4 -DNV_CHANGE_PAGE_ATTR_PRESENT
<BR> -I. -I/lib/modules/2.4.26/build/include -Wno-cast-qual -Wno-error os-agp.c
<BR> cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp
<BR> arentheses -Wpointer-arith -Wno-multichar -Werror -O -fno-common -UDEBUG -
<BR> U_DEBUG -DNDEBUG -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_G
<BR> NU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1
<BR> -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=6111 -DNV_UNIX -DNV_LINUX -DNV_INT
<BR> 64_OK -DNVCPU_X86 -DREMAP_PAGE_RANGE_4 -DNV_CHANGE_PAGE_ATTR_PRESENT
<BR> -I. -I/lib/modules/2.4.26/build/include -Wno-cast-qual -Wno-error os-interfa
<BR> ce.c
<BR> cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp
<BR> arentheses -Wpointer-arith -Wno-multichar -Werror -O -fno-common -UDEBUG -
<BR> U_DEBUG -DNDEBUG -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_G
<BR> NU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1
<BR> -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=6111 -DNV_UNIX -DNV_LINUX -DNV_INT
<BR> 64_OK -DNVCPU_X86 -DREMAP_PAGE_RANGE_4 -DNV_CHANGE_PAGE_ATTR_PRESENT
<BR> -I. -I/lib/modules/2.4.26/build/include -Wno-cast-qual -Wno-error os-registr
<BR> y.c
<BR> ld -r -o nv-linux.o nv.o os-agp.o os-interface.o os-registry.o
<BR> ld -r -o nvidia.o nv-linux.o nv-kernel.o
<BR>-> done.
<BR>-> Kernel module compilation complete.
<BR>-> Installing classic TLS OpenGL libraries.
<BR>-> Installing ´NVIDIA Accelerated Graphics Driver for Linux-x86´ (1.0-6111):
<BR> executing: ´./usr/src/nv/makedevices.sh´...
<BR> executing: ´/sbin/ldconfig´...
<BR> executing: ´/sbin/depmod -aq´...
<BR>-> done.
<BR>-> Driver file installation is complete.
<BR>-> Running post-install sanity check:
<BR>-> done.
<BR>-> Sanity check passed.
<BR>-> Shared memory test passed.
<BR>-> Installation of the NVIDIA Accelerated Graphics Driver for Linux-x86
<BR> (version: 1.0-6111) is now complete. Please update your XF86Config or
<BR> xorg.conf file as appropriate; see the file
<BR> /usr/share/doc/NVIDIA_GLX-1.0/README for details.
<BR>
<BR><br>

meritil
Master
Master
Messaggi: 1651
Iscritto il: mar 24 ago 2004, 0:00
Slackware: bluewhite64
Contatta:

Driver NVIDIA e kernel 2.6.9

Messaggio da meritil »

<!-- BBCode Start --><A HREF="http://www.slacky.it/modules.php?mop=mo ... 83&forum=1" TARGET="_blank">Ciao</A><!-- BBCode End --><br>

Avatar utente
Harp
Staff
Staff
Messaggi: 1424
Iscritto il: sab 17 apr 2004, 0:00
Nome Cognome: Franco Fiorin
Slackware: 13.0
Kernel: 2.6.29
Desktop: KDE 4.2.4
Località: Vittorio Veneto (TV)
Contatta:

Driver NVIDIA e kernel 2.6.9

Messaggio da Harp »

Avevo letto il tuo forum, ma pensavo si trattasse di un problema diverso.
<BR>Devo usare il driver patchato?
<BR>E´ possibile inoltre che il l´ultimo driver reso disponibile da Nvidia (mi sembra sia datato 4 agosto 2004) dia problemi anche con il kernel 2.4.24?
<BR>Ho dei nuovi messaggi di errore in Mplayer:
<BR>
<BR>Can´t open input config file /home/franco/.mplayer/input.conf: No such file or directory
<BR>Can´t open input config file /etc/mplayer/input.conf: No such file or directory
<BR>Falling back on default (hardcoded) input config
<BR>[ws] sorry, your system is not supported XShape extension.
<BR>Xlib: extension "XFree86-VidModeExtension" missing on display ":0.0
<BR>
<BR>e le icone animate sono mal definite.
<BR>Stupidaggini, che però preferirei non avere.
<BR><br>

meritil
Master
Master
Messaggi: 1651
Iscritto il: mar 24 ago 2004, 0:00
Slackware: bluewhite64
Contatta:

Driver NVIDIA e kernel 2.6.9

Messaggio da meritil »

Bè guarda per il multimediale sono un incompetente con la I maiuscola, quindi per Mplayer non saprei che dirti a parte quello che leggo... cioè che non trova un file chiamato input.conf.
<BR>Per i Driver Nvidia, si! se hai intenzione di "giocare" con il kernel 2.6.9 devi usare i drivers patchati... anche se ho letto in giro pareri discordanti che consigliano di patchare il kernel più che i drivers, io personalmente mi fido più dello staff che sviluppa i kernel che di alcuni pseudo smanettoni ...insomma morale della favola i sorgenti del kernel li patcho solo con patch ufficiali o di collaboratori ufficiali tipo Alan Cox e compagni...
<BR>Poi a ognuno la scelta... se preferisci patchare il kernel piuttosto che i drivers sei liberissimo di farlo.. Linux è bello proprio per questo :)))
<BR>
<BR>Ciao Meritil
<BR>
<BR>ps: Sul 2.4.26/27 i drivers Nvidia ufficiali vanno benissimo... sul 2.4.28, prossimo all´uscita, potrebbero avere gli stessi problemi che hanno col 2.6.9. <br>

Avatar utente
Harp
Staff
Staff
Messaggi: 1424
Iscritto il: sab 17 apr 2004, 0:00
Nome Cognome: Franco Fiorin
Slackware: 13.0
Kernel: 2.6.29
Desktop: KDE 4.2.4
Località: Vittorio Veneto (TV)
Contatta:

Driver NVIDIA e kernel 2.6.9

Messaggio da Harp »

Grazie per l´aiuto Meritil e scusa se ti scoccio ancora.
<BR>Ho scaricato il driver che hai indicato nel tuo thread, ma prima di farlo partire volevo essere sicuro che sia necessario.
<BR>
<BR>ERROR: Unable to load the kernel module ´nvidia.ko´. This is most likely
<BR> because the kernel module was built using the wrong kernel source files.
<BR> Please make sure you have installed the kernel source files for your
<BR> kernel; on Red Hat Linux systems, for example, be sure you have the
<BR> ´kernel-source´ rpm installed. If you know the correct kernel source
<BR> files are installed, you may specify the kernel source path with the
<BR> ´--kernel-source-path´ commandline option.
<BR>-> Kernel module load error: insmod: error inserting ´./usr/src/nv/nvidia.ko´:
<BR>
<BR>Questo errore è dovuto dal bug del driver?
<BR>Oppure basta inserire il path come suggerisce il messaggio?
<BR>
<BR>
<BR>
<BR><BR><BR>[ Questo Messaggio è stato Modificato da: Harp00 il 03-11-2004 15:50 ]<br>

meritil
Master
Master
Messaggi: 1651
Iscritto il: mar 24 ago 2004, 0:00
Slackware: bluewhite64
Contatta:

Driver NVIDIA e kernel 2.6.9

Messaggio da meritil »

Controlla se per caso hai un modulo nvidia obsoleto già caricato.. se c´è rimuovilo con rmmod, poi modprobe nvidia.
<BR>Cmqe la procedura in questi casi è la seguente:
<BR>Disinstalla i driver nvidia precedenti.
<BR>Assicurati che il kernel 2.6.9 sia correttamente istallato e che esistano tutti i link ad esso.
<BR>poi scarica il driver dal link che ho fornito
<BR>scompatta
<BR>entra nella directory
<BR>./nvidia-istaller -na
<BR>
<BR>e dovrebbe funzionare... cioè a me ha funzionato!
<BR>
<BR>ps: Il driver del link è ESCLUSIVAMENTE per il kernel 2.6.9 vergine.
<BR><br>

Rispondi