Nvidia and the cudas

I need the cudas installed but I don’t know which files to install. I have both the default kernel and the longterm. I use, most of the times, the longterm kernel (my default).

here’s my inxi:

$ inxi -Gxxx
Graphics:
  Device-1: Intel Meteor Lake-P [Intel Arc Graphics] vendor: Dell driver: N/A
    arch: Xe-LPG bus-ID: 00:02.0 chip-ID: 8086:7d55 class-ID: 0300
  Device-2: NVIDIA AD107M [GeForce RTX 4060 Max-Q / Mobile] vendor: Dell
    driver: nvidia v: 570.144 arch: Lovelace pcie: speed: 2.5 GT/s lanes: 8
    ports: active: none off: HDMI-A-1,eDP-1 empty: DP-1 bus-ID: 01:00.0
    chip-ID: 10de:28e0 class-ID: 0300
  Device-3: Realtek Integrated_Webcam_FHD driver: uvcvideo type: USB
    rev: 2.0 speed: 480 Mb/s lanes: 1 bus-ID: 3-9:7 chip-ID: 0bda:557c
    class-ID: fe01 serial: 200901010001
  Display: x11 server: X.org v: 1.21.1.15 compositor: xfwm4 v: 4.20.0
    driver: X: loaded: nvidia unloaded: modesetting,vesa
    alternate: fbdev,nouveau,nv gpu: nvidia,nvidia-nvswitch display-ID: :0.0
    screens: 1
  Screen-1: 0 s-res: 2560x1440 s-size: <missing: xdpyinfo>
  Monitor-1: not-matched mapped: DP-2 size-res: N/A modes: N/A
  Monitor-2: not-matched mapped: HDMI-0 pos: primary res: mode: 2560x1440
    hz: 60 scale: 100% (1) dpi: 109 size: 597x336mm (23.5x13.23")
    diag: 685mm (26.97") modes: N/A
  API: OpenGL v: 4.6.0 vendor: nvidia v: 570.144 glx-v: 1.4
    direct-render: yes renderer: NVIDIA GeForce RTX 4060 Laptop GPU/PCIe/SSE2
  Info: Tools: api: glxinfo de: xfce4-display-settings gpu: nvidia-smi
    x11: xprop,xrandr

I only have the nvidia 4060 enabled, not the intel.

when do a search for the cudas I get:

$ zypper se cuda
Loading repository data...
Reading installed packages...

S  | Name                                              | Summary                       | Type
---+---------------------------------------------------+-------------------------------+--------
   | criu-plugin-cuda                                  | CUDA plugin for CRIU          | package
   | cuda-cloud-opengpu                                | Meta package for CUDA minim-> | package
   | kernel-firmware-nvidia-gspx-G06-cuda              | Kernel firmware file for op-> | package
i  | libgstcuda-1_0-0                                  | GStreamer Streaming-Media F-> | package
   | libgstcuda-1_0-0-32bit                            | GStreamer Streaming-Media F-> | package
   | nvidia-open-driver-G06-signed-cuda-default-devel  | Devel Package to nvidia-ope-> | package
   | nvidia-open-driver-G06-signed-cuda-kmp-default    | NVIDIA open kernel module d-> | package
   | nvidia-open-driver-G06-signed-cuda-kmp-longterm   | NVIDIA open kernel module d-> | package
   | nvidia-open-driver-G06-signed-cuda-longterm-devel | Devel Package to nvidia-ope-> | package
i  | texlive-barracuda                                 | Draw barcodes with Lua        | package
   | texlive-barracuda-doc                             | Documentation for texlive-b-> | package
   | tree-sitter-cuda                                  | CUDA grammar for tree-sitter  | package
   | tree-sitter-cuda-devel                            | Devel package for tree-sitt-> | package
   | typelib-1_0-CudaGst-1_0                           | Introspection bindings for -> | package
   | typelib-1_0-GstCuda-1_0                           | Introspection bindings for -> | package

Do I need to install?

kernel-firmware-nvidia-gspx-G06-cuda

or do I need to install the default/longterm

nvidia-open-driver-G06-signed-cuda-default-devel
nvidia-open-driver-G06-signed-cuda-longterm-devel

or do I need to install the kmps?:

nvidia-open-driver-G06-signed-cuda-kmp-default
nvidia-open-driver-G06-signed-cuda-kmp-longterm

Thanks

are you wanting to USE cuda code/program ?
or building/writing CUDA based programs ?
for the first just the 570 driver
for the second see the Nvidia website and install the cudaSDK

I just want to use the cudas, it’s for a couple of apps that run much faster with them.

Are you saying that the cudas are included in the nvidia-compute-G06?

Thanks