Re: [SlimDevices: Unix] Squeezeplay and Linux Mint 18.2 - streams drops, program crashes
I hope I will be forgiven for following up my own post, but I thought I would (in case anyone searching every comes across this thread) to advise the problem with Squeezeplayer crashing on my Mint install has been resolved. Following issues with the sound configuration on my Mint 18.2 install (mentioned in my previous post) I decided to install a fresh copy of Linux Mint 18.2 Having installed the Pulse Audio version provided by Ralphy (squeezeplay-pulse_7.8.0~996_amd64.deb ) it is now working flawlessly and I am one happy bunny. Cheers Alan farrina's Profile: http://forums.slimdevices.com/member.php?userid=65601 View this thread: http://forums.slimdevices.com/showthread.php?t=107770 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Squeezeplay and Linux Mint 18.2 - streams drops, program crashes
Hello Ralphy. Many thanks again for your response. I have removed the package as per your instructions and then reinstalled. Regrettably it would appear that the Pulse package is not compatable with Mint as it failed to run as shown by console output at the foot of this post. Building from source is beyond my Linux technical capabilities at present. More worryingly I appear to have lost sound output on my box - local music files whilst apparently running in the default music player produce no sound Obviously I have messed up somewhere along the way. Anyway that's not your concern - thanks for your help in getting me this far. Cheers Alan # Console Output ## casper@ghost ~/Downloads/PulseAudio $ sudo dpkg -i squeezeplay-pulse_7.8.0~996_amd64.deb Selecting previously unselected package squeezeplay. (Reading database ... 205233 files and directories currently installed.) Preparing to unpack squeezeplay-pulse_7.8.0~996_amd64.deb .. . Unpacking squeezeplay (7.8.0~996) ... Setting up squeezeplay (7.8.0~996) ... casper@ghost ~/Downloads/PulseAudio $ /opt/squeezeplay/bin/squeezeplay.sh jive: src/common/pa_front.c:235: InitializeHostApis: Assertion `hostApi->info.defaultInputDevice < hostApi->info.deviceCount' failed. /opt/squeezeplay/bin/squeezeplay.sh: line 58: 3240 Aborted ./jive casper@ghost ~/Downloads/PulseAudio $ farrina's Profile: http://forums.slimdevices.com/member.php?userid=65601 View this thread: http://forums.slimdevices.com/showthread.php?t=107770 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Squeezeplay and Linux Mint 18.2 - streams drops, program crashes
Unfortunately, those additional instructions on the download page are for the standard alsa version and an not required for the pulseaudio version. Start by removing squeezplay sudo apt-get purge squeezeplay cd /opt sudo rm -rf squeezeplay The rm command may fail and that's okay. Revert any changes you made to ld.config and well as any other files you might have changed trying to get the alsa version to work then reboot. Reinstall sudo dpkg -i squeezeplay-pulse_7.8.0~996_amd64.deb Then open a terminal and run /opt/squeezeplay/bin/squeezeplay.sh Do not prefix with sudo. Do you still have the same problem? If yes, then it's likely that the debian 8 build doesn't work with mint and you'll need to build from source. Ralphy *1*-Touch, *5*-Classics, *3*-Booms, *1*-UE Radio 'Squeezebox client builds' (https://sourceforge.net/projects/lmsclients/files/) 'donations' (https://www.paypal.com/cgi-bin/webscr?cmd=_donations=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted) always appreciated. ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484 View this thread: http://forums.slimdevices.com/showthread.php?t=107770 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Squeezeplay and Linux Mint 18.2 - streams drops, program crashes
ralphy wrote: > Please try the 'native pulseaudio squeezeplay build' > (http://forums.slimdevices.com/showthread.php?107752-Announce-Native-linux-pulseaudio-squeezeplay). Ralphy Thanks for the response. I have uninstalled the existing Squeezeplay version and downloaded squeezeplay-pulse_7.8.0~996_amd64.deb from https://sourceforge.net/projects/lmsclients/files/squeezeplay/linux/ Unfortunately I appear to be going backwards, as having followed the installation instructions I cannot even get the Squeezeplay GUI program to launch. I suspect, being new to Linux, this will be down to my incompetence, but I wonder if you can spot where I have made an error ? I have followed the instructions in the README file and on the basis I have a x64 system casper@ghost ~/Downloads/PulseAudio $ sudo dpkg -i squeezeplay-pulse_7.8.0~996_amd64.deb Selecting previously unselected package squeezeplay. (Reading database ... 205224 files and directories currently installed.) Preparing to unpack squeezeplay-pulse_7.8.0~996_amd64.deb ... Unpacking squeezeplay (7.8.0~996) ... Setting up squeezeplay (7.8.0~996) ... The install seems to work, however I run into a problem with the next command as there is no jive_alsa file in the referenced directory. casper@ghost ~/Downloads/PulseAudio $ sudo chmod u+s /opt/squeezeplay/bin/jive_alsa chmod: cannot access '/opt/squeezeplay/bin/jive_alsa': No such file or directory casper@ghost /opt/squeezeplay/bin $ ls cjpegjive libpng-config luac squeezeplay.sh djpegjpegtran lprof rdjpgcomwrjpgcom freetype-config libpng12-config luasdl-config casper@ghost /opt/squeezeplay/bin $ Running entirely by the seat of my pants I tried it against the nearest thing ie just jive casper@ghost ~/Downloads/PulseAudio $ sudo chmod u+s /opt/squeezeplay/bin/jive casper@ghost ~/Downloads/PulseAudio $ and then moved onto the next step to add a configuration line to casper@ghost ~ $ gksu xed /etc/ld.so.conf.d/x86_64-linux-gnu.conf to which I added /usr/lib/x86_64-linux-gnu/alsa-lib and its contents now show # Multiarch support /lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu/alsa-lib but on closing the editor and saving ld.so.conf.d/x86_64-linux-gnu.conf I get the following console warning (not sure if these are significant) ** (xed:4064): WARNING **: Set document metadata failed: Setting attribute metadata::xed-spell-language not supported ** (xed:4064): WARNING **: Set document metadata failed: Setting attribute metadata::xed-encoding not supported ** (xed:4064): WARNING **: Set document metadata failed: Setting attribute metadata::xed-position not supported Running the following console command throws some errors (presumably something to do with the graphics card) casper@ghost ~ $ sudo ldconfig [sudo] password for casper: /sbin/ldconfig.real: /usr/lib/nvidia-375/libEGL.so.1 is not a symbolic link /sbin/ldconfig.real: /usr/lib32/nvidia-375/libEGL.so.1 is not a symbolic link casper@ghost ~ $ When I attempt to launch Squeezeplay via /opt/squeezeplay/bin/squeezeplay.sh the first time I ran it the GUI hung at the initial screen (did not get even as far as specifying language) and GUI was unresponsive. Following a reboot the GUI will not even launch (either on its own or via a console session) I cannot see anything that appears relevant in the syslog file. Coming from Windows I am somewhat stumped presently ... farrina's Profile: http://forums.slimdevices.com/member.php?userid=65601 View this thread: http://forums.slimdevices.com/showthread.php?t=107770 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Squeezeplay and Linux Mint 18.2 - streams drops, program crashes
On Tue, Aug 01, 2017 at 11:41:42AM +, ralphy wrote: >Please try the 'native pulseaudio squeezeplay build' >(http://forums.slimdevices.com/showthread.php?107752-Announce-Native-linux-pulseaudio-squeezeplay). ...which is working perfectly on Debian 9.0 Stretch, so there are good chances that it will also work on Mind. Ciao, Schoepp ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Squeezeplay and Linux Mint 18.2 - streams drops, program crashes
Please try the 'native pulseaudio squeezeplay build' (http://forums.slimdevices.com/showthread.php?107752-Announce-Native-linux-pulseaudio-squeezeplay). Ralphy *1*-Touch, *5*-Classics, *3*-Booms, *1*-UE Radio 'Squeezebox client builds' (https://sourceforge.net/projects/lmsclients/files/) 'donations' (https://www.paypal.com/cgi-bin/webscr?cmd=_donations=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted) always appreciated. ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484 View this thread: http://forums.slimdevices.com/showthread.php?t=107770 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
[SlimDevices: Unix] Squeezeplay and Linux Mint 18.2 - streams drops, program crashes
Would appreciate some assistance :-) I am experiencing problems with running squeezeplay_7.8.0~984_amd64.deb on Linux Mint 18.2 Sonya. LMS (7.9.0-164) is hosted on a Synology NAS (DSM 6.1.3-15152 Update 1) on the local network When it works, squeezeplay is excellent, but unfortunately when streaming from various sources the stream frequently drops. There is no obvious pattern. The program GUI can load normally and play fine (even hours) and other times the GUI manipulated streams will fail to start. This occurs irrespective of whether the sound source is local to the NAS eg ripped CD or say a BBC radio stream using BBC iPlayer plugin (1.5.4.4) with stream preferences set to DASH->HLS->MP3->FlashAAC. Normally once the stream has ceased or fails to start any attempt to manipulate squeezeplay via its GUI results in the GUI disappearing (I assume this means the program has itself crashed). If the GUI is launched via a console session this is repeated (the console window also disappears) I have poked around in the Syslog file and a couple of specimen entries at the time of crashes which might be relevant are shown below (see "portion of SysLog file" below. I can make my full SysLog file available on request. I appreciate that is this is all very general and as I am very new to Linux, I wonder if anyone might give me some general guidance of how best to adopt a more structured approach to try and narrow down what might be causing the problem. For example are there any log files I can enable or other areas that I should be looking ? Cheers Alan Portion of SysLog file Jul 31 13:07:33 ghost squeezeplay_alsa[14411]: audio_thread_execute:1208 xrun (snd_pcm_writei) err=Broken pipe Jul 31 13:07:33 ghost kernel: [14984.442057] do_general_protection: 9 callbacks suppressed Jul 31 13:07:33 ghost kernel: [14984.442060] traps: threaded-ml[14424] general protection ip:7f1a747e54a0 sp:7f1a6dd80b80 error:0 in libpulsecommon-8.0.so[7f1a747ab000+7a000] Jul 31 13:08:50 ghost squeezeplay_alsa[15493]: main:1395 PREEMPT Not Detected Jul 31 13:08:50 ghost squeezeplay_alsa[15493]: pcm_test:917 max sample rate 192000 Jul 31 13:08:50 ghost squeezeplay_alsa[15493]: audio_thread_execute:944 audio_thread_execute Jul 31 13:08:50 ghost squeezeplay_alsa[15493]: pcm_open:823 PCM Open 1 default Jul 31 13:08:50 ghost squeezeplay_alsa[15493]: _pcm_open:718 Access type not available: Invalid argument Jul 31 13:08:50 ghost squeezeplay_alsa[15493]: pcm_open:835 PCM Open with mmap failed trying to continue,Invalid argument Jul 31 13:08:50 ghost squeezeplay_alsa[15493]: pcm_open:837 PCM Open NOMMAP 60B960 default Jul 31 13:08:50 ghost squeezeplay_alsa[15493]: pcm_close:604 snd_pcm_drain error: Input/output error Jul 31 13:08:50 ghost squeezeplay_alsa[15493]: _pcm_open:726 Opened device default using format: S16_LE sample rate: 44100 Jul 31 13:08:50 ghost pulseaudio[2449]: [pulseaudio] shm.c: shm_open() failed: Permission denied Jul 31 13:08:50 ghost squeezeplay_alsa[15493]: audio_thread_execute:1056 snd_pcm_start error: File descriptor in bad state Jul 31 13:08:50 ghost pulseaudio[2449]: [pulseaudio] shm.c: shm_open() failed: Permission denied Jul 31 13:08:50 ghost kernel: [15061.684955] [UFW BLOCK] IN=enp38s0 OUT= MAC=60:45:cb:9b:47:06:00:04:20:1b:e5:8f:08:00 SRC=192.168.123.129 DST=192.168.123.132 LEN=130 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=7 DPT=48472 LEN=110 Jul 31 13:08:50 ghost kernel: [15061.686657] [UFW BLOCK] IN=enp38s0 OUT= MAC=60:45:cb:9b:47:06:00:04:20:23:2c:9d:08:00 SRC=192.168.123.113 DST=192.168.123.132 LEN=130 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=7 DPT=48472 LEN=110 Jul 31 13:08:51 ghost pulseaudio[2449]: message repeated 126 times: [ [pulseaudio] shm.c: shm_open() failed: Permission denied] Jul 31 13:09:39 ghost squeezeplay_alsa[15493]: playback_callback:557 playback started, copyright not asserted Jul 31 13:09:39 ghost squeezeplay_alsa[15493]: pcm_open:823 PCM Open 1 default Jul 31 13:09:39 ghost squeezeplay_alsa[15493]: _pcm_open:718 Access type not available: Invalid argument Jul 31 13:09:39 ghost squeezeplay_alsa[15493]: pcm_open:835 PCM Open with mmap failed trying to continue,Invalid argument Jul 31 13:09:39 ghost squeezeplay_alsa[15493]: pcm_open:837 PCM Open NOMMAP 60B960 default Jul 31 13:09:39 ghost squeezeplay_alsa[15493]: pcm_close:604 snd_pcm_drain error: Input/output error Jul 31 13:09:39 ghost squeezeplay_alsa[15493]: _pcm_open:726 Opened device default using format: S16_LE sample rate: 48000 Jul 31 13:09:39 ghost pulseaudio[2449]: [pulseaudio] shm.c: shm_open() failed: Permission denied Jul 31 13:09:39 ghost pulseaudio[2449]: [pulseaudio] shm.c: shm_open() failed: Permission denied Jul 31 13:09:39 ghost squeezeplay_alsa[15493]: audio_thread_execute:1056 snd_pcm_start error: File descriptor in bad state Jul 31 13:09:39 ghost pulseaudio[2449]: [pulseaudio] shm.c: shm_open() failed: Permission denied Jul 31 13:09:39 ghost