[SOLVED] gmrender dead silent after upgrade to DietPi v6.27.2

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
bamyasi
Posts: 25
Joined: Tue Jan 29, 2019 2:26 am

[SOLVED] gmrender dead silent after upgrade to DietPi v6.27.2

Post by bamyasi »

Upgraded to v6.27.2 today, lost any sound from gmrender as a result.

Gmrender kind of works, at least both the UPnP apps on my phone and gmrender service log on the DietPi itself indicate successful track streaming progress, no errors. Except there is no sound played and no PCM signal sensed at all by my USB DAC. I have checked everything and cannot find what's causing it.

The only suspect is the fact that DAC was accidentally left switched off during the upgrade, which caused some error messages in the process (unable to locate USB soundcard, etc). I have corrected this by re-selecting "usb-dac" in the Allo web interface since then and MPD now plays fine via the same USB DAC. Still no sound from gmrender though. Please, help.

My Allo Sparky USBridge ALSA configuration:

root@DietPi:~# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: atm7059link [atm7059_link], device 0: ATC2603C PCM atc2603c-dai-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: atm7059link [atm7059_link], device 1: HDMI PCM atm7059-hdmi-dai-1 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: atm7059link [atm7059_link], device 2: SPDIF PCM atm7059-spdif-dai-2 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: ProMQA [X-SABRE Pro(MQA)], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0

root@DietPi:~# cat /etc/asound.conf
pcm.!default {
type hw
card 1
device 0
}

ctl.!default {
type hw
card 1
}

P.S. Here is ALSA stream report from Allo web GUI during the (silent) playback:

ALSA Output Stream Information
Status :
access: MMAP_INTERLEAVED | format: S32_LE | subformat: STD | channels: 2 | rate: 44100 (44100/1) | period_size: 512 | buffer_size: 8192 | closed

And this is how MPD playback (sounding normally) is reported in Allo GUI:

access: RW_INTERLEAVED | format: S32_LE | subformat: STD | channels: 2 | rate: 44100 (44100/1) | period_size: 5513 | buffer_size: 22050

P.P.S. Playback works fine if USB sound device is specified by its full name in the gmrender service file as:

--gstout-audiodevice=hw:CARD=ProMQA

This works as well:

--gstout-audiodevice=hw:1,0

Obviously, gmrender is using wrong audio interface when configured as --gstout-audiodevice=sysdefault. I am pretty sure "sysdefault" worked before though.

All other apps seem to select the correct sound card (USB DAC) by default: alsamixer, aplay, MPD.


Thanks,

bamyasi
Post Reply