Apps (especially Flatpaks) take ~2 seconds to launch because the NVIDIA dGPU enters D3 power state when idle. Waking from D3 adds ~2 seconds of latency to any GPU operation.
This affects hybrid laptops (NVIDIA + AMD/Intel iGPU) where the kernel's runtime power management suspends the dGPU.
Two things are needed:
Keeps the NVIDIA driver loaded so the GPU doesn't fully reinitialize:
sudo systemctl enable --now nvidia-persistencednvidia-persistenced alone isn't enough — the kernel can still suspend the GPU. Create a udev rule to prevent it:
# /etc/udev/rules.d/80-nvidia-pm.rules
ACTION=="add", SUBSYSTEM=="pci", ATTR{vendor}=="0x10de", ATTR{class}=="0x030000", ATTR{power/control}="on"Apply without rebooting:
sudo udevadm control --reload-rules && sudo udevadm triggercat /sys/bus/pci/devices/0000:01:00.0/power/runtime_status
# Should say "active" (not "suspended")The GPU draws ~10W at idle when kept awake vs ~0W when suspended. This impacts battery life but eliminates app launch delay. Good for AC-powered use; you may want to disable it on battery.
sudo systemctl disable --now nvidia-persistenced
sudo rm /etc/udev/rules.d/80-nvidia-pm.rules
sudo udevadm control --reload-rules && sudo udevadm triggerIf your system supports GPU switching (e.g., via supergfxctl), you can disable the dGPU entirely:
supergfxctl -m Integrated # AMD iGPU only, requires logout
supergfxctl -m Hybrid # Back to hybrid mode