[+]Nvidia Gforce 610m 2gb Wgrywanie Sterowników

Tematy związane z oprogramowaniem, instalacją, konfiguracją
Reimen
Posty: 12
Rejestracja: 14 listopada 2019, 19:33

[+]Nvidia Gforce 610m 2gb Wgrywanie Sterowników

Post autor: Reimen »

Cześć wszystkim.
Problem polega na tym, że gdy wgrywam sterowniki:

Kod: Zaznacz cały

 root@administratorDOM:/home/administrator/Pobrane# sh NVIDIA-Linux-x86_64-390.87.run
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 390.87........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................

 Wyskakuje błąd:
 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.
         
         
 root@administratorDOM:/home/administrator# apt-cache show linux-source
Package: linux-source
Source: linux-latest (105+deb10u1)
Version: 4.19+105+deb10u1
Installed-Size: 12
Maintainer: Debian Kernel Team <debian-kernel@lists.debian.org>
Architecture: all
Depends: linux-source-4.19
Description-en: Linux kernel source (meta-package)
 This package depends on packages containing the sources of the latest
 Linux kernel.
Description-md5: 295a0aae79622b42802dfa4bda819ae6
Tag: admin::kernel, devel::lang:c, devel::library, implemented-in::c,
 role::devel-lib, role::metapackage
Section: kernel
Priority: optional
Filename: pool/main/l/linux-latest/linux-source_4.19+105+deb10u1_all.deb
Size: 6644
MD5sum: d58c82af97dbf0b2ddd110a41b1e08a0
SHA256: c470717293129dda824885d612a8463af5097aeb6b66f9b4681f9bd2fd4396a8
Awatar użytkownika
dedito
Moderator
Posty: 3512
Rejestracja: 18 listopada 2013, 21:07
Lokalizacja: Gliwice

Re: Nvidia Gforce 610m 2gb Wgrywanie Sterowników

Post autor: dedito »

No wgrywasz, tylko do czego, Gforce 610m ?
Przydałoby się potwierdzenie na poziomie

Kod: Zaznacz cały

lspci -k
A komunikaty są raczej jasne "ERROR: Unable to find the kernel source tree for the currently running kernel"
Widać potrzebuj źródeł kernela, ale z nvidią to się jeszcze nie bawiłem.
Reimen
Posty: 12
Rejestracja: 14 listopada 2019, 19:33

Re: Nvidia Gforce 610m 2gb Wgrywanie Sterowników

Post autor: Reimen »

Kod: Zaznacz cały

administrator@administratorDOM:~$ lspci -k
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
        Subsystem: ASUSTeK Computer Inc. 2nd Generation Core Processor Family DRAM Controller
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port (rev 09)
        Kernel driver in use: pcieport
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
        Subsystem: ASUSTeK Computer Inc. 2nd Generation Core Processor Family Integrated Graphics Controller
        Kernel driver in use: i915
        Kernel modules: i915
00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04)
        Subsystem: ASUSTeK Computer Inc. 7 Series/C210 Series Chipset Family USB xHCI Host Controller
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_pci
00:1a.0 USB controller: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #2 (rev 04)
        Subsystem: ASUSTeK Computer Inc. 7 Series/C216 Chipset Family USB Enhanced Host Controller
        Kernel driver in use: ehci-pci
        Kernel modules: ehci_pci
00:1b.0 Audio device: Intel Corporation 7 Series/C216 Chipset Family High Definition Audio Controller (rev 04)
        Subsystem: ASUSTeK Computer Inc. 7 Series/C216 Chipset Family High Definition Audio Controller
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel
00:1c.0 PCI bridge: Intel Corporation 7 Series/C216 Chipset Family PCI Express Root Port 1 (rev c4)
        Kernel driver in use: pcieport
00:1c.1 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 2 (rev c4)
        Kernel driver in use: pcieport
00:1c.3 PCI bridge: Intel Corporation 7 Series/C216 Chipset Family PCI Express Root Port 4 (rev c4)
        Kernel driver in use: pcieport
00:1d.0 USB controller: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #1 (rev 04)
        Subsystem: ASUSTeK Computer Inc. 7 Series/C216 Chipset Family USB Enhanced Host Controller
        Kernel driver in use: ehci-pci
        Kernel modules: ehci_pci
00:1f.0 ISA bridge: Intel Corporation HM76 Express Chipset LPC Controller (rev 04)
        Subsystem: ASUSTeK Computer Inc. HM76 Express Chipset LPC Controller
        Kernel driver in use: lpc_ich
        Kernel modules: lpc_ich
00:1f.2 SATA controller: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode] (rev 04)
        Subsystem: ASUSTeK Computer Inc. 7 Series Chipset Family 6-port SATA Controller [AHCI mode]
        Kernel driver in use: ahci
        Kernel modules: ahci
00:1f.3 SMBus: Intel Corporation 7 Series/C216 Chipset Family SMBus Controller (rev 04)
        Subsystem: ASUSTeK Computer Inc. 7 Series/C216 Chipset Family SMBus Controller
        Kernel driver in use: i801_smbus
        Kernel modules: i2c_i801
01:00.0 VGA compatible controller: NVIDIA Corporation GF119M [GeForce 610M] (rev a1)
        Subsystem: ASUSTeK Computer Inc. GF119M [GeForce 610M]
        Kernel modules: nouveau
03:00.0 Network controller: Qualcomm Atheros AR9485 Wireless Network Adapter (rev 01)
        Subsystem: Lite-On Communications Inc AR9485 Wireless Network Adapter
        Kernel driver in use: ath9k
        Kernel modules: ath9k
04:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTL8411 PCI Express Card Reader (rev 01)
        Subsystem: ASUSTeK Computer Inc. K55A Laptop
        Kernel driver in use: rtsx_pci
        Kernel modules: rtsx_pci
04:00.2 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0a)
        Subsystem: ASUSTeK Computer Inc. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
        Kernel driver in use: r8169
        Kernel modules: r8169
        
Sterowniki ze strony producenta. Nie wiem jak wgrać to co mu brakuje.
zl23
Posty: 44
Rejestracja: 02 sierpnia 2016, 20:30

Re: Nvidia Gforce 610m 2gb Wgrywanie Sterowników

Post autor: zl23 »

Próbujesz zainstalować sterowniki tzw. skryptem firmowym NVidia.
Jest to trochę trudniejsze niż zainstalowanie z repo.
Ale też można i działa.
Jeżeli nie masz doświadczenia "w tym temacie" - to odradzam - instaluj z repozytorium Debiana.
Jeżeli lubisz ryzyko to poniższy opis dla Ciebie, ale licz się z ewentualnymi kłopotami.
Pamiętaj - ostrzegałem.
-----------------------------------
Trzeba pamiętać aby:
1. zablokować driver nouveau
2. zainstalować zależności
3. skrypt instalować po wyjściu z trybu graficznego.
Jeżeli jest również karta Intela - to przed instalacją sterownika wyłączamy ją w Biosie.
Ad. 1.
W katalogu /etc/modprobe.d/ umieszczamy plik tekstowy (jako tzw. wpisanie nouveau na „blacklist”) o nazwie
np. nvidia-installer-disable-nouveau.conf o zawartości:

# generated by nvidia-installer
blacklist nouveau
options nouveau modeset=0

Nazwa pliku może być dowolna, ale po kropce musi być "conf". Ważna jest treść i katalog w którym go umieścimy.
Wydajemy polecenie:
# update-initramfs -u
Ad 2.
Sprawdź wersję jądra
uname -rp

Zainstaluj (dla jądra 64 bitowego):
apt install linux-headers-amd64 dkms build-essential mesa-utils
apt install libglvnd-core-dev libglvnd-dev pkg-config
apt install vulkan-utils vulkan-tools libvulkan1 libvkd3d1

Ad. 3
Ponownie uruchamiamy komputer.
Po wyświetleniu się ekranu logowania Debian, zamiast logować się do niego, naciskamy klawisze Ctrl + Alt + F1, aby przejść do konsoli wirtualnej.
Po zalogowaniu się do konsoli (jako root, hasło) wydamy polecenie zamknięcia środowiska graficznego.
Najpierw sprawdzimy jakie środowisko graficzne posiadamy:

cat /etc/X11/default-display-manager

Prawdopodobnie będzie to lightdm.
Wydajemy polecenie:
# /etc/init.d/lightdm stop
Za pomocą poleń: pwd, cd, ls dostajemy się do katalogu z zapisanym plikiem sterownika
(dobrze jest wcześniej zainstalować Midnight Commander).
Nadajemy mu prawo uruchamiania chmod +x ./NVIDIA-Linux-x86_64-390.87.run
Apropos: dlaczego 390.87, skoro na stronie https://www.nvidia.pl/Download/driverRe ... /153918/pl jest nowsza 390.132
Następnie uruchomiamy go poleceniem: ./NVIDIA-Linux-x86_64-390.87.run
Zatwierdzamy kolejne etapy. Koniecznie zaznacz "Yes" dla "regitster the kernel module source with DKMS".
Wtedy po upgrade jądra nie trzeba będzie instalować na nowo sterowników.
Na koniec ukaże się ekran z informacją o poprawnym zainstalowaniem sterowników.

Można na koniec wydać polecenie
# update-initramfs -u
następnie
# sync
# reboot
Komputer powinien uruchomić się poprawnie.
Sprawdzić poleceniami:
nvidia-smi
glxheads

Gdyby było coś nie tak to musimy skontrolować zawartość pliku xorg.conf w katalogu /etc/X11/.
Usuwamy wszelkie linie z: „nv”, „vesa”, „fbdev”.
Powinna tam być sekcja z wpisem „nvidia”, w moim przypadku instalator wygenerował wpis:
Section "Device"
Identifier "Device0"
Driver "nvidia"
EndSection

Gdyby pojawiły się jakieś nieprzewidziane komplikacje to sterownik NVidii usuwamy
# ./NVIDIA-Linux-x86_64-390.87.run --uninstall
następnie należy usunąć driver nouveau z blacklist (pkt.1)

Koniec opisu.
Gorąco polecam jednak instalację z repozytorium https://packages.debian.org/buster/nvid ... 0xx-driver
Reimen
Posty: 12
Rejestracja: 14 listopada 2019, 19:33

Re: Nvidia Gforce 610m 2gb Wgrywanie Sterowników

Post autor: Reimen »

Dzięki za dokładną instrukcje. Nie będę wyłączał grafike intel, już na windowsie kiedyś miałem duże problemy po takiej operacji. Dodałem repozytoria, wyszukałem w programie "Apper" packa nvidi i działa.
Dzięki wszystkim, i każdemu z osobna.
Awatar użytkownika
dedito
Moderator
Posty: 3512
Rejestracja: 18 listopada 2013, 21:07
Lokalizacja: Gliwice

Re: Nvidia Gforce 610m 2gb Wgrywanie Sterowników

Post autor: dedito »

Oznaczam wątek jako rozwiązany i zamykam.
Zablokowany