Page 43 of 53

Re: RuneAudio 0.4-beta for Raspberry Pi2/3

PostPosted: 10 Jan 2018, 14:02
by janui
Hi Dimon B,
Is there a solution to this problem or is it better to refuse to play files of that type on the Raspberry Pi 3 ?
This depends, we need to know a little more about your installation. Please post your debug or at least the output of the following commands:
Code: Select all
cat /proc/device-tree/model
uname -r
redis-cli get buildversion
redis-cli get hwplatform
redis-cli get hwplatformid
redis-cli get playerid
mpd --version
cat /etc/mpd.conf
It would also be useful to see the output of the following command when playing one of the DSD sources:
Code: Select all
cat /proc/asound/card?/pcm0p/sub0/hw_params
Replace the ? with a 0 or 1 (only one of these will give results).
janui

Re: RuneAudio 0.4-beta for Raspberry Pi2/3

PostPosted: 10 Jan 2018, 19:07
by Dimon B
the debug file https://pastebin.com/waBT2WSR
1. DSD 64
cat /proc/asound/card?/pcm0p/sub0/hw_params
access : RW_ INTERLEAVED
format : s24_3LE
subformat : STD
channels : 2
rate : 88200 (88200/1)
period_size : 11025
buffer_size : 44100
2. DSD128
cat /proc/asound/card?/pcm0p/sub0/hw_params
access : RW_ INTERLEAVED
format : s24_3LE
subformat : STD
channels : 2
rate : 176400 (176400/1)
period_size : 22050
buffer_size : 88200
3. DSD256
cat /proc/asound/card?/pcm0p/sub0/hw_params
access : RW_ INTERLEAVED
format : s24_3LE
subformat : STD
channels : 2
rate : 352800 (352800/1)
period_size : 43691
buffer_size : 174762

In all cases, the "Noise" for DSD files.

Re: RuneAudio 0.4-beta for Raspberry Pi2/3

PostPosted: 11 Jan 2018, 10:36
by janui
Hi Dimon B,
Thanks, perfect information to debug. Everything is fine except that it seems your DAC cannot process "s24_3LE" formatted signals. What I suggest is that you modify the /etc/mpd.conf to try using ‘device "plughw:0,0"’ instead of ‘device “hw:0,0”’. ALSA should then negotiate the most compatible signal format supported by your DAC and automatically apply any required format conversion.
Note: If this works for DSD, I do not know what the effect on audio quality will be for the non-DSD data streams, you will need to do some testing. The command ‘cat /proc/asound/card0/pcm0p/sub0/hw_params’ can help you see what is being processed.
Modify /etc/mpd.conf with the command:
Code: Select all
nano /etc/mpd.conf
After changing, the output section should look like this:
Code: Select all
audio_output {
    name        "PIONEER A-70DA A-50DA USB AUDIO"
    type        "alsa"
    device      "plughw:0,0"
    dsd_native  "yes"
    dsd_native_type     "2"
    auto_resample   "no"
    auto_format     "no"
    enabled     "yes"
}
After changing mpd.conf, MPD needs to be restarted via the /dev menu or with the commands:
Code: Select all
systemctl stop mpd
systemctl daemon-reload
systemctl restart mpd
After a MPD modification via the UI mpd.conf will be regenerated and your manual changes will be lost.
If 'plughw' works, the next step will be to modify Rune to generate this setting automatically.
janui

Re: RuneAudio 0.4-beta for Raspberry Pi2/3

PostPosted: 11 Jan 2018, 10:56
by sonycman
Hello janui.

Would you, please, comment on my problem with erratic USB DAC recognition, which I had explained in this topic.

There I had to edit line 1972 of the file runeaudio.php and delete square brackets to make the script working!

Don't sure that is the right way, though...

Regards, Vlad.

Re: RuneAudio 0.4-beta for Raspberry Pi2/3

PostPosted: 11 Jan 2018, 11:58
by janui

Re: RuneAudio 0.4-beta for Raspberry Pi2/3

PostPosted: 11 Jan 2018, 18:26
by Dimon B
Hi janui. Unfortunately does not work ( ‘device "plughw:0,0"’ instead of ‘device “hw:0,0”’) . It remains only to wait when will be added support for this DAC. PC + windows + JRiver works fine, so it's not a problem pioneer A50DA. Thanks for the help.

Re: RuneAudio 0.4-beta for Raspberry Pi2/3

PostPosted: 11 Jan 2018, 22:18
by janui
Hi Dimon B,
If you are interested in one more try...
Again modify mpd.conf, remove the line 'auto_format "no"', default is "yes". Try this first with 'device "hw:0,0"' then 'device "plughw:0,0"'. If this fails then add the line 'allowed_formats "dsd256:* *:32:*"'.
Explanation:
    - ALSA is currently instructed not to reformat the output from MPD ('auto_format "no"'). Sorry, I missed this with the previous suggestions.
    - Your DAC can only process dsd256 (Quad rate DSD 11.2 Mhz), other dsd formats are not listed in the specification. But it can process 32bit output at most common bit rates. If plughw really works only then valid bitrates will be used, forcing MPD to resample.
    - By forcing dsd512 or 32bit output, the invalid 's24_3LE' format should be eliminated ('allowed_formats "dsd256:* *:32:*"'). A 32_3LE format does not exist, the output will therefore be the standard 32_LE (zero padded from the original bit depth).
If this doesn’t help I will give up.
janui

Re: RuneAudio 0.4-beta for Raspberry Pi2/3

PostPosted: 14 Jan 2018, 14:56
by Ragea
At first congratulation this work!

I would like to ask a small support. I made a new install, use lan connection and default setting.
But I can't connect to my Runeaudio/Raspberry 3 with Putty. (from win7)
SSH connect gave this message:unexpected SS2_ MSG_UNIPLEMENTED packet
I haven't found feedback in forum for this issue

Do you have any idea?

Re: RuneAudio 0.4-beta for Raspberry Pi2/3

PostPosted: 14 Jan 2018, 17:19
by hondagx35
Hi Ragea,

this is not an issue with Rune.
Please check your Putty version and your Kex settings.

With the latest version (0.70) and these settings, it works like it should.
ssh.png
ssh.png (21.16 KiB) Viewed 2310 times


Frank

Re: RuneAudio 0.4-beta for Raspberry Pi2/3

PostPosted: 14 Jan 2018, 18:29
by Ragea
Thank you!