audio timing glitches when using CUDA
Posted: Sun Nov 06, 2022 2:52 am
I'm running the latest SDR Console release on Windows 10 21H1 Home (my system has never offered to update past that version for some unknown reason). Hardware is a Core i5-3570K at default clocks, EVGA GTX 960 at default settings and latest firmware. Radio is SDRplay RSPduo with API 3.11.
One thing I like to do is decode WEFAX transmissions. The software I use is the paid version of SeaTTY, fed with the free version of VB-Audio Cables. This used to work fine for me with the aforementioned hardware and software. It still works fine using SDRplay's SDRuno software to run the radio. But one day, it started misbehaving badly with SDR Console. The image decoding loses line synchronization very frequently, sometimes as often as every 30 seconds or so. (This is an approximation, there's no exact timing to it. Sometimes it will go for a few minutes between slips, but once I couldn't even make it through a quick SSTV decode without losing sync.) This is even without any other heavy activity on the system, or even touching the mouse or keyboard!
The only thing I changed between the working and non-working times was that I switched from a 1080-line monitor to a 1440-line monitor. Out of curiosity, I turned off the CUDA processing in Console. Image decoding is much more stable. Not perfect, mind you -- it'll still slip once every other image or so, maybe a period of 10-15 minutes. (Again, this doesn't happen with SDRuno.) I also tried leaving CUDA enabled and switching my monitor's refresh rate from 75 Hz down to 60 Hz (I had boosted it to 75 because this moves some RFI off of some of my favorite frequencies) and again it greatly reduced but did not eliminate the glitches.
CPU usage with CUDA enabled is only 10-15%, and GPU usage is similar, so I'm at a loss as to where the problem is coming from.
One thing I like to do is decode WEFAX transmissions. The software I use is the paid version of SeaTTY, fed with the free version of VB-Audio Cables. This used to work fine for me with the aforementioned hardware and software. It still works fine using SDRplay's SDRuno software to run the radio. But one day, it started misbehaving badly with SDR Console. The image decoding loses line synchronization very frequently, sometimes as often as every 30 seconds or so. (This is an approximation, there's no exact timing to it. Sometimes it will go for a few minutes between slips, but once I couldn't even make it through a quick SSTV decode without losing sync.) This is even without any other heavy activity on the system, or even touching the mouse or keyboard!
The only thing I changed between the working and non-working times was that I switched from a 1080-line monitor to a 1440-line monitor. Out of curiosity, I turned off the CUDA processing in Console. Image decoding is much more stable. Not perfect, mind you -- it'll still slip once every other image or so, maybe a period of 10-15 minutes. (Again, this doesn't happen with SDRuno.) I also tried leaving CUDA enabled and switching my monitor's refresh rate from 75 Hz down to 60 Hz (I had boosted it to 75 because this moves some RFI off of some of my favorite frequencies) and again it greatly reduced but did not eliminate the glitches.
CPU usage with CUDA enabled is only 10-15%, and GPU usage is similar, so I'm at a loss as to where the problem is coming from.