If the computer has issues with spurious wakeups, repeatedly entering suspend might cause unexpected SSD tear in certain setups with nvidia GPUs.
In particular, if the option NVreg_PreserveVideoMemoryAllocations is set (we actually recommend it in https://community.kde.org/Distributions/Packaging_Recommendations), and if the user chooses Save allocations in an unnamed temporary file with path on a SSD, each suspend will potentially write the entire contents of video memory to the SSD, creating unwanted SSD wear.
Even though the default path is /tmp
, which is typically on a tmpfs, the official manual actually recommends using non-tmpfs for performance reasons (https://download.nvidia.com/XFree86/Linux-x86_64/565.77/README/powermanagement.html). Hence, this particular setup (Preserve Video Memory + save to temp file on SSD) might not be that rare.
Do people think we need to do anything about this case?