Pagina 1 di 1

Driver Nvidia Aggiornamento kernel

Inviato: venerdì 27 giugno 2008, 15:29
da beposanfior
Ciao, ho un annoso problema con i driver Nvidia sulla 8.04, ho un scheda grafica serie 6, oggi ho aggiornato il kernel dai repo, poi già sapendo ke dovevo reinstallare i driver ho rifatto la procedura del wiki: http://wiki.ubuntu-it.org/Hardware/Video/Nvidia/GlxNew

sia per i driver open ke quelli del sito nvidia (ma in questo caso mi dice ke la versione di gcc nn è adatta, posto :/var/log/nvidia-installer.log

Codice: Seleziona tutto

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sat Jun 28 11:21:38 2008
installer version: 1.0.7

option status:
  license pre-accepted    : false
  update                  : false
  force update            : false
  expert                  : false
  uninstall               : false
  driver info             : false
  precompiled interfaces  : true
  no ncurses color        : false
  query latest version    : false
  OpenGL header files     : true
  no questions            : false
  silent                  : false
  no recursion            : false
  no backup               : false
  kernel module only      : false
  sanity                  : false
  add this kernel         : false
  no runlevel check       : false
  no network              : false
  no ABI note             : false
  no RPMs                 : false
  no kernel module        : false
  force SELinux           : default
  no X server check       : false
  no cc version check     : false
  force tls               : (not specified)
  X install prefix        : (not specified)
  X library install path  : (not specified)
  X module install path   : (not specified)
  OpenGL install prefix   : (not specified)
  OpenGL install libdir   : (not specified)
  utility install prefix  : (not specified)
  utility install libdir  : (not specified)
  doc install prefix      : (not specified)
  kernel name             : (not specified)
  kernel include path     : (not specified)
  kernel source path      : (not specified)
  kernel output path      : (not specified)
  kernel install path     : (not specified)
  proc mount point        : /proc
  ui                      : (not specified)
  tmpdir                  : /tmp
  ftp mirror              : ftp://download.nvidia.com
  RPM file list           : (not specified)

Using: nvidia-installer ncurses user interface
-> License accepted.
-> Installing NVIDIA driver version 177.13.
-> There appears to already be a driver installed on your system (version: 169.
   12).  As part of installing this driver (version: 177.13), the existing driv
   er will be uninstalled.  Are you sure you want to continue? ('no' will abort
   installation) (Answer: Yes)
-> No precompiled kernel interface was found to match your kernel; would you li
   ke the installer to attempt to download a kernel interface for your kernel f
   rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: Yes)
-> No matching precompiled kernel interface was found on the NVIDIA ftp site;
   this means that the installer will need to compile a kernel interface for
   your kernel.
-> Performing CC sanity check with CC="cc".
-> Performing CC version check with CC="cc".
-> The CC version check failed:
   
   The compiler used to compile the kernel (gcc 4.1) does not exactly match the
   current compiler (gcc 4.2).  The Linux 2.6 kernel module loader rejects kern
   el modules built with a version of gcc that does not exactly match that of t
   he compiler used to build the running kernel.
   
   If you know what you are doing and want to ignore the gcc version check, sel
   ect "No" to continue installation.  Otherwise, select "Yes" to abort install
   ation, set the CC environment variable to the name of the compiler used to c
   ompile your kernel, and restart installation.  Abort now? (Answer: No)
ERROR: Unable to find the kernel source tree for the currently running kernel. 
       Please make sure you have installed the kernel source files for your
       kernel and that they are properly configured; on Red Hat Linux systems,
       for example, be sure you have the 'kernel-source' or 'kernel-devel' RPM
       installed.  If you know the correct kernel source files are installed,
       you may specify the kernel source path with the '--kernel-source-path'
       command line option.
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.
, ma anke installando quella ke vuole lui non campia nulla), ma in nessun caso la risoluzione arriva a più di 800x600.

Allora sono ricorso ad envyng ma nemmeno questo risolve il problema.

Ke fare?

Re: Driver Nvidia Aggiornamento kernel

Inviato: venerdì 27 giugno 2008, 22:41
da metrofox

Codice: Seleziona tutto

sudo nano /etc/X11/xorg.conf
Posta qui, il contenuto, dopodichè, postaci gli output che ti da il terminale quando digiti il comando, se non ci dai l'errore ben preciso c'è poco da fare ;)

Re: Driver Nvidia Aggiornamento kernel

Inviato: sabato 28 giugno 2008, 10:59
da beposanfior
Ecco cosa mi da:

Codice: Seleziona tutto

# xorg.conf (X.Org 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 xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

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

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

Section "Device"
	Identifier	"Configured Video Device"
EndSection

Section "Monitor"
	Identifier	"Configured Monitor"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Monitor		"Configured Monitor"
	Device		"Configured Video Device"
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
EndSection
Io ne ho creato uno che è questo:

Codice: Seleziona tutto

# xorg.conf (xorg 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 xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"it"
EndSection

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

Section "InputDevice"
	Driver		"wacom"
	Identifier	"stylus"
	Option		"Device"	"/dev/input/wacom"
	Option		"Type"		"stylus"
	Option		"ForceDevice"	"ISDV4"		# Tablet PC ONLY
EndSection

Section "InputDevice"
	Driver		"wacom"
	Identifier	"eraser"
	Option		"Device"	"/dev/input/wacom"
	Option		"Type"		"eraser"
	Option		"ForceDevice"	"ISDV4"		# Tablet PC ONLY
EndSection

Section "InputDevice"
	Driver		"wacom"
	Identifier	"cursor"
	Option		"Device"	"/dev/input/wacom"
	Option		"Type"		"cursor"
	Option		"ForceDevice"	"ISDV4"		# Tablet PC ONLY
EndSection

Section "Device"
	Identifier	"nVidia Corporation C51PV [GeForce 6150]"
	Driver		"nvidia"
	BusID		"PCI:0:5:0"
EndSection

Section "Monitor"
	Identifier	"Acer V771"
	Option		"DPMS"
	HorizSync	30-72
	VertRefresh	50-120
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"nVidia Corporation C51PV [GeForce 6150]"
	Monitor		"Acer V771"
	DefaultDepth	24
	SubSection "Display"
		Modes		"1280x1024" "1280x960" "1280x854" "1280x800" "1280x768" "1200x800" "1152x864" "1152x768" "1024x768"
	EndSubSection
EndSection

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

# Uncomment if you have a wacom tablet
#	InputDevice     "stylus"	"SendCoreEvents"
#	InputDevice     "cursor"	"SendCoreEvents"
#	InputDevice     "eraser"	"SendCoreEvents"
EndSection
Ma mi viene sovrascritto quando riavvio...

Re: Driver Nvidia Aggiornamento kernel

Inviato: domenica 29 giugno 2008, 0:06
da metrofox
Forse ho capito, allora, innanzitutto disabilita i drivers con restrizioni, chiudi tutte le applicazioni, ed entra in console tty(digita CTRL+ALT+F2), dopodichè lancia questi comandi:

Codice: Seleziona tutto

sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.bak
dopodiché:

Codice: Seleziona tutto

sudo /etc/init.d/gdm stop
infine esegui

Codice: Seleziona tutto

sudo sh NVIDIA*
Quando ti verrà postata la domanda:
'look for a kernel module'
RIspondi sì, lui ti cercherà i moduli adatti per la tua scheda grafica e li installerà. ;) Dopodiché, esgui il login e dai questo comando da terminale:

Codice: Seleziona tutto

glxinfo
Comunque, ci sono diverse soluzioni, guarda qui:

http://www.google.it/search?source=ig&h ... ogle&meta=

Re: Driver Nvidia Aggiornamento kernel

Inviato: domenica 29 giugno 2008, 12:09
da beposanfior
Il problema è sto gcc, e non trovo soluzioni.
Ho letto qui ma non ho capito molto: http://forum.html.it/forum/showthread/t-1143193.html

Re: Driver Nvidia Aggiornamento kernel

Inviato: domenica 29 giugno 2008, 14:14
da metrofox
Che versione di gcc hai installato?

Codice: Seleziona tutto

gcc --version
Oppure prova a fare:

Codice: Seleziona tutto

sudo apt-get install build-essential

Re: Driver Nvidia Aggiornamento kernel

Inviato: lunedì 30 giugno 2008, 9:59
da beposanfior
Ora non sarò a casa x una ventina di giorni, quindi rimando la soluzione del problema.

Ti farò sapere.

Ciao

Re: Driver Nvidia Aggiornamento kernel

Inviato: lunedì 30 giugno 2008, 14:39
da seawolf
Il problema non sussiste se ci si attiene alle solite regole per installare i driver nvidea del "sito".
Devo però aggiungere che nella pagina wiki citata non si fa riferimento alla fase di fermare il kdm/gdm ed altre cose essenziali,se uno vuole provare ad installare i driver tramite il .run,dopo aver installato il pacchetto nvidia-glx/-new dai repositori,non sono più specificate certe procedure.
Forse non sono più importanti,ma le vecchie pagine erano più chiare.
p.s
delle pagine wiky mi manca la citazione all'ultima modifica ,almeno si riusciva a capire se era recente o meno.
Rimane sempre il fatto che ammiro tutte le persone che dedicano il loro tempo(in molti casi prezioso) alla comunità:  (good)

Re: Driver Nvidia Aggiornamento kernel

Inviato: lunedì 30 giugno 2008, 14:43
da metrofox
Bhè, se si vuole installare il driver dal .run bisogna per forza stoppare il window manager senò il .run non verrà avviato. ;) Comunque, io sono sempre dalla parte del "manuale", cioè riga di comando e cose, varie, certo il tool grafico serve all'utenza ed alla crescita del sistema, ma c'è chi ama il GUI, c'è chi no, come me ad esempio ;)

Re: Driver Nvidia Aggiornamento kernel

Inviato: lunedì 30 giugno 2008, 15:23
da beposanfior
Non mi ero nemmeno accorto ke la guida del wiki fosse campbiata...

Cmq il mio problemo x ora è sto gcc, non il fatto di fermere o meno il gdm...
Il bello è ke sugli altri pc (con ubuntu 7.10 e 7.04) quei driver vanno bene, mentre su quello con 8.04 no!

Re: Driver Nvidia Aggiornamento kernel

Inviato: lunedì 30 giugno 2008, 18:53
da metrofox
Allora, disinstalla gcc 4.2 ed installa la versione 4.2

Codice: Seleziona tutto

sudo apt-get remove gcc-4.2

Codice: Seleziona tutto

sudo apt-get install gcc-4.1
Prova ora

Re: Driver Nvidia Aggiornamento kernel

Inviato: lunedì 21 luglio 2008, 18:38
da beposanfior
Trovato la soluzione:

http://www.arearelax.org/2008/07/21/dri ... ck-failed/

purtroppo non posso testare in quanto ho rimosso ubuntu 8.04.