How can I get HDMI sound to work in 16.04?
I recently upgraded from an ancient Ubuntu installation to 16.04 LTS. Everything works well except for one thing. I can't get HDMI sound to work.
Some notes and observations:
- The computer itself is an Intel NUC
- The installation is completely standard
- The only sound and video output is through the same HDMI plug to a TV
- The sound section in System Settings shows the "HDMI/DisplayPort - Built-in Audio" device as expected, and all volumes are at 100% and nothing is muted
- Likewise for pavucontrol, it lists the "Digital Stereo (HDMI) Output" profile under Configuration and the "HDMI/DisplayPort (plugged in)" device under Output Devices, and all volumes are at 100% and nothing is muted and the sound level meters show there is sound being generated
- However regardless what sound / pavucontrol say, there is no HDMI output
- But in Kodi, while if I select the "Default, Default Output Device (PULSEAUDIO)" audio output device in Kodi there is no sound, if I select "Built-in Audio Digital Stereo (HDMI), HDMI / DisplayPort (PULSEAUDIO)" HDMI sound works just fine in Kodi. (I suspect this is because somehow Kodi with this setting outputs straight to HDMI and not to default Pulseaudio)
- Outside of Kodi, if I bring up alsamixer, hit F6, select HDMI, and hit m and m again (mute and unmute) HDMI sound comes back, but as soon as the sound source stops (like a pause a youtube video) there is no HMDI sound again
- Using
aplay
I can output test sound through HDMI completely fine (using the correct card and device) - I also tried installing Fedora 24, but still no HDMI sound
I have tried pretty much all sound issue fixes I have found, but so far the sound issue persists:
- Update Intel drivers
- Update Ubuntu (besides 16.04 I also tried the 16.10 beta, but same story there)
- Setting the default pcm card and device (from testing with
aplay
) in.asoundrc
- Setting the alsa sink device with
load-module module-alsa-sink device=hw:X,Y
in/etc/pulse/default.pa
Here's the output from alsa_info.sh
, pactl list sinks
, pacmd list-sink-inputs
for reference.
What can I do to debug and fix the issue?
EDIT: I also posted this question on 01.org.
I later ran pulseaudio
with higher logging verbosity. You can find the log here
Here's what I did:
- I started the daemon
- I tried increasing and decreasing the volume. I expect the little pop sound everytime i change the volume, but there is no sound.
- I then start spotify and start playing a song, but still no sound
- I then open alsamixer, select the HDMI card, and I mute and unmute the sound
- Now there is all of a sudden sound
- I increase and decrease the volume again, but this time there is sound
- I then pause the song in spotify and wait for a while
- When i start playing the song again there is no sound again
- I kill the daemon
I am using HDMI card 0 device 3.
I am not plugging in any other sound cables.
16.04 pulseaudio alsa hdmi hda-intel
add a comment |
I recently upgraded from an ancient Ubuntu installation to 16.04 LTS. Everything works well except for one thing. I can't get HDMI sound to work.
Some notes and observations:
- The computer itself is an Intel NUC
- The installation is completely standard
- The only sound and video output is through the same HDMI plug to a TV
- The sound section in System Settings shows the "HDMI/DisplayPort - Built-in Audio" device as expected, and all volumes are at 100% and nothing is muted
- Likewise for pavucontrol, it lists the "Digital Stereo (HDMI) Output" profile under Configuration and the "HDMI/DisplayPort (plugged in)" device under Output Devices, and all volumes are at 100% and nothing is muted and the sound level meters show there is sound being generated
- However regardless what sound / pavucontrol say, there is no HDMI output
- But in Kodi, while if I select the "Default, Default Output Device (PULSEAUDIO)" audio output device in Kodi there is no sound, if I select "Built-in Audio Digital Stereo (HDMI), HDMI / DisplayPort (PULSEAUDIO)" HDMI sound works just fine in Kodi. (I suspect this is because somehow Kodi with this setting outputs straight to HDMI and not to default Pulseaudio)
- Outside of Kodi, if I bring up alsamixer, hit F6, select HDMI, and hit m and m again (mute and unmute) HDMI sound comes back, but as soon as the sound source stops (like a pause a youtube video) there is no HMDI sound again
- Using
aplay
I can output test sound through HDMI completely fine (using the correct card and device) - I also tried installing Fedora 24, but still no HDMI sound
I have tried pretty much all sound issue fixes I have found, but so far the sound issue persists:
- Update Intel drivers
- Update Ubuntu (besides 16.04 I also tried the 16.10 beta, but same story there)
- Setting the default pcm card and device (from testing with
aplay
) in.asoundrc
- Setting the alsa sink device with
load-module module-alsa-sink device=hw:X,Y
in/etc/pulse/default.pa
Here's the output from alsa_info.sh
, pactl list sinks
, pacmd list-sink-inputs
for reference.
What can I do to debug and fix the issue?
EDIT: I also posted this question on 01.org.
I later ran pulseaudio
with higher logging verbosity. You can find the log here
Here's what I did:
- I started the daemon
- I tried increasing and decreasing the volume. I expect the little pop sound everytime i change the volume, but there is no sound.
- I then start spotify and start playing a song, but still no sound
- I then open alsamixer, select the HDMI card, and I mute and unmute the sound
- Now there is all of a sudden sound
- I increase and decrease the volume again, but this time there is sound
- I then pause the song in spotify and wait for a while
- When i start playing the song again there is no sound again
- I kill the daemon
I am using HDMI card 0 device 3.
I am not plugging in any other sound cables.
16.04 pulseaudio alsa hdmi hda-intel
@WinEunuuchs2Unix Ha thanks. It's a bit on a confusing issue so I felt I had to capture it properly to not confuse people further...
– hmmmmsomethingiswrong
Oct 20 '16 at 3:30
add a comment |
I recently upgraded from an ancient Ubuntu installation to 16.04 LTS. Everything works well except for one thing. I can't get HDMI sound to work.
Some notes and observations:
- The computer itself is an Intel NUC
- The installation is completely standard
- The only sound and video output is through the same HDMI plug to a TV
- The sound section in System Settings shows the "HDMI/DisplayPort - Built-in Audio" device as expected, and all volumes are at 100% and nothing is muted
- Likewise for pavucontrol, it lists the "Digital Stereo (HDMI) Output" profile under Configuration and the "HDMI/DisplayPort (plugged in)" device under Output Devices, and all volumes are at 100% and nothing is muted and the sound level meters show there is sound being generated
- However regardless what sound / pavucontrol say, there is no HDMI output
- But in Kodi, while if I select the "Default, Default Output Device (PULSEAUDIO)" audio output device in Kodi there is no sound, if I select "Built-in Audio Digital Stereo (HDMI), HDMI / DisplayPort (PULSEAUDIO)" HDMI sound works just fine in Kodi. (I suspect this is because somehow Kodi with this setting outputs straight to HDMI and not to default Pulseaudio)
- Outside of Kodi, if I bring up alsamixer, hit F6, select HDMI, and hit m and m again (mute and unmute) HDMI sound comes back, but as soon as the sound source stops (like a pause a youtube video) there is no HMDI sound again
- Using
aplay
I can output test sound through HDMI completely fine (using the correct card and device) - I also tried installing Fedora 24, but still no HDMI sound
I have tried pretty much all sound issue fixes I have found, but so far the sound issue persists:
- Update Intel drivers
- Update Ubuntu (besides 16.04 I also tried the 16.10 beta, but same story there)
- Setting the default pcm card and device (from testing with
aplay
) in.asoundrc
- Setting the alsa sink device with
load-module module-alsa-sink device=hw:X,Y
in/etc/pulse/default.pa
Here's the output from alsa_info.sh
, pactl list sinks
, pacmd list-sink-inputs
for reference.
What can I do to debug and fix the issue?
EDIT: I also posted this question on 01.org.
I later ran pulseaudio
with higher logging verbosity. You can find the log here
Here's what I did:
- I started the daemon
- I tried increasing and decreasing the volume. I expect the little pop sound everytime i change the volume, but there is no sound.
- I then start spotify and start playing a song, but still no sound
- I then open alsamixer, select the HDMI card, and I mute and unmute the sound
- Now there is all of a sudden sound
- I increase and decrease the volume again, but this time there is sound
- I then pause the song in spotify and wait for a while
- When i start playing the song again there is no sound again
- I kill the daemon
I am using HDMI card 0 device 3.
I am not plugging in any other sound cables.
16.04 pulseaudio alsa hdmi hda-intel
I recently upgraded from an ancient Ubuntu installation to 16.04 LTS. Everything works well except for one thing. I can't get HDMI sound to work.
Some notes and observations:
- The computer itself is an Intel NUC
- The installation is completely standard
- The only sound and video output is through the same HDMI plug to a TV
- The sound section in System Settings shows the "HDMI/DisplayPort - Built-in Audio" device as expected, and all volumes are at 100% and nothing is muted
- Likewise for pavucontrol, it lists the "Digital Stereo (HDMI) Output" profile under Configuration and the "HDMI/DisplayPort (plugged in)" device under Output Devices, and all volumes are at 100% and nothing is muted and the sound level meters show there is sound being generated
- However regardless what sound / pavucontrol say, there is no HDMI output
- But in Kodi, while if I select the "Default, Default Output Device (PULSEAUDIO)" audio output device in Kodi there is no sound, if I select "Built-in Audio Digital Stereo (HDMI), HDMI / DisplayPort (PULSEAUDIO)" HDMI sound works just fine in Kodi. (I suspect this is because somehow Kodi with this setting outputs straight to HDMI and not to default Pulseaudio)
- Outside of Kodi, if I bring up alsamixer, hit F6, select HDMI, and hit m and m again (mute and unmute) HDMI sound comes back, but as soon as the sound source stops (like a pause a youtube video) there is no HMDI sound again
- Using
aplay
I can output test sound through HDMI completely fine (using the correct card and device) - I also tried installing Fedora 24, but still no HDMI sound
I have tried pretty much all sound issue fixes I have found, but so far the sound issue persists:
- Update Intel drivers
- Update Ubuntu (besides 16.04 I also tried the 16.10 beta, but same story there)
- Setting the default pcm card and device (from testing with
aplay
) in.asoundrc
- Setting the alsa sink device with
load-module module-alsa-sink device=hw:X,Y
in/etc/pulse/default.pa
Here's the output from alsa_info.sh
, pactl list sinks
, pacmd list-sink-inputs
for reference.
What can I do to debug and fix the issue?
EDIT: I also posted this question on 01.org.
I later ran pulseaudio
with higher logging verbosity. You can find the log here
Here's what I did:
- I started the daemon
- I tried increasing and decreasing the volume. I expect the little pop sound everytime i change the volume, but there is no sound.
- I then start spotify and start playing a song, but still no sound
- I then open alsamixer, select the HDMI card, and I mute and unmute the sound
- Now there is all of a sudden sound
- I increase and decrease the volume again, but this time there is sound
- I then pause the song in spotify and wait for a while
- When i start playing the song again there is no sound again
- I kill the daemon
I am using HDMI card 0 device 3.
I am not plugging in any other sound cables.
16.04 pulseaudio alsa hdmi hda-intel
16.04 pulseaudio alsa hdmi hda-intel
edited Oct 19 '16 at 12:05
asked Oct 9 '16 at 4:08
hmmmmsomethingiswrong
173118
173118
@WinEunuuchs2Unix Ha thanks. It's a bit on a confusing issue so I felt I had to capture it properly to not confuse people further...
– hmmmmsomethingiswrong
Oct 20 '16 at 3:30
add a comment |
@WinEunuuchs2Unix Ha thanks. It's a bit on a confusing issue so I felt I had to capture it properly to not confuse people further...
– hmmmmsomethingiswrong
Oct 20 '16 at 3:30
@WinEunuuchs2Unix Ha thanks. It's a bit on a confusing issue so I felt I had to capture it properly to not confuse people further...
– hmmmmsomethingiswrong
Oct 20 '16 at 3:30
@WinEunuuchs2Unix Ha thanks. It's a bit on a confusing issue so I felt I had to capture it properly to not confuse people further...
– hmmmmsomethingiswrong
Oct 20 '16 at 3:30
add a comment |
1 Answer
1
active
oldest
votes
Actually I finally solved this.
It turned out to be pulseaudio was using the wrong sample rate.
Following the advice in tom.ty89's 2016-01-11 08:37:45 post, my sound suddenly came alive...
https://bbs.archlinux.org/viewtopic.php?id=207085
Thanks anyway!
1
I've been struggling with this exact issue for months! Thank you for taking the time to both detail the issue and add your fix! Legend. You should mark your own answer as solved.
– KingBob
Jul 16 '17 at 14:23
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f834731%2fhow-can-i-get-hdmi-sound-to-work-in-16-04%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Actually I finally solved this.
It turned out to be pulseaudio was using the wrong sample rate.
Following the advice in tom.ty89's 2016-01-11 08:37:45 post, my sound suddenly came alive...
https://bbs.archlinux.org/viewtopic.php?id=207085
Thanks anyway!
1
I've been struggling with this exact issue for months! Thank you for taking the time to both detail the issue and add your fix! Legend. You should mark your own answer as solved.
– KingBob
Jul 16 '17 at 14:23
add a comment |
Actually I finally solved this.
It turned out to be pulseaudio was using the wrong sample rate.
Following the advice in tom.ty89's 2016-01-11 08:37:45 post, my sound suddenly came alive...
https://bbs.archlinux.org/viewtopic.php?id=207085
Thanks anyway!
1
I've been struggling with this exact issue for months! Thank you for taking the time to both detail the issue and add your fix! Legend. You should mark your own answer as solved.
– KingBob
Jul 16 '17 at 14:23
add a comment |
Actually I finally solved this.
It turned out to be pulseaudio was using the wrong sample rate.
Following the advice in tom.ty89's 2016-01-11 08:37:45 post, my sound suddenly came alive...
https://bbs.archlinux.org/viewtopic.php?id=207085
Thanks anyway!
Actually I finally solved this.
It turned out to be pulseaudio was using the wrong sample rate.
Following the advice in tom.ty89's 2016-01-11 08:37:45 post, my sound suddenly came alive...
https://bbs.archlinux.org/viewtopic.php?id=207085
Thanks anyway!
answered Nov 9 '16 at 12:59
hmmmmsomethingiswrong
173118
173118
1
I've been struggling with this exact issue for months! Thank you for taking the time to both detail the issue and add your fix! Legend. You should mark your own answer as solved.
– KingBob
Jul 16 '17 at 14:23
add a comment |
1
I've been struggling with this exact issue for months! Thank you for taking the time to both detail the issue and add your fix! Legend. You should mark your own answer as solved.
– KingBob
Jul 16 '17 at 14:23
1
1
I've been struggling with this exact issue for months! Thank you for taking the time to both detail the issue and add your fix! Legend. You should mark your own answer as solved.
– KingBob
Jul 16 '17 at 14:23
I've been struggling with this exact issue for months! Thank you for taking the time to both detail the issue and add your fix! Legend. You should mark your own answer as solved.
– KingBob
Jul 16 '17 at 14:23
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f834731%2fhow-can-i-get-hdmi-sound-to-work-in-16-04%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
@WinEunuuchs2Unix Ha thanks. It's a bit on a confusing issue so I felt I had to capture it properly to not confuse people further...
– hmmmmsomethingiswrong
Oct 20 '16 at 3:30