Nvidia-Grafikkarte nutzt die dedizierte GPU nicht: Unterschied zwischen den Versionen

Aus Curios Wiki
Zur Navigation springen Zur Suche springen
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
 
Zeile 20: Zeile 20:
  # Options: "integrated", "dedicated"
  # Options: "integrated", "dedicated"
  session_gpu = integrated
  session_gpu = integrated
  [Applications]
  [Applications]
  # Example: Run Firefox on the dedicated GPU
  # Example: Run Firefox on the dedicated GPU
  firefox = dedicated
  firefox = dedicated
  # Example: Run VLC on the integrated GPU
  # Example: Run VLC on the integrated GPU
  vlc = integrated
  vlc = integrated
  # Example: Run a specific script on the dedicated GPU
  # Example: Run a specific script on the dedicated GPU
  /usr/local/bin/my_gpu_intensive_script.sh = dedicated
  /usr/local/bin/my_gpu_intensive_script.sh = dedicated

Aktuelle Version vom 1. November 2025, 21:37 Uhr

Getestet auf OpenSuse Tumbleweed mit Sway.

KDE und Gnome haben eigene Auswahltools in anderen Desktop-Tools hilft das Tool:

switcheroo-control

https://en.opensuse.org/SDB:NVIDIA_Switcheroo_Control

sudo zypper in switcheroo-control
sudo systemctl enable --now switcheroo-control.service

Die Konfigdatei für Switcheroo liegt unter

/etc/switcherooctl.conf

Beispiel Konfig

[General]
# Set the primary GPU for the session.
# Options: "integrated", "dedicated"
session_gpu = integrated
[Applications]
# Example: Run Firefox on the dedicated GPU
firefox = dedicated
# Example: Run VLC on the integrated GPU
vlc = integrated
# Example: Run a specific script on the dedicated GPU
/usr/local/bin/my_gpu_intensive_script.sh = dedicated