No S/PDIF
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Re: No S/PDIF
I don't know what to say you know a lot lot more of this than me. Throw it all away and start from scratch. (Jocking cost me lot of money).
Re: No S/PDIF
I'm still hopeful we're going to get this resolved. If we can get SMPlayer to use alsa (0,1 whateverhere) I think we can create a .asoundrc file that might be the final hurdle.
Re: No S/PDIF
Here's an example we can test with:
Does that play through the S/PDIF connection?
aplay -D hw:0,1 /usr/share/sounds/alsa/Front_Center.wav
Does that play through the S/PDIF connection?
Re: No S/PDIF
If I understood right SM player output alsa then execute that line in terminal, can't hear nothing.
Re: No S/PDIF
The terminal command was a separate test I was hopeful about. Now I'm not so sure where we stand.
In SMPlayer, click on alsa where it says Output driver: and tell me what other choices you have.
Re: No S/PDIF
The other choices you can see in pic I send 6 post back.
Re: No S/PDIF
No, that shows that alsa is selected. I can't see what other choices were available to you. Click on alsa and you'll see other choices.
Re: No S/PDIF
I did sent two pics one drowned on the way, sorry. Anyway here it is. Last night I did some reareinging of cables ( connect hdmi direct to mon. before was to Pioneer VSX-324 maybe cable sensing I thought, fibre always connected to VSX-324 ) tried properly, in win10 works perfect.
https://imgur.com/bal08rV
https://imgur.com/bal08rV
Re: No S/PDIF
Well, damn!
I'm suspecting that's due to you having only one card. Although it does have multiple devices, and they should be exposed.
That made me look back at your devices on the card and I noticed this. Here's your aplay -l output:
Now look at this bit from dmesg:
There is no C0D2 according to the aplay output. I'm thinking Digital (device 1) is getting lost, and hdmi device 3 now think it's device 2. However, based on your posts, HDMI audio is working. So I looked at your devices nodes which shows this:
I have to say, I have no idea why aplay isn't reporting Card 0 Device 2, but I'm thinking whatever is causing that is also the cause of your issue.
I'll take a couple more stabs at trying to help, but I'm thinking your best bet is filing a bug report by following the instructions here: https://www.alsa-project.org/wiki/Bug_Tracking
As for my next stab in the dark, let's see the outputs of these commands:
I'm suspecting that's due to you having only one card. Although it does have multiple devices, and they should be exposed.
That made me look back at your devices on the card and I noticed this. Here's your aplay -l output:
Code: Select all
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC1220 Analog [ALC1220 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: ALC1220 Digital [ALC1220 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
Code: Select all
[ 6.181365] snd_hda_codec_hdmi hdaudioC0D2: HDMI: pin nid 7 not registered
[ 6.200125] snd_hda_codec_hdmi hdaudioC0D2: HDMI: pin nid 7 not registered
Code: Select all
crw-rw----+ 1 root audio 116, 11 Jan 10 18:29 /dev/snd/controlC0
crw-rw----+ 1 root audio 116, 9 Jan 10 18:29 /dev/snd/hwC0D0
crw-rw----+ 1 root audio 116, 10 Jan 10 18:29 /dev/snd/hwC0D2
crw-rw----+ 1 root audio 116, 3 Jan 10 18:29 /dev/snd/pcmC0D0c
crw-rw----+ 1 root audio 116, 2 Jan 10 18:29 /dev/snd/pcmC0D0p
crw-rw----+ 1 root audio 116, 4 Jan 10 18:29 /dev/snd/pcmC0D1p
crw-rw----+ 1 root audio 116, 5 Jan 10 18:29 /dev/snd/pcmC0D2c
crw-rw----+ 1 root audio 116, 6 Jan 10 18:29 /dev/snd/pcmC0D3p
crw-rw----+ 1 root audio 116, 7 Jan 10 18:29 /dev/snd/pcmC0D7p
crw-rw----+ 1 root audio 116, 8 Jan 10 18:29 /dev/snd/pcmC0D8p
crw-rw----+ 1 root audio 116, 1 Jan 10 18:29 /dev/snd/seq
crw-rw----+ 1 root audio 116, 33 Jan 10 18:29 /dev/snd/timer
I'll take a couple more stabs at trying to help, but I'm thinking your best bet is filing a bug report by following the instructions here: https://www.alsa-project.org/wiki/Bug_Tracking
As for my next stab in the dark, let's see the outputs of these commands:
cat /usr/share/pulseaudio/alsa-mixer/paths/iec958-stereo-output.conf
and ls -la /usr/share/pulseaudio/alsa-mixer/paths
Re: No S/PDIF
And maybe I've stumbled on to the the source of the issue. I'm willing to bet your /usr/share/pulseaudio/alsa-mixer/paths/iec958-stereo-output.conf will contain this:
If so, use
Save the file and reboot then test the sound.
Code: Select all
# This file is part of PulseAudio.
#
# PulseAudio is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as
# published by the Free Software Foundation; either version 2.1 of the
# License, or (at your option) any later version.
#
# PulseAudio is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.
[Element IEC958]
switch = mute
xed admin:///usr/share/pulseaudio/alsa-mixer/paths/iec958-stereo-output.conf
to change it to this:
Code: Select all
# This file is part of PulseAudio.
#
# PulseAudio is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as
# published by the Free Software Foundation; either version 2.1 of the
# License, or (at your option) any later version.
#
# PulseAudio is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.
[General]
description = Headphones + Digital Output (S/PDIF)
[Element IEC958]
switch = mute
Re: No S/PDIF
Now, from your last post first box it was the same second box had [General] and what follows missing, in terminal same time appeared this line:
** (xed:4747): WARNING **: 18:23:44.247: The specified location is not mounted
This is the other results from terminal:
fred@fred:~$ ls -la /usr/share/pulseaudio/alsa-mixer/paths
total 188
drwxr-xr-x 2 root root 12288 Jan 15 18:28 .
drwxr-xr-x 4 root root 4096 Jul 17 2018 ..
-rw-r--r-- 1 root root 1415 Jul 25 05:48 analog-input-aux.conf
-rw-r--r-- 1 root root 2056 Jul 25 05:48 analog-input.conf
-rw-r--r-- 1 root root 5769 Jul 25 05:48 analog-input.conf.common
-rw-r--r-- 1 root root 2185 Jul 25 05:48 analog-input-dock-mic.conf
-rw-r--r-- 1 root root 1420 Jul 25 05:48 analog-input-fm.conf
-rw-r--r-- 1 root root 2196 Jul 25 05:48 analog-input-front-mic.conf
-rw-r--r-- 1 root root 2298 Jul 25 05:48 analog-input-headphone-mic.conf
-rw-r--r-- 1 root root 2360 Jul 25 05:48 analog-input-headset-mic.conf
-rw-r--r-- 1 root root 2797 Jul 25 05:48 analog-input-internal-mic-always.conf
-rw-r--r-- 1 root root 3155 Jul 25 05:48 analog-input-internal-mic.conf
-rw-r--r-- 1 root root 2569 Jul 25 05:48 analog-input-linein.conf
-rw-r--r-- 1 root root 2758 Jul 25 05:48 analog-input-mic.conf
-rw-r--r-- 1 root root 1330 Jul 25 05:48 analog-input-mic.conf.common
-rw-r--r-- 1 root root 1457 Jul 25 05:48 analog-input-mic-line.conf
-rw-r--r-- 1 root root 2185 Jul 25 05:48 analog-input-rear-mic.conf
-rw-r--r-- 1 root root 1425 Jul 25 05:48 analog-input-tvtuner.conf
-rw-r--r-- 1 root root 1385 Jul 25 05:48 analog-input-video.conf
-rw-r--r-- 1 root root 1929 Jul 25 05:48 analog-output.conf
-rw-r--r-- 1 root root 10609 Jul 25 05:48 analog-output.conf.common
-rw-r--r-- 1 root root 2139 Jul 25 05:48 analog-output-headphones-2.conf
-rw-r--r-- 1 root root 3147 Jul 25 05:48 analog-output-headphones.conf
-rw-r--r-- 1 root root 4095 Jul 25 05:48 analog-output-lineout.conf
-rw-r--r-- 1 root root 1993 Jul 25 05:48 analog-output-mono.conf
-rw-r--r-- 1 root root 3725 Jul 25 05:48 analog-output-speaker-always.conf
-rw-r--r-- 1 root root 4521 Jul 25 05:48 analog-output-speaker.conf
-rw-r--r-- 1 root root 159 Jul 25 05:48 hdmi-output-0.conf
-rw-r--r-- 1 root root 161 Jul 25 05:48 hdmi-output-1.conf
-rw-r--r-- 1 root root 161 Jul 25 05:48 hdmi-output-2.conf
-rw-r--r-- 1 root root 161 Jul 25 05:48 hdmi-output-3.conf
-rw-r--r-- 1 root root 163 Jul 25 05:48 hdmi-output-4.conf
-rw-r--r-- 1 root root 163 Jul 25 05:48 hdmi-output-5.conf
-rw-r--r-- 1 root root 163 Jul 25 05:48 hdmi-output-6.conf
-rw-r--r-- 1 root root 163 Jul 25 05:48 hdmi-output-7.conf
-rw-r--r-- 1 root root 712 Jan 15 18:28 iec958-stereo-output.conf
-rw-r--r-- 1 root root 1072 Jul 25 05:48 steelseries-arctis-5-output-chat.conf
-rw-r--r-- 1 root root 1064 Jul 25 05:48 steelseries-arctis-5-output-game.conf
-rw-r--r-- 1 root root 937 Jul 25 05:48 steelseries-arctis-7-input.conf
-rw-r--r-- 1 root root 1209 Jul 25 05:48 steelseries-arctis-7-output-mono.conf
-rw-r--r-- 1 root root 1299 Jul 25 05:48 steelseries-arctis-7-output-stereo.conf
fred@fred:~$
** (xed:4747): WARNING **: 18:23:44.247: The specified location is not mounted
This is the other results from terminal:
fred@fred:~$ ls -la /usr/share/pulseaudio/alsa-mixer/paths
total 188
drwxr-xr-x 2 root root 12288 Jan 15 18:28 .
drwxr-xr-x 4 root root 4096 Jul 17 2018 ..
-rw-r--r-- 1 root root 1415 Jul 25 05:48 analog-input-aux.conf
-rw-r--r-- 1 root root 2056 Jul 25 05:48 analog-input.conf
-rw-r--r-- 1 root root 5769 Jul 25 05:48 analog-input.conf.common
-rw-r--r-- 1 root root 2185 Jul 25 05:48 analog-input-dock-mic.conf
-rw-r--r-- 1 root root 1420 Jul 25 05:48 analog-input-fm.conf
-rw-r--r-- 1 root root 2196 Jul 25 05:48 analog-input-front-mic.conf
-rw-r--r-- 1 root root 2298 Jul 25 05:48 analog-input-headphone-mic.conf
-rw-r--r-- 1 root root 2360 Jul 25 05:48 analog-input-headset-mic.conf
-rw-r--r-- 1 root root 2797 Jul 25 05:48 analog-input-internal-mic-always.conf
-rw-r--r-- 1 root root 3155 Jul 25 05:48 analog-input-internal-mic.conf
-rw-r--r-- 1 root root 2569 Jul 25 05:48 analog-input-linein.conf
-rw-r--r-- 1 root root 2758 Jul 25 05:48 analog-input-mic.conf
-rw-r--r-- 1 root root 1330 Jul 25 05:48 analog-input-mic.conf.common
-rw-r--r-- 1 root root 1457 Jul 25 05:48 analog-input-mic-line.conf
-rw-r--r-- 1 root root 2185 Jul 25 05:48 analog-input-rear-mic.conf
-rw-r--r-- 1 root root 1425 Jul 25 05:48 analog-input-tvtuner.conf
-rw-r--r-- 1 root root 1385 Jul 25 05:48 analog-input-video.conf
-rw-r--r-- 1 root root 1929 Jul 25 05:48 analog-output.conf
-rw-r--r-- 1 root root 10609 Jul 25 05:48 analog-output.conf.common
-rw-r--r-- 1 root root 2139 Jul 25 05:48 analog-output-headphones-2.conf
-rw-r--r-- 1 root root 3147 Jul 25 05:48 analog-output-headphones.conf
-rw-r--r-- 1 root root 4095 Jul 25 05:48 analog-output-lineout.conf
-rw-r--r-- 1 root root 1993 Jul 25 05:48 analog-output-mono.conf
-rw-r--r-- 1 root root 3725 Jul 25 05:48 analog-output-speaker-always.conf
-rw-r--r-- 1 root root 4521 Jul 25 05:48 analog-output-speaker.conf
-rw-r--r-- 1 root root 159 Jul 25 05:48 hdmi-output-0.conf
-rw-r--r-- 1 root root 161 Jul 25 05:48 hdmi-output-1.conf
-rw-r--r-- 1 root root 161 Jul 25 05:48 hdmi-output-2.conf
-rw-r--r-- 1 root root 161 Jul 25 05:48 hdmi-output-3.conf
-rw-r--r-- 1 root root 163 Jul 25 05:48 hdmi-output-4.conf
-rw-r--r-- 1 root root 163 Jul 25 05:48 hdmi-output-5.conf
-rw-r--r-- 1 root root 163 Jul 25 05:48 hdmi-output-6.conf
-rw-r--r-- 1 root root 163 Jul 25 05:48 hdmi-output-7.conf
-rw-r--r-- 1 root root 712 Jan 15 18:28 iec958-stereo-output.conf
-rw-r--r-- 1 root root 1072 Jul 25 05:48 steelseries-arctis-5-output-chat.conf
-rw-r--r-- 1 root root 1064 Jul 25 05:48 steelseries-arctis-5-output-game.conf
-rw-r--r-- 1 root root 937 Jul 25 05:48 steelseries-arctis-7-input.conf
-rw-r--r-- 1 root root 1209 Jul 25 05:48 steelseries-arctis-7-output-mono.conf
-rw-r--r-- 1 root root 1299 Jul 25 05:48 steelseries-arctis-7-output-stereo.conf
fred@fred:~$
Re: No S/PDIF
So let's see
cat /usr/share/pulseaudio/alsa-mixer/paths/iec958-stereo-output.conf
now. And did you reboot afterwards?Re: No S/PDIF
Yes I did reboot and test but nothing.
Experimenting with SM player, I notice changing o/p driver whatever option I choose then apply, ok,
open tab Audio, Send audio to never changes.
Here last results of terminal:
fred@fred:~$ cat /usr/share/pulseaudio/alsa-mixer/paths/iec958-stereo-output.conf
# This file is part of PulseAudio.
#
# PulseAudio is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as
# published by the Free Software Foundation; either version 2.1 of the
# License, or (at your option) any later version.
#
# PulseAudio is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.
[Element IEC958]
switch = mute
fred@fred:~$
Experimenting with SM player, I notice changing o/p driver whatever option I choose then apply, ok,
open tab Audio, Send audio to never changes.
Here last results of terminal:
fred@fred:~$ cat /usr/share/pulseaudio/alsa-mixer/paths/iec958-stereo-output.conf
# This file is part of PulseAudio.
#
# PulseAudio is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as
# published by the Free Software Foundation; either version 2.1 of the
# License, or (at your option) any later version.
#
# PulseAudio is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.
[Element IEC958]
switch = mute
fred@fred:~$
Re: No S/PDIF
Okay, the change didn't take. I wasn't sure about the not mounted error. Try again:
Above the line that has this:
xed admin:///usr/share/pulseaudio/alsa-mixer/paths/iec958-stereo-output.conf
and add this sectiion:
Code: Select all
[General]
description = Headphones + Digital Output (S/PDIF)
Code: Select all
[Element IEC958]
Re: No S/PDIF
I follow your last inst. saved it rebooted, the specified location still not mounted tested nothing. You said could be issue of Bios try updating there is a newer released June 2019.
Re: No S/PDIF
There's a possibility the new BIOS could fix things.
That "still not mounted" has me confused. Does the file now contain the edit?
That "still not mounted" has me confused. Does the file now contain the edit?
Re: No S/PDIF
The file you just made me modify? if that is, the word edit is not in it. Next move I'll update bios.
Re: No S/PDIF
What I meant was does /usr/share/pulseaudio/alsa-mixer/paths/iec958-stereo-output.conf now have this added in the appropriate place:
Code: Select all
[General]
description = Headphones + Digital Output (S/PDIF)
Re: No S/PDIF
Sorry, I thought you looking for word edit. Yes the "general....." is in just above "element IEC958" line like you asked. Well do I update bios I seen can't right it off.
Re: No S/PDIF
One thing to check for is that it's not muted now. Look in pavucontrol especially, as what is shown there may have changed after that edit to /usr/share/pulseaudio/alsa-mixer/paths/iec958-stereo-output.conf.