Discussion:
[SLUG] Disabling HDMI sound
Patrick Elliott-Brennan
2015-11-15 11:28:44 UTC
Permalink
Hi All,

My new machine has an ASUS motherboard:

H170M-E D3


and an AMD Radeon R7 360 video card.


I'm running Kubuntu 14.04


I am getting no sound through the motherboard's onboard sound card.

I get sound over HDMI and fortunately my monitor has an HDMI port AND
built in speakers. However these are no-where near as good as my
desktop speakers.

The only option in the BIOS is HD Audio Controller (enable/disable).
However nothing I change here has any effect.

In the GUI the onboard sound is greyed out. Alsamixer shows HDMI sound
only. The desktop GUI shows only HDMI.

aplay -l shows only the HDMI sound.

I have tried a number of things including
/etc/modprobe.d/blacklist I have added

snd_hda_intel

and adding a line in GRUB
radeon.audio=1 and using 0 as well.

I have found another possible solution here:
http://xorg.freedesktop.org/wiki/RadeonFeature/

Which suggests, under Linux kernel parameters

Option: radeon.audio
Value:: 0,1
Default Value: 0
Explanation: Disable/enable HDMI audio

My question is: what *do* I do with this? I'm assuming I need to
add/remove something *somwhere* but...where/what?

Any help would be most appreciated. Without the onboard sound card I'm
stuck with the crappy monitor speakers and cannot use headphones nor
use a microphone for video conferencing etc.

Regards,

Patrick
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Patrick Elliott-Brennan
2015-11-16 11:06:49 UTC
Permalink
Hi all again.

First, thanks Josh for your suggestion.

Sridhar suggested checking dmesg, which I found:

[ 4.054115] snd_hda_intel 0000:01:00.1: Handle VGA-switcheroo audio client
[ 4.054117] snd_hda_intel 0000:01:00.1: Force to non-snoop mode

Then looking in syslog I found:

Nov 16 20:41:04 patrick-desktop kernel: [ 4.109628] snd_hda_intel
0000:00:1f.3: failed to add i915_bpo component master (-19)

So, doing a Google

I found:

http://ubuntuforums.org/showthread.php?t=2293912


Which lead to:
https://wiki.ubuntu.com/Audio/UpgradingAlsa/DKMS

Which suggested:

sudo apt-get install dkms

followed by a visit to:

https://code.launchpad.net/~ubuntu-audio-dev/+archive/ubuntu/alsa-daily/+packages


Which is by the Ubuntu Audio Development Team

Packages in “ALSA daily build snapshots”

Downloading
oem-audio-hda-daily-lts-vivid-dkms - 0.201509251531~ubuntu14.04.1.deb

I then installed the .deb and rebooted

Et voilà!

Sound out of the onboard audio.

Nice.

Had to fiddle around with the PulseAudio settings and master controls
to make everything use the onboard audio but there we are.

Thought I'd post this in case anyone else experienced the same problem :)

Regards,

Patrick
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http:
Nick Andrew
2015-11-22 02:10:35 UTC
Permalink
Post by Patrick Elliott-Brennan
http://xorg.freedesktop.org/wiki/RadeonFeature/
Which suggests, under Linux kernel parameters
Option: radeon.audio
Value:: 0,1
Default Value: 0
Explanation: Disable/enable HDMI audio
My question is: what *do* I do with this? I'm assuming I need to
add/remove something *somwhere* but...where/what?
Edit /etc/modprobe.d/radeon.conf

options radeon audio=1

Note that my "modinfo -p radeon" shows an additional option -1 for audio:

audio:Audio enable (-1 = auto, 0 = disable, 1 = enable) (int)

Nick.
--
PGP Key ID = 0x418487E7 http://www.nick-andrew.net/
PGP Key fingerprint = B3ED 6894 8E49 1770 C24A 67E3 6266 6EB9 4184 87E7
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Ben Donohue
2015-11-22 02:13:56 UTC
Permalink
As a first step,
Does it work using something like Knoppix?
If so then this will prove not a hardware fault.
Also check its not turned off in the BIOS
Ben
Post by Patrick Elliott-Brennan
Hi All,
H170M-E D3
and an AMD Radeon R7 360 video card.
I'm running Kubuntu 14.04
I am getting no sound through the motherboard's onboard sound card.
I get sound over HDMI and fortunately my monitor has an HDMI port AND
built in speakers. However these are no-where near as good as my
desktop speakers.
The only option in the BIOS is HD Audio Controller (enable/disable).
However nothing I change here has any effect.
In the GUI the onboard sound is greyed out. Alsamixer shows HDMI sound
only. The desktop GUI shows only HDMI.
aplay -l shows only the HDMI sound.
I have tried a number of things including
/etc/modprobe.d/blacklist I have added
snd_hda_intel
and adding a line in GRUB
radeon.audio=1 and using 0 as well.
http://xorg.freedesktop.org/wiki/RadeonFeature/
Which suggests, under Linux kernel parameters
Option: radeon.audio
Value:: 0,1
Default Value: 0
Explanation: Disable/enable HDMI audio
My question is: what *do* I do with this? I'm assuming I need to
add/remove something *somwhere* but...where/what?
Any help would be most appreciated. Without the onboard sound card I'm
stuck with the crappy monitor speakers and cannot use headphones nor
use a microphone for video conferencing etc.
Regards,
Patrick
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Maxim Zakharov
2015-11-22 05:46:39 UTC
Permalink
Hi,

It seems this motherboard has Realtek ALC887-VD2 audio codec.
Check mb's docs if it's true and then google for drivers/advise for Ubuntu.
Google brings to me this thread:
http://ubuntuforums.org/showthread.php?t=2209364
You may find some others as well.

On Sun, Nov 15, 2015 at 10:28 PM, Patrick Elliott-Brennan <
Post by Patrick Elliott-Brennan
Hi All,
H170M-E D3
and an AMD Radeon R7 360 video card.
I'm running Kubuntu 14.04
I am getting no sound through the motherboard's onboard sound card.
I get sound over HDMI and fortunately my monitor has an HDMI port AND
built in speakers. However these are no-where near as good as my
desktop speakers.
The only option in the BIOS is HD Audio Controller (enable/disable).
However nothing I change here has any effect.
In the GUI the onboard sound is greyed out. Alsamixer shows HDMI sound
only. The desktop GUI shows only HDMI.
aplay -l shows only the HDMI sound.
I have tried a number of things including
/etc/modprobe.d/blacklist I have added
snd_hda_intel
and adding a line in GRUB
radeon.audio=1 and using 0 as well.
http://xorg.freedesktop.org/wiki/RadeonFeature/
Which suggests, under Linux kernel parameters
Option: radeon.audio
Value:: 0,1
Default Value: 0
Explanation: Disable/enable HDMI audio
My question is: what *do* I do with this? I'm assuming I need to
add/remove something *somwhere* but...where/what?
Any help would be most appreciated. Without the onboard sound card I'm
stuck with the crappy monitor speakers and cannot use headphones nor
use a microphone for video conferencing etc.
Regards,
Patrick
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
--
http://www.dataparksearch.org/
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Loading...