Nvidia and rt-sources has a long-standing conflict. The current nvidia-drivers version that I can get working with rt-sources (currently 4.13.10_p3) is nvidia-drivers-381.22-r1. I am unable to compile any higher version than that against rt-sources.
If anyone develops a fix for this, please let me know, so I can incorporate it into Gentoo Studio and share it with other Gentoo users using rt-sources.
EDIT: See https://gentoostudio.org/?page_id=79, “I have an Nvidia card.”
It occurs to me that the nv and nouveau drivers cause xruns because they don’t dedicate video operation to the discrete card as well as the proprietary Nvidia drivers. There might be too much back-and-forth with Nvidia cards and the CPU with the open-source drivers, whereas nvidia-drivers does a better job of saying, “we’ll let the dedicated graphics hardware handle everything and not bother the CPU so much for video stuff.” I don’t know, maybe I’m wrong – please correct me if I am.
While I had an NVIDIA card, I found the nouveau drivers were quite capable and were fine for any audio based work.
That avoided issues with rt-sources.
I now have an AMD based card and also use the open source flavour of the drivers without any issue.
Yeah, if the latest nvidia-drivers I can compile against rt-sources gets too far behind, I’m going to switch to nv.
ive bought the nvidia, i want to use it!
THE problem is, that i cant use nvidia-drivers even with with mesa(i dont mind X) which is needed for opencl/cuda..
I have exactly the same problem as you on my own Gentoo Studio installation. Unfortunately, there’s nothing anyone except the rt-sources or nvidia-drivers maintainers can do. These two are known not to play well together. It’s bugged me for years. If you use rt-sources, you’ll just have to use the open-source drivers until one of the aforementioned maintainers fixes this problem. I do wish I could help more, but I’m not a part of either of these teams, although I have tried to suggest this fix.