Home of the Squeezebox™ & Transporter® network music players.
Page 356 of 358 FirstFirst ... 256306346354355356357358 LastLast
Results 3,551 to 3,560 of 3579
  1. #3551
    Senior Member
    Join Date
    Apr 2010
    Posts
    116
    Quote Originally Posted by ralphy View Post
    Something like below must be added to /etc/security/limits.conf

    # Raise permissions just to the user
    squeezeboxserver - rtprio 99
    squeezeboxserver - nice -10
    squeezeboxserver - memlock unlimited

    # Or to all members of the audio group
    @audio - rtprio 99
    @audio - nice -10
    @audio - memlock unlimited
    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:
    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
    See details:
    https://paste.ubuntu.com/p/zq9Rgwmqsg/
    Last edited by bernid; 2019-11-19 at 11:31.

  2. #3552
    Senior Member
    Join Date
    Nov 2010
    Location
    Hertfordshire, UK
    Posts
    3,016
    Quote Originally Posted by bernid View Post
    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:
    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
    See details:
    https://paste.ubuntu.com/p/zq9Rgwmqsg/
    I decided to raise the priority of LMS, and hence localplayer. I added this to /etc/default/logitechmediaserver:
    Code:
    SLIMOPTIONS="--localfile"
    SLIMNICE="--nicelevel -6"
    and in /etc/init/d/logoitechmediaserver, d_start now includes:
    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
    With a similar change to d_start_direct.

    I also include this in the localplayer start command:
    Code:
    -p 25
    I did all this some time ago, so am not sure which action had the most effect (or even which are really necessary), but LMS and localplayer run well on a relatively slow cpu doing a fair bit of transcoding.


    I don't get the warnings you report on xubuntu 18.04 ( as a dedicated LMS server).
    LMS 7.9.3 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.

  3. #3553
    Senior Member
    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.

  4. #3554
    Senior Member
    Join Date
    Nov 2010
    Location
    Hertfordshire, UK
    Posts
    3,016
    Quote Originally Posted by bernid View Post
    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.
    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
    My notes (from some time ago, long forgotten) say:

    "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.3 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.

  5. #3555
    Senior Member
    Join Date
    Apr 2010
    Posts
    116
    Quote Originally Posted by PasTim View Post
    I hope this now works for you!
    Yes. It is.
    THANK YOU PasTim.

  6. #3556
    Senior Member
    Join Date
    Nov 2010
    Location
    Hertfordshire, UK
    Posts
    3,016
    Quote Originally Posted by bernid View Post
    Yes. It is.
    THANK YOU PasTim.
    Good.
    LMS 7.9.3 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.

  7. #3557
    Senior Member Moonbase's Avatar
    Join Date
    Dec 2008
    Location
    Krumbach, Germany
    Posts
    748
    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!

  8. #3558
    Senior Member M-H's Avatar
    Join Date
    Oct 2016
    Location
    Western Europe
    Posts
    199

    ogg vorbis native support

    Whow , 7 years of squeezelite ! and most documentation in one thread.
    So please forgive me not to have done a full thread read, but to ask the question here and hope to get some answers and pointers from those who know already.

    For a personal project I would like to build a car stationed PCP instance, with an LMS and local storage all in one pi.
    However to reduce storage I would like to re-code my lossless home based storage to a ogg-vorbis on-the-read variant.
    And since I still have problems at home playing ogg-vorbis files, I need to know what the player does support.
    And if there ar known limitations, what I can do to circumvent the known issues. Call it a feasibility check.

    My needs are stereo ( joint stereo ) , 128 - 192 Kbit/s preferrably variable compressed rates and vorbit comment to hold the regular track/artist and cover picture. 44.1 kHz-2ch-16bit max output is fine too, as I do not want to do highres audio in my car.

    So is ogg-vorbis natively supported in squeezelite ?
    Can LMS pass the files/streams without on-the-fly re-coding ?
    What windows and linux based tools and settings should I use to re-code to issue free files ?

    T.I.A. M-H
    Pi based multi-room audio system powered by PiCorePlayer(s):
    Pi3B with Phat-dac in a Rasptouch, 2 pi B+ with Cirrus Logic Audio Card, Pi Zero with Phat-beat , and a few other tests...

  9. #3559
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    2,736
    Have you tried the latest version in pCP? It is linked with libogg and libvorbis. Bu I know those mixed formats are quite odd sometimes.
    piCorePlayer a small player for the Raspberry Pi in RAM.
    Homepage: https://www.picoreplayer.org

    Please donate if you like the piCorePlayer

  10. #3560
    Senior Member M-H's Avatar
    Join Date
    Oct 2016
    Location
    Western Europe
    Posts
    199
    Quote Originally Posted by paul- View Post
    Have you tried the latest version in pCP? It is linked with libogg and libvorbis. Bu I know those mixed formats are quite odd sometimes.
    Yes I have:
    using pcp6b7 and to my knowledge currently no update possible with: Main page : squeezelite - update or full update.
    And the FFMpeg libraries for Squeezelite do nothing for ogg vorbis
    Pi based multi-room audio system powered by PiCorePlayer(s):
    Pi3B with Phat-dac in a Rasptouch, 2 pi B+ with Cirrus Logic Audio Card, Pi Zero with Phat-beat , and a few other tests...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •