XPS Laptop - how to install properly the onboard nvidia graph card?

Can somebody walk me safely through that process? I’m afraid to sit in front of a black screen … :slight_smile: . Yes, I read some help/youtube/reddit-stuff/manuals but I’m not sure if I fully grasp everything.

I have a XPS Dell Laptop with 2 graph cards and I would like to use my GeForce RTX 4060. I identified and loaded the driver (595.99.02 …) and the nvidia repository is added (myrlyn). How to I switch now to this graph card?

Hi henry_1

To start with please open a terminal and post the output of the following ocmmands
inxi -Gaz
zypper se -si nvidia

Which desktop are you using? Both KDE Plasma and GNOME can launch applications using the discrete NVIDIA GPU, and switcherooctl can also be used to launch applications on a specific GPU.

great. here the two commands

henry@XPS-Laptop:~> inxi -Gaz
Graphics:
  Device-1: Intel Raptor Lake-P [Iris Xe Graphics] vendor: Dell driver: i915
    v: kernel alternate: xe arch: Xe process: Intel 7 (10nm) built: 2022+ ports:
    active: eDP-1 empty: DP-1, DP-2, DP-3, DP-4, HDMI-A-1 bus-ID: 0000:00:02.0
    chip-ID: 8086:a7a0 class-ID: 0300
  Device-2: NVIDIA AD107M [GeForce RTX 4060 Max-Q / Mobile] vendor: Dell
    driver: nvidia v: 595.99.02 alternate: nouveau,nvidia_drm
    non-free: 550-6xx.xx+ status: current (as of 2026-07) arch: Lovelace
    code: AD1xx process: TSMC n4 (5nm) built: 2022+ bus-ID: 0000:01:00.0
    chip-ID: 10de:28a0 class-ID: 0302
  Device-3: Realtek Integrated_Webcam_HD driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-6:2 chip-ID: 0bda:5559
    class-ID: fe01 serial: <filter>
  Display: x11 server: X.Org v: 21.1.15 with: Xwayland v: 24.1.6
    compositor: kwin_x11 driver: X: loaded: modesetting unloaded: vesa
    alternate: fbdev,intel dri: iris gpu: i915 display-ID: :0 screens: 1
  Screen-1: 0 s-res: 3456x2160 s-dpi: 196 s-size: 447x279mm (17.60x10.98")
    s-diag: 527mm (20.75")
  Monitor-1: eDP-1 model: Samsung 0x414d built: 2020 res: mode: 3456x2160
    hz: 60 scale: 100% (1) dpi: 261 gamma: 1.2 size: 336x210mm (13.23x8.27")
    diag: 396mm (15.6") ratio: 16:10 modes: 3456x2160
  API: EGL v: 1.5 hw: drv: intel iris drv: nvidia platforms: device: 0
    drv: nvidia device: 1 drv: iris gbm: drv: iris surfaceless: drv: nvidia x11:
    drv: iris inactive: wayland
  API: OpenGL v: 4.6.0 compat-v: 4.6 vendor: intel mesa v: 24.3.3 glx-v: 1.4
    direct-render: yes renderer: Mesa Intel Iris Xe Graphics (RPL-P)
    device-ID: 8086:a7a0 memory: 15.14 GiB unified: yes
  API: Vulkan v: 1.4.309 layers: 2 device: 0 type: discrete-gpu name: NVIDIA
    GeForce RTX 4060 Laptop GPU driver: nvidia v: 595.99.02
    device-ID: 10de:28a0 surfaces: xcb,xlib
  Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo
    de: kscreen-console,kscreen-doctor gpu: nvidia-smi wl: wayland-info
    x11: xdpyinfo, xprop, xrandr

and 
henry@XPS-Laptop:~> zypper se -si nvidia
Loading repository data...
Reading installed packages...

S  | Name                                      | Type    | Version                                | Arch   | Repository
---+-------------------------------------------+---------+----------------------------------------+--------+----------------
i  | kernel-firmware-nvidia                    | package | 20250516-160000.2.2                    | noarch | repo-oss (16.0)
i  | libnvidia-cfg                             | package | 595.99.02-lp160.10.1                   | x86_64 | nVidia
i  | libnvidia-egl-gbm1                        | package | 1.1.3-lp160.10.1                       | x86_64 | nVidia
i  | libnvidia-egl-wayland1                    | package | 1.1.22-lp160.56.1                      | x86_64 | nVidia
i  | libnvidia-egl-x111                        | package | 1.0.5-lp160.24.1                       | x86_64 | nVidia
i  | libnvidia-gpucomp                         | package | 595.99.02-lp160.10.1                   | x86_64 | nVidia
i  | libnvidia-ml                              | package | 595.99.02-lp160.10.1                   | x86_64 | nVidia
i  | nvidia-common-G07                         | package | 595.99.02-lp160.10.1                   | x86_64 | nVidia
i  | nvidia-compute-G07                        | package | 595.99.02-lp160.10.1                   | x86_64 | nVidia
i+ | nvidia-compute-utils-G07                  | package | 595.99.02-lp160.10.1                   | x86_64 | nVidia
i+ | nvidia-gl-G07                             | package | 595.99.02-lp160.10.1                   | x86_64 | nVidia
i  | nvidia-modprobe                           | package | 595.99.02-lp160.2.1                    | x86_64 | nVidia
i+ | nvidia-open-driver-G07-signed-check       | package | 595.99.02-160000.1.1                   | noarch | repo-oss (16.0)
i+ | nvidia-open-driver-G07-signed-kmp-default | package | 595.99.02_k6.12.0_160000.37-160000.1.1 | x86_64 | repo-oss (16.0)
i  | nvidia-persistenced                       | package | 595.99.02-lp160.2.1                    | x86_64 | nVidia
i  | nvidia-userspace-meta-G07                 | package | 595.99.02-lp160.32.1                   | x86_64 | nVidia
i  | nvidia-video-G07                          | package | 595.99.02-lp160.10.1  

I’m using KDE only

Mod edit to add code tags.

Your setup will only use the Nvidia GPU for Prime Render Offload, Class 302 is “3D” only. By default it’s being used (See the Vulkan output), else use switcherooctl for it to be used, AFAIK there is a Plasma applet for launching(?).

You should not get a black screen on the hardware as there is no output to any screens, only the driver won’t be working…

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.