Po wymianie karty graficznej na Debianie 6 sterowniki nVidii nie instaluj

Zagadnienia dotyczące menadżerów okien, środowisk graficznych - X, KDE, GNOME, Fluxbox, XFCE., Compiz itp.
goska_23
Beginner
Posty: 277
Rejestracja: 04 września 2007, 13:40
Lokalizacja: Katowice

Po wymianie karty graficznej na Debianie 6 sterowniki nVidii nie instalują się

Post autor: goska_23 »

Mam problem z zainstalowaniem sterowników do karty graficznej nVidia Geforce 210 (EN 210) na moim Debianie 6.0.4 64 bit.
Wcześniej na tym Debianie była starsza karta graficzna ATI Radeon, która była od początku zainstalowania Debiana.

Teraz wymieniłam kartę grafiki na NVIdia Geforce 210, po samej wymianie sprzętu mój Debian wprawdzie uruchamia się na tej karcie graficznej i w KDE praktycznie nie ma problemów i wyświetla w takiej jak powinno być rozdzielczości 1280x1024 ale chciałam żeby wszystko było poprawnie i żeby były zainstalowane sterowniki.

Próbowałam zainstalować sterowniki według tego opisu:http://damlab.pl/howto/nvidia_drivers.
Pobrałam plik run dla "Sterowniki najnowsze" - wersja dla systemów 64-bitowych.
Zainstalowałam nagłówki do jądra ponieważ ich nie było.
W trakcie instalacji z pomocą polecenia (jako root):

Kod: Zaznacz cały

sh NVI*
wypisuje problem:

Kod: Zaznacz cały

compiler used to compile the kernel (gcc 4.3) does not exactly match the current compiler (gcc 4.4)
i sterownika nie da się zainstalować, nawet jeżeli wybierze się wersję "Abort - No" czyli, żeby instalował pomimo, że wersja kompilatora jest zła - to wypisuje "ERROR" i nie instaluje.
Doinstalowałam gcc 4.3 i wykonałam:

Kod: Zaznacz cały

aptitude update
ale dalej jest ten sam problem z zainstalowaniem sterowników i wypisuje te same komunikaty dotyczące błędów.

Mój plik nvidia-installer.log jest taki:

Kod: Zaznacz cały

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Mon Apr 16 13:41:16 2012
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)
  force compat32 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)
  compat32 install chroot : (not specified)
  compat32 install prefix : (not specified)
  compat32 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 173.14.09.
-> 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: No)
-> No precompiled kernel interface was found to match your kernel; this means
   that the installer will need to compile a new kernel interface.
-> 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.3) does not exactly match the
   current compiler (gcc 4.4).  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)
-> Kernel source path: '/lib/modules/2.6.32-5-amd64/source'
-> Kernel output path: '/lib/modules/2.6.32-5-amd64/build'
ERROR: If you are using a Linux 2.4 kernel, please make sure
       you either have configured kernel sources matching your
       kernel or the correct set of kernel headers installed
       on your system.
       
       If you are using a Linux 2.6 kernel, please make sure
       you have configured kernel sources matching your kernel
       installed on your system. If you specified a separate
       output directory using either the "KBUILD_OUTPUT" or
       the "O" KBUILD parameter, make sure to specify this
       directory with the SYSOUT environment variable or with
       the equivalent nvidia-installer command line option.
       
       Depending on where and how the kernel sources (or the
       kernel headers) were installed, you may need to specify
       their location with the SYSSRC environment variable or
       the equivalent nvidia-installer 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.
Nie bardzo wiem co z tym zrobić bo pokazuje mi, że gcc-4.3 jest zainstalowany a w czasie instalacji mówi, że tej wersji kompilatora nie ma?
Awatar użytkownika
Rafal_F
Moderator
Posty: 2350
Rejestracja: 29 sierpnia 2008, 16:45

Post autor: Rafal_F »

Wcześniej spróbuj może ruszy:

Kod: Zaznacz cały

update-alternatives --config gcc
A jak nie to tutaj masz rozwiązanie: http://forums.debian.net/viewtopic.php? ... 69&start=0
goska_23
Beginner
Posty: 277
Rejestracja: 04 września 2007, 13:40
Lokalizacja: Katowice

Post autor: goska_23 »

Rafal_F pisze:Wcześniej spróbuj może ruszy:

Kod: Zaznacz cały

[CODE][HTML][/HTML]
[/code]

Kod: Zaznacz cały

[CODE]
[/code]

Kod: Zaznacz cały

1.update-alternatives --config gcc
A jak nie to tutaj masz rozwiązanie: 2. http://forums.debian.net/viewtopic.php? ... 69&start=0
Z tego punktu 1. wypisał, że "nie ma alternatywnych gcc".
Z tego punktu 2. usunęłam to co było w gcc i zrobiłam dowiązanie wersji gcc-4.3 do gcc tak jak tam było napisane ale sterownik nVidii dalej się nie instaluje chociaż komunikat jest trochę inny. Plik nvidia-installer.log jest teraz taki:

Kod: Zaznacz cały

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Tue Apr 17 10:24:26 2012
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)
  force compat32 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)
  compat32 install chroot : (not specified)
  compat32 install prefix : (not specified)
  compat32 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 173.14.09.
-> 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: No)
-> No precompiled kernel interface was found to match your kernel; this means
   that the installer will need to compile a new kernel interface.
-> Performing CC sanity check with CC="cc".
-> Performing CC version check with CC="cc".
-> Kernel source path: '/lib/modules/2.6.32-5-amd64/source'
-> Kernel output path: '/lib/modules/2.6.32-5-amd64/build'
ERROR: If you are using a Linux 2.4 kernel, please make sure
       you either have configured kernel sources matching your
       kernel or the correct set of kernel headers installed
       on your system.
       
       If you are using a Linux 2.6 kernel, please make sure
       you have configured kernel sources matching your kernel
       installed on your system. If you specified a separate
       output directory using either the "KBUILD_OUTPUT" or
       the "O" KBUILD parameter, make sure to specify this
       directory with the SYSOUT environment variable or with
       the equivalent nvidia-installer command line option.
       
       Depending on where and how the kernel sources (or the
       kernel headers) were installed, you may need to specify
       their location with the SYSSRC environment variable or
       the equivalent nvidia-installer 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.
Po tym dowiązaniu wersji gcc-4.3 jako wersji aktualnej próbowałam ponownie zainstalować sterowniki nVidii z polecenia:

Kod: Zaznacz cały

sh NVI*
.
W podanym w punkcie 2. linku jest jeszcze informacja, żeby próbować zainstalować sterowniki za pomocą skryptu smxi - na ten temat poczytałam ale jeszcze nie próbowałam tej opcji.
Czy nie da się tego jakoś wyprostować, żeby zainstalować z normalnego polecenia:

Kod: Zaznacz cały

sh NVI*
.

Dodano:
Próbowałam jeszcze raz zainstalować nagłówki, nie byłam pewna czy nie trzeba tej operacji powtórzyć.
Teraz z nagłówkami jest tak:

Kod: Zaznacz cały

#dpkg -l |grep linux-headers
ii linux-headers-2.6.32-5-amd64 2.6.32-41 squeeze2 Header files for Linux 2.6.32-5-amd64
ii linux-headers-2.6.32-5-common 2.6.32-41 squeeze2 Common header files for Linux 2.6.32-5
Awatar użytkownika
Zalingrad
Beginner
Posty: 110
Rejestracja: 26 stycznia 2009, 20:03
Lokalizacja: Tarnobrzeg/Warszawa

Post autor: Zalingrad »

Zauważyłem, że w poradniku podany jest adres do sterowników będących mocno przestarzałymi. http://www.nvidia.pl/object/linux-displ ... er-pl.html <---Tutaj załączam link do sterownika dla Twojej karty graficznej. Spróbuj z nim powalczyć.
(może się zdarzyć, że Twoja przeglądarka "otworzy" plik ze sterownikiem i wyświeli Ci go w oknie, zamiast pobrać. W takim wypadku, gdy już wyświetli się ten milion linijek kodu, kliknij coś w stylu "Plik--> Zapisz stronę jako.." i zapisz na dysku. W taki oto sposób ja musiałem czynić).
skagarak
Posty: 3
Rejestracja: 13 listopada 2010, 18:14

Post autor: skagarak »

Awatar użytkownika
Yampress
Administrator
Posty: 6367
Rejestracja: 09 sierpnia 2007, 21:41
Lokalizacja: PL

Post autor: Yampress »

A ja mam kartę graficzną nvidii i nigdy nie instalowałem sterowników do niej. Nie potrzebuję akceleracji więc nie instaluję sterowników.
ODPOWIEDZ