Clemens Ladisch composed on 2016-05-22 15:23 (UTC+0200): Thanks for your helpful reply! > Felix Miata wrote: >> I was able to get Xorg sounds working > X.org is a graphics system; it does not handle sound. Xorg was used as shorthand for apps that only run within an Xorg environment, e.g. DE system sounds and device notifications, HTML5 videos in web browsers, SMplayer and so forth. > Are you talking about PulseAudio? Did you try running pavucontrol? Since posting here I was able to get most sounds to work without pulseaudio installed. The only holdout remained HTML5 in Firefox, even after going through Mozilla.org's and Mozillazine.org's troubleshooting steps WRT this exact problem. I also commented in an existing bug: https://bugzilla.mozilla.org/show_bug.cgi?id=803042 The key to getting sound to work turned out to be /etc/asound.conf, which hadn't previously existed, containing 'pcm.!default "hdmi:0,0"'. > Is the HDMI output listed there? I've added and removed pulseaudio multiple times since beginning to troubleshoot this. Booting in order to answer I see last action was: zypper -v rm pavucontrol pavucontrol-lang pulseaudio pulseaudio-utils pulseaudio-system-wide pulseaudio-lang alsa-plugins-pulse pulseaudio-bash-completion pulseaudio-module-x11 Reversing now: zypper -v in pavucontrol pavucontrol-lang pulseaudio pulseaudio-utils pulseaudio-system-wide pulseaudio-lang alsa-plugins-pulse pulseaudio-bash-completion pulseaudio-module-x11 then rebooting, caused all sounds to cease, even in aplay outside of Xorg, even after alsactl init and running alsamixer. Pavucontrol only gives usage info trying to run it outside Xorg. Opening pavucontrol in Xorg 1.output device is listed as the desired HDMI/DisplayPort 2.PCM is checked 3.(non-working) system sounds are listed at 100% 4.Youtube in Firefox is ostensibly playing a video, but in silence, with pavucontrol window showing activity for CubebUtils audio stream on "Built-in Audio Analog Stereo". Changing it to "Built-in Audio Digital Stereo (HDMI)" turned on Youtube sounds. At this point it looked like problem solved for Firefox, but remained for system sounds. Configuration window automatically reopening on session restart didn't show kdeinit system sounds on analog long enough for me to change it to HDMI. Changing config tab to show both profiles as HDMI fixed system sounds. Now it looks like everything in 13.2 that should have sound on HDMI does. >> To make aplay put sound on HDMI requires either -Dhdmi:0 or -Dhdmi:0,0. >> Without any (other) option aplay produces this error: >> ALSA lib pcm_dmix.c:1022:(snd_pcm_dmix_open) unable to open slave >> aplay: main:722: audio open error: No such file or directory >> What file can't aplay find? > The one corresponding to card 0, device 0. What _file_ corresponds to card 0, device 0? Maybe by knowing what file is missing one might be able to determine why it's missing. >> Why isn't device 0 equal to card 0 instead of card 0 having devices 3 & 7 > Device 0 would be the analog output. This seems to be the root problem when pulseaudio is not active. Both /proc/asound/cards and aplay -l show HDMI first, so why would or should device 0 be analog? -- "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/ ------------------------------------------------------------------------------ Mobile security can be enabling, not merely restricting. Employees who bring their own devices (BYOD) to work are irked by the imposition of MDM restrictions. Mobile Device Manager Plus allows you to control only the apps on BYO-devices by containerizing them, leaving personal data untouched! https://ad.doubleclick.net/ddm/clk/304595813;131938128;j _______________________________________________ Alsa-user mailing list Alsa-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-user