[opensuse] alsamixer offers only S/PDIF pair instead of full suite for HDMI device/output
I run across this time and time again trying to get sound to work. alsa-firmware is installed. What is missing when a sound device exists, but cannot be used, as $SUBJECT describes, alsamixer missing master, front, surround, center, pcm, line, and the rest? Is there some AMD/ATI firmware from some optional repo required? e.g. on 42.1: # cat /proc/asound/cards 0 [Generic ]: HDA-Intel - HD-Audio Generic HD-Audio Generic at 0xfeb60000 irq 16 1 [HDMI ]: HDA-Intel - HDA ATI HDMI HDA ATI HDMI at 0xfeb64000 irq 41 # aplay -vv -Dplughw:0 /usr/share/sounds/alsa/test.wav (produces sound through analog pin jack) # aplay -vv -Dplughw:1 /usr/share/sounds/alsa/test.wav aplay: main:722: audio open error: No such file or directory # aplay -l # AMD Kaveri **** List of PLAYBACK Hardware Devices **** card 0: Generic [HD-Audio Generic], device 0: ALC1150 Analog [ALC1150 Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: Generic [HD-Audio Generic], device 3: ALC1150 Digital [ALC1150 Digital] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: HDMI [HDA ATI HDMI], device 7: HDMI 1 [HDMI 1] Subdevices: 1/1 Subdevice #0: subdevice #0 Re the aplay -l output, https://en.opensuse.org/SDB:Audio_troubleshooting says for in 50-sound.conf 'For the "id" to use, see the output of "aplay -l".' Where/what exactly in the above output is the "id"? Including 'options snd index=1,0' somewhere in /etc/modprobe.d/ swaps the two main devices, but has no impact on $SUBJECT. alsa-info.sh output: http://fm.no-ip.com/Tmp/Linux/Sound/alsa-info.txt-os421-a88x-easyst setup_default_volume has no --help nor man page. What is its '-f 0' option specifying? PS: Problem is identical on same machine in 13.1 and 13.2. It's only almost the same problem on same machine in Debian Stretch. Somehow, Debian's VLC offers a manual selection of about 4X as many devices as VLC in 42.1, including HDMI, which actually works. However, all other Debian sounds goto the analog output. Neither does system/desktop settings -> multimedia show any offer of HDMI, only pulsaudio, alsa, and 2-3 others. -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Wed, 18 May 2016 09:48:58 +0200, Felix Miata wrote:
# cat /proc/asound/cards 0 [Generic ]: HDA-Intel - HD-Audio Generic HD-Audio Generic at 0xfeb60000 irq 16 1 [HDMI ]: HDA-Intel - HDA ATI HDMI HDA ATI HDMI at 0xfeb64000 irq 41
# aplay -vv -Dplughw:0 /usr/share/sounds/alsa/test.wav (produces sound through analog pin jack)
# aplay -vv -Dplughw:1 /usr/share/sounds/alsa/test.wav aplay: main:722: audio open error: No such file or directory
% aplay -vv -Dhdmi:1 foo.wav plughw implies the device index 0 which is assigned for the analog I/O for HD-audio. HDMI/DP has a different dedicated index number. And, not only the device number, plughw lacks the IEC958 status bits setup that hdmi:x PCM definition gives already implicitly. Takashi -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Wed, 18 May 2016 10:08:59 +0200, Takashi Iwai wrote:
On Wed, 18 May 2016 09:48:58 +0200, Felix Miata wrote:
# cat /proc/asound/cards 0 [Generic ]: HDA-Intel - HD-Audio Generic HD-Audio Generic at 0xfeb60000 irq 16 1 [HDMI ]: HDA-Intel - HDA ATI HDMI HDA ATI HDMI at 0xfeb64000 irq 41
# aplay -vv -Dplughw:0 /usr/share/sounds/alsa/test.wav (produces sound through analog pin jack)
# aplay -vv -Dplughw:1 /usr/share/sounds/alsa/test.wav aplay: main:722: audio open error: No such file or directory
% aplay -vv -Dhdmi:1 foo.wav
plughw implies the device index 0 which is assigned for the analog I/O for HD-audio. HDMI/DP has a different dedicated index number.
Oh, BTW, if there are multiple HDMI/DP ports exposed by the hardware (likely yes), you need to figure out which port your monitor is connected to. For port 0, 1, 2, you can open like: aplay -vv -Dhdmi:1,0 foo.wav aplay -vv -Dhdmi:1,1 foo.wav aplay -vv -Dhdmi:1,2 foo.wav ... Takashi -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Takashi Iwai composed on 2016-05-18 10:12 (UTC+0200):
On Wed, 18 May 2016 10:08:59 +0200, Takashi Iwai wrote:
Felix Miata wrote:
# cat /proc/asound/cards 0 [Generic ]: HDA-Intel - HD-Audio Generic HD-Audio Generic at 0xfeb60000 irq 16 1 [HDMI ]: HDA-Intel - HDA ATI HDMI HDA ATI HDMI at 0xfeb64000 irq 41
# aplay -vv -Dplughw:0 /usr/share/sounds/alsa/test.wav (produces sound through analog pin jack)
# aplay -vv -Dplughw:1 /usr/share/sounds/alsa/test.wav aplay: main:722: audio open error: No such file or directory
% aplay -vv -Dhdmi:1 foo.wav
plughw implies the device index 0 which is assigned for the analog I/O for HD-audio. HDMI/DP has a different dedicated index number.
Oh, BTW, if there are multiple HDMI/DP ports exposed by the hardware (likely yes), you need to figure out which port your monitor is connected to. For port 0, 1, 2, you can open like: aplay -vv -Dhdmi:1,0 foo.wav aplay -vv -Dhdmi:1,1 foo.wav aplay -vv -Dhdmi:1,2 foo.wav ...
Good to know. Thanks! Using 0,0 succeeds, but I don't see a connection between proving HDMI sound works with aplay, and actually getting system sounds and apps to recognize and use HDMI instead of pin jack. 'options snd index=1,0' swaps the device order, but otherwise changes nothing I can detect. -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Wed, 18 May 2016 11:51:18 +0200, Felix Miata wrote:
Takashi Iwai composed on 2016-05-18 10:12 (UTC+0200):
On Wed, 18 May 2016 10:08:59 +0200, Takashi Iwai wrote:
Felix Miata wrote:
# cat /proc/asound/cards 0 [Generic ]: HDA-Intel - HD-Audio Generic HD-Audio Generic at 0xfeb60000 irq 16 1 [HDMI ]: HDA-Intel - HDA ATI HDMI HDA ATI HDMI at 0xfeb64000 irq 41
# aplay -vv -Dplughw:0 /usr/share/sounds/alsa/test.wav (produces sound through analog pin jack)
# aplay -vv -Dplughw:1 /usr/share/sounds/alsa/test.wav aplay: main:722: audio open error: No such file or directory
% aplay -vv -Dhdmi:1 foo.wav
plughw implies the device index 0 which is assigned for the analog I/O for HD-audio. HDMI/DP has a different dedicated index number.
Oh, BTW, if there are multiple HDMI/DP ports exposed by the hardware (likely yes), you need to figure out which port your monitor is connected to. For port 0, 1, 2, you can open like: aplay -vv -Dhdmi:1,0 foo.wav aplay -vv -Dhdmi:1,1 foo.wav aplay -vv -Dhdmi:1,2 foo.wav ...
Good to know. Thanks! Using 0,0 succeeds, but I don't see a connection between proving HDMI sound works with aplay, and actually getting system sounds and apps to recognize and use HDMI instead of pin jack. 'options snd index=1,0' swaps the device order, but otherwise changes nothing I can detect.
Using the HDMI as the default isn't so trivial, unfortunately. You can redefin the "default" PCM by setting in your ~/.asoundrc like: pcm.!default "hdmi:1,0" The "!" mark means to override the existing definition. Takashi -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Takashi Iwai composed on 2016-05-18 13:45 (UTC+0200):
On Wed, 18 May 2016 11:51:18 +0200 Felix Miata wrote:
Takashi Iwai composed on 2016-05-18 10:12 (UTC+0200):
On Wed, 18 May 2016 10:08:59 +0200, Takashi Iwai wrote:
Felix Miata wrote:
# cat /proc/asound/cards 0 [Generic ]: HDA-Intel - HD-Audio Generic HD-Audio Generic at 0xfeb60000 irq 16 1 [HDMI ]: HDA-Intel - HDA ATI HDMI HDA ATI HDMI at 0xfeb64000 irq 41
# aplay -vv -Dplughw:0 /usr/share/sounds/alsa/test.wav (produces sound through analog pin jack)
# aplay -vv -Dplughw:1 /usr/share/sounds/alsa/test.wav aplay: main:722: audio open error: No such file or directory
% aplay -vv -Dhdmi:1 foo.wav
plughw implies the device index 0 which is assigned for the analog I/O for HD-audio. HDMI/DP has a different dedicated index number.
Oh, BTW, if there are multiple HDMI/DP ports exposed by the hardware (likely yes), you need to figure out which port your monitor is connected to. For port 0, 1, 2, you can open like: aplay -vv -Dhdmi:1,0 foo.wav aplay -vv -Dhdmi:1,1 foo.wav aplay -vv -Dhdmi:1,2 foo.wav ...
Good to know. Thanks! Using 0,0 succeeds, but I don't see a connection between proving HDMI sound works with aplay, and actually getting system sounds and apps to recognize and use HDMI instead of pin jack. 'options snd index=1,0' swaps the device order, but otherwise changes nothing I can detect.
Using the HDMI as the default isn't so trivial, unfortunately. You can redefin the "default" PCM by setting in your ~/.asoundrc like:
pcm.!default "hdmi:1,0"
This needs to work globally. Luckily, that transferred to /etc/asound.conf.
The "!" mark means to override the existing definition.
That provided a baby step in the right direction. I now have an estimated minimum of 30+ hours spent experimenting, googling, reading, rebooting, trying to figure out how to get HDMI sound on this system in 42.1, 13.2, 13.1 and Debian Stretch. http://fm.no-ip.com/Tmp/Linux/Bobs/ has the docs I've created during this process. These are logs of tests using aplay with different combinations of /etc/modprobe.d/ configurations run on both vtty and in TDE: options-none-gui.txt options-none-tty.txt options-1-gui.txt options-1-tty.txt options-10-gui.txt options-10-tty.txt They produced the first sound from openSUSE via HDMI, while first sound via HDMI came from VLC (only) in Stretch. Output from alsa-info.sh from Stretch and 42.1: alsa-info.txt-d9stretch-a88x-easyst alsa-info.txt-os421-a88x-easyst http://fm.no-ip.com/Tmp/Linux/Bobs/sndnotes.txt is the log of the most recent hours spent, ultimately trying Takashi's last in thread suggestion in both 13.2 and 42.1. 13.2 worked slightly better in that it produced Youtube sound in Firefox while 42.1 would not. Still, the goal is getting sound from TDE, HTML5 and media players on the HDMI output, hopefully including mixer access to HDMI as well as S/PDIF, aka sound control via TDE mixer, in the process. Whether sound on any pinjack works I really don't care. The end is not yet in sight trying to get there. One combination on openSUSE, plus Stretch, have proven VLC can put sound on HDMI, so clearly the hardware is functional. Possible permutations of things to try have been and remain huge. It needs to work right, because ultimately its nearly blind owner depends on properly working and decent quality text to speech. What to try next I am too tired and frustrated to think about. :-( -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (2)
-
Felix Miata
-
Takashi Iwai