【need help】onboard SPDIF no sound output on x86 PC

Get help for Volumio here!

Ads helps Volumio remain Free and Open Source. Please consider donating to help us continue to serve you.

【need help】onboard SPDIF no sound output on x86 PC

Postby speedturtle » Sun Mar 22 2020 11:52

when I install version released in Jan 2020, SPDIF optical outputs fine through analog option. However SPDIF shows in the output device option right now but no sound.

Version(image): volumio-2.715.2020-03-03-x86.img
print from commend line
root@volumio:/home/volumio# cat /proc/asound/cards
0 [PCH ]: HDA-Intel - HDA Intel PCH
HDA Intel PCH at 0xf7d00000 irq 27

root@volumio:/home/volumio# head -n 1 /proc/asound/card0/codec*
==> /proc/asound/card0/codec#0 <==
Codec: Realtek ALC662 rev3

==> /proc/asound/card0/codec#3 <==
Codec: Intel PantherPoint HDMI

root@volumio:/home/volumio# aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
pulse
PulseAudio Sound Server
default:CARD=PCH
HDA Intel PCH, ALC662 rev3 Analog
Default Audio Device
sysdefault:CARD=PCH
HDA Intel PCH, ALC662 rev3 Analog
Default Audio Device
front:CARD=PCH,DEV=0
HDA Intel PCH, ALC662 rev3 Analog
Front speakers
surround21:CARD=PCH,DEV=0
HDA Intel PCH, ALC662 rev3 Analog
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
HDA Intel PCH, ALC662 rev3 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
HDA Intel PCH, ALC662 rev3 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
HDA Intel PCH, ALC662 rev3 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
HDA Intel PCH, ALC662 rev3 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
HDA Intel PCH, ALC662 rev3 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=PCH,DEV=0
HDA Intel PCH, ALC662 rev3 Digital
IEC958 (S/PDIF) Digital Audio Output
hdmi:CARD=PCH,DEV=0
HDA Intel PCH, HDMI 0
HDMI Audio Output
hdmi:CARD=PCH,DEV=1
HDA Intel PCH, HDMI 1
HDMI Audio Output
hdmi:CARD=PCH,DEV=2
HDA Intel PCH, HDMI 2
HDMI Audio Output
dmix:CARD=PCH,DEV=0
HDA Intel PCH, ALC662 rev3 Analog
Direct sample mixing device
dmix:CARD=PCH,DEV=1
HDA Intel PCH, ALC662 rev3 Digital
Direct sample mixing device
dmix:CARD=PCH,DEV=3
HDA Intel PCH, HDMI 0
Direct sample mixing device
dmix:CARD=PCH,DEV=7
HDA Intel PCH, HDMI 1
Direct sample mixing device
dmix:CARD=PCH,DEV=8
HDA Intel PCH, HDMI 2
Direct sample mixing device
dsnoop:CARD=PCH,DEV=0
HDA Intel PCH, ALC662 rev3 Analog
Direct sample snooping device
dsnoop:CARD=PCH,DEV=1
HDA Intel PCH, ALC662 rev3 Digital
Direct sample snooping device
dsnoop:CARD=PCH,DEV=3
HDA Intel PCH, HDMI 0
Direct sample snooping device
dsnoop:CARD=PCH,DEV=7
HDA Intel PCH, HDMI 1
Direct sample snooping device
dsnoop:CARD=PCH,DEV=8
HDA Intel PCH, HDMI 2
Direct sample snooping device
hw:CARD=PCH,DEV=0
HDA Intel PCH, ALC662 rev3 Analog
Direct hardware device without any conversions
hw:CARD=PCH,DEV=1
HDA Intel PCH, ALC662 rev3 Digital
Direct hardware device without any conversions
hw:CARD=PCH,DEV=3
HDA Intel PCH, HDMI 0
Direct hardware device without any conversions
hw:CARD=PCH,DEV=7
HDA Intel PCH, HDMI 1
Direct hardware device without any conversions
hw:CARD=PCH,DEV=8
HDA Intel PCH, HDMI 2
Direct hardware device without any conversions
plughw:CARD=PCH,DEV=0
HDA Intel PCH, ALC662 rev3 Analog
Hardware device with all software conversions
plughw:CARD=PCH,DEV=1
HDA Intel PCH, ALC662 rev3 Digital
Hardware device with all software conversions
plughw:CARD=PCH,DEV=3
HDA Intel PCH, HDMI 0
Hardware device with all software conversions
plughw:CARD=PCH,DEV=7
HDA Intel PCH, HDMI 1
Hardware device with all software conversions
plughw:CARD=PCH,DEV=8
HDA Intel PCH, HDMI 2
Hardware device with all software conversions

root@volumio:/home/volumio# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC662 rev3 Analog [ALC662 rev3 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: ALC662 rev3 Digital [ALC662 rev3 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0


MPD configration file : /etc/mpd.conf print as below.

# Audio Output #

resampler {
plugin "soxr"
quality "high"
threads "1"
}

audio_output {
type "alsa"
name "alsa"
device "hw:0,1"
dop "no"
mixer_device "hw:0,1"
mixer_control "Master"
mixer_type "hardware"
}
audio_output {
type "fifo"
enabled "no"
name "multiroom"
path "/tmp/snapfifo"
format "44100:16:2"
}

#replaygain "album"
#replaygain_preamp "0"
volume_normalization "no"
###############################################################################

# MPD Internal Buffering ######################################################
audio_buffer_size "12288"
buffer_before_play "10%"
###############################################################################


# Resource Limitations ########################################################
#connection_timeout "60"
max_connections "20"
max_playlist_length "81920"
max_command_list_size "81920"
max_output_buffer_size "81920"
###############################################################################


thanks in advance if anyone can help.
Last edited by speedturtle on Thu Mar 26 2020 15:17, edited 2 times in total.
User avatar
speedturtle
Fresh off the boat
Fresh off the boat
 
Posts: 8
Joined: Tue Jan 15 2019 07:22

Ads helps Volumio remain Free and Open Source. Please consider donating to help us continue to serve you.


【need help】onboard SPDIF no sound output on x86 PC

Postby direwolff » Tue Mar 24 2020 00:04

First, in the player, confirm your mixertype, if a device has more than one audio output there could be a hardware mixer in Volumio that has 1,1,1 each representing an output. Select the mixertype with the most outputs - likely your device will be IEC958 or IEC958,1. Select IEC958,1 and set the defaults how you would like them. Save.

Then edit your mpd.conf and give that a shot, it looks like it could be hw0,1 to me. From CLI, "reboot".

After reboot:
Verify change to mpd.conf is persistent. Also run alsamixer, select the propper device and confirm un-muted.

Question
Has this ever worked or is it a new problem?
Random avatar
direwolff
Sunday DIYer
Sunday DIYer
 
Posts: 24
Joined: Thu Dec 05 2019 16:25


【need help】onboard SPDIF no sound output on x86 PC

Postby gkkpch » Wed Mar 25 2020 21:50

There is no soundcard profile for the ATI card yet.
Of course we are willing to make one but that can take a little time before the next release.
Could you make a note in the Volumio Development/ Development talk/ Volumio X86/buster thread so it does not get lost?
After this is done, it will work with the next "legacy" X86 version as well.
Volumio OS Developer

You like my work? Then what about buying me a beer :)
User avatar
gkkpch
Moderator
 
Posts: 1821
Joined: Mon Dec 29 2014 22:38
Location: Bodensee, Switzerland


【need help】onboard SPDIF no sound output on x86 PC

Postby speedturtle » Thu Mar 26 2020 02:06

gkkpch wrote:There is no soundcard profile for the ATI card yet.
Of course we are willing to make one but that can take a little time before the next release.
Could you make a note in the Volumio Development/ Development talk/ Volumio X86/buster thread so it does not get lost?
After this is done, it will work with the next "legacy" X86 version as well.


thanks, would like to post to there later.
It is ATI old on-board graphic card with HDMI output.
The mini pc is an old HTPC. It got both Coaxial and Optical sound output sockets from motherboard.
User avatar
speedturtle
Fresh off the boat
Fresh off the boat
 
Posts: 8
Joined: Tue Jan 15 2019 07:22


【need help】onboard SPDIF no sound output on x86 PC

Postby speedturtle » Thu Mar 26 2020 15:48

direwolff wrote:First, in the player, confirm your mixertype, if a device has more than one audio output there could be a hardware mixer in Volumio that has 1,1,1 each representing an output. Select the mixertype with the most outputs - likely your device will be IEC958 or IEC958,1. Select IEC958,1 and set the defaults how you would like them. Save.

Then edit your mpd.conf and give that a shot, it looks like it could be hw0,1 to me. From CLI, "reboot".

After reboot:
Verify change to mpd.conf is persistent. Also run alsamixer, select the propper device and confirm un-muted.

Question
Has this ever worked or is it a new problem?


tried, but not working.
User avatar
speedturtle
Fresh off the boat
Fresh off the boat
 
Posts: 8
Joined: Tue Jan 15 2019 07:22


Return to Help

Who is online

Users browsing this forum: No registered users and 1 guest