Screen pauses every few seconds after installing nvidia drivers

Hello,

First i would recommend to enable early kms by one of the methods described here

Then you could alter a bit the /etc/X11/mhwd.d/nvidia.conf file. Replace the Section "Device" from your file with this:

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    Option         "TripleBuffer"  "On"
    Option  "ConnectToAcpid"    "Off"
    Option "metamodes" "nvidia-auto-select +0+0 {ForceFullCompositionPipeline=On}"
EndSection

Make sure that in the same config the HorizSync and VertRefresh values in the Section "Monitor" are not missing or blank. See how to deal with that here

I recommend the use of zram-generator … is the best option IMO regardless how much RAM the system has. See also this:

Also, also …

There is a BIOS update for PRIME Z590-P|Motherboards|ASUS Global