"nvidia-modeset: ERROR: GPU:0: Error while waiting for GPU process" appears on fedora 40

Good evening. I have the following problem. After the recent Nvidia driver updates on Fedora 40, when I run anaconda-navigator, the system suddenly starts allocating an unhealthy amount of RAM, and at the same time, input lags occur with a bluetooth mouse (but at the same time, a wired mouse or touchpad works without these problems). Trying to get rid of these problems, restarting the computer by using the reboot command or through the button in the “Restart” menu, I get a black screen with repeated lines of error “nvidia-modeset: ERROR: GPU:0: Error while waiting for GPU process”. After a while, the system still restarts, but the problem repeats itself after starting anaconda-navigator (I also want to note that the same symptoms occurred when running JetBrains IDEs). I don’t know what the problem is as everything has been working fine for over a year.

I am also attaching the system characteristics of the device
OS: Fedora Linux 40 (Workstation Editi
Host: Nitro AN17-51 V1.05
Kernel: 6.10.10-200.fc40.x86_64
Uptime: 1 hour, 14 mins
Packages: 2506 (rpm), 56 (flatpak)
Shell: zsh 5.9
Resolution: 2560x1440
DE: GNOME 46.5
WM: Mutter
WM Theme: Adwaita
Theme: Orchis-Purple-Dark-Compact [GTK
Icons: WhiteSur-purple-dark [GTK2/3]
Terminal: gnome-terminal
CPU: 13th Gen Intel i7-13700H (20) @ 4
GPU: Intel Raptor Lake-P [Iris Xe Grap
GPU: NVIDIA GeForce RTX 4060 Max-Q / M
Memory: 4997MiB / 15685MiB

and nvidia-bug-report.log.gz
nvidia-bug-report.log.gz (484.6 KB)

Hello @pavelk562, welcome to the NVIDIA developer forums!

Looking at the log it looks like a conflict between integrated and dedicated GPU.

Some suggestions regarding what might cause this:

  • Since you are on a Laptop system, ensure that the PRIME profiles are correctly set up. You can switch between integrated and dedicated graphics using the prime-select command. For instance, use sudo prime-select nvidia to force the system to use the NVIDIA GPU.
  • Check your BIOS settings and ensure that the dedicated GPU is set as the primary display adapter.
  • If nothing else helps consider disabling the integrated graphics in the BIOS or through software settings if possible. This can help avoid conflicts between drivers for different GPUs.

If you still encounter issues I suggest checking out the dedicated Linux category for more help.