The delay begins after adding “PrimaryGPU” “Yes” to /usr/share/X11/xorg.conf.d/10-nvidia.conf
The delay stops as long as there is input activity, but after 10 or so seconds of inactivity, the initial delay returns.
If nvidia-settings is opened and GPU-0 is selected, the delay stops!
If anything not under GPU-0 is selected, the delay returns.
If nvidia-settings is closed, the delay returns.
Setting PowerMizer to Adaptive or Performance does not help.
However, adding the following to ~/.xinitrc eliminates the delay, but must be set to Performance (1), which locks the GPU at full bore Level 3, essentially eliminating PowerMizer:
nvidia-settings -a “GPUPowerMizerMode=1” &
. /etc/X11/xinit/xinitrc
This behavior is readily repeatable on all three laptops, but does not appear on two desktops (Ryzen and Xeon) with GTX’s which do not have integrated GPU’s.
Please set kernel parameter
nvidia-drm.modeset=1
Please run nvidia-bug-report.sh as root and attach the resulting nvidia-bug-report.log.gz file to your post.
Unfortunately, no xorg logs or config files were included in the logs. Did you use prime-select to switch modes or did you just add “PrimaryGpu” to a config file?
It seems that is the right question. I just added “PrimaryGPU” to the config. That caused X Screen 0 to show up in nvidia-settings, and allowed my main program DaVinci Resolve to run, but resulted in the mouse delay.
I removed it and used prime-select instead and now “performance” and “on-demand” both work on both amdgpu and intel laptops.
The only way DaVinci Resolve will now run is to go back to adding “PrimaryGPU”, but then the mouse delay returns.
On the amd laptop with the older driver, and DaVinci Resolve runs fine by right clicking the icon (Linux Mint), and selecting “Run with NVIDIA GPU”. That was also the case on the intel laptop, but that option has disappeared with the updated driver, and I don’t have any idea how to get it back.
The mouse delay is a nightmare to work with. Please help!