Carte dédiée NVIDIA non fonctionnelle

Tags: #<Tag:0x00007f50a630efc8>

Bonjour,

J’ai installé récemment Debian 12.1 sur mon laptop. Aucun problème jusque là sauf au moment de tester un jeu et de me rendre compte qu’il tournait sur le gpu du processeur et pas sur le gpu nvidia.

Ce que j’ai fait depuis :

  • installer les drivers nvidia nvidia-drivers
  • installer envycontrol pour sélectionner la carte utilisée
  • installer primus-nvidia (ou optirun) pour lancer un programme en particulier sur la nvidia

Aucune de ces étapes n’a fait fonctionner un programme sur le gpu nvidia.

Erreur :

$ optirun --debug nvidia-settings -c :8.0
[  842.663489] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[  842.664357] [DEBUG]optirun version 3.2.1 starting...
[  842.664374] [DEBUG]Active configuration:
[  842.664382] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[  842.664406] [DEBUG] X display: :8
[  842.664422] [DEBUG] LD_LIBRARY_PATH: 
[  842.664432] [DEBUG] Socket path: /var/run/bumblebee.socket
[  842.664445] [DEBUG] Accel/display bridge: auto
[  842.664458] [DEBUG] VGL Compression: proxy
[  842.664467] [DEBUG] VGLrun extra options: 
[  842.664476] [DEBUG] Primus LD Path: /usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
[  842.664620] [DEBUG]Using auto-detected bridge primus
[  842.665073] [INFO]Response: No, secondary X is not active.

[  842.665090] [ERROR]Cannot access secondary GPU, secondary X is not active.

[  842.665102] [DEBUG]Socket closed.
[  842.665128] [ERROR]Aborting because fallback start is disabled.
[  842.665138] [DEBUG]Killing all remaining processes.

Output :

$ uname -a
Linux laptop-debian 6.1.0-12-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.52-1 (2023-09-07) x86_64 GNU/Linux
$ sudo apt list *nvidia*
Listing... Done
boinc-client-nvidia-cuda/stable 7.20.5+dfsg-1.1 amd64
boinc-client-nvidia-cuda/stable 7.20.5+dfsg-1.1 i386
bumblebee-nvidia/stable 3.2.1-29 amd64
firmware-nvidia-gsp/stable,now 525.125.06-1~deb12u1 amd64 [installed,automatic]
firmware-nvidia-tesla-gsp/stable 525.125.06-1~deb12u1 amd64
glx-alternative-nvidia/stable,now 1.2.2 amd64 [installed,automatic]
glx-alternative-nvidia/stable 1.2.2 i386
hashcat-nvidia/stable,stable 20210201 all
libegl-nvidia-tesla-470-0/stable 470.199.02-1~deb12u1 amd64
libegl-nvidia-tesla-470-0/stable 470.199.02-1~deb12u1 i386
libegl-nvidia-tesla0/stable 525.125.06-1~deb12u1 amd64
libegl-nvidia-tesla0/stable 525.125.06-1~deb12u1 i386
libegl-nvidia0/stable,now 525.125.06-1~deb12u1 amd64 [installed,automatic]
libegl-nvidia0/stable,now 525.125.06-1~deb12u1 i386 [installed,automatic]
libgl1-nvidia-glvnd-glx/stable,now 525.125.06-1~deb12u1 amd64 [installed,automatic]
libgl1-nvidia-glvnd-glx/stable,now 525.125.06-1~deb12u1 i386 [installed,automatic]
libgl1-nvidia-tesla-470-glvnd-glx/stable 470.199.02-1~deb12u1 amd64
libgl1-nvidia-tesla-470-glvnd-glx/stable 470.199.02-1~deb12u1 i386
libgl1-nvidia-tesla-glvnd-glx/stable 525.125.06-1~deb12u1 amd64
libgl1-nvidia-tesla-glvnd-glx/stable 525.125.06-1~deb12u1 i386
libgles-nvidia-tesla-470-1/stable 470.199.02-1~deb12u1 amd64
libgles-nvidia-tesla-470-1/stable 470.199.02-1~deb12u1 i386
libgles-nvidia-tesla-470-2/stable 470.199.02-1~deb12u1 amd64
libgles-nvidia-tesla-470-2/stable 470.199.02-1~deb12u1 i386
libgles-nvidia-tesla1/stable 525.125.06-1~deb12u1 amd64
libgles-nvidia-tesla1/stable 525.125.06-1~deb12u1 i386
libgles-nvidia-tesla2/stable 525.125.06-1~deb12u1 amd64
libgles-nvidia-tesla2/stable 525.125.06-1~deb12u1 i386
libgles-nvidia1/stable,now 525.125.06-1~deb12u1 amd64 [installed,automatic]
libgles-nvidia1/stable,now 525.125.06-1~deb12u1 i386 [installed,automatic]
libgles-nvidia2/stable,now 525.125.06-1~deb12u1 amd64 [installed,automatic]
libgles-nvidia2/stable,now 525.125.06-1~deb12u1 i386 [installed,automatic]
libglx-nvidia-tesla-470-0/stable 470.199.02-1~deb12u1 amd64
libglx-nvidia-tesla-470-0/stable 470.199.02-1~deb12u1 i386
libglx-nvidia-tesla0/stable 525.125.06-1~deb12u1 amd64
libglx-nvidia-tesla0/stable 525.125.06-1~deb12u1 i386
libglx-nvidia0/stable,now 525.125.06-1~deb12u1 amd64 [installed,automatic]
libglx-nvidia0/stable,now 525.125.06-1~deb12u1 i386 [installed,automatic]
libnvidia-allocator1/stable,now 525.125.06-1~deb12u1 amd64 [installed,automatic]
libnvidia-allocator1/stable,now 525.125.06-1~deb12u1 i386 [installed,automatic]
libnvidia-api1/stable 525.125.06-1~deb12u1 amd64
libnvidia-cfg1/stable,now 525.125.06-1~deb12u1 amd64 [installed,automatic]
libnvidia-compiler/stable 525.125.06-1~deb12u1 amd64
libnvidia-compiler/stable 525.125.06-1~deb12u1 i386
libnvidia-egl-gbm1/stable,now 1.1.0-2 amd64 [installed,automatic]
libnvidia-egl-gbm1/stable,now 1.1.0-2 i386 [installed,automatic]
libnvidia-egl-wayland-dev/stable 1:1.1.10-1 amd64
libnvidia-egl-wayland-dev/stable 1:1.1.10-1 i386
libnvidia-egl-wayland1/stable,now 1:1.1.10-1 amd64 [installed,automatic]
libnvidia-egl-wayland1/stable 1:1.1.10-1 i386
libnvidia-eglcore/stable,now 525.125.06-1~deb12u1 amd64 [installed,automatic]
libnvidia-eglcore/stable,now 525.125.06-1~deb12u1 i386 [installed,automatic]
libnvidia-encode1/stable,now 525.125.06-1~deb12u1 amd64 [installed,automatic]
libnvidia-encode1/stable,now 525.125.06-1~deb12u1 i386 [installed,automatic]
libnvidia-fbc1/stable 525.125.06-1~deb12u1 amd64
libnvidia-fbc1/stable 525.125.06-1~deb12u1 i386
libnvidia-glcore/stable,now 525.125.06-1~deb12u1 amd64 [installed,automatic]
libnvidia-glcore/stable,now 525.125.06-1~deb12u1 i386 [installed,automatic]
libnvidia-glvkspirv/stable,now 525.125.06-1~deb12u1 amd64 [installed,automatic]
libnvidia-glvkspirv/stable,now 525.125.06-1~deb12u1 i386 [installed,automatic]
libnvidia-ml-dev/stable 11.8.86~11.8.0-5~deb12u1 amd64
libnvidia-ml1/stable,now 525.125.06-1~deb12u1 amd64 [installed,automatic]
libnvidia-ml1/stable 525.125.06-1~deb12u1 i386
libnvidia-ngx1/stable 525.125.06-1~deb12u1 amd64
libnvidia-nvvm4/stable 525.125.06-1~deb12u1 amd64
libnvidia-nvvm4/stable 525.125.06-1~deb12u1 i386
libnvidia-opticalflow1/stable 525.125.06-1~deb12u1 amd64
libnvidia-opticalflow1/stable 525.125.06-1~deb12u1 i386
libnvidia-ptxjitcompiler1/stable,now 525.125.06-1~deb12u1 amd64 [installed,automatic]
libnvidia-ptxjitcompiler1/stable,now 525.125.06-1~deb12u1 i386 [installed,automatic]
libnvidia-rtcore/stable,now 525.125.06-1~deb12u1 amd64 [installed,automatic]
libnvidia-tesla-470-allocator1/stable 470.199.02-1~deb12u1 amd64
libnvidia-tesla-470-allocator1/stable 470.199.02-1~deb12u1 i386
libnvidia-tesla-470-cbl/stable 470.199.02-1~deb12u1 amd64
libnvidia-tesla-470-cfg1/stable 470.199.02-1~deb12u1 amd64
libnvidia-tesla-470-compiler/stable 470.199.02-1~deb12u1 amd64
libnvidia-tesla-470-compiler/stable 470.199.02-1~deb12u1 i386
libnvidia-tesla-470-cuda1/stable 470.199.02-1~deb12u1 amd64
libnvidia-tesla-470-cuda1/stable 470.199.02-1~deb12u1 i386
libnvidia-tesla-470-eglcore/stable 470.199.02-1~deb12u1 amd64
libnvidia-tesla-470-eglcore/stable 470.199.02-1~deb12u1 i386
libnvidia-tesla-470-encode1/stable 470.199.02-1~deb12u1 amd64
libnvidia-tesla-470-encode1/stable 470.199.02-1~deb12u1 i386
libnvidia-tesla-470-fbc1/stable 470.199.02-1~deb12u1 amd64
libnvidia-tesla-470-fbc1/stable 470.199.02-1~deb12u1 i386
libnvidia-tesla-470-glcore/stable 470.199.02-1~deb12u1 amd64
libnvidia-tesla-470-glcore/stable 470.199.02-1~deb12u1 i386
libnvidia-tesla-470-glvkspirv/stable 470.199.02-1~deb12u1 amd64
libnvidia-tesla-470-glvkspirv/stable 470.199.02-1~deb12u1 i386
libnvidia-tesla-470-ifr1/stable 470.199.02-1~deb12u1 amd64
libnvidia-tesla-470-ifr1/stable 470.199.02-1~deb12u1 i386
libnvidia-tesla-470-ml1/stable 470.199.02-1~deb12u1 amd64
libnvidia-tesla-470-ml1/stable 470.199.02-1~deb12u1 i386
libnvidia-tesla-470-ngx1/stable 470.199.02-1~deb12u1 amd64
libnvidia-tesla-470-nvcuvid1/stable 470.199.02-1~deb12u1 amd64
libnvidia-tesla-470-nvcuvid1/stable 470.199.02-1~deb12u1 i386
libnvidia-tesla-470-nvoptix1/stable 470.199.02-1~deb12u1 amd64
libnvidia-tesla-470-nvvm4/stable 470.199.02-1~deb12u1 amd64
libnvidia-tesla-470-opticalflow1/stable 470.199.02-1~deb12u1 amd64
libnvidia-tesla-470-opticalflow1/stable 470.199.02-1~deb12u1 i386
libnvidia-tesla-470-ptxjitcompiler1/stable 470.199.02-1~deb12u1 amd64
libnvidia-tesla-470-ptxjitcompiler1/stable 470.199.02-1~deb12u1 i386
libnvidia-tesla-470-rtcore/stable 470.199.02-1~deb12u1 amd64
libnvidia-tesla-allocator1/stable 525.125.06-1~deb12u1 amd64
libnvidia-tesla-allocator1/stable 525.125.06-1~deb12u1 i386
libnvidia-tesla-api1/stable 525.125.06-1~deb12u1 amd64
libnvidia-tesla-cfg1/stable 525.125.06-1~deb12u1 amd64
libnvidia-tesla-compiler/stable 525.125.06-1~deb12u1 amd64
libnvidia-tesla-compiler/stable 525.125.06-1~deb12u1 i386
libnvidia-tesla-cuda1/stable 525.125.06-1~deb12u1 amd64
libnvidia-tesla-cuda1/stable 525.125.06-1~deb12u1 i386
libnvidia-tesla-cudadebugger1/stable 525.125.06-1~deb12u1 amd64
libnvidia-tesla-eglcore/stable 525.125.06-1~deb12u1 amd64
libnvidia-tesla-eglcore/stable 525.125.06-1~deb12u1 i386
libnvidia-tesla-encode1/stable 525.125.06-1~deb12u1 amd64
libnvidia-tesla-encode1/stable 525.125.06-1~deb12u1 i386
libnvidia-tesla-fbc1/stable 525.125.06-1~deb12u1 amd64
libnvidia-tesla-fbc1/stable 525.125.06-1~deb12u1 i386
libnvidia-tesla-glcore/stable 525.125.06-1~deb12u1 amd64
libnvidia-tesla-glcore/stable 525.125.06-1~deb12u1 i386
libnvidia-tesla-glvkspirv/stable 525.125.06-1~deb12u1 amd64
libnvidia-tesla-glvkspirv/stable 525.125.06-1~deb12u1 i386
libnvidia-tesla-ml1/stable 525.125.06-1~deb12u1 amd64
libnvidia-tesla-ml1/stable 525.125.06-1~deb12u1 i386
libnvidia-tesla-ngx1/stable 525.125.06-1~deb12u1 amd64
libnvidia-tesla-nvcuvid1/stable 525.125.06-1~deb12u1 amd64
libnvidia-tesla-nvcuvid1/stable 525.125.06-1~deb12u1 i386
libnvidia-tesla-nvoptix1/stable 525.125.06-1~deb12u1 amd64
libnvidia-tesla-nvvm4/stable 525.125.06-1~deb12u1 amd64
libnvidia-tesla-nvvm4/stable 525.125.06-1~deb12u1 i386
libnvidia-tesla-opticalflow1/stable 525.125.06-1~deb12u1 amd64
libnvidia-tesla-opticalflow1/stable 525.125.06-1~deb12u1 i386
libnvidia-tesla-ptxjitcompiler1/stable 525.125.06-1~deb12u1 amd64
libnvidia-tesla-ptxjitcompiler1/stable 525.125.06-1~deb12u1 i386
libnvidia-tesla-rtcore/stable 525.125.06-1~deb12u1 amd64
mate-sensors-applet-nvidia/stable 1.26.0-1 amd64
mate-sensors-applet-nvidia/stable 1.26.0-1 i386
mir-graphics-drivers-nvidia/stable 2.12.1-1 amd64
mir-graphics-drivers-nvidia/stable 2.12.1-1 i386
nvidia-alternative/stable,now 525.125.06-1~deb12u1 amd64 [installed,automatic]
nvidia-alternative/stable 525.125.06-1~deb12u1 i386
nvidia-cg-dev/stable 3.1.0013-5+b1 amd64
nvidia-cg-dev/stable 3.1.0013-5+b1 i386
nvidia-cg-doc/stable,stable 3.1.0013-5 all
nvidia-cg-toolkit/stable 3.1.0013-5+b1 amd64
nvidia-cg-toolkit/stable 3.1.0013-5+b1 i386
nvidia-cuda-dev/stable 11.8.89~11.8.0-5~deb12u1 amd64
nvidia-cuda-gdb/stable 11.8.86~11.8.0-5~deb12u1 amd64
nvidia-cuda-mps/stable 470.199.02-1~deb12u1 amd64
nvidia-cuda-samples/stable,stable 11.8~dfsg-2 all
nvidia-cuda-toolkit-doc/stable,stable 11.8.0-5~deb12u1 all
nvidia-cuda-toolkit-gcc/stable 11.8.0-5~deb12u1 amd64
nvidia-cuda-toolkit/stable 11.8.89~11.8.0-5~deb12u1 amd64
nvidia-cudnn/stable 8.5.0.96~cuda11.7 amd64
nvidia-detect/stable,now 525.125.06-1~deb12u1 amd64 [installed]
nvidia-driver-bin/stable,now 525.125.06-1~deb12u1 amd64 [installed,automatic]
nvidia-driver-libs/stable,now 525.125.06-1~deb12u1 amd64 [installed,automatic]
nvidia-driver-libs/stable,now 525.125.06-1~deb12u1 i386 [installed,automatic]
nvidia-driver/stable,now 525.125.06-1~deb12u1 amd64 [installed]
nvidia-egl-common/stable,now 525.125.06-1~deb12u1 amd64 [installed,automatic]
nvidia-egl-common/stable 525.125.06-1~deb12u1 i386
nvidia-egl-icd/stable,now 525.125.06-1~deb12u1 amd64 [installed,automatic]
nvidia-egl-icd/stable,now 525.125.06-1~deb12u1 i386 [installed,automatic]
nvidia-fs-dkms/stable 2.13.5~11.8.0-5~deb12u1 amd64
nvidia-installer-cleanup/stable,now 20220217+3~deb12u1 amd64 [installed,automatic]
nvidia-installer-cleanup/stable 20220217+3~deb12u1 i386
nvidia-kernel-common/stable,now 20220217+3~deb12u1 amd64 [installed,automatic]
nvidia-kernel-common/stable 20220217+3~deb12u1 i386
nvidia-kernel-dkms/stable,now 525.125.06-1~deb12u1 amd64 [installed,automatic]
nvidia-kernel-source/stable 525.125.06-1~deb12u1 amd64
nvidia-kernel-support/stable,now 525.125.06-1~deb12u1 amd64 [installed,automatic]
nvidia-legacy-check/stable,now 525.125.06-1~deb12u1 amd64 [installed,automatic]
nvidia-libopencl1/stable 525.125.06-1~deb12u1 amd64
nvidia-libopencl1/stable 525.125.06-1~deb12u1 i386
nvidia-modprobe/stable,now 535.54.03-1~deb12u1 amd64 [installed,automatic]
nvidia-modprobe/stable 535.54.03-1~deb12u1 i386
nvidia-open-kernel-dkms/stable 525.125.06-1~deb12u1 amd64
nvidia-open-kernel-source/stable 525.125.06-1~deb12u1 amd64
nvidia-open-kernel-support/stable 525.125.06-1~deb12u1 amd64
nvidia-opencl-common/stable 525.125.06-1~deb12u1 amd64
nvidia-opencl-common/stable 525.125.06-1~deb12u1 i386
nvidia-opencl-dev/stable 11.8.89~11.8.0-5~deb12u1 amd64
nvidia-opencl-icd/stable 525.125.06-1~deb12u1 amd64
nvidia-opencl-icd/stable 525.125.06-1~deb12u1 i386
nvidia-openjdk-8-jre/stable 9.+8u372-ga-1~11.8.0-5~deb12u1 amd64
nvidia-persistenced/stable,now 525.85.05-1 amd64 [installed,automatic]
nvidia-powerd/stable 525.125.06-1~deb12u1 amd64
nvidia-primus-vk-common/stable,now 1.6.2-2 amd64 [residual-config]
nvidia-primus-vk-common/stable 1.6.2-2 i386
nvidia-primus-vk-wrapper/stable 1.6.2-2 amd64
nvidia-primus-vk-wrapper/stable 1.6.2-2 i386
nvidia-profiler/stable 11.8.87~11.8.0-5~deb12u1 amd64
nvidia-settings-tesla-470/stable 470.161.03-1 amd64
nvidia-settings-tesla/stable 525.85.05-1 amd64
nvidia-settings/stable,now 525.85.05-1 amd64 [installed,automatic]
nvidia-smi/stable,now 525.125.06-1~deb12u1 amd64 [installed,automatic]
nvidia-support/stable,now 20220217+3~deb12u1 amd64 [installed,automatic]
nvidia-support/stable 20220217+3~deb12u1 i386
nvidia-tesla-470-alternative/stable 470.199.02-1~deb12u1 amd64
nvidia-tesla-470-alternative/stable 470.199.02-1~deb12u1 i386
nvidia-tesla-470-driver-bin/stable 470.199.02-1~deb12u1 amd64
nvidia-tesla-470-driver-libs/stable 470.199.02-1~deb12u1 amd64
nvidia-tesla-470-driver-libs/stable 470.199.02-1~deb12u1 i386
nvidia-tesla-470-driver/stable 470.199.02-1~deb12u1 amd64
nvidia-tesla-470-egl-icd/stable 470.199.02-1~deb12u1 amd64
nvidia-tesla-470-egl-icd/stable 470.199.02-1~deb12u1 i386
nvidia-tesla-470-kernel-dkms/stable 470.199.02-1~deb12u1 amd64
nvidia-tesla-470-kernel-source/stable 470.199.02-1~deb12u1 amd64
nvidia-tesla-470-kernel-support/stable 470.199.02-1~deb12u1 amd64
nvidia-tesla-470-opencl-icd/stable 470.199.02-1~deb12u1 amd64
nvidia-tesla-470-opencl-icd/stable 470.199.02-1~deb12u1 i386
nvidia-tesla-470-smi/stable 470.199.02-1~deb12u1 amd64
nvidia-tesla-470-vdpau-driver/stable 470.199.02-1~deb12u1 amd64
nvidia-tesla-470-vdpau-driver/stable 470.199.02-1~deb12u1 i386
nvidia-tesla-470-vulkan-icd/stable 470.199.02-1~deb12u1 amd64
nvidia-tesla-470-vulkan-icd/stable 470.199.02-1~deb12u1 i386
nvidia-tesla-alternative/stable 525.125.06-1~deb12u1 amd64
nvidia-tesla-alternative/stable 525.125.06-1~deb12u1 i386
nvidia-tesla-driver-bin/stable 525.125.06-1~deb12u1 amd64
nvidia-tesla-driver-libs/stable 525.125.06-1~deb12u1 amd64
nvidia-tesla-driver-libs/stable 525.125.06-1~deb12u1 i386
nvidia-tesla-driver/stable 525.125.06-1~deb12u1 amd64
nvidia-tesla-egl-icd/stable 525.125.06-1~deb12u1 amd64
nvidia-tesla-egl-icd/stable 525.125.06-1~deb12u1 i386
nvidia-tesla-kernel-dkms/stable 525.125.06-1~deb12u1 amd64
nvidia-tesla-kernel-source/stable 525.125.06-1~deb12u1 amd64
nvidia-tesla-kernel-support/stable 525.125.06-1~deb12u1 amd64
nvidia-tesla-legacy-check/stable 525.125.06-1~deb12u1 amd64
nvidia-tesla-opencl-icd/stable 525.125.06-1~deb12u1 amd64
nvidia-tesla-opencl-icd/stable 525.125.06-1~deb12u1 i386
nvidia-tesla-smi/stable 525.125.06-1~deb12u1 amd64
nvidia-tesla-vdpau-driver/stable 525.125.06-1~deb12u1 amd64
nvidia-tesla-vdpau-driver/stable 525.125.06-1~deb12u1 i386
nvidia-tesla-vulkan-icd/stable 525.125.06-1~deb12u1 amd64
nvidia-tesla-vulkan-icd/stable 525.125.06-1~deb12u1 i386
nvidia-vaapi-driver/stable 0.0.8-1 amd64
nvidia-vaapi-driver/stable 0.0.8-1 i386
nvidia-vdpau-driver/stable,now 525.125.06-1~deb12u1 amd64 [installed,automatic]
nvidia-vdpau-driver/stable 525.125.06-1~deb12u1 i386
nvidia-visual-profiler/stable 11.8.87~11.8.0-5~deb12u1 amd64
nvidia-vulkan-common/stable,now 525.125.06-1~deb12u1 amd64 [installed,automatic]
nvidia-vulkan-common/stable 525.125.06-1~deb12u1 i386
nvidia-vulkan-icd/stable,now 525.125.06-1~deb12u1 amd64 [installed,automatic]
nvidia-vulkan-icd/stable,now 525.125.06-1~deb12u1 i386 [installed,automatic]
nvidia-xconfig/stable 525.85.05-1 amd64
primus-nvidia/stable 0~20150328-15 amd64
primus-vk-nvidia/stable 1.6.2-2 amd64
primus-vk-nvidia/stable 1.6.2-2 i386
xserver-xorg-video-nvidia-tesla-470/stable 470.199.02-1~deb12u1 amd64
xserver-xorg-video-nvidia-tesla/stable 525.125.06-1~deb12u1 amd64
xserver-xorg-video-nvidia/stable,now 525.125.06-1~deb12u1 amd64 [installed,automatic]
$ lspci | grep -i --color 'vga\|3d\|2d'
01:00.0 3D controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Mobile] (rev a1)
05:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Picasso/Raven 2 [Radeon Vega Series / Radeon Vega Mobile Series] (rev c2)

Merci beaucoup pour votre aide, n’hésitez pas à me demander d’autres informations.

Hugo

Avant d’installer nvidia-drivers as-tu fait la commande nvidia-detect qui permet justement de savoir quel pilote installer ?

Oui, il me proposait nvidia-driver.

Output :

$ nvidia-detect
Detected NVIDIA GPUs:
01:00.0 3D controller [0302]: NVIDIA Corporation GP107M [GeForce GTX 1050 Mobile] [10de:1c92] (rev a1)

Checking card:  NVIDIA Corporation GP107M [GeForce GTX 1050 Mobile] (rev a1)
Your card is supported by all driver versions.
Your card is also supported by the Tesla drivers series.
Your card is also supported by the Tesla 470 drivers series.
It is recommended to install the
    nvidia-driver
package.
1 J'aime

Bonjour,

Au risque de dire une bêtise, je pense qu’il faut voir du coté de Optimus : NVIDIA Optimus - Debian Wiki, notamment pour lancer l’application avec la carte NVIDIA :

`__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia supertuxkart`

La commande __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia glxgears -infoavec ces arguments devant lance bien le programme glxgears sur la carte nvidia (cf. Output nvidia-smi ci-dessous).

Output :

$ __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia glxgears -info
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
GL_RENDERER   = NVIDIA GeForce GTX 1050/PCIe/SSE2
GL_VERSION    = 4.6.0 NVIDIA 525.125.06
GL_VENDOR     = NVIDIA Corporation
...
296 frames in 5.0 seconds = 59.060 FPS
300 frames in 5.0 seconds = 59.996 FPS
$ nvidia-smi
Fri Oct  6 10:38:32 2023       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 525.125.06   Driver Version: 525.125.06   CUDA Version: 12.0     |
|-------------------------------+----------------------+----------------------+
| 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 Off |                  N/A |
| N/A   43C    P5    N/A /  N/A |     29MiB /  2048MiB |      1%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|    0   N/A  N/A       856      G   /usr/lib/xorg/Xorg                 24MiB |
|    0   N/A  N/A     20059      G   glxgears                            3MiB |
+-----------------------------------------------------------------------------+

Je vais créer un script pour lancer n’importe quel programme avec ces arguments.
Merci pour votre aide.

Hugo

Sur le lien qui t’a été fourni, il est aussi spécifié que :

This method is also supported out-of-the-box in GNOME 3.36+ with a « Start on secondary GPU » context menu item for applications.

Merci beaucoup mais j’ai KDE Plasma :blush:

1 J'aime