More > JRiver Media Center 23 for Linux

Quick Start Guide for Installing JRiver Mediacenter 23 ARM on a Raspberry Pi

<< < (9/15) > >>

bob:

--- Quote from: Zhillsguy on January 10, 2018, 07:51:04 pm ---Is it possible to set thread priorities on a Pi? Can't seem to get it to work as described in the main thread: https://yabb.jriver.com/interact/index.php/topic,111373.msg769735.html#msg769735

--- End quote ---
Yes, this works. It's the default setup on our IdPi's.
Did you reboot after doing the setup?
Are you running MC as the user (or group) for which you setup the thread priorities?

Zhillsguy:

--- Quote from: bob on January 11, 2018, 09:45:03 am ---Yes, this works. It's the default setup on our IdPi's.
Did you reboot after doing the setup?
Are you running MC as the user (or group) for which you setup the thread priorities?

--- End quote ---

Thanks Bob....

User pi is in the audio group:

pi@raspberrypi:~ $ groups
pi adm dialout cdrom sudo audio video plugdev games users input netdev gpio i2c spi

Here is the end of the limits.conf file:
# End of file

@audio           -       rtprio          100

I followed the instructions verbatim and rebooted several times. I didn't get any errors. My other pc linux install priorities work fine, just not the pi (3). Currently I am getting the following on the pi3:

pi@raspberrypi:~ $ ps -T -eo pid,tid,class,rtprio,ni,pri,comm | grep mediacenter23
 1428  1428 TS       -   0  19 mediacenter23
 1428  1775 TS       -   0  19 mediacenter23
 1428  1779 TS       -   0  19 mediacenter23
 1428  1785 TS       -   0  19 mediacenter23
 1428 25842 TS       -   0  19 mediacenter23
pi@raspberrypi:~ $

Any help is appreciated.

bob:

--- Quote from: Zhillsguy on January 11, 2018, 12:45:33 pm ---Thanks Bob....

User pi is in the audio group:

pi@raspberrypi:~ $ groups
pi adm dialout cdrom sudo audio video plugdev games users input netdev gpio i2c spi

Here is the end of the limits.conf file:
# End of file

@audio           -       rtprio          100

I followed the instructions verbatim and rebooted several times. I didn't get any errors. My other pc linux install priorities work fine, just not the pi (3). Currently I am getting the following on the pi3:

pi@raspberrypi:~ $ ps -T -eo pid,tid,class,rtprio,ni,pri,comm | grep mediacenter23
 1428  1428 TS       -   0  19 mediacenter23
 1428  1775 TS       -   0  19 mediacenter23
 1428  1779 TS       -   0  19 mediacenter23
 1428  1785 TS       -   0  19 mediacenter23
 1428 25842 TS       -   0  19 mediacenter23
pi@raspberrypi:~ $

Any help is appreciated.

--- End quote ---
Seems fine to me
I am assuming you are running a fairly current build of MC 23?
You might try change the @audio in /etc/security/limits.conf to pi instead (if you are running MC as the pi user).
Maybe look for errors in limits.conf?

Zhillsguy:

--- Quote from: bob on January 11, 2018, 01:09:06 pm ---Seems fine to me
I am assuming you are running a fairly current build of MC 23?
You might try change the @audio in /etc/security/limits.conf to pi instead (if you are running MC as the pi user).
Maybe look for errors in limits.conf?

--- End quote ---

Yes, running version .93.
I already tried changing @audio to @pi with the same results.
I don't see any errors in limits.conf, actually all lines are commented out other than what I added.
I will try reverting back to a previous version of MC.

EDIT: Reverted back to stable .80 with same results.

OBSERVATION: It's been a while since I did the initial MC install and can't remember how I achieved MC autostart. It may be related, now when I exit MC in Raspbian MC restarts automatically without reboot, cannot keep MC closed.

bob:

--- Quote from: Zhillsguy on January 11, 2018, 01:18:53 pm ---Yes, running version .93.
I already tried changing @audio to @pi with the same results.
I don't see any errors in limits.conf, actually all lines are commented out other than what I added.
I will try reverting back to a previous version of MC.

EDIT: Reverted back to stable .80 with same results.

OBSERVATION: It's been a while since I did the initial MC install and can't remember how I achieved MC autostart. It may be related, now when I exit MC in Raspbian MC restarts automatically without reboot, cannot keep MC closed.

--- End quote ---
I was thinking to try the pi without @ in front of it (pi user not group).

The autostart may be the issue. It could be autostarting before limits.conf is read.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version