Arch Linux GeForce 920M driver y├╝kleme sorunu

Merhaba, nvidia driver y├╝kleyeme ├žal─▒┼č─▒yorum fakat yapamad─▒m. Nvidia sitesinde 430.40 s├╝r├╝m├╝ var en son oradan run dosyas─▒n─▒ indirip y├╝klemeye ├žal─▒┼čt─▒m ve hata verdi:

make[3]: *** [scripts/Makefile.build:243: /tmp/selfgz38154/NVIDIA-Linux-x86_64-430.40/kernel/nvidia/linux_nvswitch.o] Error 1
In file included from /tmp/selfgz38154/NVIDIA-Linux-x86_64-430.40/kernel/common/inc/nv-linux.h:16,
                 from /tmp/selfgz38154/NVIDIA-Linux-x86_64-430.40/kernel/nvidia/nvlink_linux.c:30:
/tmp/selfgz38154/NVIDIA-Linux-x86_64-430.40/kernel/common/inc/nv.h:25:10: fatal error: stdarg.h: No such file or directory
   25 | #include <stdarg.h>
      |          ^~~~~~~~~~
compilation terminated.
make[3]: *** [scripts/Makefile.build:243: /tmp/selfgz38154/NVIDIA-Linux-x86_64-430.40/kernel/nvidia/nvlink_linux.o] Error 1
make[3]: Target '/tmp/selfgz38154/NVIDIA-Linux-x86_64-430.40/kernel/' not remade because of errors.
make[2]: *** [/usr/lib/modules/6.6.5-arch1-1/build/Makefile:1913: /tmp/selfgz38154/NVIDIA-Linux-x86_64-430.40/kernel] Error 2
make[2]: Target 'modules' not remade because of errors.
make[1]: *** [Makefile:234: __sub-make] Error 2
make[1]: Target 'modules' not remade because of errors.
make[1]: Leaving directory '/usr/lib/modules/6.6.5-arch1-1/build'
make: *** [Makefile:81: modules] Error 2
ERROR: The nvidia kernel module was not created.

yay -S nvidia-430xx nvidia-430xx-settings nvidia-430xx-utils
ile y├╝klemeye ├žal─▒┼č─▒nca a┼ča─č─▒daki hatay─▒ veriyor:

error: failed to commit transaction (conflicting files)
nvidia-430xx-utils: /usr/bin/nvidia-bug-report.sh exists in filesystem
nvidia-430xx-utils: /usr/bin/nvidia-cuda-mps-control exists in filesystem
nvidia-430xx-utils: /usr/bin/nvidia-cuda-mps-server exists in filesystem
nvidia-430xx-utils: /usr/bin/nvidia-debugdump exists in filesystem
nvidia-430xx-utils: /usr/bin/nvidia-modprobe exists in filesystem
nvidia-430xx-utils: /usr/bin/nvidia-persistenced exists in filesystem
nvidia-430xx-utils: /usr/bin/nvidia-smi exists in filesystem
nvidia-430xx-utils: /usr/bin/nvidia-xconfig exists in filesystem
nvidia-430xx-utils: /usr/lib/libEGL_nvidia.so exists in filesystem
nvidia-430xx-utils: /usr/lib/libEGL_nvidia.so.0 exists in filesystem
nvidia-430xx-utils: /usr/lib/libGLESv1_CM_nvidia.so exists in filesystem
nvidia-430xx-utils: /usr/lib/libGLESv1_CM_nvidia.so.1 exists in filesystem
nvidia-430xx-utils: /usr/lib/libGLESv2_nvidia.so exists in filesystem
nvidia-430xx-utils: /usr/lib/libGLESv2_nvidia.so.2 exists in filesystem
nvidia-430xx-utils: /usr/lib/libGLX_nvidia.so exists in filesystem
nvidia-430xx-utils: /usr/lib/libGLX_nvidia.so.0 exists in filesystem
nvidia-430xx-utils: /usr/lib/libcuda.so exists in filesystem
nvidia-430xx-utils: /usr/lib/libcuda.so.1 exists in filesystem
nvidia-430xx-utils: /usr/lib/libnvcuvid.so exists in filesystem
nvidia-430xx-utils: /usr/lib/libnvcuvid.so.1 exists in filesystem
nvidia-430xx-utils: /usr/lib/libnvidia-cfg.so exists in filesystem
nvidia-430xx-utils: /usr/lib/libnvidia-cfg.so.1 exists in filesystem
nvidia-430xx-utils: /usr/lib/libnvidia-eglcore.so exists in filesystem
nvidia-430xx-utils: /usr/lib/libnvidia-encode.so exists in filesystem
nvidia-430xx-utils: /usr/lib/libnvidia-encode.so.1 exists in filesystem
nvidia-430xx-utils: /usr/lib/libnvidia-fbc.so exists in filesystem
nvidia-430xx-utils: /usr/lib/libnvidia-fbc.so.1 exists in filesystem
nvidia-430xx-utils: /usr/lib/libnvidia-glcore.so exists in filesystem
nvidia-430xx-utils: /usr/lib/libnvidia-glsi.so exists in filesystem
nvidia-430xx-utils: /usr/lib/libnvidia-ml.so exists in filesystem
nvidia-430xx-utils: /usr/lib/libnvidia-ml.so.1 exists in filesystem
nvidia-430xx-utils: /usr/lib/libnvidia-ptxjitcompiler.so exists in filesystem
nvidia-430xx-utils: /usr/lib/libnvidia-ptxjitcompiler.so.1 exists in filesystem
nvidia-430xx-utils: /usr/lib/libnvidia-tls.so exists in filesystem
nvidia-430xx-utils: /usr/lib/vdpau/libvdpau_nvidia.so exists in filesystem
nvidia-430xx-utils: /usr/lib/vdpau/libvdpau_nvidia.so.1 exists in filesystem
nvidia-430xx-utils: /usr/lib/xorg/modules/drivers/nvidia_drv.so exists in filesystem
nvidia-430xx-utils: /usr/share/glvnd/egl_vendor.d/10_nvidia.json exists in filesystem
nvidia-430xx-utils: /usr/share/man/man1/nvidia-cuda-mps-control.1.gz exists in filesystem
nvidia-430xx-utils: /usr/share/man/man1/nvidia-modprobe.1.gz exists in filesystem
nvidia-430xx-utils: /usr/share/man/man1/nvidia-persistenced.1.gz exists in filesystem
nvidia-430xx-utils: /usr/share/man/man1/nvidia-smi.1.gz exists in filesystem
nvidia-430xx-utils: /usr/share/man/man1/nvidia-xconfig.1.gz exists in filesystem
Errors occurred, no packages were upgraded.

inxi -G komutu ├ž─▒kt─▒s─▒:

Graphics:
  Device-1: Intel HD Graphics 620 driver: i915 v: kernel
  Device-2: NVIDIA GK208BM [GeForce 920M] driver: N/A
  Device-3: Chicony USB2.0 VGA UVC WebCam driver: uvcvideo type: USB
  Display: wayland server: X.org v: 1.21.1.10 with: Xwayland v: 23.2.2
    compositor: Hyprland driver: X: loaded: modesetting dri: iris gpu: i915
    resolution: 1920x1080~75Hz
  API: EGL v: N/A drivers: N/A platforms: device
  API: OpenGL Message: No GL data available.

├çok ara┼čt─▒rma yapt─▒m ama ingilizcem yeterli olmad─▒─č─▒ i├žin ├žaresiz kald─▒m l├╝tfen yard─▒m edin. ┼×imdiden te┼čekk├╝rler.

Yanl─▒┼č driver versiyonunu kuruyorsun. Senin gpun(920m) en son 390 driver─▒ destekliyor.

Do─črusunu kurmak i├žin a┼ča─č─▒daki komutu girmelisi:

yay -S nvidia-390xx-dkms nvidia-390xx-settings nvidia-390xx-utils opencl-nvidia-390xx lib32-nvidia-390xx-utils libxnvctrl-390xx lib32-opencl-nvidia-390xx

Ayn─▒ hatay─▒ ald─▒m. D├╝n bu dosyalar─▒ silmeyi denedim fakat bir┼čey de─či┼čmedi.
Hata:

error: failed to commit transaction (conflicting files)
nvidia-390xx-utils: /usr/bin/nvidia-bug-report.sh exists in filesystem
nvidia-390xx-utils: /usr/bin/nvidia-cuda-mps-control exists in filesystem
nvidia-390xx-utils: /usr/bin/nvidia-cuda-mps-server exists in filesystem
nvidia-390xx-utils: /usr/bin/nvidia-debugdump exists in filesystem
nvidia-390xx-utils: /usr/bin/nvidia-modprobe exists in filesystem
nvidia-390xx-utils: /usr/bin/nvidia-persistenced exists in filesystem
nvidia-390xx-utils: /usr/bin/nvidia-smi exists in filesystem
nvidia-390xx-utils: /usr/bin/nvidia-xconfig exists in filesystem
nvidia-390xx-utils: /usr/lib/libEGL_nvidia.so exists in filesystem
nvidia-390xx-utils: /usr/lib/libEGL_nvidia.so.0 exists in filesystem
nvidia-390xx-utils: /usr/lib/libGLESv1_CM_nvidia.so exists in filesystem
nvidia-390xx-utils: /usr/lib/libGLESv1_CM_nvidia.so.1 exists in filesystem
nvidia-390xx-utils: /usr/lib/libGLESv2_nvidia.so exists in filesystem
nvidia-390xx-utils: /usr/lib/libGLESv2_nvidia.so.2 exists in filesystem
nvidia-390xx-utils: /usr/lib/libGLX_nvidia.so exists in filesystem
nvidia-390xx-utils: /usr/lib/libGLX_nvidia.so.0 exists in filesystem
nvidia-390xx-utils: /usr/lib/libcuda.so exists in filesystem
nvidia-390xx-utils: /usr/lib/libcuda.so.1 exists in filesystem
nvidia-390xx-utils: /usr/lib/libnvcuvid.so exists in filesystem
nvidia-390xx-utils: /usr/lib/libnvcuvid.so.1 exists in filesystem
nvidia-390xx-utils: /usr/lib/libnvidia-cfg.so exists in filesystem
nvidia-390xx-utils: /usr/lib/libnvidia-cfg.so.1 exists in filesystem
nvidia-390xx-utils: /usr/lib/libnvidia-eglcore.so exists in filesystem
nvidia-390xx-utils: /usr/lib/libnvidia-encode.so exists in filesystem
nvidia-390xx-utils: /usr/lib/libnvidia-encode.so.1 exists in filesystem
nvidia-390xx-utils: /usr/lib/libnvidia-fbc.so exists in filesystem
nvidia-390xx-utils: /usr/lib/libnvidia-fbc.so.1 exists in filesystem
nvidia-390xx-utils: /usr/lib/libnvidia-glcore.so exists in filesystem
nvidia-390xx-utils: /usr/lib/libnvidia-glsi.so exists in filesystem
nvidia-390xx-utils: /usr/lib/libnvidia-ml.so exists in filesystem
nvidia-390xx-utils: /usr/lib/libnvidia-ml.so.1 exists in filesystem
nvidia-390xx-utils: /usr/lib/libnvidia-ptxjitcompiler.so exists in filesystem
nvidia-390xx-utils: /usr/lib/libnvidia-ptxjitcompiler.so.1 exists in filesystem
nvidia-390xx-utils: /usr/lib/libnvidia-tls.so exists in filesystem
nvidia-390xx-utils: /usr/lib/vdpau/libvdpau_nvidia.so exists in filesystem
nvidia-390xx-utils: /usr/lib/vdpau/libvdpau_nvidia.so.1 exists in filesystem
nvidia-390xx-utils: /usr/lib/xorg/modules/drivers/nvidia_drv.so exists in filesystem
nvidia-390xx-utils: /usr/share/glvnd/egl_vendor.d/10_nvidia.json exists in filesystem
nvidia-390xx-utils: /usr/share/man/man1/nvidia-cuda-mps-control.1.gz exists in filesystem
nvidia-390xx-utils: /usr/share/man/man1/nvidia-modprobe.1.gz exists in filesystem
nvidia-390xx-utils: /usr/share/man/man1/nvidia-persistenced.1.gz exists in filesystem
nvidia-390xx-utils: /usr/share/man/man1/nvidia-smi.1.gz exists in filesystem
nvidia-390xx-utils: /usr/share/man/man1/nvidia-xconfig.1.gz exists in filesystem
Errors occurred, no packages were upgraded.

Debian yada PardusÔÇÖa ge├žmeyi d├╝┼č├╝n├╝r m├╝s├╝n├╝z ?

Ba─člant─▒daki ├ž├Âz├╝m olarak i┼čaretlenmi┼č yorumun ad─▒mlar─▒n─▒ izlerseniz kesin kurulacakt─▒r.

Nvidia sitesinden kurmay─▒n (e─čer Debian yada PardusÔÇÖa ge├žerseniz) daha g├╝cel bir s├╝r├╝m├╝ var Debian deposunda.

ÔŁ» nvidia-smi 
Thu Dec 14 21:32:42 2023       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 470.223.02   Driver Version: 470.223.02   CUDA Version: 11.4     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  NVIDIA GeForce ...  On   | 00000000:01:00.0 N/A |                  N/A |
| N/A   54C    P8    N/A /  N/A |      4MiB /  2004MiB |     N/A      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|  No running processes found                                                 |
+-----------------------------------------------------------------------------+

├ľncelikle cevab─▒n─▒z i├žin te┼čekk├╝rler fakat ben linuxda yeniyim ve buradaki kodlar─▒n archdaki kar┼č─▒l─▒klar─▒n─▒ bilmiyorum. San─▒r─▒m burada paket managerla y├╝kleme yapmaya ├žal─▒┼č─▒yor onlar─▒ arch ile denedi─čimde yukar─▒daki hatay─▒ veriyor.

Sizin sorununuz yanl─▒┼č paketleri indirmeyi denedi─činiz ve denedi─činiz paketlerin arkalar─▒nda kal─▒nt─▒ b─▒rakt─▒klar─▒ i├žin di─čer kurulumlar─▒ engellemesi.

─░nternette sorunu aratt─▒─č─▒mda eski kurulu nvidia paketlerini(yanl─▒┼č kurmaya ├žal─▒┼čt─▒─č─▒n─▒z paketleri vb.) kald─▒r─▒p tekrar kurrunca ├ž├Âz├╝lebilece─čini g├Ârd├╝m.

├ľncelikle gerekli paketleri silmek i├žin kurulu paketlerin listesini almal─▒y─▒z. Bunun i├žin komut sat─▒r─▒na a┼ča─č─▒daki komutu giriniz ve ├ž─▒kt─▒y─▒ payla┼č─▒n─▒z.

pacman -Qs nvidia

 muhammet ţé░ ~ ţé░ pacman -Qs nvidia      
local/egl-wayland 2:1.1.13-1
    EGLStream-based Wayland external platform
local/libvdpau 1.5-2
    Nvidia VDPAU library
local/libxnvctrl 545.29.06-1
    NVIDIA NV-CONTROL X extension

Libxnvctrl program─▒ tetikliyor olabilir. En son nvidia s├╝r├╝m├╝ i├žin y├╝klenmi┼č. Onu silip driver─▒ y├╝kleyebiliriz. Silmek i├žin :

sudo pacman -R libxnvctrl

Tekrar driverlar─▒ y├╝klemek i├žin :

yay -S nvidia-390xx-dkms nvidia-390xx-settings nvidia-390xx-utils opencl-nvidia-390xx lib32-nvidia-390xx-utils libxnvctrl-390xx lib32-opencl-nvidia-390xx

hocam maalesef ayn─▒ hata:

error: failed to commit transaction (conflicting files)
nvidia-390xx-utils: /usr/bin/nvidia-bug-report.sh exists in filesystem
nvidia-390xx-utils: /usr/bin/nvidia-cuda-mps-control exists in filesystem
nvidia-390xx-utils: /usr/bin/nvidia-cuda-mps-server exists in filesystem
nvidia-390xx-utils: /usr/bin/nvidia-debugdump exists in filesystem
nvidia-390xx-utils: /usr/bin/nvidia-modprobe exists in filesystem
nvidia-390xx-utils: /usr/bin/nvidia-persistenced exists in filesystem
nvidia-390xx-utils: /usr/bin/nvidia-smi exists in filesystem
nvidia-390xx-utils: /usr/bin/nvidia-xconfig exists in filesystem
nvidia-390xx-utils: /usr/lib/libEGL_nvidia.so exists in filesystem
nvidia-390xx-utils: /usr/lib/libEGL_nvidia.so.0 exists in filesystem
nvidia-390xx-utils: /usr/lib/libGLESv1_CM_nvidia.so exists in filesystem
nvidia-390xx-utils: /usr/lib/libGLESv1_CM_nvidia.so.1 exists in filesystem
nvidia-390xx-utils: /usr/lib/libGLESv2_nvidia.so exists in filesystem
nvidia-390xx-utils: /usr/lib/libGLESv2_nvidia.so.2 exists in filesystem
nvidia-390xx-utils: /usr/lib/libGLX_nvidia.so exists in filesystem
nvidia-390xx-utils: /usr/lib/libGLX_nvidia.so.0 exists in filesystem
nvidia-390xx-utils: /usr/lib/libcuda.so exists in filesystem
nvidia-390xx-utils: /usr/lib/libcuda.so.1 exists in filesystem
nvidia-390xx-utils: /usr/lib/libnvcuvid.so exists in filesystem
nvidia-390xx-utils: /usr/lib/libnvcuvid.so.1 exists in filesystem
nvidia-390xx-utils: /usr/lib/libnvidia-cfg.so exists in filesystem
nvidia-390xx-utils: /usr/lib/libnvidia-cfg.so.1 exists in filesystem
nvidia-390xx-utils: /usr/lib/libnvidia-eglcore.so exists in filesystem
nvidia-390xx-utils: /usr/lib/libnvidia-encode.so exists in filesystem
nvidia-390xx-utils: /usr/lib/libnvidia-encode.so.1 exists in filesystem
nvidia-390xx-utils: /usr/lib/libnvidia-fbc.so exists in filesystem
nvidia-390xx-utils: /usr/lib/libnvidia-fbc.so.1 exists in filesystem
nvidia-390xx-utils: /usr/lib/libnvidia-glcore.so exists in filesystem
nvidia-390xx-utils: /usr/lib/libnvidia-glsi.so exists in filesystem
nvidia-390xx-utils: /usr/lib/libnvidia-ml.so exists in filesystem
nvidia-390xx-utils: /usr/lib/libnvidia-ml.so.1 exists in filesystem
nvidia-390xx-utils: /usr/lib/libnvidia-ptxjitcompiler.so exists in filesystem
nvidia-390xx-utils: /usr/lib/libnvidia-ptxjitcompiler.so.1 exists in filesystem
nvidia-390xx-utils: /usr/lib/libnvidia-tls.so exists in filesystem
nvidia-390xx-utils: /usr/lib/vdpau/libvdpau_nvidia.so exists in filesystem
nvidia-390xx-utils: /usr/lib/vdpau/libvdpau_nvidia.so.1 exists in filesystem
nvidia-390xx-utils: /usr/lib/xorg/modules/drivers/nvidia_drv.so exists in filesystem
nvidia-390xx-utils: /usr/share/glvnd/egl_vendor.d/10_nvidia.json exists in filesystem
nvidia-390xx-utils: /usr/share/man/man1/nvidia-cuda-mps-control.1.gz exists in filesystem
nvidia-390xx-utils: /usr/share/man/man1/nvidia-modprobe.1.gz exists in filesystem
nvidia-390xx-utils: /usr/share/man/man1/nvidia-persistenced.1.gz exists in filesystem
nvidia-390xx-utils: /usr/share/man/man1/nvidia-smi.1.gz exists in filesystem
nvidia-390xx-utils: /usr/share/man/man1/nvidia-xconfig.1.gz exists in filesystem
Errors occurred, no packages were upgraded.
 muhammet ţé░ ~ ţé░ pacman -Qs nvidia                                                                                                                                                                                                                                        ţé▓ 1 
local/egl-wayland 2:1.1.13-1
    EGLStream-based Wayland external platform
local/libvdpau 1.5-2
    Nvidia VDPAU library

Dosyalar ├žak─▒┼č─▒yor hatas─▒ veriyor. Arch wikide --overwrite parametresinden bahsediyor. Bir de b├Âyle deneyelim. A┼ča─č─▒daki kodu dener misin?

yay -S nvidia-390xx-dkms nvidia-390xx-settings nvidia-390xx-utils opencl-nvidia-390xx lib32-nvidia-390xx-utils libxnvctrl-390xx lib32-opencl-nvidia-390xx --overwrite

E─čer bu kod ├žal─▒┼čmazsa Alttaki kodu deneyin.

yay -S nvidia-390xx-dkms nvidia-390xx-settings nvidia-390xx-utils opencl-nvidia-390xx lib32-nvidia-390xx-utils libxnvctrl-390xx lib32-opencl-nvidia-390xx --overwrite '*'

1 Like

Hocam sorun ├ž├Âz├╝ld├╝ bunun i├žin ├Âncelikle te┼čekk├╝rler.

 muhammet ţé░ ~ ţé░ inxi -G   
Graphics:
  Device-1: Intel HD Graphics 620 driver: i915 v: kernel
  Device-2: NVIDIA GK208BM [GeForce 920M] driver: nvidia v: 390.157
  Device-3: Chicony USB2.0 VGA UVC WebCam driver: uvcvideo type: USB
  Display: wayland server: X.org v: 1.21.1.10 with: Xwayland v: 23.2.2
    compositor: Hyprland driver: X: loaded: modesetting,nvidia dri: iris
    gpu: i915 resolution: 1: 1920x1080~60Hz 2: 1920x1080~75Hz
  API: EGL v: N/A drivers: N/A platforms: device
  API: OpenGL Message: No GL data available.

Son olarak bir sorum olacak e─čer nouveau driverina d├Ânmek istersem bu driverlar─▒ arkada build dosyas─▒ felan b─▒rakmadan nas─▒l kald─▒rabilirim?.

pacman -R

yeterli olur mu?

1 Like

Evet i┼č g├Âr├╝r ama baz─▒ i┼člemler yapman gerekir.
Nvidia driverlar─▒n─▒ kurdu─čunda nouveau driver─▒n─▒n ├žal─▒┼čmas─▒n─▒ engellemek i├žin bir config dosyas─▒ olu┼čturur. O config dosyas─▒n─▒ silmen gerekir(pacmandan silsen bile).

┼×uan nouveauya d├Ânmek ile ilgili ayr─▒nt─▒ya girmiyorum girsem bile ┼čuanl─▒k gereksiz olur. E─čer ihtiya├ž olursa biz sana yard─▒mc─▒ oluruz.

G├╝le g├╝le kullan :grin: