getting lots of xruns while sitting idle
Posted: Tue Nov 23, 2021 3:39 am
I apologize for asking for the same advice most every time I post. But you can't step in the same river twice.
I got a used desktop with decent specs, I think, for 2013. But I can't get audio/Jack as smooth as my similarly-aged laptop. As the title suggests, I can start accumulating xruns while doing nothing; and if I AM doing something, they are likely to be audible glitches.
This desktop has a low-level nVidia graphics card; I'm wondering how much of my problem stems from that, and if it's worth buying a used AMD card at these blockchain-crazed prices.
realTimeConfigQuickScan is happy with my setup. Based on xruncounter, these settings perform pretty well:
But in real life, I get these arbitrary xruns.
I'm running AVLinux-MXE, so I assume Jack is all correct. I have trouble understanding the RealTime permissions, but I'm guessing that's not my issue. Here's some of that info, because that's typically the first thing someone will ask...
I do know I'm in "audio," and audio has RT permission.
I don't understand this at all, but here goes. I see lots of pulseaudio with what I understand to be decent RT priorities, but all of my Jack settings seem to be pretty low. Looking this up, though, I'm probably reading this info wrong.
Similar situation with both Liquorix and RT kernels. SuperCollider won't run with Nouveau. Probably I just need to get rid of this damn nVidia graphics card.
I got a used desktop with decent specs, I think, for 2013. But I can't get audio/Jack as smooth as my similarly-aged laptop. As the title suggests, I can start accumulating xruns while doing nothing; and if I AM doing something, they are likely to be audible glitches.
This desktop has a low-level nVidia graphics card; I'm wondering how much of my problem stems from that, and if it's worth buying a used AMD card at these blockchain-crazed prices.
realTimeConfigQuickScan is happy with my setup. Based on xruncounter, these settings perform pretty well:
Code: Select all
Samplerate is 48000Hz
Buffersize is 192
Buffer/Periods 2
I'm running AVLinux-MXE, so I assume Jack is all correct. I have trouble understanding the RealTime permissions, but I'm guessing that's not my issue. Here's some of that info, because that's typically the first thing someone will ask...
I do know I'm in "audio," and audio has RT permission.
Code: Select all
$ groups ahpn
ahpn : ahpn lp dialout cdrom floppy sudo audio dip video plugdev users input netdev lpadmin scanner sambashare
Code: Select all
$ ulimit -r -l
real-time priority (-r) 90
max locked memory (kbytes, -l) unlimited
Code: Select all
$ cat /etc/security/limits.conf
@audio - rtprio 90 # maximum realtime priority
@audio - memlock unlimited # maximum locked-in-memory address space (KB)
Code: Select all
$ ps -eLo rtprio,cls,pid,pri,nice,cmd | grep "FF" | sort -r
5 FF 4110 45 - a2jmidid -e
10 FF 3985 50 - /usr/bin/jackdbus auto