More > JRiver Media Center 27 for Linux

Micro freezes audio [Solved]

<< < (7/9) > >>

bob:

--- Quote from: erviv on October 26, 2020, 12:47:31 pm ---OK thanks.  I do have the following added to the /etc/security/limits.conf file, although I am not sure if it is still required.

# End of file
pi              -       rtprio          100
@audio          -       rtprio          100
 Checking threading reveals this;

pi@raspberrypi:~ $ ps -T -eo pid,tid,class,rtprio,ni,pri,comm | grep mediacenter
22420 22420 TS       -   0  19 mediacenter27
22420 22573 TS       -   0  19 mediacenter27
22420 22575 TS       -   0  19 mediacenter27
22420 22577 TS       -   0  19 mediacenter27
22420 22588 TS       -   0  19 mediacenter27
22420 22649 TS       -   0  19 mediacenter27
22420  2525 TS       -   0  19 mediacenter27
22420  2526 TS       - -17  36 mediacenter27
22420  2527 TS       -  18   1 mediacenter27
22420  2548 RR       1   -  41 mediacenter27
22420  3711 TS       -  10   9 mediacenter27
22420  3712 TS       -   0  19 mediacenter27
pi@raspberrypi:~ $
I take it the  line showing a class  of  RR and rtprio being 1 is what indicates threading is working as desired.

--- End quote ---
Yes. RR is the playback thread.
Like I said just above your message you might want to try to diasble that for testing.

erviv:
Bob, I have commented out the two lines in the /etc/security/limits.conf  file as per below.  I will see what happens.

# End of file
# pi            -       rtprio          100
# @audio                -       rtprio          100

bob:

--- Quote from: erviv on October 26, 2020, 12:52:23 pm ---Bob, I have commented out the two lines in the /etc/security/limits.conf  file as per below.  I will see what happens.

# End of file
# pi            -       rtprio          100
# @audio                -       rtprio          100

--- End quote ---
Make sure to do the one I mentioned as well. It will get added to the mix.

erviv:
Bob, thanks, I read your advice too fast.  I will also do the file you pointed out, as adjusting the first file has had no change.
I have now edited the file /etc/security/limits.d/mediacenter27.conf
# Allow the Media Center user (which should be in audio group) the ability to c$
# @audio - rtprio 100
# @audio - nice -20

Now for a reboot and test.

Gedeon:
So, now you have both (DAC and HD) attached directly to pi through usb.

When only the DAC was attached there were no issues?

Do both devices have their own power supply ?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version