Re: [SlimDevices: SqueezeCenter] LMS 7.9.4 and 8.0.x no longer play PCM 352 files (DXD)

2020-11-23 Thread mrw


ralphy wrote: 
> 1.1x seconds is just squeaking by the minimum required.  Perhaps it's
> time to increase DECODE_AUDIO_BUFFER_SIZE to allow for a few more
> seconds of 384k?
Possibly. Some observations suggested that the flac decoder would leave
anything up to about 60k bytes unused when stalled. Say 100k. So that
might have been my guess at the minimum headroom required. The buffer
size at present is about 3.5M, 100k represents 3%, so if those
observations are representative it squeaks by with a couple of squeaks
in hand. But I can't feel confident in it.

But, then, do you want to "worry" about increasing buffer size on some
platforms, but perhaps not the Radio or Touch ? Alternatively one might
reduce the threshold from 1 second to 0.9 second. I do wonder how much
is really needed.

Perhaps just let it be and see if anything emerges. I don't play these
high rate streams, so I shall probably never find out.



mrw's Profile: http://forums.slimdevices.com/member.php?userid=38299
View this thread: http://forums.slimdevices.com/showthread.php?t=113234

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS 7.9.4 and 8.0.x no longer play PCM 352 files (DXD)

2020-11-23 Thread ralphy


mrw wrote: 
> Well, I did not determine anything regarding minimum output buffer
> headroom that I could feel confident in. So I will propose adoption of
> the same approach as Triode has already taken, which is to limit the
> threshold to 1 second. This is working on the very few "crazy high
> sample rate" files that I have. PR on its way for your consideration.
> 
> The existing audio output buffer size will only accommodate about 1.1x
> seconds at 384k. I saw references to 768k somewhere...

The default maximum sample rate in portaudio for squeezeplay is 384k so
my builds won't playback anything higher.

The only references to 768k I can think of are in the patch I apply to
portaudio for squeezelite mac and windows only.  It allows the playback
of DSD512 via dop on those two platforms which I've had several requests
recently.

1.1x seconds is just squeaking by the minimum required.  Perhaps it's
time to increase DECODE_AUDIO_BUFFER_SIZE to allow for a few more
seconds of 384k?

Let's see what the results are with the new 7.8.0r1291 builds which
include your PR#9.  Thank you for submitting the fix.



Ralphy

*1*-Touch, *5*-Classics, *3*-Booms, *1*-UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.

ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=113234

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS 7.9.4 and 8.0.x no longer play PCM 352 files (DXD)

2020-11-22 Thread mrw


ralphy wrote: 
> Thanks.  Let's see what your investigations turn up before making any
> changes.
> 
> I only have test files for those crazy high sample rates, and the last
> time I tried an alsa squeezeplay at 384 it played okay.

Well, I did not determine anything regarding minimum output buffer
headroom that I could feel confident in. So I will propose adoption of
the same approach as Triode has already taken, which is to limit the
threshold to 1 second. This is working on the very few "crazy high
sample rate" files that I have. PR on its way for your consideration.

The existing audio output buffer size will only accommodate about 1.1x
seconds at 384k. I saw references to 768k somewhere...



mrw's Profile: http://forums.slimdevices.com/member.php?userid=38299
View this thread: http://forums.slimdevices.com/showthread.php?t=113234

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS 7.9.4 and 8.0.x no longer play PCM 352 files (DXD)

2020-11-21 Thread ralphy


mrw wrote: 
> Well, in this case the underlying constraint is that 'high sample-rate'
> flac requires an output threshold of 2 seconds (20 tenths). So that
> kills 353/384 kHz streams, but didn't worry 176/192 kHz streams. 
> https://github.com/Logitech/slimserver/blob/public/8.0/Slim/Player/Squeezebox.pm#L617
> 
> It seems to have been required for older Squeezeboxes and Transporter:
> https://github.com/Logitech/slimserver/commit/fbd203462fbe086dc3c905972a3dd756a8f60496
> 
> I wonder if it is still required for a vanilla Touch ?
> 
> 
> 
> I don't know precisely what headroom is required. Each of the following
> two changes worked for portaudio:
> 
> a) Simply doubling the size of the buffer (on the premise that if it
> worked for 176/192, double would work for 353/384).
> b) Implementing Triode's 1 second "arbitrary" override on higher bit
> rate rate streams.
> 
> I haven't checked playback of 353/384 streams on an Alsa Squeezeplay (I
> don't have one available right now), my guess is it would work as is,
> because (b).
> 
> I don't know what motivated Triode's change. Experience with EDO ? Why
> didn't LMS reduce the output threshold for SqueezePlay ?
> 
> I can let you have a PR to adopt the Triode approach in portaudio. In
> the meantime, though, I'm investigating to see if a more "scientific"
> approach can be found. I.E. what minimum output buffer headroom is
> needed to guarantee that playback won't stall in this circumstance.

Thanks.  Let's see what your investigations turn up before making any
changes.

I only have test files for those crazy high sample rates, and the last
time I tried an alsa squeezeplay at 384 it played okay.



Ralphy

*1*-Touch, *5*-Classics, *3*-Booms, *1*-UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.

ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=113234

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS 7.9.4 and 8.0.x no longer play PCM 352 files (DXD)

2020-11-20 Thread mrw


mrw wrote: 
> At present, the buffer is set at 10 seconds of decoded audio, at 44,100
> Hz. That would be reduced to 1.125 seconds at 352,800 Hz. I don't know
> what the underlying constraint is, but it seems 1.125 seconds just isn't
> enough. I don't know what the optimum choice would be, perhaps there may
> be something else in SqueezePlay that is waiting on a minimum amount of
> available audio.

Well, in this case the underlying constraint is that 'high sample-rate'
flac requires an output threshold of 2 seconds (20 tenths). So that
kills 353/384 kHz streams, but didn't worry 176/192 kHz streams. 
https://github.com/Logitech/slimserver/blob/public/8.0/Slim/Player/Squeezebox.pm#L617

It seems to have been required for older Squeezeboxes and Transporter:
https://github.com/Logitech/slimserver/commit/fbd203462fbe086dc3c905972a3dd756a8f60496

I wonder if it is still required for a vanilla Touch ?

ralphy wrote: 
> What value worked for DECODE_AUDIO_BUFFER_SIZE on MacOS?
> 
> For ALSA, I suspect what 'Triode did to handle 192Khz in EDO'
> (https://github.com/ralph-irving/triode-squeezeplay/commit/52371b1b67a50ba81050c91091834d48846aa7a3)
> just needs to be updated to support 384Khz rates as my squeezeplay
> builds already include his change.
> 
> The squeezeplay portaudio driver uses the same value of
> DECODE_AUDIO_BUFFER_SIZE but doesn't include a similiar handler for high
> samplerates like the ALSA driver.

I don't know precisely what headroom is required. Each of the following
two changes worked for portaudio:

a) Simply doubling the size of the buffer (on the premise that if it
worked for 176/192, double would work for 353/384).
b) Implementing Triode's 1 second "arbitrary" override on higher bit
rate rate streams.

I haven't checked playback of 353/384 streams on an Alsa Squeezeplay (I
don't have one available right now), my guess is it would work as is,
because (b).

I don't know what motivated Triode's change. Experience with EDO ? Why
didn't LMS reduce the output threshold for SqueezePlay ?

I can let you have a PR to adopt the Triode approach in portaudio. In
the meantime, though, I'm investigating to see if a more "scientific"
approach can be found. I.E. what minimum output buffer headroom is
needed to guarantee that playback won't stall in this circumstance.



mrw's Profile: http://forums.slimdevices.com/member.php?userid=38299
View this thread: http://forums.slimdevices.com/showthread.php?t=113234

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS 7.9.4 and 8.0.x no longer play PCM 352 files (DXD)

2020-11-20 Thread ralphy


mrw wrote: 
> Interestingly (or not) I find that the issue described in this thread
> appears to be applicable to SqueezePlay as well. The 352,800 Hz sample
> rate stream does for it. It'll play "from scratch", but if the stream is
> paused it will not resume. Nor will it seek, or resume after a failed
> seek attempt. It will cope with 176,400 Hz, and 192,000 Hz.
> 
> Informed by your finding, I rebuilt SqueezePlay after increasing the
> size of the decoded audio buffer (-DECODE_AUDIO_BUFFER_SIZE- in
> -src/audio/decode/decode_priv.h-). Normal service appears to have been
> resumed.
> 
> At present, the buffer is set at 10 seconds of decoded audio, at 44,100
> Hz. That would be reduced to 1.125 seconds at 352,800 Hz. I don't know
> what the underlying constraint is, but it seems 1.125 seconds just isn't
> enough. I don't know what the optimum choice would be, perhaps there may
> be something else in SqueezePlay that is waiting on a minimum amount of
> available audio.
> 
> There's no command line switch or environment variable available that
> can increase the buffer size. Perhaps something for @ralphy to consider
> in the fullness of time.
> 
> This experimentation has been done on macOS, which uses PortAudio, not
> Alsa, and without any resampling. No attached DAC.

What value worked for DECODE_AUDIO_BUFFER_SIZE on MacOS?

For ALSA, I suspect what 'Triode did to handle 192Khz in EDO'
(https://github.com/ralph-irving/triode-squeezeplay/commit/52371b1b67a50ba81050c91091834d48846aa7a3)
just needs to be updated to support 384Khz rates.

The squeezeplay portaudio driver uses the smae value of
DECODE_AUDIO_BUFFER_SIZE but doesn't include a similiar handler for high
samplerates like the ALSA driver.



Ralphy

*1*-Touch, *5*-Classics, *3*-Booms, *1*-UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.

ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=113234

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS 7.9.4 and 8.0.x no longer play PCM 352 files (DXD)

2020-11-18 Thread bpa


mrw wrote: 
> Interestingly (or not) I find that the issue described in this thread
> appears to be applicable to SqueezePlay as well.
The issues is with ALSA. So if Squeezeplay is using ALSA then the
problem will happen.

The problem could happens with any audio subsystem if the source data
stream cannot be handled by the audio subsystem.   

The audio subsystem jams and so output buffer never empties and so
playing never start or perhaps 1-2secs  and then stops.  If output never
empties, then player will never ask for more data and so player is alive
(checks contact with LMS etc.)  but stalled.



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=113234

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS 7.9.4 and 8.0.x no longer play PCM 352 files (DXD)

2020-11-18 Thread mrw


bpa wrote: 
> I can confirm when I add the command line option "-b 2:6" - the
> files plays OK.  It looks like ALSA is unable to play the 325.8KHz
> stream unless it has big enough buffers for high sample rate streams. 
> This may be specific to my setup when my USB DAC can only go up to 96kHz
> and ALSA will have to resample.
> 
> It looks like this problem has nothing to do with LMS or PCP..

Interestingly (or not) I find that the issue described in this thread
appears to be applicable to SqueezePlay as well. The 352,800 Hz sample
rate stream does for it. It'll play "from scratch", but if the stream is
paused it will not resume. Nor will it seek, or resume after a failed
seek attempt. It will cope with 176,400 Hz, and 192,000 Hz.

Informed by your finding, I rebuilt SqueezePlay after increasing the
size of the decoded audio buffer (-DECODE_AUDIO_BUFFER_SIZE- in
-src/audio/decode/decode_priv.h-). Normal service appears to have been
resumed.

At present, the buffer is set at 10 seconds of decoded audio, at 44,100
Hz. That would be reduced to 1.125 seconds at 352,800 Hz. I don't know
what the underlying constraint is, but it seems 1.125 seconds just isn't
enough. I don't know what the optimum choice would be, perhaps there may
be something else in SqueezePlay that is waiting on a minimum amount of
available audio.

There's no command line switch or environment variable available that
can increase the buffer size. Perhaps something for @ralphy to consider
in the fullness of time.

This experimentation has been done on macOS, which uses PortAudio, not
Alsa, and without any resampling. No attached DAC.



mrw's Profile: http://forums.slimdevices.com/member.php?userid=38299
View this thread: http://forums.slimdevices.com/showthread.php?t=113234

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS 7.9.4 and 8.0.x no longer play PCM 352 files (DXD)

2020-11-18 Thread irage


Gentlemen,

thanks for help to solve this mystery. I did my best to fix it myself
however my level of expertise is not even close to yours. Many kudos to
all of you!



irage's Profile: http://forums.slimdevices.com/member.php?userid=70143
View this thread: http://forums.slimdevices.com/showthread.php?t=113234

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS 7.9.4 and 8.0.x no longer play PCM 352 files (DXD)

2020-11-17 Thread bpa


I can confirm when I add the command line option "-b 2:6" - the
files plays OK.  It looks like ALSA is unable to play the 325.8KHz
stream unless it has big enough buffers for high sample rate streams. 
This may be specific to my setup when my USB DAC can only go up to 96kHz
and ALSA will have to resample.

It looks like this problem has nothing to do with LMS or PCP..



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=113234

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS 7.9.4 and 8.0.x no longer play PCM 352 files (DXD)

2020-11-17 Thread slartibartfast


bpa wrote: 
> Just to clarify.
> 
> With the problem file first - I see alsa being opened with 44100.  It is
> possible that the stream has not been started and this is just the
> standard opening of the output device. So the problem si whether stream
> has been started or not OR The stream has been started and the alsa
> output device  opend with wrong sample.
> 
> I think the situation first is likely but not if problem happens with
> DXD as 2nd file - unless playing has been stopped between the two files.

I "think" I might have fixed it. I found a blog by Soundcheck
https://soundcheck-audio.blogspot.com/p/the-rpi-audio-streaming-series-dsd.html
and changed my squeezelite settings and it plays. I changed the ALSA
settings and added the buffers.


+---+
|Filename: settings.JPG |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=32220|
+---+


slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=113234

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS 7.9.4 and 8.0.x no longer play PCM 352 files (DXD)

2020-11-17 Thread slartibartfast


bpa wrote: 
> I suggest enable "-d output=debug" and see what sample rate is being set
> up to check whether this is the same problem or another problem with
> similar symptoms.


log playing DXD file

Code:

[18:12:42.308452] output_thread:687 open output device: hw:CARD=E30,DEV=0
  [18:12:42.308537] alsa_open:351 opening device at: 44100
  [18:12:42.309443] alsa_open:422 opened device hw:CARD=E30,DEV=0 using format: 
S32_LE sample rate: 44100 mmap: 1
  [18:12:42.309561] alsa_open:513 buffer: 80 period: 4 -> buffer size: 3528 
period size: 882
  [18:12:42.309899] ALSA snd_pcm_hw_hw_params:386 SNDRV_PCM_IOCTL_HW_PARAMS 
failed (-5)
  [18:12:42.309938] alsa_open:530 unable to set hw params: Input/output error
  [18:12:47.310051] output_thread:687 open output device: hw:CARD=E30,DEV=0
  [18:12:47.310389] alsa_open:351 opening device at: 44100
  [18:12:47.311503] alsa_open:422 opened device hw:CARD=E30,DEV=0 using format: 
S32_LE sample rate: 44100 mmap: 1
  [18:12:47.311640] alsa_open:513 buffer: 80 period: 4 -> buffer size: 3528 
period size: 882
  [18:13:32.850864] output_flush:435 flush output buffer
  [18:13:32.851186] set_volume:233 setting internal gain left: 65536 right: 
65536
  [18:13:32.853572] set_volume:233 setting internal gain left: 65536 right: 
65536
  



Log playing FLAC followed by DXD

Code:

[18:21:24.818081] set_volume:233 setting internal gain left: 65536 right: 
65536
  [18:21:24.820605] set_volume:233 setting internal gain left: 65536 right: 
65536
  [18:21:24.984887] _output_frames:64 start buffer frames: 27648
  [18:21:24.985011] _output_frames:149 track start sample rate: 44100 
replay_gain: 0
  [18:22:42.815784] set_volume:233 setting internal gain left: 65536 right: 
65536
  [18:22:52.125995] _output_frames:149 track start sample rate: 352800 
replay_gain: 0
  [18:22:52.126115] output_thread:687 open output device: hw:CARD=E30,DEV=0
  [18:22:52.126746] alsa_open:351 opening device at: 352800
  [18:22:52.127805] alsa_open:422 opened device hw:CARD=E30,DEV=0 using format: 
S32_LE sample rate: 352800 mmap: 1
  [18:22:52.127942] alsa_open:513 buffer: 80 period: 4 -> buffer size: 28224 
period size: 7056
  



Log playing FLAC then skipping to DXD

Code:

[18:31:13.854725] set_volume:233 setting internal gain left: 65536 right: 
65536
  [18:31:13.856984] set_volume:233 setting internal gain left: 65536 right: 
65536
  [18:31:13.967264] _output_frames:64 start buffer frames: 156672
  [18:31:13.967394] _output_frames:149 track start sample rate: 44100 
replay_gain: 0
  [18:31:13.977481] output_thread:687 open output device: hw:CARD=E30,DEV=0
  [18:31:13.978243] alsa_open:351 opening device at: 44100
  [18:31:13.979135] alsa_open:422 opened device hw:CARD=E30,DEV=0 using format: 
S32_LE sample rate: 44100 mmap: 1
  [18:31:13.979242] alsa_open:513 buffer: 80 period: 4 -> buffer size: 3528 
period size: 882
  [18:31:51.785818] output_flush:435 flush output buffer
  [18:31:51.819739] set_volume:233 setting internal gain left: 65536 right: 
65536
  [18:31:51.823704] set_volume:233 setting internal gain left: 65536 right: 
65536
  




slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=113234

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS 7.9.4 and 8.0.x no longer play PCM 352 files (DXD)

2020-11-17 Thread slartibartfast


bpa wrote: 
> Just to clarify.
> 
> With the problem file first - I see alsa being opened with 44100.  It is
> possible that the stream has not been started and this is just the
> standard opening of the output device. So the problem si whether stream
> has been started or not OR The stream has been started and the alsa
> output device  opend with wrong sample.
> 
> I think the situation first is likely but not if problem happens with
> DXD as 2nd file - unless playing has been stopped between the two files.I 
> think you are right that the sample rate reported is just the sample
rate of the previously played file. Skipping to the DXD file while
playing another FLAC is probably the same as stopping the first file
first.

Sent from my Pixel 3a using Tapatalk





slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=113234

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS 7.9.4 and 8.0.x no longer play PCM 352 files (DXD)

2020-11-17 Thread bpa


Just to clarify.

With the problem file first - I see alsa being opened with 44100.  It is
possible that the stream has not been started and this is just the
standard opening of the output device. So the problem si whether stream
has been started or not OR The stream has been started and the alsa
output device  opend with wrong sample.

I think the situation first is likely but not if problem happens with
DXD as 2nd file - unless playing has been stopped between the two files.



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=113234

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS 7.9.4 and 8.0.x no longer play PCM 352 files (DXD)

2020-11-17 Thread bpa


slartibartfast wrote: 
> Another thing I noticed is if I play another FLAC file before the DXD
> file then skipping to the DXD file also fails to play it.

I suggest enable "-d output=debug" and see what sample rate is being set
up to check whether this is the same problem or another problem with
similar symptoms.



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=113234

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS 7.9.4 and 8.0.x no longer play PCM 352 files (DXD)

2020-11-17 Thread slartibartfast


bpa wrote: 
> With same LMS,  I've gone back to squeezelite 1.9.6-1207 and I get the
> same issue - alsa opened with 44100 instead of 3528000.
> 
> As I have never heard a file play without LMS resampling I don't know
> whether my setup would actually play the file.
> 
> So I don't know whether I'm chasing the real problem in the alsa_output
> or a problem in my setup.  
> It looks real but I'm beginning to doubt.Another thing I noticed is if I play 
> another FLAC file before the DXD
file then skipping to the DXD file also fails to play it.

Sent from my Pixel 3a using Tapatalk





slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=113234

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS 7.9.4 and 8.0.x no longer play PCM 352 files (DXD)

2020-11-17 Thread bpa


slartibartfast wrote: 
> Thanks I couldn't find that. I don't really know enough about pCP to
> know how to change the squeezelite version. Maybe someone with an actual
> need to play these files can try.

Don't bother about old version of Squeezelite - it didn't give results 
but I wasn't able to build with dsf which may be part of problem.



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=113234

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS 7.9.4 and 8.0.x no longer play PCM 352 files (DXD)

2020-11-17 Thread slartibartfast


bpa wrote: 
> Prebuilt client -
> https://sourceforge.net/projects/lmsclients/files/squeezelite/linux/Thanks I 
> couldn't find that. I don't really know enough about pCP to
know how to change the squeezelite version. Maybe someone with an actual
need to play these files can try.

Sent from my Pixel 3a using Tapatalk





slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=113234

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS 7.9.4 and 8.0.x no longer play PCM 352 files (DXD)

2020-11-17 Thread bpa


With same LMS,  I've gone back to squeezelite 1.9.6-1207 and I get the
same issue - alsa opened with 44100 instead of 3528000.

As I have never heard a file play without LMS resampling I don't know
whether my setup would actually play the file.

So I don't know whether I'm chasing the real problem in the alsa_output
or a problem in my setup.  
It looks real but I'm beginning to doubt.



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=113234

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS 7.9.4 and 8.0.x no longer play PCM 352 files (DXD)

2020-11-17 Thread bpa


slartibartfast wrote: 
> I only just started using pCP last week. Where would I find different
> Squeezelite versions?
> 
> Sent from my Pixel 3a using Tapatalk

Prebuilt client -
https://sourceforge.net/projects/lmsclients/files/squeezelite/linux/



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=113234

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS 7.9.4 and 8.0.x no longer play PCM 352 files (DXD)

2020-11-17 Thread slartibartfast


bpa wrote: 
> Try different version of squeezelite rather than LMS.  I wonder if it is
> related to native support of ogg/flac.I only just started using pCP last 
> week. Where would I find different
Squeezelite versions?

Sent from my Pixel 3a using Tapatalk





slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=113234

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS 7.9.4 and 8.0.x no longer play PCM 352 files (DXD)

2020-11-17 Thread bpa


slartibartfast wrote: 
> I just tried LMS 8.0.0-1590315682 on Windows from May 24 2020 and the
> issue is there as well. I'll try 7.9.2 when I get it running.

Try different version of squeezelite rather than LMS.  I wonder if it is
related to native support of ogg/flac.



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=113234

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS 7.9.4 and 8.0.x no longer play PCM 352 files (DXD)

2020-11-17 Thread slartibartfast


mherger wrote: 
> > At a guess, sample rate is retrieved from decoded audio data, for
> first
> > file played - this value is not getting to alsa_open routine.
> 
> But how would LMS be involved in this? I haven't tested it yet, but I'm 
> having a hard time to believe that this would be a server side change...
> 
> -- 
> 
> MichaelI just tried LMS 8.0.0-1590315682 on Windows from May 24 2020 and the
issue is there as well. I'll try 7.9.2 when I get it running.

Sent from my Pixel 3a using Tapatalk





slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=113234

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS 7.9.4 and 8.0.x no longer play PCM 352 files (DXD)

2020-11-17 Thread bpa


mherger wrote: 
> > At a guess, sample rate is retrieved from decoded audio data, for
> first
> > file played - this value is not getting to alsa_open routine.
> 
> But how would LMS be involved in this? I haven't tested it yet, but I'm
> 
> having a hard time to believe that this would be a server side change...

I agree - it doesn't look like LMS - AFAICT slimproto just says - play a
Flac file - no sample rate.  However it looks like to get better info, I
need to look at squeezelite source



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=113234

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS 7.9.4 and 8.0.x no longer play PCM 352 files (DXD)

2020-11-17 Thread Michael Herger

At a guess, sample rate is retrieved from decoded audio data, for first
file played - this value is not getting to alsa_open routine.


But how would LMS be involved in this? I haven't tested it yet, but I'm 
having a hard time to believe that this would be a server side change...


--

Michael
___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS 7.9.4 and 8.0.x no longer play PCM 352 files (DXD)

2020-11-17 Thread bpa


If squeezelite is run with "-d output-debug" - sample rate used is show
at line alsa_open Line 351

When HiresPCM is played first - ALSA device is opened with sample rate:
44100

If a playlist is used with say 48kHz first and 352.8kHz second - then
ALSA is opened first with 48000 and then with 352800

At a guess, sample rate is retrieved from decoded audio data, for first
file played - this value is not getting to alsa_open routine.



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=113234

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS 7.9.4 and 8.0.x no longer play PCM 352 files (DXD)

2020-11-17 Thread bpa


mherger wrote: 
> > At the moment it looks like LMS having received the GET - LMS just
> stops
> > playing or doesn't start playing the data from the file.
> > 
> > I need to do a bit more digging - but short cut would be any thoughts
> on
> > what LMS changes in last 4 months could have done this ?
> 
> Is there any last known working version, and a first broken revision? 
> This would allow us to narrow down the issue, or even bisect the code to
> 
> find the breaking change.

Don't know - OP says 4 months and affected both 7.9.4 & 8.0.0 - so lots
of possibilities in LMS & squeezelite.

> Can you exclude any involvement of an external helper application?

Yes.

This is between LMS and player and when high bitrate is the first track
being played direct and no transcoding activity whatsoever.

My guess is when part of playlist - playing has already been started and
so decoded high sample data data is just being added to output buffer. I
think the problem is around initiating playing once the player buffers
have been filled past threshold.



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=113234

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS 7.9.4 and 8.0.x no longer play PCM 352 files (DXD)

2020-11-17 Thread Michael Herger

At the moment it looks like LMS having received the GET - LMS just stops
playing or doesn't start playing the data from the file.

I need to do a bit more digging - but short cut would be any thoughts on
what LMS changes in last 4 months could have done this ?


Is there any last known working version, and a first broken revision? 
This would allow us to narrow down the issue, or even bisect the code to 
find the breaking change.


Can you exclude any involvement of an external helper application?

--

Michael
___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS 7.9.4 and 8.0.x no longer play PCM 352 files (DXD)

2020-11-17 Thread bpa


LMS sends some data to player and then stops. Looking at slimproto
response buffers gets filled & I think all the buffers are full.

Maybe LMS stopped sending because buffer are full or because although
threshold reached, LMS has not told player to start playing.



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=113234

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS 7.9.4 and 8.0.x no longer play PCM 352 files (DXD)

2020-11-17 Thread bpa


mherger wrote: 
> > 1. standard latest Ralphy Squeezelite with an ordinary audio (no
> special
> > DAC needed) - crtiical capabilities to be reported to LMS in sendHELO
> > "MaxSampleRate=768000,dsf,dff"  - I found an ALSA plughw allowed the
> > high rate which is not supported by audio h/w
> > 2. Get a Stereo 24BIT/352.8kHz  test file from here
> > http://www.2l.no/hires/
> > 
> > If you try to play the file by itself it wont' play. Player issues
> the
> > GET but nothgin gets played.
> > (this bit I haven't tested) If the file is part of a playlist with
> > ordinary flac first - hires will play.
> 
> But isn't this a player issue, rather than server?

Not sure. It seems to have started with a change in LMS - it might be
some change in a slimproto message.  Need to check (i) is data being sen
tto player and not being player or (ii) data is not being sent to
player. 

At the moment it looks like LMS having received the GET - LMS just stops
playing or doesn't start playing the data from the file.

I need to do a bit more digging - but short cut would be any thoughts on
what LMS changes in last 4 months could have done this ?



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=113234

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS 7.9.4 and 8.0.x no longer play PCM 352 files (DXD)

2020-11-17 Thread Michael Herger

1. standard latest Ralphy Squeezelite with an ordinary audio (no special
DAC needed) - crtiical capabilities to be reported to LMS in sendHELO
"MaxSampleRate=768000,dsf,dff"  - I found an ALSA plughw allowed the
high rate which is not supported by audio h/w
2. Get a Stereo 24BIT/352.8kHz  test file from here
http://www.2l.no/hires/

If you try to play the file by itself it wont' play. Player issues the
GET but nothgin gets played.
(this bit I haven't tested) If the file is part of a playlist with
ordinary flac first - hires will play.


But isn't this a player issue, rather than server?

--

Michael
___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS 7.9.4 and 8.0.x no longer play PCM 352 files (DXD)

2020-11-17 Thread bpa


bpa wrote: 
> To test
> 1. standard latest Ralphy Squeezelite with an ordinary audio (no special
> DAC needed) - crtiical capabilities to be reported to LMS in sendHELO
> "MaxSampleRate=768000,dsf,dff"  - I found an ALSA plughw allowed the
> high rate which is not supported by audio h/w
> 2. Get a Stereo 24BIT/352.8kHz  test file from here
> http://www.2l.no/hires/
> 
> If you try to play the file by itself it wont' play. Player issues the
> GET but nothgin gets played.
> (this bit I haven't tested) If the file is part of a playlist with
> ordinary flac first - hires will play.

Forgot - LMS recognises the file hires file OK and player can play high
samplerate so LMS tries to play as Flac Direct streaming.

If Player cannot play hires (e.g. audio max samplerate 44.1Khz)  - LMS
will transcode OK with sox.



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=113234

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS 7.9.4 and 8.0.x no longer play PCM 352 files (DXD)

2020-11-17 Thread bpa


mherger wrote: 
> > So we all see exactly the same symptoms. I wonder if @mherger has
> seen
> > this thread.
> 
> I've seen but not followed it. I must admit that when I see 352 bits or
> 
> whatever that I'm out pretty quickly :-)
> 
> Could somebody please summarize the findings, ways to reproduce etc.?
> 
> 
> -- 
> 
> Michael


To test
1. standard latest Ralphy Squeezelite with an ordinary audio (no special
DAC needed) - crtiical capabilities to be reported to LMS in sendHELO
"MaxSampleRate=768000,dsf,dff"  - I found an ALSA plughw allowed the
high rate which is not supported by audio h/w
2. Get a Stereo 24BIT/352.8kHz  test file from here
http://www.2l.no/hires/

If you try to play the file by itself it wont' play. Player issues the
GET but nothgin gets played.
(this bit I haven't tested) If the file is part of a playlist with
ordinary flac first - hires will play.



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=113234

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS 7.9.4 and 8.0.x no longer play PCM 352 files (DXD)

2020-11-17 Thread Michael Herger

So we all see exactly the same symptoms. I wonder if @mherger has seen
this thread.


I've seen but not followed it. I must admit that when I see 352 bits or 
whatever that I'm out pretty quickly :-)


Could somebody please summarize the findings, ways to reproduce etc.?


--

Michael
___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS 7.9.4 and 8.0.x no longer play PCM 352 files (DXD)

2020-11-16 Thread slartibartfast


irage wrote: 
> I noticed this as well. My both system are capable of playing more than
> DXD. If they are used separately, no transcoding. If they grouped server
> tries to convert tracks to mp3 with a different sample rate.So we all see 
> exactly the same symptoms. I wonder if @mherger has seen
this thread.

Sent from my Pixel 3a using Tapatalk





slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=113234

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS 7.9.4 and 8.0.x no longer play PCM 352 files (DXD)

2020-11-16 Thread irage


slartibartfast wrote: 
> I meant 18.35 I think. I did notice that when the piCorePlayer was
> synced to a Touch the track would play as the Touch as you say requires
> the file to be transcoded.

I noticed this as well. My both system are capable of playing more than
DXD. If they are used separately, no transcoding. If they grouped server
tries to convert tracks to mp3 with a different sample rate.



irage's Profile: http://forums.slimdevices.com/member.php?userid=70143
View this thread: http://forums.slimdevices.com/showthread.php?t=113234

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS 7.9.4 and 8.0.x no longer play PCM 352 files (DXD)

2020-11-16 Thread HumanMedia


Confirming some of the info above running
LogitechMediaServer-7.9.4-1603273368 build on OSX.
Confirming that if I a play another track and QUEUE a DXD track in as
the next track the next DSD track plays.
The DAC (which definitely supports up to 32bit-768khz and DSD512)
indicates that it is properly playing PCM 352.

If I do the above, but rather than queue the 352khz as the next track,
start playing it immediately while the existing track is playing -
doesn't work, appears to play but no audio. Also when successfully
playing the 352khz track, and I try to scrub to a different location,
the playback point starts 'playing' at the new location but no audio.
This used to work without a problem as well.

A new phenomena that seems to have appeared recently is that if I play a
352khz track, and it is not outputting sound, if I try and pause it, it
starts 'playing' the track again without audio. Previous builds you
could pause it and it would stay paused you would expect.



HumanMedia's Profile: http://forums.slimdevices.com/member.php?userid=44865
View this thread: http://forums.slimdevices.com/showthread.php?t=113234

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS 7.9.4 and 8.0.x no longer play PCM 352 files (DXD)

2020-11-16 Thread slartibartfast


bpa wrote: 
> I can't see 19:35 in the log file. I can sort of reproduce the issue.  I
> think no problem playing if player has no dsd,dsf  & high bitrate
> capability (i.e. transcode using sox) .  Problem may be associsted with
> trascoding "flc -> flc" as there was a change in this area recently.

I meant 18.35 I think. I did notice that when the piCorePlayer was
synced to a Touch the track would play as the Touch as you say requires
the file to be transcoded.



slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=113234

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS 7.9.4 and 8.0.x no longer play PCM 352 files (DXD)

2020-11-16 Thread bpa


slartibartfast wrote: 
> Here is a server log (player.source =info) which starts with the
> attempted playing of a DXD track then at around 19.35 a 44.1 FLAC track
> is played followed by the DXD track. It looks to me as if the player
> doesn't enter the PLAYING state when the DXD track is played alone. I
> also noticed that the first track appeared to play in the LMS now
> playing window but was impossible to pause, the track appeared to
> restart.

I can't see 19:35 in the log file. I can sort of reproduce the issue.  I
think no problem playing if player has no dsd,dsf  & high bitrate
capability (i.e. transcode using sox) .  Problem may be associsted with
trascoding "flc -> flc" as there was a change in this area recently.



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=113234

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS 7.9.4 and 8.0.x no longer play PCM 352 files (DXD)

2020-11-16 Thread slartibartfast


slartibartfast wrote: 
> I am seeing exactly the same as you. A DXD file will only play if
> another FLAC is played before it. My log is attached.

Here is a server log (player.source =info) which starts with the
attempted playing of a DXD track then at around 19.35 a 44.1 FLAC track
is played followed by the DXD track. It looks to me as if the player
doesn't enter the PLAYING state when the DXD track is played alone. I
also noticed that the first track appeared to play in the LMS now
playing window but was impossible to pause, the track appeared to
restart.


+---+
|Filename: server.log   |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=32205|
+---+


slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=113234

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS 7.9.4 and 8.0.x no longer play PCM 352 files (DXD)

2020-11-16 Thread slartibartfast


irage wrote: 
> This is mine output:
> 
> > 
Code:

  >   > [09:47:14.896929] sendHELO:144 cap: 
CanHTTPS=1,Model=squeezelite,AccuratePlayPoints=1,HasDigitalOut=1,HasPolarityInversion=1,Firmware=v1.9.7-1282-pCP,ModelName=SqueezeLite,MaxSampleRate=768000,dsf,dff,alc,wma,wmap,aac,ogg,ops,ogf,flc,aif,pcm,mp3

> > 
> 
> I just installed fresh copy of pcp 1.7 on my second unit, and made
> same test again. Both systems have the same behaviour:
> 
> 1. If DXD files beign transited from FLAC or DSD as a first track in
> queue, works fine
> 2. If I try to skip to next track or replace existing DXD files with
> new set - it gets stuck.
> 
> So the only way to play DXD album for me rith now is start playlist
> with flac and let traks play one after another. Doesnt look like I'm
> missing some software or my players not support DXD files. And as I
> mentioned earlier LMS 7.9.2 server worked fine with the same players
> and DAC i have now.

I am seeing exactly the same as you. A DXD file will only play if
another FLAC is played before it. My log is attached.


+---+
|Filename: pcp_squeezelite.log  |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=32204|
+---+


slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=113234

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS 7.9.4 and 8.0.x no longer play PCM 352 files (DXD)

2020-11-16 Thread irage


bpa wrote: 
> For example, this has reported dsf, dff alac, aac etc. and max sample
> rate of 768000


This is mine output:


Code:

[09:47:14.896929] sendHELO:144 cap: 
CanHTTPS=1,Model=squeezelite,AccuratePlayPoints=1,HasDigitalOut=1,HasPolarityInversion=1,Firmware=v1.9.7-1282-pCP,ModelName=SqueezeLite,MaxSampleRate=768000,dsf,dff,alc,wma,wmap,aac,ogg,ops,ogf,flc,aif,pcm,mp3



I just installed fresh copy of pcp 1.7 on my second unit, and made same
test again. Both systems have the same behaviour:

1. If DXD files beign transited from FLAC or DSD as a first track in
queue, works fine
2. If I try to skip to next track or replace existing DXD files with new
set - it gets stuck.

So the only way to play DXD album for me rith now is start playlist with
flac and let traks play one after another. Doesnt look like I'm missing
some software or my players not support DXD files. And as I mentioned
earlier LMS 7.9.2 server worked fine with the same players and DAC i
have now.



irage's Profile: http://forums.slimdevices.com/member.php?userid=70143
View this thread: http://forums.slimdevices.com/showthread.php?t=113234

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS 7.9.4 and 8.0.x no longer play PCM 352 files (DXD)

2020-11-16 Thread bpa


irage wrote: 
>  Seems like sox absence is not what cause DXD playback issues. For me it
> more like stream output initialization issue if the first item is DXD.

A general point, sox missing is unusual and so I'd check the
installation of LMS.

I'd first confirm that the player are reporting to LMS their
capabilities correctly.  Then you'll know if the problem is in LMS or in
the PCP squeezelite command line. 

Enable for squeezelite logging for "slimproto" using the option "-d
slimproto=info"

When the squeezelite is started it reports its capabilities and the
above option will log it as something like .


Code:


  [17:04:36.130216] sendHELO:144 cap: 
CanHTTPS=1,Model=squeezelite,AccuratePlayPoints=1,HasDigitalOut=1,HasPolarityInversion=1,Firmware=v1.9.7-1283,ModelName=SqueezeLite,MaxSampleRate=768000,dsf,dff,alc,aac,ogg,ops,ogf,flc,aif,pcm,mp3,loc
  



For example, this has reported dsf, dff alac, aac etc. and max sample
rate of 768000



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=113234

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS 7.9.4 and 8.0.x no longer play PCM 352 files (DXD)

2020-11-16 Thread slartibartfast


irage wrote: 
> Dear friend, thanks for helping me to troubleshoot. Really appreciate
> it.
> 
> Things are getting more interesting here. 
> 
> Let me start with my setup. I have a dedicated PC for LMS server only.
> It's an I5 based mini pc with the latest ArchLinux installed. I had LMS
> 7.9.2 build out of AUR repository and everything was working fine until
> Tidal playback stopped working so I upgraded to latest nighly build
> (Logitech Media Server Version: 8.0.0 - 1605166211 @ Thu Nov 12 09:01:57
> CET 2020) few days ago. I got everything working except DXD playback.
> 
> As a client I have 2 Raspberry Pi based piCoreplayers (6.1.0), one is
> connected to SMSL M100 DAC, other one is connected to Chord Qutest DAC.
> Both DACs support PCM 44.1 ~ 768kHz range and can accept up to DSD512.
> 
> My 2 piCorePlayers were grouped, so I jsut turned Off the SMSL M100 one
> and conversion does not happen anymore. However the files were still not
> playing. I started messing around and found DXD playback solution. 
> 
> If I prepend DXD queue with any non DXD file (flac, dsd) and let this
> FALC file play until the end, the rest of DXD files plays absolutely
> fine. 
> 
> Thats really strange. Seems like sox absence is not what cause DXD
> playback issues. For me it more like stream output initialization issue
> if the first item is DXD.Well that is strange. This works for me as well.

Sent from my Pixel 3a using Tapatalk





slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=113234

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS 7.9.4 and 8.0.x no longer play PCM 352 files (DXD)

2020-11-16 Thread irage


kidstypike wrote: 
> https://forums.slimdevices.com/showthread.php?113199-piCorePlayer-7-0-0-Public-Beta

Thanks! Installing on a test unit.



irage's Profile: http://forums.slimdevices.com/member.php?userid=70143
View this thread: http://forums.slimdevices.com/showthread.php?t=113234

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS 7.9.4 and 8.0.x no longer play PCM 352 files (DXD)

2020-11-16 Thread irage


bpa wrote: 
> I don;' know DXD but I know LMS conversion rules
> It is trying to convert to MP3 because there is no executable for "sox"
> which is used to resample and convert flac to flac.
> What OS are you using ? Has your OS had an upgrade ?
> edit:
> I assumed by "permitted format" - you mean your DAC can pay it natively
> .  LMS can only do that if the player has reported that the DAC can
> support 352 - at a guess there is aporblem with player setup as well.
> What is your player ? what version  ?  what DAC ?   More hard info helps
> others to identify the problem.

Dear friend, thanks for helping me to troubleshoot. Really appreciate
it.

Things are getting more interesting here. 

Let me start with my setup. I have a dedicated PC for LMS server only.
It's an I5 based mini pc with the latest ArchLinux installed. I had LMS
7.9.2 build out of AUR repository and everything was working fine until
Tidal playback stopped working so I upgraded to latest nighly build
(Logitech Media Server Version: 8.0.0 - 1605166211 @ Thu Nov 12 09:01:57
CET 2020) few days ago. I got everything working except DXD playback.

As a client I have 2 Raspberry Pi based piCoreplayers (6.1.0), one is
connected to SMSL M100 DAC, other one is connected to Chord Qutest DAC.
Both DACs support PCM 44.1 ~ 768kHz range and can accept up to DSD512.

My 2 piCorePlayers were grouped, so I jsut turned Off the SMSL M100 one
and conversion does not happen anymore. However the files were still not
playing. I started messing around and found DXD playback solution. 

If I prepend DXD queue with any non DXD file (flac, dsd) and let this
FALC file play until the end, the rest of DXD files plays absolutely
fine. 

Thats really strange. Seems like sox absence is not what cause DXD
playback issues. For me it more like stream output initialization issue
if the first item is DXD.



irage's Profile: http://forums.slimdevices.com/member.php?userid=70143
View this thread: http://forums.slimdevices.com/showthread.php?t=113234

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS 7.9.4 and 8.0.x no longer play PCM 352 files (DXD)

2020-11-16 Thread kidstypike


irage wrote: 
> OFFTOPIC: was the pcp7 already released? Cant't find it in download or
> upgrade sections.

https://forums.slimdevices.com/showthread.php?113199-piCorePlayer-7-0-0-Public-Beta



*Server - LMS 8.0.0 *Pi4B 4GB/Flirc case/pCP v7.0.0b6 - 74K library,
playlists & LMS cache on SSD (ntfs)
*Study -* Pi3B/pCP 7.0.0b6/pi screen/Allo Boss DAC Ruark MR1 Mk2
*Lounge* - Pi2/pCP 6.0.0 > HiFiBerry DIGI+ > AudioEngine DAC1 > AVI DM5
*Garage* - Squeezebox Boom + Fostex sub
*Dining Room* - Squeezebox Radio

*Spares* - 2xTouch, 1xSB3, 7xRPi

kidstypike's Profile: http://forums.slimdevices.com/member.php?userid=10436
View this thread: http://forums.slimdevices.com/showthread.php?t=113234

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS 7.9.4 and 8.0.x no longer play PCM 352 files (DXD)

2020-11-16 Thread slartibartfast


irage wrote: 
> I have never set any specific setting. The DXD format is FLAC packed
> 24-352.8 PCM.
> 
> OFFTOPIC: was the pcp7 already released? Cant't find it in download or
> upgrade sections.PCP 7 is beta. I used it as I was new to pCP and thought I 
> might as well
try the latest 

Sent from my Pixel 3a using Tapatalk





slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=113234

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS 7.9.4 and 8.0.x no longer play PCM 352 files (DXD)

2020-11-16 Thread bpa


irage wrote: 
> Yes! Thanks for the tip. Now it's crystal clear what is happening. For
> whatever reason the LMS 8 is trying to convert DXD Flac into MP3. See
> the log attached.
> 
> Just checked if the same issue happens to other formats. Plays as
> expected SD Flacs, HD Flacs (24-192) and DSD. Seems like server is not
> identifing DXD as permitted format and tries to convert it.

I don;' know DXD but I know LMS conversion rules

It is trying to convert to MP3 because there is no executable for "sox"
which is used to resample and convert flac to flac.

What OS are you using ? Has your OS had an upgrade ?



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=113234

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS 7.9.4 and 8.0.x no longer play PCM 352 files (DXD)

2020-11-16 Thread irage


slartibartfast wrote: 
> I am running Squeezelite v1.97-1283-pCP on pCP7. Are there any special
> settings needed to play DXD properly on Squeezelite? I downloaded a DXD
> file and find it doesn't play at all (no sound) on squeezelite. It plays
> when I sync the player to a Touch but then it is downsampled. 

I have never set any specific setting. The DXD format is FLAC packed
24-352.8 PCM.

OFFTOPIC: was the pcp7 already released? Cant't find it in download or
upgrade sections.



irage's Profile: http://forums.slimdevices.com/member.php?userid=70143
View this thread: http://forums.slimdevices.com/showthread.php?t=113234

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS 7.9.4 and 8.0.x no longer play PCM 352 files (DXD)

2020-11-16 Thread irage


bpa wrote: 
> Get a log of trying to play the file using player.source set to INFO.
> 
> 1 Using WebUI Settings/Advanced/Logging set player.source to INFO
> 2 Note start time.
> 3 Try to play a file you know doesn't play
> 4.Wait 20 secs and note end time
> 5. Copy (do not edit anything)  all log entries from start time to end
> time into a text file, zip and attach to a post
> 6. Change player.source back to ERROR otherwise log file will grow very
> large.

Yes! Thanks for the tip. Now it's crystal clear what is happening. For
whatever reason the LMS 8 is trying to convert DXD Flac into MP3. See
the log attached.

Just checked if the same issue happens to other formats. Plays as
expected SD Flacs, HD Flacs (24-192) and DSD. Seems like server is not
identifing DXD as permitted format and tries to convert it.

32196


+---+
|Filename: DXDPlayback.zip  |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=32196|
+---+


irage's Profile: http://forums.slimdevices.com/member.php?userid=70143
View this thread: http://forums.slimdevices.com/showthread.php?t=113234

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS 7.9.4 and 8.0.x no longer play PCM 352 files (DXD)

2020-11-16 Thread slartibartfast


irage wrote: 
> I'm using Squeezelite v1.9.7-1282-pCP (as part of piCorePlayer 6.1.0
> Standard)I am running Squeezelite v1.97-1283-pCP on pCP7. Are there any 
> special
settings needed to play DXD properly on Squeezelite? I downloaded a DXD
file and find it doesn't play at all (no sound) on squeezelite. It plays
when I sync the player to a Touch but then it is downsampled. 

Sent from my Pixel 3a using Tapatalk





slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=113234

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS 7.9.4 and 8.0.x no longer play PCM 352 files (DXD)

2020-11-16 Thread irage


slartibartfast wrote: 
> What type of player are you using?

I'm using Squeezelite v1.9.7-1282-pCP (as part of piCorePlayer 6.1.0
Standard)



irage's Profile: http://forums.slimdevices.com/member.php?userid=70143
View this thread: http://forums.slimdevices.com/showthread.php?t=113234

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS 7.9.4 and 8.0.x no longer play PCM 352 files (DXD)

2020-11-16 Thread bpa


Get a log of trying to play the file using player.source set to INFO.

1 Using WebUI Settings/Advanced/Logging set player.source to INFO
2 Note start time.
3 Try to play a file you know doesn't play
4.Wait 20 secs and note end time
5. Copy (do not edit anything)  all log entries from start time to end
time into a text file, zip and attach to a post
6. Change player.source back to ERROR otherwise log file will grow very
large.



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=113234

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS 7.9.4 and 8.0.x no longer play PCM 352 files (DXD)

2020-11-16 Thread HumanMedia


I am using a Sonore UltraRendu, which is specced to play 24-352 and was
playing for over a year before it stopped.
Don't know if its related but i converted my WAV to FLAC files and play
them as FLACs.



HumanMedia's Profile: http://forums.slimdevices.com/member.php?userid=44865
View this thread: http://forums.slimdevices.com/showthread.php?t=113234

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS 7.9.4 and 8.0.x no longer play PCM 352 files (DXD)

2020-11-15 Thread slartibartfast


irage wrote: 
> Sorry for splitting my message, had to increase my post count to be able
> to post links.
> 
> You can download DXDs here: www.2l.no/hires/ (look for the Stereo
> 24BIT/352.8kHz column).What type of player are you using?

Sent from my Pixel 3a using Tapatalk





slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=113234

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS 7.9.4 and 8.0.x no longer play PCM 352 files (DXD)

2020-11-15 Thread irage


Sorry for splitting my message, had to increase my post count to be able
to post links.

You can download DXDs here: www.2l.no/hires/ (look for the Stereo
24BIT/352.8kHz column).



irage's Profile: http://forums.slimdevices.com/member.php?userid=70143
View this thread: http://forums.slimdevices.com/showthread.php?t=113234

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS 7.9.4 and 8.0.x no longer play PCM 352 files (DXD)

2020-11-15 Thread irage


slartibartfast wrote: 
> It might have been better to ask about this when you first noticed it
> four months ago. Are any sample DXD files available for test purposes?

I'm having the same issue after I upgraded from 7.9.2 to the latest
build of 8. Skipping every 2-3 seconds or not playing at all.



irage's Profile: http://forums.slimdevices.com/member.php?userid=70143
View this thread: http://forums.slimdevices.com/showthread.php?t=113234

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS 7.9.4 and 8.0.x no longer play PCM 352 files (DXD)

2020-11-15 Thread slartibartfast


HumanMedia wrote: 
> This worked for years (on 7.x) until about 4 months ago and it stopped
> working. Now when I play a 24-352 file it appears to play, with the the
> time marker progressing through the track as though it is playing but
> nothing is sent to my DAC.
> 
> Again, this was working perfectly until four months ago with and then
> broke with a nightly build.
> I keep waiting for an update to fix it but nothing yet so it is time to
> ask others.
> 
> Has anyone else experienced this or is it just me and my system?

It might have been better to ask about this when you first noticed it
four months ago. Are any sample DXD files available for test purposes?

Sent from my Pixel 3a using Tapatalk





slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=113234

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


[SlimDevices: SqueezeCenter] LMS 7.9.4 and 8.0.x no longer play PCM 352 files (DXD)

2020-11-14 Thread HumanMedia


This worked for years (on 7.x) until about 4 months ago and it stopped
working. Now when I play a 24-352 file it appears to play, with the the
time marker progressing through the track as though it is playing but
nothing is sent to my DAC.

Again, this was working perfectly until four months ago with and then
broke with a nightly build.
I keep waiting for an update to fix it but nothing yet so it is time to
ask others.

Has anyone else experienced this or is it just me and my system?



HumanMedia's Profile: http://forums.slimdevices.com/member.php?userid=44865
View this thread: http://forums.slimdevices.com/showthread.php?t=113234

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter