Problem with system startup (Performance Mode) / Games crashing (Proton) - GeForce RTX 4080 SUPER, Linux Mint

I have two problems that seem to be related to Nvidia drivers for Linux Mint.

1. Problem with system startup (Performance Mode)

When I am in “Nvidia (Performance Mode),” not every system startup is successful. Sometimes, instead of loading the system, there is nothing. Nothing is displayed, and the monitor shows a no signal message. I then have to restart the entire computer until the system boots normally after a few attempts. I have this problem with both “nvidia-driver-580-open” and “nvidia-driver-570-open.” This problem also occurred with “nvidia-driver-550,” but much less frequently.

Switching to “Nvidia On-Demand” mode was the only thing that helped. It seems to be solved, but it may be responsible for the second problem (below).

2. Games crashing (Proton)

With the “nvidia-driver-550” drivers, games ran fine. After a while, a problem arose where the game would freeze at random moments. I then discovered that the 550 driver had disappeared from the driver manager, and the driver had switched itself to “xserver-xorg-video-nouveau.” Unfortunately, switching to the available “nvidia-driver-580-open” and “nvidia-driver-570-open” did not help. Games still freeze at random moments. Usually, the rest of the system works normally, so you can turn off the game via the Steam interface. Sometimes the whole computer freezes and then it is necessary to restart the machine.

I encountered this problem in games that use Proton :

  • Astroneer
  • Brickadia
  • Cities: Skylines 2
  • Sonic Racing: CrossWorlds
  • Starsand Island
  • The Karters 2

The problem did not occur in Two Point Museum , which has a native version for Linux.

I tried the following solutions, but none of them helped:

  • Playing in a borderless window instead of full screen
  • Changing the Proton version in Steam
  • Enabling gamemoderun while playing (adding “gamemoderun %command%” to the game launch options in Steam)
  • Uninstalling the gamemode package
  • Disabling XMP in BIOS
  • Creating swap file 4GB (method)
  • Adding to Steam game launch option "__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia __VK_LAYER_NV_optimus=NVIDIA_only %command% "

I also read that switching to “Nvidia (Performance Mode)” helped some people, but then, unfortunately, I experience the first problem again, with the system startup.

System info

System:
  Kernel: 6.8.0-90-generic arch: x86_64 bits: 64 compiler: gcc v: 13.3.0 clocksource: tsc
  Desktop: Cinnamon v: 6.4.8 tk: GTK v: 3.24.41 wm: Muffin v: 6.4.1 vt: 7 dm: LightDM v: 1.30.0
    Distro: Linux Mint 22.2 Zara base: Ubuntu 24.04 noble
Machine:
  Type: Desktop Mobo: Gigabyte model: B650 GAMING X AX V2 v: x.x serial: <superuser required>
    uuid: <superuser required> UEFI: American Megatrends LLC. v: F31 date: 08/14/2024
CPU:
  Info: 8-core model: AMD Ryzen 7 7800X3D bits: 64 type: MT MCP smt: enabled arch: Zen 4 rev: 2
    cache: L1: 512 KiB L2: 8 MiB L3: 96 MiB
  Speed (MHz): avg: 3103 high: 4391 min/max: 545/5050 cores: 1: 4386 2: 4391 3: 4382 4: 545
    5: 545 6: 4384 7: 4126 8: 545 9: 4374 10: 4377 11: 4387 12: 4377 13: 3816 14: 545 15: 545
    16: 3933 bogomips: 134140
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
  Device-1: NVIDIA AD103 [GeForce RTX 4080 SUPER] vendor: Gigabyte driver: nvidia v: 580.95.05
    arch: Lovelace pcie: speed: 2.5 GT/s lanes: 16 ports: active: none empty: DP-1, DP-2, DP-3,
    HDMI-A-1 bus-ID: 01:00.0 chip-ID: 10de:2702 class-ID: 0300
  Device-2: AMD Raphael vendor: Gigabyte driver: amdgpu v: kernel arch: RDNA-2 pcie:
    speed: 16 GT/s lanes: 16 ports: active: DP-5 empty: DP-4, DP-6, HDMI-A-2, Writeback-1
    bus-ID: 10:00.0 chip-ID: 1002:164e class-ID: 0300 temp: 34.0 C
  Display: x11 server: X.Org v: 21.1.11 with: Xwayland v: 23.2.6 driver: X: loaded: amdgpu,nvidia
    unloaded: fbdev,modesetting,nouveau,vesa dri: radeonsi gpu: amdgpu display-ID: :0 screens: 1
  Screen-1: 0 s-res: 2560x1440 s-dpi: 96 s-size: 677x381mm (26.65x15.00") s-diag: 777mm (30.58")
  Monitor-1: DP-5 mapped: DisplayPort-4 model: PG279QE serial: <filter> res: 2560x1440 hz: 60
    dpi: 109 size: 598x336mm (23.54x13.23") diag: 686mm (27") modes: max: 2560x1440 min: 640x480
  API: EGL v: 1.5 hw: drv: nvidia nouveau drv: nvidia drv: amd radeonsi platforms: device: 0
    drv: nvidia device: 1 drv: radeonsi device: 2 drv: nouveau device: 3 drv: swrast gbm:
    drv: kms_swrast surfaceless: drv: nvidia x11: drv: radeonsi inactive: wayland
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: amd mesa v: 25.0.7-0ubuntu0.24.04.2 glx-v: 1.4
    direct-render: yes renderer: AMD Ryzen 7 7800X3D 8-Core Processor (radeonsi raphael_mendocino
    LLVM 20.1.2 DRM 3.57 6.8.0-90-generic) device-ID: 1002:164e
Audio:
  Device-1: NVIDIA vendor: Gigabyte driver: snd_hda_intel v: kernel pcie: speed: 16 GT/s lanes: 16
    bus-ID: 01:00.1 chip-ID: 10de:22bb class-ID: 0403
  Device-2: AMD Rembrandt Radeon High Definition Audio driver: snd_hda_intel v: kernel pcie:
    speed: 16 GT/s lanes: 16 bus-ID: 10:00.1 chip-ID: 1002:1640 class-ID: 0403
  Device-3: AMD Family 17h/19h HD Audio vendor: Gigabyte driver: snd_hda_intel v: kernel pcie:
    speed: 16 GT/s lanes: 16 bus-ID: 10:00.6 chip-ID: 1022:15e3 class-ID: 0403
  API: ALSA v: k6.8.0-90-generic status: kernel-api
  Server-1: PipeWire v: 1.0.5 status: active with: 1: pipewire-pulse status: active
    2: wireplumber status: active 3: pipewire-alsa type: plugin
Network:
  Device-1: MEDIATEK MT7922 802.11ax PCI Express Wireless Network Adapter driver: mt7921e v: kernel
    pcie: speed: 5 GT/s lanes: 1 bus-ID: 07:00.0 chip-ID: 14c3:0616 class-ID: 0280
  IF: wlp7s0 state: down mac: <filter>
  Device-2: Realtek RTL8125 2.5GbE vendor: Gigabyte driver: r8169 v: kernel pcie: speed: 5 GT/s
    lanes: 1 port: e000 bus-ID: 08:00.0 chip-ID: 10ec:8125 class-ID: 0200
  IF: enp8s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  IF-ID-1: docker0 state: down mac: <filter>
Bluetooth:
  Device-1: MediaTek Wireless_Device driver: btusb v: 0.8 type: USB rev: 2.1 speed: 480 Mb/s
    lanes: 1 bus-ID: 1-9:4 chip-ID: 0e8d:0616 class-ID: e001 serial: <filter>
  Report: hciconfig ID: hci0 rfk-id: 0 state: down bt-service: enabled,running rfk-block:
    hardware: no software: yes address: <filter>
Drives:
  Local Storage: total: 2.73 TiB used: 2.26 TiB (82.8%)
  ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 990 PRO 2TB size: 1.82 TiB speed: 63.2 Gb/s
    lanes: 4 tech: SSD serial: <filter> fw-rev: 5B2QJXD7 temp: 45.9 C scheme: GPT
  ID-2: /dev/nvme1n1 vendor: Samsung model: SSD 990 PRO 1TB size: 931.51 GiB speed: 63.2 Gb/s
    lanes: 4 tech: SSD serial: <filter> fw-rev: 4B2QJXD7 temp: 47.9 C scheme: GPT
Partition:
  ID-1: / size: 1.79 TiB used: 1.42 TiB (79.1%) fs: ext4 dev: /dev/nvme0n1p1
  ID-2: /boot/efi size: 446 MiB used: 37.1 MiB (8.3%) fs: vfat dev: /dev/nvme1n1p1
Swap:
  Alert: No swap data was found.
USB:
  Hub-1: 1-0:1 info: hi-speed hub with single TT ports: 12 rev: 2.0 speed: 480 Mb/s lanes: 1
    chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 1-2:2 info: ROCCAT Kone EMP type: mouse,keyboard driver: hid-generic,usbhid
    interfaces: 2 rev: 2.0 speed: 12 Mb/s lanes: 1 power: 500mA chip-ID: 1e7d:2e24 class-ID: 0300
  Device-2: 1-6:3 info: Integrated Express RGB LED Controller type: HID
    driver: hid-generic,usbhid interfaces: 1 rev: 2.0 speed: 12 Mb/s lanes: 1 power: 100mA
    chip-ID: 048d:5702 class-ID: 0300
  Device-3: 1-9:4 info: MediaTek Wireless_Device type: bluetooth driver: btusb interfaces: 3
    rev: 2.1 speed: 480 Mb/s lanes: 1 power: 100mA chip-ID: 0e8d:0616 class-ID: e001 serial: <filter>
  Hub-2: 2-0:1 info: super-speed hub ports: 5 rev: 3.1 speed: 20 Gb/s lanes: 2 chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-3: 3-0:1 info: hi-speed hub with single TT ports: 2 rev: 2.0 speed: 480 Mb/s lanes: 1
    chip-ID: 1d6b:0002 class-ID: 0900
  Hub-4: 4-0:1 info: super-speed hub ports: 2 rev: 3.1 speed: 10 Gb/s lanes: 1 chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-5: 5-0:1 info: hi-speed hub with single TT ports: 2 rev: 2.0 speed: 480 Mb/s lanes: 1
    chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 5-2:2 info: ROCCAT Isku FX Keyboard type: keyboard,HID driver: isku,usbhid
    interfaces: 2 rev: 2.0 speed: 12 Mb/s lanes: 1 power: 500mA chip-ID: 1e7d:3264 class-ID: 0300
  Hub-6: 6-0:1 info: super-speed hub ports: 2 rev: 3.1 speed: 10 Gb/s lanes: 1 chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-7: 7-0:1 info: hi-speed hub with single TT ports: 1 rev: 2.0 speed: 480 Mb/s lanes: 1
    chip-ID: 1d6b:0002 class-ID: 0900
  Hub-8: 7-1:2 info: Genesys Logic Hub ports: 4 rev: 2.0 speed: 480 Mb/s lanes: 1 power: 100mA
    chip-ID: 05e3:0608 class-ID: 0900
  Hub-9: 8-0:1 info: Linux Foundation 3.0 root hub ports: N/A rev: 3.0 speed: 5 Gb/s lanes: 1
    chip-ID: 1d6b:0003 class-ID: 0900
Sensors:
  System Temperatures: cpu: 50.4 C mobo: 46.0 C gpu: amdgpu temp: 34.0 C
  Fan Speeds (rpm): N/A
Repos:
  Packages: 2880 pm: dpkg pkgs: 2834 pm: flatpak pkgs: 46
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/brave-browser-release.list
    1: deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg arch=amd64,arm64] https: //brave-browser-apt-release.s3.brave.com/ stable main
  Active apt repos in: /etc/apt/sources.list.d/deadsnakes-ppa-noble.list
    1: deb [signed-by=/etc/apt/keyrings/deadsnakes-ppa-noble.gpg] https: //ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu noble main
  Active apt repos in: /etc/apt/sources.list.d/docker.list
    1: deb [arch=amd64 signed-by=/etc/apt/keyrings/docker.asc] https: //download.docker.com/linux/ubuntu noble stable
  Active apt repos in: /etc/apt/sources.list.d/google-chrome.list
    1: deb [arch=amd64] https: //dl.google.com/linux/chrome/deb/ stable main
  Active apt repos in: /etc/apt/sources.list.d/nvidia-container-toolkit.list
    1: deb [signed-by=/usr/share/keyrings/nvidia-container-toolkit-keyring.gpg] https: //nvidia.github.io/libnvidia-container/stable/deb/$(ARCH) /
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
    1: deb http: //packages.linuxmint.com zara main upstream import backport
    2: deb http: //archive.ubuntu.com/ubuntu noble main restricted universe multiverse
    3: deb http: //archive.ubuntu.com/ubuntu noble-updates main restricted universe multiverse
    4: deb http: //archive.ubuntu.com/ubuntu noble-backports main restricted universe multiverse
    5: deb http: //security.ubuntu.com/ubuntu/ noble-security main restricted universe multiverse
  Active apt repos in: /etc/apt/sources.list.d/spotify.list
    1: deb https: //repository.spotify.com stable non-free
  Active apt repos in: /etc/apt/sources.list.d/syncthing.list
    1: deb [signed-by=/etc/apt/keyrings/syncthing-archive-keyring.gpg] https: //apt.syncthing.net/ syncthing stable
  Active apt repos in: /etc/apt/sources.list.d/protonvpn-stable.sources
    1: deb https: //repo.protonvpn.com/debian stable main
  Active apt repos in: /etc/apt/sources.list.d/signal-desktop.sources
    1: deb [arch=amd64] https: //updates.signal.org/desktop/apt xenial main
Info:
  Memory: total: 64 GiB note: est. available: 61.92 GiB used: 3.37 GiB (5.4%)
  Processes: 375 Power: uptime: 9m states: freeze,mem,disk suspend: deep wakeups: 0
    hibernate: platform Init: systemd v: 255 target: graphical (5) default: graphical
  Compilers: gcc: 13.3.0 Client: Unknown python3.12 client inxi: 3.3.34

Connecting the monitor to the graphics card instead of the processor helped. 🫣