Thanks ralphy,
Unfortunately it doesn't work in my Ubuntu.
See my '/etc/security/limits.conf' after the change and reboot:
https://paste.ubuntu.com/p/5GK2yHnyD7/
I still have:
See details:Code:output_init_alsa:1003 unable to lock memory: Cannot allocate memory output_init_alsa:1011 glibc detected using mallopt output_init_alsa:1029 unable to set output sched fifo: Operation not permitted
https://paste.ubuntu.com/p/zq9Rgwmqsg/
Results 3,551 to 3,557 of 3557
-
2019-11-19, 09:58 #3551
- Join Date
- Apr 2010
- Posts
- 116
Last edited by bernid; 2019-11-19 at 11:31.
-
2019-11-19, 13:32 #3552
- Join Date
- Nov 2010
- Location
- Hertfordshire, UK
- Posts
- 2,988
I decided to raise the priority of LMS, and hence localplayer. I added this to /etc/default/logitechmediaserver:
Code:SLIMOPTIONS="--localfile" SLIMNICE="--nicelevel -6"
Code:start-stop-daemon --start --quiet \ --chuid $SLIMUSER \ --pidfile $PIDFILE \ $SLIMNICE \ --exec $DAEMON_SAFE \ --background \ --make-pidfile \ -- \ $DAEMON \ --prefsdir $PREFSDIR \ --logdir $LOGDIR \ --cachedir $CACHEDIR \ --charset=$CHARSET \ $SLIMOPTIONS
I also include this in the localplayer start command:
Code:-p 25
I don't get the warnings you report on xubuntu 18.04 ( as a dedicated LMS server).LMS 7.9.2 on PC, Xubuntu 18.04, FLACs 16->24 bit, 44.1->192kbps. 2 Touchs & EDO.
LMS plugin UPnP/DLNA Bridge to MF M1 CLiC (A308CR amp & ESLs) & Marantz CR603 UPnP renderers.
Also Minimserver & Upplay to same & to upmpdcli/mpd PC renderers.
Squeezelite to Meridian USB Explorer DAC to PC speakers/headphones.
Wireless Xubuntu 18.04 laptop firefox/upplay or Android 'phone with Squeeze-Commander/BubbleUPnP controls LMS/Minimserver.
-
2019-11-19, 22:48 #3553
- Join Date
- Apr 2010
- Posts
- 116
Thanks PasTim,
I tried your way but still have 'output_init_alsa' warnings on my system:
Ubuntu server 19.10 +newest LMS+ Local Player Plugin (v.1.6.5)+ squeezelite-x86-64 (v.1.9.5-1193).
I can hear the sound but I don't know if it could be better if alsa fifo and memory allocation would work properly.
-
2019-11-20, 10:40 #3554
- Join Date
- Nov 2010
- Location
- Hertfordshire, UK
- Posts
- 2,988
I've found one other tweak. I added this to the startup file, just before each 'start-stop-daemon...'
Code:ulimit -l unlimited ulimit -r 50
"Now, because it runs as a daemon, it doesn’t use pam.d limits. But it can have a ‘ulimit’ set in the logitechmediaserver start-up, which it inherits. So I’ve done that (ulimit -l unlimited). That allows it to lock memory. To get it to set rt priority I had to change the start of that script from #!/bin/sh to #!/bin/bash. Then ulimit -r 50 works! Now get no warnings on local player"
I hope this now works for you!LMS 7.9.2 on PC, Xubuntu 18.04, FLACs 16->24 bit, 44.1->192kbps. 2 Touchs & EDO.
LMS plugin UPnP/DLNA Bridge to MF M1 CLiC (A308CR amp & ESLs) & Marantz CR603 UPnP renderers.
Also Minimserver & Upplay to same & to upmpdcli/mpd PC renderers.
Squeezelite to Meridian USB Explorer DAC to PC speakers/headphones.
Wireless Xubuntu 18.04 laptop firefox/upplay or Android 'phone with Squeeze-Commander/BubbleUPnP controls LMS/Minimserver.
-
2019-11-20, 12:57 #3555
- Join Date
- Apr 2010
- Posts
- 116
-
2019-11-20, 13:00 #3556
- Join Date
- Nov 2010
- Location
- Hertfordshire, UK
- Posts
- 2,988
LMS 7.9.2 on PC, Xubuntu 18.04, FLACs 16->24 bit, 44.1->192kbps. 2 Touchs & EDO.
LMS plugin UPnP/DLNA Bridge to MF M1 CLiC (A308CR amp & ESLs) & Marantz CR603 UPnP renderers.
Also Minimserver & Upplay to same & to upmpdcli/mpd PC renderers.
Squeezelite to Meridian USB Explorer DAC to PC speakers/headphones.
Wireless Xubuntu 18.04 laptop firefox/upplay or Android 'phone with Squeeze-Commander/BubbleUPnP controls LMS/Minimserver.
-
2019-11-21, 19:16 #3557
After so many years, I finally found time to play with SqueezeLite again, and I’m rather happy about it. It runs on my Linux system and since it now supports PulseAudio, I’m loving it. With only a few tweaks, I can even use it as an input to my JACK 2 audio system (i.e., IDJC), albeit not natively supporting JACK. Fantastic.
I downloaded from https://sourceforge.net/projects/lmsclients/ and had to use the version without "pulse" in the name, for some reason.
Many many thanks to Ralph Irving!Moonbase: The Problem Solver