Problems with Squeezlite in 1.3
Posted by: Coacharnold - 18-Jan-2024, 09:40 AM - Forum: Support & Troubleshooting - Replies (7)

I'm reposting the text from this thread here as I think it's going to get lost in the firmware release announcement thread... ADMIN if you disagree,  please step in and take this out:


 Hello .... I've upgraded to 1.3 ... it looks to be working fine,  but for some reason I've lost the local squeezelite player it will not start... I get this in the log:

**** 2024-01-17T01:09:56
**** Squeezelite (ralph)

Start Player: cd /var/www;_NAME="Basement Stereo" _OUTPUT="hw:0,1" _FORMAT="pcm" _OPTIONS="" _MIPV4="24:4f:4f:24:08:8c" /var/www/players/Squeezelite-ralph/init /var/www/players/Squeezelite-ralph 2>&1;/var/www/players/Squeezelite-ralph/start /var/www/players/Squeezelite-ralph 2>&1;


I started with 1.8 .... and installed ralph   ....   I've stopped and restarted it a few times and REST,  finally shows that its running,   but I don't see it on LMS or in top


-----    I take that back it shows not running .......   so ok,  When I try to run squeezelite from the cmd line i get:

/var/www/players/Squeezelite-v1.8$  ./squeezelite -n basement -o hw:0,1

squeezelite: dl-call-libc-early-init.c:37: _dl_call_libc_early_init: Assertion `sym != NULL' failed.
Aborted (core dumped)


I swear ,  the only thing i did was run the fw update script ---

also,  this is on ubuntu 20.04 ... that has been running and updating snake oil for a couple years.

thanks for the help

Tim  #766 hours ago OK .... so further analysis on this problem til Agent Kieth gets back on line (prayers AK)   I've now got Snake Oil 1.30 running on my main music server box with Ubuntu 20.04 ...  and my backup server running Ubuntu 22.04 .   I've even gone so far as to switch hard drives between the boxes and repeat all my testing  (exact same hardware but just to be sure it wasn't an issue on my end with one of the bios)

Here is what I get:

Ubuntu 20.04

It shows squeezlite installed but it doesn't run at all.  It spits out a log that just gives me:
**** 2024-01-17T18:32:46
**** Squeezelite (ralph)

Start Player: cd /var/www;_NAME="Basement Stereo" _OUTPUT="hw:0,1" _FORMAT="pcm" _OPTIONS="" _MIPV4="24:4f:4f:24:08:8c" /var/www/players/Squeezelite-ralph/init /var/www/players/Squeezelite-ralph 2>&1;/var/www/players/Squeezelite-ralph/start /var/www/players/Squeezelite-ralph 2>&1;

LMS is working beautifully on the other players  in my house i one of which is an on older version of Snake Oil Server.   which is working flawlessly throughout ... an is my main listening spot


Ubuntu 22.04

A little difference here.  It shows squeeze-lite running,  but is not actually giving me any sound.  I have tested this on the spidf outputs and the analog outputs and get nothing.  and again this server can play to the other players in the house


Both machines behaved the same in all of the configurations I tested them with,   no sound from on board analog or digital.  The only thing I didn't do was test USB.

I noticed in both situations when I restarted REST the alsa mixer system volume would be set to zero.  When I found this,  I thought for sure it would work,  but once adjusted back to 100% still no sound.


This is a real bummer,  but I will survive...  AK please take care of you and yours before dealing with this BS.  .......   If anyone wants to jump in here, any Ideas?

Tim

Print this item

  Use ramfs rather than tmpfs in RAMDisk.
Posted by: Snoopy8 - 02-Jan-2024, 03:28 PM - Forum: Discussions - Replies (1)

Not sure how many people use RAMDisk but for me, it provides better SQ than playing music on disk or from network drive.  This is enabled in SnakeOil / Hardware tab.  (And use Browse tab to push music to RAMDisk).

[Image: Ramdisk-settings.jpg]

My NUC has lots of free memory, but I allow for plenty of spare room.  There are 2 ways to enable RAM disk, tmpfs and ramfs.  From AK in the Wiki
 

Quote:tmpfs
tmpfs has more checks and balances. You'll never run out of memory with this type. If your system runs out of space, the Operating System will automatically swap out unused memory blocks into swap space. The upside is increased stability. The downside is memory swapping incurs a penalty and may result in lessor audio quality.

ramfs
This is the more unstable version of a RAM disk. The Operating System will not swap out your memory. If you specify a size that's too big and the system has run out of RAM, the whole machine will freeze in ithe worst case scenerio. The upside is you are assured of the lowest possible latency in music playback. The downside is you got to really know what you're doing.

Based on above advice, been conservative and using tmpfs until I (just) found out that it impacts latency.  For reference, running SO 1.3.0 on Ubuntu Server 22.0.4 LTS with real time kernel. System load average about 1.5, with CamillaDSP running convolution room correction. playing music using LMS/Squeezelite. CPUset is enabled with CPU 0, 1 for system and 1, 2 for user.  

[Image: Cyclictest-ramfs.jpg]
This is typical max latency using ramfs

[Image: Cyclictest-tmpfs.jpg]
Did not realise how bad tmpfs affected the max latency.

So, I hope I know what I am doing, and will now use ramfs from here on.  On the Pi, there is a lot less free memory, but will leave some room below the free memory limit.

Print this item

  LMS not working with Bookworm
Posted by: Snoopy8 - 01-Jan-2024, 08:16 AM - Forum: Support & Troubleshooting - Replies (12)

Version: 1.3.0 (Measurements U0)   OS Debian GNU/Linux 12 (bookworm)
Hardware: Pi2Design Mercury V2 Streamer (CM4)

LMS gave the following error: Start Player: cd /var/www;/var/www/players/lms/start /var/www/players/lms 2>&1;

Not sure why, but SO downloads LMS 8.3.2 when the website has 8.3.1.  I tried installing 8.3.1, but SO gave this message: Uploaded file is not meant for your CPU  !

Print this item

  Merry Christmas!
Posted by: uglymusic - 25-Dec-2023, 04:30 PM - Forum: General Chit-chat - Replies (2)

I hope you're having a lovely Christmas if you celebrate it in any shape or form! Smile

Print this item

  Announcing Snakeoil Measurements 1.3.0
Posted by: agent_kith - 24-Dec-2023, 09:59 AM - Forum: Releases - Replies (95)

Introduction
Announcing the release of Snakeoil Measurements. In this update Snakeoil has yet again moved a new direction is moving to a more relaxed environment allowing anybody to download and try Snakeoil without a forum account. Believe it or not this is a pretty major step forward.


Changelog
So what's changed? It's all happening mostly behind the scenes. 

  • Better and more powerful servers with more CPUs, bigger storage capacity and slightly more Internet bandwidth. Useful for that vapourware feature I kept talking about.
  • Improved the build pipeline time by building the WebApp only once and re-use it for all builds. This shaves about 8 minutes per pipeline.
  • Other parts of the build system is also simplified. Have removed a NextCloud service (bloated) to a simple HTTP server for hosting files. This just saves system administration time and lessen the chance of downtime. Daily backups are still happening so we only lose a day worth of data at worst
  • Free for all to download. Anybody can just download Snakeoil now without first registering an account. I hope I have the confidence and know how in this day and age to detect and detect any DDOS attacks
  • Moving away from Patreon and Paypal to buymeacoffee.com as the first two is just so time consuming. This process isn't over yet though as I have yet to apply for an ABN to make this official (An Australian thing).
  • One step install for first time users! Not as great as it sounds, but it's the best I can do for now. More on this later. 
  • Some libraries and softwares have been updated to a later version. They are documented in git commits but cannot remember off hand the details now. Most players are still the same as the last 1.2.x update for now just so to minimise potential of shock.


Firmware Download (For Existing Users)
Download this and upload them via the WebApp to update. 

Snakeoil OS Fresh Install (For New Users)
While the installation process has been simplified, you'll need to first install an Operating System of choice, and enable SSH access. The following OS are supported
  • Raspberry Pi: Raspberry Pi OS Bookworm, Ubuntu 22.04, 23.10
  • AMD/Intel: Ubuntu 23.10, 22.04, 20.04
Once the OS is installed, over a computer monitor (or SSH) and run the following command:
 
Code:
bash -c "$(wget -qLO - https://artifacts.snakeoil-os.net/artifacts/snakeoil-installer.sh)"

This script will pull everything that is needed from the Internet and configures your fresh install to run SnakeoilOS.

The wiki will be updated to include new setup installation. And in time I will create a new video update to guide folks along. 

I know there are folks who prefer an even simpler method of installing Snakeoil. And sure enough it can be done given enough time and resources. The resources are there, just not enough time now. The project is open source though so I welcome folks to help contribute. Besides, if you make the effort to learn a bit of LINUX, you'll be well rewarded by the rewards of the Snakeoil brings - a unlocked/unrestricted operating system for your listening pleasure.

Known Issues
  • Logitech Media Server not starting in Raspberry Pi Bookworm
    To fix this, manually SSH to the snakeoil machine, and run the following commands:
    PHP Code:
    wget https://artifacts.snakeoil-os.net/players/lms/logitechmediaserver_latest_arm.deb
    sudo dpkg -i logitechmediaserver_latest_arm.deb
    rm logitechmediaserver_latest_arm
    .deb 
  •  



What's Next?
Moving forward I am going to change my primary listening rig to a Zimaboard. Will tweak the physicals first before I tweak on the software. The focus will be on Raspberry Pi and Zimaboard. And DSP support of course.

Maybe, just maybe I will also dedicate some time and put up a better resolution pic for the forum header. :/

I apologise for being a bit MIA past few months, it's make or break time for us. This is always the case when working in a startup. Cannot afford to rest until the IPO, or brought out. Thank you for your patience during these trying times.

Merry Christmas and a happy new year.

Report all your issues below.

Print this item

[-]
Our Sponsors

[-]
Welcome
You have to register before you can post on our site.

Username/Email:


Password





[-]
Latest Threads
Something seriously wrong with Squeezeli...
Last Post: Coacharnold
21-Apr-2024 08:28 PM
» Replies: 1
» Views: 30
MP3 Not Playing
Last Post: davem
21-Apr-2024 10:41 AM
» Replies: 4
» Views: 89
Announcing Snakeoil Measurements 1.3.0
Last Post: kees1000
13-Apr-2024 11:54 PM
» Replies: 95
» Views: 4878
LMS rebranded to Lyrion Media Server
Last Post: Bromf
07-Apr-2024 01:59 PM
» Replies: 4
» Views: 106
ZimaBoard 2x NIC, 2x SATA, 2x USB, 1x PC...
Last Post: agent_kith
26-Mar-2024 12:04 PM
» Replies: 13
» Views: 698
LMS Upgrade ?
Last Post: uglymusic
15-Mar-2024 09:14 PM
» Replies: 7
» Views: 202
Squeezebox shutdown
Last Post: TripleX
13-Mar-2024 07:34 AM
» Replies: 4
» Views: 102
Fail to install myMPD
Last Post: hkphantomgtr
03-Mar-2024 08:45 PM
» Replies: 9
» Views: 241
Intel HFI Driver Can "Save Tons Of CPU C...
Last Post: hkphantomgtr
28-Feb-2024 09:15 PM
» Replies: 0
» Views: 64
More Problems with Squeezelite in 1.3
Last Post: Coacharnold
17-Feb-2024 09:47 PM
» Replies: 2
» Views: 93

[-]
SnakeoilOS Mission Statement

Our mission is to create a free to use computer OS that is easy to install, intuitive to operate and play music that will connect and engage with you emotionally.

SnakeoilOS gives you the freedom to spend more time on listening, enjoying and exploring music. Wasting time on computers is now a thing of the past! Everything is constantly evolving/improving. Please check back often for updates.

If you like this project, do show your support with a small token donation. All donations collected will be used to run this website, and for purchasing new equipment for the project.


Powered By MyBB, © 2002-2024. Theme © Melroy van den Berg.