This might belong in Computers as it's smelling like a configuration issue, not Sonar. You should not have click and pops in this day and age. RME driver are the best and you should be able to run at low settings. Something is wrong.
Many things cuase issues with building your own computer.
The rules seem to make sure every detail is up to date, Bios, MoBo drivers, Video drivers, etc.
SOmetimes HDMI audio drivers cause issues,, the list is long and easily googled.
That's why I said to run latency monitor as it normally tells you whats wrong.