Discussion:
[ANNOUNCE] Squeezeslave: 1.0 released
ralphy
2010-11-26 11:46:29 UTC
Permalink
hyenadog;590963 Wrote:
>
> i had a bash at compiling directly on the dockstar (after installing
> all the bits and pieces needed but got gcc errors - maybe the config is
> wrong or it needs arm patches etc .. too much for me :-(
>
> rgds
>
> ian

What are the gcc errors? I might be able to help.


--
ralphy

Ralphy

*4*-Classics, *2*-Booms, *11*-Squeezeslaves
'Squeezeslave' (http://code.google.com/p/squeezeslave/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezeslave&currency_code=USD&bn=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=83362
ralphy
2010-11-26 11:50:25 UTC
Permalink
truehl;590859 Wrote:
> Hi Ralphy,
> maybe I'm to d***, but I do not get it to work. Could you or someone
> else explain how to compile squeezeslave. I get some strange messages!
>
> Where is Jonas K ??? ;)
>
> Thx a lot,
> Greetings,
> Thomas

If you post these messages I may be able to help.


--
ralphy

Ralphy

*4*-Classics, *2*-Booms, *11*-Squeezeslaves
'Squeezeslave' (http://code.google.com/p/squeezeslave/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezeslave&currency_code=USD&bn=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=83362
ralphy
2010-11-26 12:03:41 UTC
Permalink
truehl;590859 Wrote:
> Where is Jonas K ??? ;)

I've sent Jonas an email asking if he could build a new binary for us.


--
ralphy

Ralphy

*4*-Classics, *2*-Booms, *11*-Squeezeslaves
'Squeezeslave' (http://code.google.com/p/squeezeslave/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezeslave&currency_code=USD&bn=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=83362
truehl
2010-11-28 08:29:39 UTC
Permalink
ralphy;591003 Wrote:
> I've sent Jonas K an email asking if he could build a new binary for us.

Thanks a lot Ralphy!
So we wait for Jonas, If that won't work, I'll give you more details!

Greetings,
Thomas


--
truehl

SBS 7.6.x on SqueezePlug, Squeezebox Duet
Thecus N4100 pro NAS,
My SqueezePlug Wiki: http://wiki.slimdevices.com/index.php/SqueezePlug
My Blog: http://squeezeplug.de/
My Downloads: http://squeezeplug.de//?page_id=2

Feel free to donate my SqueezePlug project:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=3R2M49ARYWK6C,
thanks a lot!
------------------------------------------------------------------------
truehl's Profile: http://forums.slimdevices.com/member.php?userid=34265
View this thread: http://forums.slimdevices.com/showthread.php?t=83362
ralphy
2010-11-28 12:49:03 UTC
Permalink
truehl;591342 Wrote:
> Thanks a lot Ralphy!
> So we wait for Jonas, If that won't work, I'll give you more details!
>
> Greetings,
> Thomas

Jonas sent me ALSA and OSS binaries which I've uploaded to 'googlecode'
(http://squeezeslave.googlecode.com/files/squeezeslave-1.0-216-marvell6281-lnx26.tar.gz).

If the ALSA one works on the dockstar you won't need to use aoss
anymore.

The original makefile for the armel alsa has been replaced at r217 by
the one Jonas used to build the ALSA binary.


--
ralphy

Ralphy

*4*-Classics, *2*-Booms, *11*-Squeezeslaves
'Squeezeslave' (http://code.google.com/p/squeezeslave/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezeslave&currency_code=USD&bn=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=83362
truehl
2010-11-28 20:39:14 UTC
Permalink
ralphy;591378 Wrote:
> Jonas sent me ALSA and OSS binaries which I've uploaded to 'googlecode'
> (http://squeezeslave.googlecode.com/files/squeezeslave-1.0-216-marvell6281-lnx26.tar.gz).
>
> If the ALSA one works on the dockstar you won't need to use aoss
> anymore.
>
> The original makefile for the armel alsa has been replaced at r217 by
> the one Jonas used to build the ALSA binary.

Hi Ralphy,
thx a lot again. I've got the oss version running! Which version is the
prefered? It look like you prefer the ALSA-version! How do I get this
version to work? I've tried this:

apt-get --yes install alsa
apt-get --yes install subversion
apt-get --yes install libasound2-dev
apt-get --yes install libncurses5-dev
apt-get --yes install liblircclient-dev

but it don't work for me.

And I'm stil searching for a possibility to start SqueezeSlave at
system start and keep it alive!

Any ideas?

Thx Jonas K !!!

Greetings,
Thomas


--
truehl

SBS 7.6.x on SqueezePlug, Squeezebox Duet
Thecus N4100 pro NAS,
My SqueezePlug Wiki: 'Wiki'
(http://wiki.slimdevices.com/index.php/SqueezePlug)
My Blog: 'Blog' (http://squeezeplug.de/)
My Downloads: 'Downloads' (http://squeezeplug.de//?page_id=2)

Feel free to donate my SqueezePlug project: 'Donate'
(https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=3R2M49ARYWK6C),
thanks a lot!
------------------------------------------------------------------------
truehl's Profile: http://forums.slimdevices.com/member.php?userid=34265
View this thread: http://forums.slimdevices.com/showthread.php?t=83362
ralphy
2010-11-28 22:18:16 UTC
Permalink
Does ./squeezeslave-1.0-216-alsa -L list any devices?

If so, the mixer settings could all be muted. Remember we had to
unmute them in the VM to get squeezeslave working?

Is squeezeplug the same distro as the vm?

If so, I can create and test an init script for squeezeslave to start
automatically on the VM and you can try it on the plug.

Let me know.


--
ralphy

Ralphy

*4*-Classics, *2*-Booms, *11*-Squeezeslaves
'Squeezeslave' (http://code.google.com/p/squeezeslave/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezeslave&currency_code=USD&bn=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=83362
truehl
2010-11-29 19:38:10 UTC
Permalink
ralphy;591531 Wrote:
> Does ./squeezeslave-1.0-216-alsa -L list any devices?
>
> If so, the mixer settings could all be muted. Remember we had to
> unmute them in the VM to get squeezeslave working?
>
> Is squeezeplug the same distro as the vm?
>
> If so, I can create and test an init script for squeezeslave to start
> automatically on the VM and you can try it on the plug.
>
> Let me know.

Hi Ralphy,
I've done this:
apt-get install alsa-base
apt-get install alsa-utils

Than I started the alsmixer and saw a device (0).
Than: ./squeezeslave-1.0-216-alsa -L
output: PortAudio error7: No output devices found.

So Alsa don't work I think. The mixer settings are OK.

Yes the distro is the same on VM. Debian Squeeze!

Right now I thinking about to make a collection to by you a dockstar
device!!! I'm sure you will love that!!! Could you tell me the price
for a dockstar in Canada???

;) Greetings from Germany,
Thomas


--
truehl

SBS 7.6.x on SqueezePlug, Squeezebox Duet
Thecus N4100 pro NAS,
My SqueezePlug Wiki: 'Wiki'
(http://wiki.slimdevices.com/index.php/SqueezePlug)
My Blog: 'Blog' (http://squeezeplug.de/)
My Downloads: 'Downloads' (http://squeezeplug.de//?page_id=2)

Feel free to donate my SqueezePlug project: 'Donate'
(https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=3R2M49ARYWK6C),
thanks a lot!
------------------------------------------------------------------------
truehl's Profile: http://forums.slimdevices.com/member.php?userid=34265
View this thread: http://forums.slimdevices.com/showthread.php?t=83362
Prospect
2010-11-29 22:32:17 UTC
Permalink
Would it be possible to use SS directly with squeezebox.com without
running a Squeezebox Server locally? I have tried to run

./squeezeslave-intel mysqueezebox.com

There are no error messages so it seems that SS connects to the server
but I do not understand how I can connect SS to my mysqueezebox.com
accunt. Anny help would be appreciated.


--
Prospect
------------------------------------------------------------------------
Prospect's Profile: http://forums.slimdevices.com/member.php?userid=41787
View this thread: http://forums.slimdevices.com/showthread.php?t=83362
ralphy
2010-11-30 11:42:14 UTC
Permalink
Prospect;591726 Wrote:
> Would it be possible to use SS directly with squeezebox.com without
> running a Squeezebox Server locally? I have tried to run
>
> ./squeezeslave-intel mysqueezebox.com
>
> There are no error messages so it seems that SS connects to the server
> but I do not understand how I can connect SS to my mysqueezebox.com
> accunt. Anny help would be appreciated.

I've never tested this, but others have reported that Logitech "blocks"
softplayers on mysb..


--
ralphy

Ralphy

*4*-Classics, *2*-Booms, *11*-Squeezeslaves
'Squeezeslave' (http://code.google.com/p/squeezeslave/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezeslave&currency_code=USD&bn=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=83362
Prospect
2010-11-30 12:06:42 UTC
Permalink
ralphy;591796 Wrote:
> I've never tested this, but others have reported that Logitech "blocks"
> softplayers on mysb..

I am currently running SqueezePlay with mysb so I do not think that
blocking is the issue. While SqueezePlay has a gui for providing
credentials and logging in to mysb while SS have not. It is stated in
the wiki that SS should work with Squeezenetwork. I just don't
understand how.


--
Prospect
------------------------------------------------------------------------
Prospect's Profile: http://forums.slimdevices.com/member.php?userid=41787
View this thread: http://forums.slimdevices.com/showthread.php?t=83362
Mnyb
2010-11-30 12:37:10 UTC
Permalink
Prospect;591803 Wrote:
> I am currently running SqueezePlay with mysb so I do not think that
> blocking is the issue. While SqueezePlay has a gui for providing
> credentials and logging in to mysb while SS have not. It is stated in
> the wiki that SS should work with Squeezenetwork. I just don't
> understand how.

Btw the local server has a setings page for mysqueezebox.com .

click on the settings link in th lower right corner in the web-UI

But it should be squeezeboxserver > 7.4 -7.5 not an old SS slimserver
6.x

If you have a local server with your mysb.com credentials in the
settings I think the players are automatically regiostred nowdays ? or
are they.

Try to use the music source menu in the web-UI I think it is under
extras and try to conect a squeeze slave ?


--
Mnyb

--------------------------------------------------------------------
Main hifi: Touch + CIA PS +MeridianG68J MeridianHD621 MeridianG98DH and
assorted amps SiriuS, Classe' Primare and Dynadio speakers, Contour 4
Contour Center, and Contour 1.3SE rear ch. Rel Stadium 3 sub.
Bedroom/Office: Boom
Kitchen: SB3 + powered Fostex PM0.4
Misc use: Radio (with battery)

PLEASE FIX BUG 112
http://bugs.slimdevices.com/show_bug.cgi?id=112
------------------------------------------------------------------------
Mnyb's Profile: http://forums.slimdevices.com/member.php?userid=4143
View this thread: http://forums.slimdevices.com/showthread.php?t=83362
Prospect
2010-11-30 15:48:04 UTC
Permalink
Thanks Mnyb

I tried to run SBS on the same machine as SS and indeed SS showed up in
MySB. However I was not able to connect to it.


--
Prospect
------------------------------------------------------------------------
Prospect's Profile: http://forums.slimdevices.com/member.php?userid=41787
View this thread: http://forums.slimdevices.com/showthread.php?t=83362
ralphy
2010-11-30 12:04:37 UTC
Permalink
truehl;591685 Wrote:
>
> Right now I thinking about to make a collection to by you a dockstar
> device!!! I'm sure you will love that!!! Could you tell me the price
> for a dockstar in Canada???
>
> ;) Greetings from Germany,
> Thomas

I've sent you a PM.


--
ralphy

Ralphy

*4*-Classics, *2*-Booms, *11*-Squeezeslaves
'Squeezeslave' (http://code.google.com/p/squeezeslave/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezeslave&currency_code=USD&bn=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=83362
ralphy
2010-12-01 12:36:13 UTC
Permalink
truehl;591504 Wrote:
> Hi Ralphy,
> thx a lot again. I've got the oss version running! Which version is the
> prefered? It look like you prefer the ALSA-version! How do I get this
> version to work?
>

I've actually found the OSS version which uses the older portaudio
library runs better on lower cpu powered systems. You can also create
a binary that doesn't rely on additional external libraries. ALSA is
terrible for this, you have to install so much "baggage" like libraries
and kernel modules that use up a lot of extra memory which is usually
low on these systems to begin with.


--
ralphy

Ralphy

*4*-Classics, *2*-Booms, *11*-Squeezeslaves
'Squeezeslave' (http://code.google.com/p/squeezeslave/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezeslave&currency_code=USD&bn=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=83362
mhaas
2010-12-01 13:11:29 UTC
Permalink
Sorry I should have made it clear:
I actually started with squeezeslave and DirectSound without asio4all.
The problems were the same.


--
mhaas
------------------------------------------------------------------------
mhaas's Profile: http://forums.slimdevices.com/member.php?userid=40657
View this thread: http://forums.slimdevices.com/showthread.php?t=83362
ralphy
2010-12-01 14:57:33 UTC
Permalink
mhaas;592010 Wrote:
> Sorry I should have made it clear:
> I actually started with squeezeslave and DirectSound without asio4all.
> The problems were the same.

I had a similiar problem when my hard drive was starting to fail.
There were errors in the event viewer that clued me in to the issue.
Imaged the drive and replaced it and the system has been working great
ever since.


--
ralphy

Ralphy

*4*-Classics, *2*-Booms, *11*-Squeezeslaves
'Squeezeslave' (http://code.google.com/p/squeezeslave/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezeslave&currency_code=USD&bn=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=83362
mhaas
2010-12-01 16:59:16 UTC
Permalink
ralphy;592028 Wrote:
> I had a similiar problem when my hard drive was starting to fail. There
> were errors in the event viewer that clued me in to the issue. Imaged
> the drive and replaced it and the system has been working great ever
> since.

I've checked both the Synology and the PC disks, they seem to be OK.


--
mhaas
------------------------------------------------------------------------
mhaas's Profile: http://forums.slimdevices.com/member.php?userid=40657
View this thread: http://forums.slimdevices.com/showthread.php?t=83362
mhaas
2010-12-01 11:43:25 UTC
Permalink
I installed the latest squeezeslave on my WinXP PC and I'm experiencing
strange problems with it. Every time I start a new track or change a
track, the music is interupted with harsh loud hiss/white noise for a
few seconds of the play. Then it works OK. I've tried to eliminate
various possible reasons but it was the same when I tried:
1. to use both squeezeslave and squeezeslave-asio with asio4all
2. different latencies with -y switch
3. -H switch

I also can use Foobar with/without asio and all is OK.

My SB runs on Synology 119j and is version 7.5.1-r30836
The connection is wireless 802.11n 5GHz and quite fast.
I have a SB receiver in another room and no problems with it either

Any help would be very much appreciated


--
mhaas
------------------------------------------------------------------------
mhaas's Profile: http://forums.slimdevices.com/member.php?userid=40657
View this thread: http://forums.slimdevices.com/showthread.php?t=83362
ralphy
2010-12-01 12:25:40 UTC
Permalink
mhaas;591993 Wrote:
> I installed the latest squeezeslave on my WinXP PC and I'm experiencing
> strange problems with it. Every time I start a new track or change a
> track, the music is interupted with harsh loud hiss/white noise for a
> few seconds of the play. Then it works OK. I've tried to eliminate
> various possible reasons but it was the same when I tried:
> 1. to use both squeezeslave and squeezeslave-asio with asio4all
> 2. different latencies with -y switch
> 3. -H switch
>
> I also can use Foobar with/without asio and all is OK.
>
> My SB runs on Synology 119j and is version 7.5.1-r30836
> The connection is wireless 802.11n 5GHz and quite fast.
> I have a SB receiver in another room and no problems with it either
>
> Any help would be very much appreciated

First thing I'd suggest is uninstalling ASIO4ALL, reboot and then try
using the direct sound version squeezeslave.exe with just the -R option
and post back your results.


--
ralphy

Ralphy

*4*-Classics, *2*-Booms, *11*-Squeezeslaves
'Squeezeslave' (http://code.google.com/p/squeezeslave/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezeslave&currency_code=USD&bn=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=83362
mhaas
2010-12-01 18:27:53 UTC
Permalink
mhaas;591993 Wrote:
> I installed the latest squeezeslave on my WinXP PC and I'm experiencing
> strange problems with it. Every time I start a new track or change a
> track, the music is interupted with harsh loud hiss/white noise for a
> few seconds of the play. Then it works OK. I've tried to eliminate
> various possible reasons but it was the same when I tried:
> 1. to use both squeezeslave and squeezeslave-asio with asio4all
> 2. different latencies with -y switch
> 3. -H switch
>
> I also can use Foobar with/without asio and all is OK.
>
> My SB runs on Synology 119j and is version 7.5.1-r30836
> The connection is wireless 802.11n 5GHz and quite fast.
> I have a SB receiver in another room and no problems with it either
>
> Any help would be very much appreciated


I've now found out that both squeezeslave.exe and squeezeslave-asio.exe
have problems running on my PC, e.g. with the display switch -D they are
both nonresponsive. Any pre-requisites/updates I should check for on the
WinXP system?


--
mhaas
------------------------------------------------------------------------
mhaas's Profile: http://forums.slimdevices.com/member.php?userid=40657
View this thread: http://forums.slimdevices.com/showthread.php?t=83362
ralphy
2010-12-02 11:43:19 UTC
Permalink
mhaas;592046 Wrote:
> I've now found out that both squeezeslave.exe and squeezeslave-asio.exe
> have problems running on my PC, e.g. with the display switch -D they
> are both nonresponsive. Any pre-requisites/updates I should check for
> on the WinXP system?
>
>
> Update - these problems only occur when I play flac files. Smaller mp3
> files are OK.

Then it's most likely your wireless network bandwidth is saturated
playing flac files. The display output is sent from the server.


--
ralphy

Ralphy

*4*-Classics, *2*-Booms, *11*-Squeezeslaves
'Squeezeslave' (http://code.google.com/p/squeezeslave/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezeslave&currency_code=USD&bn=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=83362
mhaas
2010-12-02 13:10:07 UTC
Permalink
ralphy;592205 Wrote:
> Then it's most likely your wireless network bandwidth is saturated
> playing flac files. The display output is sent from the server.

Yeah, I was thinking it might be the wireless, especially when it
happens at the start when the buffers are being filled. But my WLAN
between the SB and squeezeslave is fast 802.11n. And it works OK on my
receiver in another room which has only 802.11g wireless connection.


--
mhaas
------------------------------------------------------------------------
mhaas's Profile: http://forums.slimdevices.com/member.php?userid=40657
View this thread: http://forums.slimdevices.com/showthread.php?t=83362
Zilog
2010-12-02 18:15:12 UTC
Permalink
Hi there Ralphy,
Long time lurker, first time poster, so please be gentle! :)
Can SqueezeSlave run natively under DOS (e.g. MS DOS 6.22)?

I've the idea of running on an old VIA ITX PC with DOS if SqueezeSlave
can run under DOS. Obviously with DOS there would be minimal overhead
and quick boot-up. The PC would switch on automatically using a relay
linked to amplifier power supply.
Effectively the PC would be operating like a Squeezebox Receiver.

Do one of the Squeezeslave executables work with a DOS real-mode audio
driver?

Using Squeezeslave under Windows on work PC at the moment, works very
well - this is what got me thinking! May be in over my head though with
DOS idea, although like the idea of brushing up on long lost command
line skills!

Thanks,
Zilog


--
Zilog
------------------------------------------------------------------------
Zilog's Profile: http://forums.slimdevices.com/member.php?userid=41827
View this thread: http://forums.slimdevices.com/showthread.php?t=83362
ralphy
2010-12-07 23:17:50 UTC
Permalink
hdo;593309 Wrote:
> If you don't mind i'll send you the neccessary Makefile and patches so
> you can put them to the repository. This way others could also build a
> binary version for their 'brcm477xx-based' router. As far as i know the
> popular Asus WL-500g is also supported.
Sure. You can zip them up and attach them to a post or PM me.

I'd be happy to place your binary on the download site as well.

hdo;593309 Wrote:
> However i experienced hang ups with squeezeslave when the server shuts
> down. I have to restart squeezeslave to reconnect. The 'retry' feature
> does not work for me.
>
> Do you have any ideas?

If you have -DUSE_SIGNALS_FOR_RESTART defined in the makefile try
removing it, if it's not on the CFLAGS line, add it and do a make
realclean and then a make.


--
ralphy

Ralphy

*4*-Classics, *2*-Booms, *11*-Squeezeslaves
'Squeezeslave' (http://code.google.com/p/squeezeslave/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezeslave&currency_code=USD&bn=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=83362
hdo
2010-12-07 12:58:49 UTC
Permalink
Hello Ralphy,

i just want to thank you for the great squeezeslave application.
I have played with it for a while and finally succeeded in building
a binary for the OpenWRT Platform for my Netgear wgt634u (Broadcom
MIPS, brcm47xx).
If you don't mind i'll send you the neccessary Makefile and patches so
you can put them to the repository. This way others could also build
a binary version for their 'brcm477xx-based' router. As far as i know
the popular Asus WL-500g is also supported.

However i experienced hang ups with squeezeslave when the server shuts
down.
I have to restart squeezeslave to reconnect. The 'retry' feature does
not
work for me.

Do you have any ideas?

Greetings,

hdo


--
hdo
------------------------------------------------------------------------
hdo's Profile: http://forums.slimdevices.com/member.php?userid=41489
View this thread: http://forums.slimdevices.com/showthread.php?t=83362
bg214884
2010-12-24 18:01:27 UTC
Permalink
I have been trying to get squeezeslave working for a while (on ubuntu)
and I keep getting the above error.

(./squeezeslave-lnx26-ubuntu: No such file or directory)

Has anyone else come across this and or got a solution?

Strace was not much help in identifying what it was trying to open:


strace ./squeezeslave-lnx26-ubuntu
execve("./squeezeslave-lnx26-ubuntu", ["./squeezeslave-lnx26-ubuntu"],
[/* 17 vars */]) = -1 ENOENT (No such file or directory)
dup(2) = 3
fcntl(3, F_GETFL) = 0x8002 (flags
O_RDWR|O_LARGEFILE)
fstat(3, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x7fd6fbb80000
lseek(3, 0, SEEK_CUR) = -1 ESPIPE (Illegal seek)
write(3, "strace: exec: No such file or di"..., 40strace: exec: No such
file or directory
) = 40
close(3) = 0
munmap(0x7fd6fbb80000, 4096) = 0
exit_group(1) = ?

Nick


--
bg214884
------------------------------------------------------------------------
bg214884's Profile: http://forums.slimdevices.com/member.php?userid=42275
View this thread: http://forums.slimdevices.com/showthread.php?t=83362
MusicManiac
2010-12-24 23:15:48 UTC
Permalink
bg214884;596901 Wrote:
> I have been trying to get squeezeslave working for a while (on ubuntu)
> and I keep getting the above error.
>
> (./squeezeslave-lnx26-ubuntu: No such file or directory)
>
> Has anyone else come across this and or got a solution?
> Nick
Dumb questions first...

Did you compile yourself?
Are you in the same directory as the binary when you run
./squeezeslave-lnx26-ubuntu ?
Is the binary marked as executable?

Merry Christmas!
-mm


--
MusicManiac
------------------------------------------------------------------------
MusicManiac's Profile: http://forums.slimdevices.com/member.php?userid=36544
View this thread: http://forums.slimdevices.com/showthread.php?t=83362
bg214884
2010-12-25 13:46:10 UTC
Permalink
MusicManiac;596953 Wrote:
> Dumb questions first...
>
> Did you compile yourself?
> Are you in the same directory as the binary when you run
> ./squeezeslave-lnx26-ubuntu ?
> Is the binary marked as executable?
>
> Merry Christmas!
> -mm
Merry Christmas,

Thanks for your reply. I really should have included this information.
(as they were my first checks..

I used the prebuild binary from the following tgz:
squeezeslave-1.0-210-lnx26.tar.gz

Yes I am in the same directory as the binary file and the file is
marked as executable.

If strace was not finding the exe file it would have shown:
strace ./fish
strace: ./fish: command not found

rather than:
strace ./squeezeslave-lnx26-ubuntu
execve("./squeezeslave-lnx26-ubuntu", ["./squeezeslave-lnx26-ubuntu"],
[/* 17 vars */]) = -1 ENOENT (No such file or directory)
dup(2) = 3
fcntl(3, F_GETFL) = 0x8002 (flags
O_RDWR|O_LARGEFILE)
fstat(3, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x7f2a702ba000
lseek(3, 0, SEEK_CUR) = -1 ESPIPE (Illegal seek)
write(3, "strace: exec: No such file or di"..., 40strace: exec: No such
file or directory
) = 40
close(3) = 0
munmap(0x7f2a702ba000, 4096) = 0
exit_group(1) = ?

So it is finding the exe but then it is something that the exe is
looking for at start up that it can't find.

~N


--
bg214884
------------------------------------------------------------------------
bg214884's Profile: http://forums.slimdevices.com/member.php?userid=42275
View this thread: http://forums.slimdevices.com/showthread.php?t=83362
MusicManiac
2010-12-25 15:21:27 UTC
Permalink
bg214884;597058 Wrote:
> Merry Christmas,
>
> Thanks for your reply. I really should have included this information.
> (as they were my first checks..
>
> I used the prebuild binary from the following tgz:
> squeezeslave-1.0-210-lnx26.tar.gz
>
> Yes I am in the same directory as the binary file and the file is
> marked as executable.
> ...
>
> ~N

What version of Ubuntu? It's not 64bit by chance is it?

-mm


--
MusicManiac
------------------------------------------------------------------------
MusicManiac's Profile: http://forums.slimdevices.com/member.php?userid=36544
View this thread: http://forums.slimdevices.com/showthread.php?t=83362
bg214884
2010-12-25 18:20:53 UTC
Permalink
MusicManiac;597074 Wrote:
> What version of Ubuntu? It's not 64bit by chance is it?
>
> -mm

Linux ubuntu 2.6.35-22-server #33-Ubuntu SMP Sun Sep 19 20:48:58 UTC
2010 x86_64 GNU/Linux

ubuntu 10.10 amd64 (well intel but amd46 is the instruction set).

I have used server as 1. it gives me more control as what modules are
installed and 2. I don't plan to have a monitor attached to the server.


I have tried this on both real hardware and on a vm both with the same
results.


Nick


--
bg214884
------------------------------------------------------------------------
bg214884's Profile: http://forums.slimdevices.com/member.php?userid=42275
View this thread: http://forums.slimdevices.com/showthread.php?t=83362
MusicManiac
2010-12-26 04:15:54 UTC
Permalink
Forgive me if I've missed something here, but I think you're trying to
use a 32bit binary on a 64bit system.

If you don't have the 32bit support libs loaded you probably wont get
far. ( and I wouldn't suggest cluttering up your system getting those
working if its just for this)

There should be a 64bit binary in that package you downloaded. Give it
a shot and see if it works out any better.

If you have problems with that one I can send you a 64bit binary from
one of my systems to try.

-mm


--
MusicManiac
------------------------------------------------------------------------
MusicManiac's Profile: http://forums.slimdevices.com/member.php?userid=36544
View this thread: http://forums.slimdevices.com/showthread.php?t=83362
bg214884
2010-12-26 07:38:57 UTC
Permalink
MusicManiac;597204 Wrote:
> Forgive me if I've missed something here, but I think you're trying to
> use a 32bit binary on a 64bit system.
>
> If you don't have the 32bit support libs loaded you probably wont get
> far. ( and I wouldn't suggest cluttering up your system getting those
> working if its just for this)
>
> There should be a 64bit binary in that package you downloaded. Give it
> a shot and see if it works out any better.
>
> If you have problems with that one I can send you a 64bit binary from
> one of my systems to try.
>
> -mm

DoH, yep you are right I had assumed the 32bit libs would be installed
by default.

Thank you for you assistance.

~N


--
bg214884
------------------------------------------------------------------------
bg214884's Profile: http://forums.slimdevices.com/member.php?userid=42275
View this thread: http://forums.slimdevices.com/showthread.php?t=83362
ralphy
2010-12-26 11:24:54 UTC
Permalink
bg214884;597219 Wrote:
> DoH, yep you are right I had assumed the 32bit libs would be installed
> by default.
>
> Thank you for you assistance.
>
> ~N

You should be using the 64-bit binary that is included in that tar
file.

./squeezeslave-lnx26-i64

It was compiled on Ubuntu 10 64-bit.


--
ralphy

Ralphy

*4*-Classics, *2*-Booms, *11*-Squeezeslaves
'Squeezeslave' (http://code.google.com/p/squeezeslave/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezeslave&currency_code=USD&bn=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=83362
murkle
2010-12-26 21:50:04 UTC
Permalink
I'm having a recurring problem where squeezeslave sometimes refuses to
output any audio. This only every happens at track changes, never
during a song. I'm running:

***@server:~# /usr/sbin/squeezeslave --version
squeezeslave 1.0-210 Oct 31 2010 18:59:32
compile flags: linux portaudio:1541 debug signals interactive daemon
buffer sizes: decoder 2097152 output 2822400 bytes

Happy to provide debug logs, but is there a particular debug level you
think would be most useful, or just 'all'?

I have a full debug log, but it's 5MB, as it took me 10 or so track
changes to cause the bug. Uploading now..


--
murkle
------------------------------------------------------------------------
murkle's Profile: http://forums.slimdevices.com/member.php?userid=40710
View this thread: http://forums.slimdevices.com/showthread.php?t=83362
ralphy
2010-12-28 14:08:57 UTC
Permalink
With linux this issue is almost always related to system library
versions being different in the precompiled binary versus what your
system is using.

Please compile squeezeslave on your linux system and try again.
You'll find detailed build instructions in the wiki. See the first
post of this thread for the link.


--
ralphy

Ralphy

*4*-Classics, *2*-Booms, *11*-Squeezeslaves
'Squeezeslave' (http://code.google.com/p/squeezeslave/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezeslave&currency_code=USD&bn=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=83362
murkle
2010-12-28 17:20:18 UTC
Permalink
ralphy;597743 Wrote:
> With linux this issue is almost always related to system library
> versions being different in the precompiled binary versus what your
> system is using.
>
> Please compile squeezeslave on your linux system and try again.
> You'll find detailed build instructions in the wiki. See the first
> post of this thread for the link.

Hi, just successfully built my own binary, but the exact same problem
is happening. Happy to provide logs, any particular levels that are
needed?


--
murkle
------------------------------------------------------------------------
murkle's Profile: http://forums.slimdevices.com/member.php?userid=40710
View this thread: http://forums.slimdevices.com/showthread.php?t=83362
ralphy
2010-12-28 21:00:21 UTC
Permalink
I looked at the logfile from your previous post everything looks okay.

Can you provide the output from the following.

squeezeslave -V

squeezeslave -L

I see your using the latest 7.6 server.

Can you confirm the same audio silence behaviour with 7.5.2?

If yes, run another test with -dall (full debug) and server version
7.5.2.


--
ralphy

Ralphy

*4*-Classics, *2*-Booms, *11*-Squeezeslaves
'Squeezeslave' (http://code.google.com/p/squeezeslave/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezeslave&currency_code=USD&bn=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=83362
BenH73
2011-01-01 00:54:58 UTC
Permalink
Hi Ralphy

Santa brought me a WDTV Live and I thought it would make a good device
to run squeezeslave (it's quite cheap here in Australia now, probably
to compete with the new apple tv).

I have installed WDLXTV (homebrew firmware) and optware for wdlxtv.

I tried running this version:
squeezeslave-1.0-217-mips-lnx26.tar.gz

When I run it with -L I get:
PortAudio error4: Host error. Could not open any audio devices.

When I run it with -V I get something similar to this (I just copied
that from the net, but it is definitely 1810):
squeezeslave 0.9-129
compile flags: linux portaudio:1810 debug signals daemon

I think the piece that is missing is the alsa-oss package, but this is
not in the optware list for the wdtv, so I have yet to try that.

Am I on the right track using this version of squeezeslave? Is it worth
persisting?

Thanks
Ben


--
BenH73
------------------------------------------------------------------------
BenH73's Profile: http://forums.slimdevices.com/member.php?userid=38459
View this thread: http://forums.slimdevices.com/showthread.php?t=83362
MusicManiac
2011-01-01 06:20:29 UTC
Permalink
Ben,

Is the "0.9-129" what you copied from the net? It should be returning
"1.0-217".

Anyway, that is a OSS version of squeezeslave for a 2.6 kernel.

I'm not familiar with the device or software setup - is the "alsa-oss
package" for alsa support on top of OSS, or is it support for both?

Is OSS working on the device in general?

-MM


--
MusicManiac
------------------------------------------------------------------------
MusicManiac's Profile: http://forums.slimdevices.com/member.php?userid=36544
View this thread: http://forums.slimdevices.com/showthread.php?t=83362
BenH73
2011-01-01 08:05:27 UTC
Permalink
Hi MM

Thanks for the reply. The version is just what I copied from the net.
The correct version is displaying.

To be honest I haven't looked into how alsa and oss work to check if
things are working properly, but the video files have sound.

The main information I'm after at the moment is whether the
squeezeslave file I am trying to use is the correct one for the sigma
8655 chipset of the wdtv live?

Thanks
Ben


--
BenH73
------------------------------------------------------------------------
BenH73's Profile: http://forums.slimdevices.com/member.php?userid=38459
View this thread: http://forums.slimdevices.com/showthread.php?t=83362
BenH73
2011-01-01 11:11:38 UTC
Permalink
Nevermind, it's too hard and tomorrow is the last day I can return it,
so it's going back.

Thanks anyway.
Ben


--
BenH73
------------------------------------------------------------------------
BenH73's Profile: http://forums.slimdevices.com/member.php?userid=38459
View this thread: http://forums.slimdevices.com/showthread.php?t=83362
henfri
2011-01-02 21:36:57 UTC
Permalink
Hi,

thanks for writing Squeezeslave.

I have some trouble compiling it under ubuntu:

Code:
--------------------

svn checkout http://squeezeslave.googlecode.com/svn/squeezeslave/branches/squeezeslave-1.0-210
cd squeezeslave-1.0-210/
make -f makefile.linux26-alsa-display realclean
make -f makefile.linux26-alsa-display
...
In file included from src/squeezeslave/squeezeslave.c:38:
src/squeezeslave/squeezeslave.h:56:20: error: curses.h: No such file or directory
src/squeezeslave/squeezeslave.h:58:30: error: lirc/lirc_client.h: No such file or directory
src/squeezeslave/squeezeslave.c: In function ‘main’:
src/squeezeslave/squeezeslave.c:659: warning: implicit declaration of function ‘getch’
src/squeezeslave/squeezeslave.c:659: error: ‘ERR’ undeclared (first use in this function)
src/squeezeslave/squeezeslave.c:659: error: (Each undeclared identifier is reported only once
src/squeezeslave/squeezeslave.c:659: error: for each function it appears in.)
make: *** [src/squeezeslave/squeezeslave.o] Error 1

--------------------


My mistake, or is there something wrong in the svn?

Greetigs,
Hendrik


--
henfri
------------------------------------------------------------------------
henfri's Profile: http://forums.slimdevices.com/member.php?userid=40915
View this thread: http://forums.slimdevices.com/showthread.php?t=83362
ralphy
2011-01-03 12:40:28 UTC
Permalink
You don't have all the required packages installed.

Please see the linux build instruction section of the 'wiki'
(http://wiki.slimdevices.com/index.php/SqueezeSlave#Linux_build_instructions)
for the required list and how to install them.


--
ralphy

Ralphy

*4*-Classics, *2*-Booms, *11*-Squeezeslaves
'Squeezeslave' (http://code.google.com/p/squeezeslave/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezeslave&currency_code=USD&bn=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=83362
murkle
2011-01-03 14:18:28 UTC
Permalink
ralphy;597849 Wrote:
>
> Can you confirm the same audio silence behaviour with 7.5.2?
>
> If yes, run another test with -dall (full debug) and server version
> 7.5.2.

Hi running 7.5.2 now, same problem though ONLY if I run as a daemon.
Running squeezeslave in a terminal meant that the problem couldn't be
replicated after 50 track changes. Have attached a log file, with the
problem happening (while run with -M switch).

***@server:/tmp# squeezeslave -V
squeezeslave 1.0-210 Dec 28 2010 16:31:42
compile flags: linux portaudio:1541 debug signals daemon
buffer sizes: decoder 2097152 output 2822400 bytes

Copyright 2004-2007 Richard Titmuss, 2008-2010 Duane Paddock.
This is free software; see the source for copying conditions. There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
***@server:/tmp# squeezeslave -L
Output devices:
0: (ALSA) HDA Intel MID: STAC92xx Analog (hw:0,0) (11/46)
1: (ALSA) front (11/46)
2: (ALSA) surround40 (11/46)
3: (ALSA) surround51 (11/46)
4: (ALSA) surround71 (11/46)
* 5: (ALSA) default (42/46)
6: (ALSA) dmix (42/42)
7: (OSS) /dev/dsp (11/46)
***@server:/tmp#


+-------------------------------------------------------------------+
|Filename: squezeslave-slim-7.5.2-Dall.tar.gz |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=11112|
+-------------------------------------------------------------------+

--
murkle
------------------------------------------------------------------------
murkle's Profile: http://forums.slimdevices.com/member.php?userid=40710
View this thread: http://forums.slimdevices.com/showthread.php?t=83362
ralphy
2011-01-03 16:54:43 UTC
Permalink
What's the full command line you use with -M failing?


--
ralphy

Ralphy

*4*-Classics, *2*-Booms, *11*-Squeezeslaves
'Squeezeslave' (http://code.google.com/p/squeezeslave/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezeslave&currency_code=USD&bn=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=83362
murkle
2011-01-03 17:14:29 UTC
Permalink
ralphy;599482 Wrote:
> What's the full command line you use with -M failing?

/usr/sbin/squeezeslave --retry -M /var/log/squeezeboxserver/slave.log


--
murkle
------------------------------------------------------------------------
murkle's Profile: http://forums.slimdevices.com/member.php?userid=40710
View this thread: http://forums.slimdevices.com/showthread.php?t=83362
murkle
2011-01-03 17:54:06 UTC
Permalink
Sorry about this, the problem is actually also happening when I'm NOT
running it with the -M switch - so disregard my last post.

Was there anything useful in the logs?


--
murkle
------------------------------------------------------------------------
murkle's Profile: http://forums.slimdevices.com/member.php?userid=40710
View this thread: http://forums.slimdevices.com/showthread.php?t=83362
ralphy
2011-01-04 12:15:38 UTC
Permalink
murkle;599503 Wrote:
> Sorry about this, the problem is actually also happening when I'm NOT
> running it with the -M switch - so disregard my last post.
>
> Was there anything useful in the logs?

Yes, I see buffer underruns which would explain the silence.

I've seen this before and it turned out to be a bug in the alsa sound
card driver. It was the HDA Intel driver, which it looks like your
using as well.

Do you have a usb sound card? If so, plug it in and try pointing
squeezeslave to it using the -o option with the number from -L and see
if you have the same issue. I was never able to work around the bug
and I now use a usb sound card on that system.


--
ralphy

Ralphy

*4*-Classics, *2*-Booms, *11*-Squeezeslaves
'Squeezeslave' (http://code.google.com/p/squeezeslave/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezeslave&currency_code=USD&bn=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=83362
murkle
2011-01-04 12:18:29 UTC
Permalink
ralphy;599701 Wrote:
> Yes, I see buffer underruns which would explain the silence.
>
> I've seen this before and it turned out to be a bug in the alsa sound
> card driver. It was the HDA Intel driver, which it looks like your
> using as well.
>
> Do you have a usb sound card? If so, plug it in and try pointing
> squeezeslave to it using the -o option with the number from -L and see
> if you have the same issue. I was never able to work around the bug
> and I now use a usb sound card on that system.

I recently built the most recent stable alsa drivers which improved the
HDA support greatly, but as you say it's never been perfect..

I do have another sound card as it happens, I'll give it a shot with
this and report back.

Thanks so much for looking at this..


--
murkle
------------------------------------------------------------------------
murkle's Profile: http://forums.slimdevices.com/member.php?userid=40710
View this thread: http://forums.slimdevices.com/showthread.php?t=83362
indifference_engine
2011-01-05 23:23:28 UTC
Permalink
Just wanted to say thanks and well done to Ralphy and co for a superb
effort! I'm running SS1.0-210 against SBS 7.52 on Win2003 and it
appears to be rock-stable. It seems to work better than previous
versions with BBC iPlayer streams; I found previous versions did
something weird with the sampling rate so they played slow and deep,
like a tape recorder running out of batteries, but this version is
spot-on. Synchroniation with "real players" (I have a duet and an SB3)
is also superb. I run the asio version on my Win2003 server (using the
asio4all drivers) and the wasapi version on my Vista laptop, both are
behaving excellently. Thank you!


--
indifference_engine
------------------------------------------------------------------------
indifference_engine's Profile: http://forums.slimdevices.com/member.php?userid=20698
View this thread: http://forums.slimdevices.com/showthread.php?t=83362
murkle
2011-01-05 23:27:19 UTC
Permalink
murkle;599703 Wrote:
> I recently built the most recent stable alsa drivers which improved the
> HDA support greatly, but as you say it's never been perfect..
>
> I do have another sound card as it happens, I'll give it a shot with
> this and report back.
>
> Thanks so much for looking at this..

Well it turns out my external sound card is utter crap! Distorted sound
all the time. I'll stick with the onboard and possibly see if I can make
progress with it. Another option is to buy a better USB card, will do
some research and see if I can stretch to buying one.

I also agree with the post above, SqueezeSlave is brilliant, and
exactly what I need in my setup!


--
murkle
------------------------------------------------------------------------
murkle's Profile: http://forums.slimdevices.com/member.php?userid=40710
View this thread: http://forums.slimdevices.com/showthread.php?t=83362
ralphy
2011-01-06 12:44:27 UTC
Permalink
You are both very welcome. It's great to get some positive feed back.

murkle, can you test the usb sound card anyway? You can run a second
squeezeslave instance and you don't need to listen to it for more than
a few seconds every now and then to see if it still is audible. Just
create a quick play list, turn on repeat all and let it play. I'd like
to know if it truely is the HDA driver.


--
ralphy

Ralphy

*4*-Classics, *2*-Booms, *11*-Squeezeslaves
'Squeezeslave' (http://code.google.com/p/squeezeslave/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezeslave&currency_code=USD&bn=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=83362
ralphy
2011-01-06 12:56:06 UTC
Permalink
I've uploaded a new set of windows test binaries to 'googlecode'
(http://code.google.com/p/squeezeslave/downloads/list).

This r227 build has a few changes that make syncing a bit more acurate
and better error handling for the socket send code. Thanks to mbennett
for the send fix.

The trunk sources have also been updated with these latest changes.


Code:
--------------------
svn checkout http://squeezeslave.googlecode.com/svn/squeezeslave/trunk/squeezeslave
--------------------


--
ralphy

Ralphy

*4*-Classics, *2*-Booms, *11*-Squeezeslaves
'Squeezeslave' (http://code.google.com/p/squeezeslave/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezeslave&currency_code=USD&bn=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=83362
murkle
2011-01-06 13:31:57 UTC
Permalink
ralphy;600252 Wrote:
> murkle, can you test the usb sound card anyway? You can run a second
> squeezeslave instance and you don't need to listen to it for more than
> a few seconds every now and then to see if it still is audible. Just
> create a quick play list, turn on repeat all and let it play. I'd like
> to know if it truely is the HDA driver.

Me too.. running the test now


--
murkle
------------------------------------------------------------------------
murkle's Profile: http://forums.slimdevices.com/member.php?userid=40710
View this thread: http://forums.slimdevices.com/showthread.php?t=83362
murkle
2011-01-06 13:54:53 UTC
Permalink
So it took ages for anything to happen, but when I switched to a BBC
iPlayer programme, I suddenly heard single distorted tone, and lots of
"pa_callback: SLIMAUDIO_BUFFER_STREAM_UNDERRUN" appeared in the log.

Have attached it if it helps at all.


+-------------------------------------------------------------------+
|Filename: ss-usbaudio.log.tar.gz |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=11122|
+-------------------------------------------------------------------+

--
murkle
------------------------------------------------------------------------
murkle's Profile: http://forums.slimdevices.com/member.php?userid=40710
View this thread: http://forums.slimdevices.com/showthread.php?t=83362
ralphy
2011-01-06 14:16:23 UTC
Permalink
Interesting, looks like the server stopped sending data.

Could you build a binary from the latest trunk r227 and run another
test?

This time just use local music files and see if it breaks? I've never
tested ss with the iplayer plugin and I'd like to confirm it's not
related.

Thanks.


--
ralphy

Ralphy

*4*-Classics, *2*-Booms, *11*-Squeezeslaves
'Squeezeslave' (http://code.google.com/p/squeezeslave/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezeslave&currency_code=USD&bn=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=83362
bobkoure
2011-01-08 03:05:23 UTC
Permalink
I'm having a bit of a problem with squeezeslave; I get drop outs of
several seconds or more. It can happen several times in ten minutes and
then not at all for a few hours.

I'm running squeezeslave on a WinXP box with 2M memory (usually about
1.3 in use) with an Athlon II processor. Output is via USB to a
Behringer UCA202 using the Beheringer ASIO driver.
Squeezebox server's running on a separate machine (Win2003 server on a
via C7 with 2M memory).
The two machines are connected by wire (gb with a single switch between
the two).
I'm not doing anything in particular when the dropouts happen (no file
transfers, etc).
I switched back to version 09.155 - and get the same dropouts.
I've tried various latency settings with no change (didn't expect one,
but the help did suggest I try this for dropouts).

So - what do I look for in the debug log? Do I need to debug 'all' or
are there a few areas that I'd ought to start out looking at? 9I was
thinking maybe slimaudio_buffer and slimaudio_buffer_v(?)) Are debug
writes handled asynchronously or could I be causing even more problems
with debug 'all'?

Any other suggestions?

Oh - and I don't have any issues with either of the V3 hardware players
in the house (both also hard wired).


Thanks!


--
bobkoure
------------------------------------------------------------------------
bobkoure's Profile: http://forums.slimdevices.com/member.php?userid=14646
View this thread: http://forums.slimdevices.com/showthread.php?t=83362
ralphy
2011-01-08 13:34:40 UTC
Permalink
I had a similiar issue on a winxp machine a while back also using a usb
sound card. It turned out to be the hard drive was starting to fail.

I had errors in the system event log regarding the inability to access
swap.

I replaced the drive and have never had the dropouts since.

If there's nothing suspicious in the event logs you can try the -H
option to raise the process priority.

I've only had two issues with dropouts on windows systems, the bad disk
and wasapi on win7 during development. The wasapi issue was fixed by
making changes to the portaudio library config.

If all else fails run squeezeslave with these additional parameters
-dslimproto -dslimaudio_output -dslimaudio_http -dslimaudio -Ydebug.log
and I'll take a look at it.


--
ralphy

Ralphy

*4*-Classics, *2*-Booms, *11*-Squeezeslaves
'Squeezeslave' (http://code.google.com/p/squeezeslave/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezeslave&currency_code=USD&bn=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=83362
bobkoure
2011-01-08 23:42:03 UTC
Permalink
I had tried the -H, just forgot to mention it.

I've been looking at the event logs for both machines, but haven't seen
anything that might be an issue, other than -The device,
\Device\Scsi\SI3114r1, did not respond within the timeout period.- on
the server.
But that only happened back on 12/25 - and disks all pass diagnostics

I'll try running with those debug params. Hopefully I can figure the
issue without you having to spend time with the log.
Thanks!


--
bobkoure
------------------------------------------------------------------------
bobkoure's Profile: http://forums.slimdevices.com/member.php?userid=14646
View this thread: http://forums.slimdevices.com/showthread.php?t=83362
tallpaul
2011-01-09 11:33:19 UTC
Permalink
Hi, this may be an old problem and apologies if so but I couldn't find
reports via the search engine or in this thread. I'm running
squeezeslave on Ubuntu 10.4 64 bit. I built it from source yesterday:

$ squeezeslave -V
squeezeslave 1.0-227 Jan 7 2011 20:20:03
compile flags: linux portaudio:1541 debug signals interactive daemon
buffer sizes: decoder 2097152 output 2822400 bytes

It works a treat generally however some (but by no means all) live
streams are shifted up an octave or two so the singers sound like Pinky
and Perky. To take an example KOZT. See
http://www.kozt.com/koztlive.html for a list of the ways you can listen
but http://koztlinux.kozt.com:9000 is as good as any all produce the
Pinky and Perky effect.

They work fine on my Boom and Classic, just not from squeezeslave.

Is this something I can fix?


--
tallpaul
------------------------------------------------------------------------
tallpaul's Profile: http://forums.slimdevices.com/member.php?userid=29046
View this thread: http://forums.slimdevices.com/showthread.php?t=83362
ralphy
2011-01-09 12:06:14 UTC
Permalink
Pitch change is happening because the stream is not 44.1KHz sampling
rate, which is the ONLY rate squeezeslave supports. You can resample
streams on the server, search the forums you'll find lots of examples.


--
ralphy

Ralphy

*4*-Classics, *2*-Booms, *11*-Squeezeslaves
'Squeezeslave' (http://code.google.com/p/squeezeslave/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezeslave&currency_code=USD&bn=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=83362
tallpaul
2011-01-09 12:31:28 UTC
Permalink
ralphy;601025 Wrote:
> Pitch change is happening because the stream is not 44.1KHz sampling
> rate, which is the ONLY rate squeezeslave supports. You can resample
> streams on the server, search the forums you'll find lots of examples.

OK, thanks Ralphy


--
tallpaul
------------------------------------------------------------------------
tallpaul's Profile: http://forums.slimdevices.com/member.php?userid=29046
View this thread: http://forums.slimdevices.com/showthread.php?t=83362
ralphy
2011-01-09 12:22:41 UTC
Permalink
bobkoure;600948 Wrote:
> I'll try running with those debug params. Hopefully I can figure the
> issue without you having to spend time with the log.
> Thanks!

Just re-read your previous post.

Debugging output uses 4k buffered writes. I've found that it doesn't
impact playback issues.

Can you pinpoint when the dropouts started or have they always occured
on this machine?

Does the standard direct sound version exhibit the same dropout
behaviour?

I don't do a lot of testing with the ASIO version just a few hours
playback using ASIO4ALL.
It could be that an update to the portaudio library requires additional
config tweaks for ASIO.

Does ASIO 0.9-133 drop out as well?


--
ralphy

Ralphy

*4*-Classics, *2*-Booms, *11*-Squeezeslaves
'Squeezeslave' (http://code.google.com/p/squeezeslave/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezeslave&currency_code=USD&bn=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=83362
bobkoure
2011-01-11 04:16:54 UTC
Permalink
ralphy;601030 Wrote:
> Just re-read your previous post.
> Can you pinpoint when the dropouts started or have they always occured
> on this machine?
>
> Does the standard direct sound version exhibit the same dropout
> behaviour?
>
> I don't do a lot of testing with the ASIO version just a few hours
> playback using ASIO4ALL.
> It could be that an update to the portaudio library requires additional
> config tweaks for ASIO.
>
> Does ASIO 0.9-133 drop out as well?

This machine and server have worked fine for a long time.
I'm not sure when this started happening.
A couple of months ago I (finally) upgraded my server-let from win2k to
win2k3, but I'm pretty sure issues started after that.
Sorry to be scattered on the time, Mom's got Alzheimers and Dad's in
and out of the hospital, so my focus gets pulled away from computer
audio pretty regularly.

I started using ASIO with ASIO4All but had shutdown issues. Switched to
a Beringer UCA202 USB sound card, which came with its own ASIO driver
and that issue stopped. That was long before this happened.

I'll test non-ASIO and see how that goes.

BTW, I keep getting basically 'thread is stopped' when I have a
dropout. Almost like the server just stopped talking (that possible?).
proto_send: cmd=STAT len=53
output_thread STOP: 73633792
output_thread STOPPED: 0


%%%%%%%%%%%%%%%%%%%%
output_thread ETIMEDOUT-PLAYING: 73633792
proto_stat: code=STMt decoder_buffer_size=2097152
decoder_buffer_fullness=2091400 rbytes_high=0 rbytes_low=277656506
output_buffer_size=2822400 output_buffer_fullness=83968
elapsed_seconds=22 elapsed_milliseconds=22000 server_timestamp=0
proto_send: cmd=STAT len=53
proto_recv: cmd=vfdc len=174
pa_callback: STREAM_END:output_STMu:1
output_thread STMu-PLAYING: 73633792
proto_stat: code=STMu decoder_buffer_size=2097152
decoder_buffer_fullness=2091400 rbytes_high=0 rbytes_low=277656506
output_buffer_size=2822400 output_buffer_fullness=0 elapsed_seconds=22
elapsed_milliseconds=22476 server_timestamp=0
proto_send: cmd=STAT len=53
output_thread STOP: 73633792
output_thread STOPPED: 0
output_thread PAUSED: 0
proto_recv: cmd=vfdc len=174
proto_recv: cmd=vfdc len=174
proto_recv: cmd=vfdc len=174
proto_recv: cmd=strm len=30
strm cmd t strm.replay_gain:1933323210
proto_stat: code=STMt decoder_buffer_size=2097152
decoder_buffer_fullness=2091400 rbytes_high=0 rbytes_low=277656506
output_buffer_size=2822400 output_buffer_fullness=0 elapsed_seconds=0
elapsed_milliseconds=0 server_timestamp=1933323210
proto_send: cmd=STAT len=53
DONE strm cmd t
%%%%%%%%%%%%%%%%%%%%


--
bobkoure
------------------------------------------------------------------------
bobkoure's Profile: http://forums.slimdevices.com/member.php?userid=14646
View this thread: http://forums.slimdevices.com/showthread.php?t=83362
bobkoure
2011-01-11 04:46:29 UTC
Permalink
ralphy;601030 Wrote:
> Just re-read your previous post.
> Does ASIO 0.9-133 drop out as well?

Same issue with 0.9-155. I don't have a copy of 09-133 anymore.
There's 0.9-95 on sourceforge. I'll test against that.

Thanks again!


--
bobkoure
------------------------------------------------------------------------
bobkoure's Profile: http://forums.slimdevices.com/member.php?userid=14646
View this thread: http://forums.slimdevices.com/showthread.php?t=83362
ralphy
2011-01-11 11:43:30 UTC
Permalink
bobkoure;601547 Wrote:
> Same issue with 0.9-155. I don't have a copy of 09-133 anymore.
> There's 0.9-95 on sourceforge. I'll test against that.
>
> Thanks again!
The 0.9-133 release is available 'here'
(http://sourceforge.net/projects/softsqueeze/files/squeezeslave/squeezeslave-0.9.133/).


--
ralphy

Ralphy

*4*-Classics, *2*-Booms, *11*-Squeezeslaves
'Squeezeslave' (http://code.google.com/p/squeezeslave/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezeslave&currency_code=USD&bn=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=83362
ralphy
2011-01-11 12:07:37 UTC
Permalink
bobkoure;601546 Wrote:
> Yup, same issue with non-ASIO
Good that rules out an ASIO specific issue.

bobkoure;601546 Wrote:
> BTW, I keep getting basically 'thread is stopped' when I have a dropout.
> Almost like the server just stopped talking (that possible?).
>
> output_thread ETIMEDOUT-PLAYING: 73633792
> proto_stat: code=STMt decoder_buffer_size=2097152
> decoder_buffer_fullness=2091400 rbytes_high=0 rbytes_low=277656506
> output_buffer_size=2822400 output_buffer_fullness=83968
> elapsed_seconds=22 elapsed_milliseconds=22000 server_timestamp=0
> proto_send: cmd=STAT len=53
> proto_recv: cmd=vfdc len=174
> pa_callback: STREAM_END:output_STMu:1
> output_thread STMu-PLAYING: 73633792
> proto_stat: code=STMu decoder_buffer_size=2097152
> decoder_buffer_fullness=2091400 rbytes_high=0 rbytes_low=277656506
> output_buffer_size=2822400 output_buffer_fullness=0 elapsed_seconds=22
> elapsed_milliseconds=22476 server_timestamp=0
> proto_send: cmd=STAT len=53
> output_thread STOP: 73633792
> output_thread STOPPED: 0
> output_thread PAUSED: 0
> proto_recv: cmd=strm len=30
> strm cmd t strm.replay_gain:1933323210
> proto_stat: code=STMt decoder_buffer_size=2097152
> decoder_buffer_fullness=2091400 rbytes_high=0 rbytes_low=277656506
> output_buffer_size=2822400 output_buffer_fullness=0 elapsed_seconds=0
> elapsed_milliseconds=0 server_timestamp=1933323210
> proto_send: cmd=STAT len=53
> DONE strm cmd t
>

This looks normal.

The 'STREAM_END:output_STMu:1' indicates that the end of the track has
been reached and the 'output_thread STOPPED' is the acknowledgement
that we have completed playing out the buffer.

That being said was that track only 22.5 seconds long?

It's really looking like some other driver or process is causing the
dropouts. Did you upgrade/change virus software?

Please post additional thoughts/info as they happen and hopefully we
can track down the cause.


--
ralphy

Ralphy

*4*-Classics, *2*-Booms, *11*-Squeezeslaves
'Squeezeslave' (http://code.google.com/p/squeezeslave/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezeslave&currency_code=USD&bn=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=83362
bobkoure
2011-01-11 13:20:47 UTC
Permalink
I've been running es|et nod32 all along on the client machine, and no
antivirus on the server.
I've got a crazy day coming up, but after that, I'll uninstall nod32
and see if that does anything.
I'm also thinking about uninstalling my NIC drivers, then re-installing
them.
Thanks for the pointer to 0.9-133. I'll test with that, too.

Oh, and 22sec sounds quite wrong. I was listening to the Modern Jazz
Quartet to test and their tracks tend to be fairly long.

Thanks


--
bobkoure
------------------------------------------------------------------------
bobkoure's Profile: http://forums.slimdevices.com/member.php?userid=14646
View this thread: http://forums.slimdevices.com/showthread.php?t=83362
creid
2011-01-12 07:34:05 UTC
Permalink
I am looking to buy one of the inexpensive MIPS-based netbooks, like the
Skytone Alpha 400, to use as a player with Squeeze Server. I see there
are a number of builds available for different OS/processor
combinations. Would a MIPS + Linux 2.4 build be possible?


--
creid
------------------------------------------------------------------------
creid's Profile: http://forums.slimdevices.com/member.php?userid=42961
View this thread: http://forums.slimdevices.com/showthread.php?t=83362
ralphy
2011-01-12 21:54:49 UTC
Permalink
Yes.

If the netbook is running a complete linux distribution you should be
able to compile squeezeslave on the netbook. That is the recommended
process for linux systems. It'll most likely require tweaking one of
the current makefiles, which I can do for you. I'll need the output
from 'uname -a', without the quotes and linux distribution installed
for starters. You may need to install the compiler and other programs
to do the build.


--
ralphy

Ralphy

*4*-Classics, *2*-Booms, *11*-Squeezeslaves
'Squeezeslave' (http://code.google.com/p/squeezeslave/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezeslave&currency_code=USD&bn=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=83362
murkle
2011-02-04 15:50:04 UTC
Permalink
ralphy;600283 Wrote:
> Interesting, looks like the server stopped sending data.
>
> Could you build a binary from the latest trunk r227 and run another
> test?
>
> This time just use local music files and see if it breaks? I've never
> tested ss with the iplayer plugin and I'd like to confirm it's not
> related.
>
> Edit: Please include the server.log file as well.Hi I've not forgotten about this, just been busy. Will compile trunk and
test without iPlayer at the beginning of next week.

I'm also currently purchasing a soundblaster usb soundcard as I don't
know where to start pinpointing the HDA bug you mentioned..


--
murkle
------------------------------------------------------------------------
murkle's Profile: http://forums.slimdevices.com/member.php?userid=40710
View this thread: http://forums.slimdevices.com/showthread.php?t=83362
ralphy
2011-02-09 17:39:50 UTC
Permalink
murkle;608270 Wrote:
> Hi I've not forgotten about this, just been busy. Will compile trunk and
> test without iPlayer at the beginning of next week.
>
> I'm also currently purchasing a soundblaster usb soundcard as I don't
> know where to start pinpointing the HDA bug you mentioned..

Yes, please report back on your iplayer findings.

I've been testing the latest portaudio r1596 with my HDA sound card and
it looks promising. The hda sound card has been working great for the
last 4 hours. Rory was having issues with squeezeslave crashing on his
ARM project board and the PA developers committed a fix which appears
to work for the hda alsa driver as well.

If testing continues to go smoothly, I'll commit the changes to
googlecode for you to test in the next day or two.


--
ralphy

Ralphy

*4*-Classics, *2*-Booms, *12*-Squeezeslaves
'Squeezeslave' (http://code.google.com/p/squeezeslave/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezeslave&currency_code=USD&bn=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=83362
murkle
2011-02-15 23:27:00 UTC
Permalink
ralphy;609756 Wrote:
> Yes, please report back on your iplayer findings.

I know this sounds crazy, but I just can't reproduce the fault anymore!
As far as I can tell the only thing that has changed is I've upgraded
SBS to 7.5.3

So, switching from flacs, to mp3s, to AAC streams from iPlayer all
works perfectly. I've also noticed the iPlayer streams are much quicker
to start too now.. really strange...


--
murkle
------------------------------------------------------------------------
murkle's Profile: http://forums.slimdevices.com/member.php?userid=40710
View this thread: http://forums.slimdevices.com/showthread.php?t=83362
murkle
2011-02-15 23:43:31 UTC
Permalink
murkle;611417 Wrote:
> I know this sounds crazy, but I just can't reproduce the fault anymore!
> As far as I can tell the only thing that has changed is I've upgraded
> SBS to 7.5.3

OK I am going crazy.. one thing that has changed is when running
squeezeslave from the commandline I get this error message now - I've
never seen portaudio mentioned before..


Code:
--------------------
***@server:/usr/sbin# squeezeslave -o 7
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
PortAudio error7: No output devices found.
--------------------


However when running it from my rc.local script the Portaudio error
doesn't appear in the log file... I'm totally out of my depth here,
maybe it makes sense to you though?


--
murkle
------------------------------------------------------------------------
murkle's Profile: http://forums.slimdevices.com/member.php?userid=40710
View this thread: http://forums.slimdevices.com/showthread.php?t=83362
citoyen
2011-02-17 09:50:13 UTC
Permalink
Is someone working on compiling/packaging Squeezeslave for Synology
DS211j?


--
citoyen
------------------------------------------------------------------------
citoyen's Profile: http://forums.slimdevices.com/member.php?userid=19776
View this thread: http://forums.slimdevices.com/showthread.php?t=83362
ralphy
2011-02-17 11:51:43 UTC
Permalink
murkle;611423 Wrote:
> >
Code:
--------------------
> > ***@server:/usr/sbin# squeezeslave -o 7
> bt_audio_service_open: connect() failed: Connection refused (111)
> bt_audio_service_open: connect() failed: Connection refused (111)
> bt_audio_service_open: connect() failed: Connection refused (111)
> bt_audio_service_open: connect() failed: Connection refused (111)
> PortAudio error7: No output devices found.
--------------------
> >
>
> However when running it from my rc.local script the Portaudio error
> doesn't appear in the log file... I'm totally out of my depth here,
> maybe it makes sense to you though?

The PortAudio error is from squeezeslave saying that no soundcard could
be found. I suspect it's due to the bt_audio_service_open failed
messages. I don't know what is generating these errors but I do know
they are NOT from squeezeslave.


--
ralphy

Ralphy

*4*-Classics, *2*-Booms, *12*-Squeezeslaves
'Squeezeslave' (http://code.google.com/p/squeezeslave/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezeslave&currency_code=USD&bn=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=83362
yvrRory
2011-01-21 02:49:49 UTC
Permalink
Hi Everyone,

I'm having some runtime problems with squeezeslave on my i686, Ubuntu
platform. One of my playback devices with mixing is number 8. So if I
start SS with

./squeezeslave -o 8 <server URL>

it dies immediately with the errors pasted in below. In essence it
(alsa) seems to dislike the 44100 requested rate. My question is, is
this a known problem? If not, I'm prepared to add a couple of printf()s
to see if I can debug it, but I'd appreciate an opinion as to whether
this is worth the trouble.

Thanks,

Rory

Expression 'SetApproximateSampleRate( pcm, hwParams, sr )' failed in
'src/hostapi/alsa/pa_linux_alsa.c', line: 1312
Expression 'PaAlsaStreamComponent_InitialConfigure( &self->playback,
outParams, self->primeBuffers, hwParamsPlayback, &realSr )' failed in
'src/hostapi/alsa/pa_linux_alsa.c', line: 1982
Expression 'PaAlsaStream_Configure( stream, inputParameters,
outputParameters, sampleRate, framesPerBuffer, &inputLatency,
&outputLatency, &hostBufferSizeMode )' failed in
'src/hostapi/alsa/pa_linux_alsa.c', line: 2103
output_thread: PortAudio error1: Invalid sample rate


--
yvrRory
------------------------------------------------------------------------
yvrRory's Profile: http://forums.slimdevices.com/member.php?userid=43314
View this thread: http://forums.slimdevices.com/showthread.php?t=83362
WAD62
2011-01-21 11:14:04 UTC
Permalink
Numpty question here...

I'm trying to install squeezeslave on XP, I've downloaded
squeezeslave-1.0-210-win.zip, extracted the files, and executed
squeezeslave.exe, which briefly throws up a DOS box, and that's about
it.

Any pre requisites for installation?

Cheers...


--
WAD62

Cheers Will
------------------------------------------------------------------------
WAD62's Profile: http://forums.slimdevices.com/member.php?userid=38506
View this thread: http://forums.slimdevices.com/showthread.php?t=83362
ralphy
2011-01-21 12:05:37 UTC
Permalink
WAD62;604106 Wrote:
> Numpty question here...
>
> I'm trying to install squeezeslave on XP, I've downloaded
> squeezeslave-1.0-210-win.zip, extracted the files, and executed
> squeezeslave.exe, which briefly throws up a DOS box, and that's about
> it.
>
> Any pre requisites for installation?
>
> Cheers...

You need to open a cmd windows first as you must specify the hostname
of your sbs server if it's not running on the same machine.

See squeezeslave -h for all available command line options or the wiki.


--
ralphy

Ralphy

*4*-Classics, *2*-Booms, *11*-Squeezeslaves
'Squeezeslave' (http://code.google.com/p/squeezeslave/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezeslave&currency_code=USD&bn=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=83362
WAD62
2011-01-21 14:27:36 UTC
Permalink
ralphy;604119 Wrote:
> You need to open a command window first as you must specify the hostname
> of your sbs server if it's not running on the same machine.
>
> See squeezeslave -h for all available command line options or the wiki.

Cheers mate I'll check it out...


--
WAD62

Cheers Will
------------------------------------------------------------------------
WAD62's Profile: http://forums.slimdevices.com/member.php?userid=38506
View this thread: http://forums.slimdevices.com/showthread.php?t=83362
ralphy
2011-01-21 12:03:13 UTC
Permalink
yvrRory;604057 Wrote:
> output_thread: PortAudio error1: Invalid sample rate

The device you're trying to open does not support 44.1Khz sampling
rate.

Is it listed in ./squeezeslave -L

Also, I assume by <server url> you mean IP address or hostname as using
a url will cause squeezeslave to fail.


--
ralphy

Ralphy

*4*-Classics, *2*-Booms, *11*-Squeezeslaves
'Squeezeslave' (http://code.google.com/p/squeezeslave/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezeslave&currency_code=USD&bn=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=83362
yvrRory
2011-01-21 18:40:19 UTC
Permalink
ralphy;604118 Wrote:
> The device you're trying to open does not support 44.1Khz sampling
> rate.
>
> Is it listed in ./squeezeslave -L
>
> Also, I assume by <server url> you mean IP address or hostname as using
> a url will cause squeezeslave to fail.

Oops, yes.

Well thanks for the response, although I know my _machine_ can play
44100 Hz because I've done it. Squeezeslave also runs on the OSS device
just fine, it's just the ALSA one it fails on. And in asound.conf, the
device is defined as supporting "44100", but I'm a newbie with alsa and
audio in general.

The overall goal here is to port ss to my embedded arm platform and be
able to mix audio through dmix while ss is playing.

Anyway, thanks for your quick reply.

regards,

Rory


--
yvrRory
------------------------------------------------------------------------
yvrRory's Profile: http://forums.slimdevices.com/member.php?userid=43314
View this thread: http://forums.slimdevices.com/showthread.php?t=83362
ralphy
2011-01-22 12:11:36 UTC
Permalink
Squeezeslave has already been ported to the arm platform.

As of r231 there are 3 makefiles available for arm.

For debian armel with no math processor.
contrib/makefile.linux26-armel-nofpu-alsa-display

This is the most up to date makefile which supports lirc, lcd usb
displays and a console display.

These two are for the Synology DS109, DS409slim, DS209, DS409, DS509,
RS409, DS110j, DS210j, DS410j using a cross compile environment.

contrib/makefile.linux26-armel-oss
contrib/makefile.linux26-armel-alsa

Good luck with your port!


--
ralphy

Ralphy

*4*-Classics, *2*-Booms, *11*-Squeezeslaves
'Squeezeslave' (http://code.google.com/p/squeezeslave/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezeslave&currency_code=USD&bn=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=83362
sodface
2011-01-23 16:20:19 UTC
Permalink
Have there been any reports of anyone running squeezeslave on the Chumby
(or in my case the Infocast 3.5)?

I tried both the precompiled arm binaries listed in this thread and
they both fail to find any sound devices.

I tried compiling from the source listed in this thread also but
without success. The alsa build dies early with a call to patch. The
oss build goes much further but ultimately dies.

I know none of this info is detailed enough to be any help but my
question really is - is it possible to get squeezeslave working on the
Chumby or is there something fundamental that I'm missing?

I've been mucking around with network audio players since the Netgear
MP101. My kingdom for a low cost "dumb" client that just boots and
connects to a server for direction. The infocast chumby is the
cheapest thing I've found that provides wifi and integrated audio. I
know there's other kludges out there using wireless routers with usb
audio devices but the infocast is small and could be gutted and hidden
fairly easily into a nice set of powered speakers. I don't care about
an interface at the speaker end, a laptop or smartphone to control
playback would be preferred.

I got my wife a SB radio for Christmas. After years of upnp servers
and clients the squeezebox approach was a nice change. Unfortunately
the squeezebox line up doesn't really include an *affordable* dumb
client with no local interface. The duet receiver (without remote) is
the closest but it's been out of stock on the website for a while and
now is not even listed so it appears that logitech doesn't plan on
making it available. That leaves a gaping hole in the squeezebox line
in my opinion.

Sorry for the long post. Am I the only one that just wants a set of
speakers with a damn IP address???


--
sodface
------------------------------------------------------------------------
sodface's Profile: http://forums.slimdevices.com/member.php?userid=19057
View this thread: http://forums.slimdevices.com/showthread.php?t=83362
ralphy
2011-01-24 11:51:26 UTC
Permalink
Sounds like the unit doesn't have OSS support.
I do have one other 'ALSA armel binary'
(http://squeezeslave.googlecode.com/files/squeezeslave-1.0-231-alsa-armel-lnx26.tar.gz)
you can try.
It's built for a debian armel alsa linux 2.6 system.


--
ralphy

Ralphy

*4*-Classics, *2*-Booms, *11*-Squeezeslaves
'Squeezeslave' (http://code.google.com/p/squeezeslave/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezeslave&currency_code=USD&bn=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=83362
sodface
2011-01-24 22:38:08 UTC
Permalink
Thanks Ralphy, that binary works! Donation sent.

I do get the following errors (same one twice) on start:


Code:
--------------------


Expression 'GetExactSampleRate( hwParams, &defaultSr )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 386
Expression 'GetExactSampleRate( hwParams, &defaultSr )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 386

--------------------


--
sodface
------------------------------------------------------------------------
sodface's Profile: http://forums.slimdevices.com/member.php?userid=19057
View this thread: http://forums.slimdevices.com/showthread.php?t=83362
ralphy
2011-01-25 12:04:23 UTC
Permalink
If it sounds okay, that message can be ignored. It's issued from the
audio library when the sample rate available is more than 1% different
from what was requested.

I've replaced the uncompressed tar.gz file with an actual compressed
one. Thanks for the heads-up...and the donation. :)


--
ralphy

Ralphy

*4*-Classics, *2*-Booms, *12*-Squeezeslaves
'Squeezeslave' (http://code.google.com/p/squeezeslave/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezeslave&currency_code=USD&bn=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=83362
altmana
2011-01-25 23:29:17 UTC
Permalink
ralphy;604900 Wrote:
> Sounds like the unit doesn't have OSS support.
> I do have one other you can try.
> It's built for a debian armel alsa linux 2.6 system.

Will this work on the infocast 8"?


--
altmana
------------------------------------------------------------------------
altmana's Profile: http://forums.slimdevices.com/member.php?userid=43467
View this thread: http://forums.slimdevices.com/showthread.php?t=83362
paul.j.ghosh
2011-02-10 22:33:42 UTC
Permalink
Most radio stations I am attempting to stream and play are sounding a
lot faster and high pitched. The same stations play fine on a
squeezebox boom. It was the same with the 0.9 versions. Has anyone
experienced this?


--
paul.j.ghosh
------------------------------------------------------------------------
paul.j.ghosh's Profile: http://forums.slimdevices.com/member.php?userid=43933
View this thread: http://forums.slimdevices.com/showthread.php?t=83362
tcutting
2011-02-10 22:38:35 UTC
Permalink
paul.j.ghosh;610168 Wrote:
> Most radio stations I am attempting to stream and play are sounding a
> lot faster and high pitched. The same stations play fine on a
> squeezebox boom. It was the same with the 0.9 versions. Has anyone
> experienced this?

Yes. Many radio streams are not at 44.1 kHz sample rate. The hardware
players can adjust to this, but squeezeslave cannot.
If you are running squeezeboxserver on a reasonable computer, it's
possible to setup transcoding to ensure all streams are converted to
44.1 before being sent to squeezeslave.


--
tcutting
------------------------------------------------------------------------
tcutting's Profile: http://forums.slimdevices.com/member.php?userid=17402
View this thread: http://forums.slimdevices.com/showthread.php?t=83362
paul.j.ghosh
2011-02-10 22:53:58 UTC
Permalink
The squeezebox server is running on an older sparc based readynas. Can
it handle transcoding?


--
paul.j.ghosh
------------------------------------------------------------------------
paul.j.ghosh's Profile: http://forums.slimdevices.com/member.php?userid=43933
View this thread: http://forums.slimdevices.com/showthread.php?t=83362
Gilbert
2011-02-12 10:01:50 UTC
Permalink
How do i define the the squeezeslave name on boot ?

And how can i get it to show up in mysqueezebox.com under player ?


Running Ubuntu server with squeezeslave


squeezeslave 1.0-227 Jan 15 2011 13:54:05
compile flags: linux portaudio:1541 debug signals interactive daemon
buffer sizes: decoder 2097152 output 2822400 bytes


--
Gilbert
------------------------------------------------------------------------
Gilbert's Profile: http://forums.slimdevices.com/member.php?userid=41883
View this thread: http://forums.slimdevices.com/showthread.php?t=83362
ralphy
2011-02-12 10:49:35 UTC
Permalink
Gilbert;610540 Wrote:
> How do i define the the squeezeslave name on boot ?
You can't. It's a squeezebox server side function.

See squeezeslave -h or the wiki for a complete list of options.

Gilbert;610540 Wrote:
> And how can i get it to show up in mysqueezebox.com under player ?
Mysqueezebox only supports logitech hardware players.


--
ralphy

Ralphy

*4*-Classics, *2*-Booms, *12*-Squeezeslaves
'Squeezeslave' (http://code.google.com/p/squeezeslave/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezeslave&currency_code=USD&bn=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=83362
msdv
2011-02-14 10:12:00 UTC
Permalink
Dear all,

if I try to play the german football radio station
90elf (just a search in the radion station field will show all of their
stations - I usually use the last one).

I just hear some clicks (but not the radio station) and squeezeslave
starts to get unresponsive afterwards.

Is this a bug in squeezeslave? Do I need to transcode anything?

Thanks,
Markus.


--
msdv
------------------------------------------------------------------------
msdv's Profile: http://forums.slimdevices.com/member.php?userid=44045
View this thread: http://forums.slimdevices.com/showthread.php?t=83362
ralphy
2011-02-15 12:04:05 UTC
Permalink
msdv;610977 Wrote:
> Dear all,
>
> if I try to play the german football radio station
> 90elf (just a search in the radion station field will show all of their
> stations - I usually use the last one).
>
> I just hear some clicks (but not the radio station) and squeezeslave
> starts to get unresponsive afterwards.
>
> Is this a bug in squeezeslave? Do I need to transcode anything?
>
> Thanks,
> Markus.

Unfortunately, the stream is unavailable in my area, so I can't be
sure, however, I've seen this before with internet streams that the
server thinks are mp3 but the are actually aac encoded. The clicks are
from using the mp3 decoder on an aac stream. SS becoming unresponsive
is almost always due to the server running at 100% cpu and is not
normally a problem with squeezeslave.


--
ralphy

Ralphy

*4*-Classics, *2*-Booms, *12*-Squeezeslaves
'Squeezeslave' (http://code.google.com/p/squeezeslave/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezeslave&currency_code=USD&bn=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=83362
msdv
2011-02-15 12:30:42 UTC
Permalink
ralphy;611237 Wrote:
> I've seen this before with internet streams that the server thinks are
> mp3 but the are actually aac encoded. The clicks are from using the
> mp3 decoder on an aac stream.

I have done a bit more research - and I have switched on the transcoder
for the squeezeslave player.
A very brief test this morning showed that the stream is playing now
and I saw that the squeezeserver spawned a lame/faad process.

I will watch this further - but it seems that my immediate problem is
solved.
Thank you!.


--
msdv
------------------------------------------------------------------------
msdv's Profile: http://forums.slimdevices.com/member.php?userid=44045
View this thread: http://forums.slimdevices.com/showthread.php?t=83362
yvrRory
2011-01-25 23:38:41 UTC
Permalink
ralphy;604358 Wrote:
> Squeezeslave has already been ported to the arm platform.
>
> As of r231 there are 3 makefiles available for arm.
>
> For debian armel with no math processor.
> contrib/makefile.linux26-armel-nofpu-alsa-display
>
> This is the most up to date makefile which supports lirc, lcd usb
> displays and a console display.
>
> These two are for the Synology DS109, DS409slim, DS209, DS409, DS509,
> RS409, DS110j, DS210j, DS410j using a cross compile environment.
>
> contrib/makefile.linux26-armel-oss
> contrib/makefile.linux26-armel-alsa
>
> Good luck with your port!

Thank you for the pointers to those makefiles. Just a question about
PortAudio: do you know if there is a minimum version of ALSA that
PortAudio requires? The accompanying documentation for PA is a little
old and only mentions OSS support. The arm platform I'm using comes
with alsa 1.0.13.

I've found, for some reason, I have to add a few things to the makefile
to get it going, but it links and runs. Only problem is it only finds an
OSS device on the arm.

Spent the day reading through the slimaudio/*.c code. Very educational.


regards,

Rory


--
yvrRory
------------------------------------------------------------------------
yvrRory's Profile: http://forums.slimdevices.com/member.php?userid=43314
View this thread: http://forums.slimdevices.com/showthread.php?t=83362
ralphy
2011-01-28 12:16:19 UTC
Permalink
I've used portaudio with ALSA versions as old as 1.0.5. Portaudio
should work with all 1.0.x releases.

There was an api change for ALSA between 0.9 and 1.0.

As discussed on the portaudio mailing list the issue isn't the 1.0.13
version but rather portaudio configure couldn't find the necessary
files to include ALSA support only OSS.


--
ralphy

Ralphy

*4*-Classics, *2*-Booms, *12*-Squeezeslaves
'Squeezeslave' (http://code.google.com/p/squeezeslave/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezeslave&currency_code=USD&bn=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=83362
yvrRory
2011-01-28 19:23:28 UTC
Permalink
ralphy;606116 Wrote:
> I've used portaudio with ALSA versions as old as 1.0.5. Portaudio
> should work with all 1.0.x releases.
>
> There was an api change for ALSA between 0.9 and 1.0.
>
> As discussed on the portaudio mailing list the issue isn't the 1.0.13
> version but rather portaudio configure couldn't find the necessary
> files to include ALSA support only OSS.

Just closing this off here too. Everything is working now on my system
and, for the record, here it is:

- ARM9 PXA310 with custom kernel
- 2.6.28
- alsa 1.0.13
- Squeezeslave 1.0-210/PA 1541

Ralphy, your comment "good luck with your port" turned out to be
insightful, indeed. Squeezeslave seemed to be working, but closer
inspection of the portaudio config.log output showed that only OSS
support was being built into the image. Thanks a lot for your feedback,
you have no idea how much it helped!

Rory


--
yvrRory
------------------------------------------------------------------------
yvrRory's Profile: http://forums.slimdevices.com/member.php?userid=43314
View this thread: http://forums.slimdevices.com/showthread.php?t=83362
Loading...