Ошибка при установке драйверов Nvidia 390

У меня ноутбук Samsung np300e5x у него последняя версия драйверов Nvidia-390 geforce 620m. Но pacman по умолчанию хочет поставить nvidia 470 которые естественно ему не пойдут
Ядро 5.14.11 zen
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Thu Oct 14 16:57:00 2021
installer version: 390.144

PATH: /usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl

nvidia-installer command line:
    ./nvidia-installer

Unable to load: nvidia-installer ncurses v6 user interface

Unable to load: nvidia-installer ncurses user interface

Using: nvidia-installer ncurses v6 user interface (widechar)
-> Detected 2 CPUs online; setting concurrency level to 2.
-> Installing NVIDIA driver version 390.144.
-> Would you like to register the kernel module sources with DKMS? This will allow DKMS to automatically build a new module, if you install a different kernel later. (Answer: Yes)
-> Installing both new and classic TLS OpenGL libraries.
-> Installing classic TLS 32bit OpenGL libraries.
-> Install NVIDIA's 32-bit compatibility libraries? (Answer: Yes)
-> Will install GLVND GLX client libraries.
-> Will install GLVND EGL client libraries.
-> Skipping GLX non-GLVND file: "libGL.so.390.144"
-> Skipping GLX non-GLVND file: "libGL.so.1"
-> Skipping GLX non-GLVND file: "libGL.so"
-> Skipping EGL non-GLVND file: "libEGL.so.390.144"
-> Skipping EGL non-GLVND file: "libEGL.so"
-> Skipping EGL non-GLVND file: "libEGL.so.1"
-> Skipping GLX non-GLVND file: "./32/libGL.so.390.144"
-> Skipping GLX non-GLVND file: "libGL.so.1"
-> Skipping GLX non-GLVND file: "libGL.so"
-> Skipping EGL non-GLVND file: "./32/libEGL.so.390.144"
-> Skipping EGL non-GLVND file: "libEGL.so"
-> Skipping EGL non-GLVND file: "libEGL.so.1"
Looking for install checker script at ./libglvnd_install_checker/check-libglvnd-install.sh
   executing: '/bin/sh ./libglvnd_install_checker/check-libglvnd-install.sh'...
   Checking for libglvnd installation.
   Checking libGLdispatch...
   Checking libGLdispatch dispatch table
   Checking call through libGLdispatch
   All OK
   libGLdispatch is OK
   Checking for libGLX
   libGLX is OK
   Checking for libEGL
   libEGL is OK
   Checking entrypoint library libOpenGL.so.0
   Checking call through libGLdispatch
   Checking call through library libOpenGL.so.0
   All OK
   Entrypoint library libOpenGL.so.0 is OK
   Checking entrypoint library libGL.so.1
   Checking call through libGLdispatch
   Checking call through library libGL.so.1
   All OK
   Entrypoint library libGL.so.1 is OK
   libglvnd appears to be installed.
Will not install libglvnd libraries.
-> Skipping GLVND file: "libOpenGL.so.0"
-> Skipping GLVND file: "libOpenGL.so"
-> Skipping GLVND file: "libGLESv1_CM.so.1.2.0"
-> Skipping GLVND file: "libGLESv1_CM.so.1"
-> Skipping GLVND file: "libGLESv1_CM.so"
-> Skipping GLVND file: "libGLESv2.so.2.1.0"
-> Skipping GLVND file: "libGLESv2.so.2"
-> Skipping GLVND file: "libGLESv2.so"
-> Skipping GLVND file: "libGLdispatch.so.0"
-> Skipping GLVND file: "libGLX.so.0"
-> Skipping GLVND file: "libGLX.so"
-> Skipping GLVND file: "libGL.so.1.7.0"
-> Skipping GLVND file: "libGL.so.1"
-> Skipping GLVND file: "libGL.so"
-> Skipping GLVND file: "libEGL.so.1.1.0"
-> Skipping GLVND file: "libEGL.so.1"
-> Skipping GLVND file: "libEGL.so"
-> Skipping GLVND file: "./32/libOpenGL.so.0"
-> Skipping GLVND file: "libOpenGL.so"
-> Skipping GLVND file: "./32/libGLdispatch.so.0"
-> Skipping GLVND file: "./32/libGLESv2.so.2.1.0"
-> Skipping GLVND file: "libGLESv2.so.2"
-> Skipping GLVND file: "libGLESv2.so"
-> Skipping GLVND file: "./32/libGLESv1_CM.so.1.2.0"
-> Skipping GLVND file: "libGLESv1_CM.so.1"
-> Skipping GLVND file: "libGLESv1_CM.so"
-> Skipping GLVND file: "./32/libGL.so.1.7.0"
-> Skipping GLVND file: "libGL.so.1"
-> Skipping GLVND file: "libGL.so"
-> Skipping GLVND file: "./32/libGLX.so.0"
-> Skipping GLVND file: "libGLX.so"
-> Skipping GLVND file: "./32/libEGL.so.1.1.0"
-> Skipping GLVND file: "libEGL.so.1"
-> Skipping GLVND file: "libEGL.so"
Will install libEGL vendor library config file to /usr/share/glvnd/egl_vendor.d
-> Searching for conflicting files:
-> done.
-> Installing 'NVIDIA Accelerated Graphics Driver for Linux-x86_64' (390.144):
   executing: '/usr/bin/ldconfig'...
-> done.
-> Driver file installation is complete.
-> Installing DKMS kernel module:
ERROR: Failed to run `/usr/bin/dkms build -m nvidia -v 390.144 -k 5.14.11-zen1-1-zen`:
Kernel preparation unnecessary for this kernel. Skipping...

Building module:
cleaning build area...
'make' -j2 NV_EXCLUDE_BUILD_MODULES='' KERNEL_UNAME=5.14.11-zen1-1-zen modules......................(bad exit status: 2)
Error! Bad return status for module build on kernel: 5.14.11-zen1-1-zen (x86_64)
Consult /var/lib/dkms/nvidia/390.144/build/make.log for more information.
-> error.
ERROR: Failed to install the kernel module through DKMS. No kernel module was installed; please try installing again without DKMS, or check the DKMS logs for more information.
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.
С нвидия инсталлером на венду.
Тут pacman и dkms.
https://archlinux.org/packages/extra/x86_64/linux-zen-headers/
https://aur.archlinux.org/packages/nvidia-390xx-dkms/
https://aur.archlinux.org/packages/nvidia-390xx-utils/
vs220
С нвидия инсталлером на венду.
Тут pacman и dkms.
https://archlinux.org/packages/extra/x86_64/linux-zen-headers/
https://aur.archlinux.org/packages/nvidia-390xx-dkms/
https://aur.archlinux.org/packages/nvidia-390xx-utils/
Спасибо
Появилась программа nvidia но при запуске пишет следующее
You do not appear to be using the NVIDIA X driver. Please edit your X configuration file (just run'nvidia-xconfig' as root), and restart the X server
И подскажите пожалуйста еще
Как вообще переключиться на видеокарту, что бы при работе с программами использовалась она, а не интегрированная или она будет сама переключаться и задействоватся когда это нужно будет
Вот что пишет lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
01:00.0 VGA compatible controller: NVIDIA Corporation GF108M [GeForce GT 620M] (rev a1)
lspci -k
sudo dkms status
pacman -Qs nvidia
Покажите
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
        Subsystem: Samsung Electronics Co Ltd NP300E5C series laptop
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: Samsung Electronics Co Ltd Device c652
        Kernel driver in use: i915
        Kernel modules: i915
00:16.0 Communication controller: Intel Corporation 7 Series/C216 Chipset Family MEI Controller #1 (rev 04)
        Subsystem: Samsung Electronics Co Ltd NP300E5C series laptop
        Kernel driver in use: mei_me
        Kernel modules: mei_me
00:1a.0 USB controller: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #2 (rev 04)
        Subsystem: Samsung Electronics Co Ltd NP300E5C series laptop
        Kernel driver in use: ehci-pci
00:1b.0 Audio device: Intel Corporation 7 Series/C216 Chipset Family High Definition Audio Controller (rev 04)
        Subsystem: Samsung Electronics Co Ltd NP300E5C series laptop
        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.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: Samsung Electronics Co Ltd NP300E5C series laptop
        Kernel driver in use: ehci-pci
00:1f.0 ISA bridge: Intel Corporation HM70 Express Chipset LPC Controller (rev 04)
        Subsystem: Samsung Electronics Co Ltd Device c652
        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: Samsung Electronics Co Ltd NP300E5C series laptop
        Kernel driver in use: ahci
00:1f.3 SMBus: Intel Corporation 7 Series/C216 Chipset Family SMBus Controller (rev 04)
        Subsystem: Samsung Electronics Co Ltd NP300E5C series laptop
        Kernel driver in use: i801_smbus
        Kernel modules: i2c_i801
01:00.0 VGA compatible controller: NVIDIA Corporation GF108M [GeForce GT 620M] (rev a1)
        Subsystem: Samsung Electronics Co Ltd Device c652
        Kernel modules: nouveau
01:00.1 Audio device: NVIDIA Corporation GF108 High Definition Audio Controller (rev a1)
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel
02:00.0 Network controller: Qualcomm Atheros AR9485 Wireless Network Adapter (rev 01)
        Subsystem: Samsung Electronics Co Ltd Device 4105
        Kernel driver in use: ath9k
        Kernel modules: ath9k
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)
        Subsystem: Samsung Electronics Co Ltd RTL8168 on a NP300E5C series laptop
        Kernel driver in use: r8169
        Kernel modules: r8169
nvidia, 390.144: added
local/egl-wayland 1:1.1.7-1
    EGLStream-based Wayland external platform
local/libvdpau 1.4-1
    Nvidia VDPAU library
local/nvidia-390xx-utils 390.144-2
    NVIDIA drivers utilities
vs220
lspci -k
sudo dkms status
pacman -Qs nvidia
Покажите
Отправил
niky08
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
Subsystem: Samsung Electronics Co Ltd Device c652
Kernel driver in use: i915
Kernel modules: i915
--
niky08
01:00.0 VGA compatible controller: NVIDIA Corporation GF108M [GeForce GT 620M] (rev a1)
Subsystem: Samsung Electronics Co Ltd Device c652
Kernel modules: nouveau
У вас гибридная графика и на нвидию пакет драйвера не поставили

Очищайте что там наставили инсталлером нвидиевским и ставьте арчевский пакет https://aur.archlinux.org/packages/nvidia-390xx-dkms
он содержит необходимые патчи и blacklist для nouveau
И смотрите https://wiki.archlinux.org/title/NVIDIA_Optimus для гибридной графики.
RusWolf можете попросить подробней рассказать если что не получится он использовал гибридную графику на нвидии
vs220
И смотрите https://wiki.archlinux.org/title/NVIDIA_Optimus для гибридной графики.
RusWolf можете попросить подробней рассказать если что не получится он использовал гибридную графику на нвидии

Вообще встроенная графика нужна или можно просто перейти на nvidia, что бы всегда только nvidia работала
Или при правильной настройки гибридной графики будет максимальная производительность?
Просто не особо понимаю нужна ли вообще intel графика в ноутбуке на linux
можно и только нвидию https://wiki.archlinux.org/title/NVIDIA_Optimus#Use_NVIDIA_graphics_only но жрать будет больше и садить батарею, обычно работают на интеле а для игрушек или еще что требует производительности нвидию
 
Зарегистрироваться или войдите чтобы оставить сообщение.