[SLUG] Disabling HDMI sound

95 views
Skip to first unread message

Patrick Elliott-Brennan

unread,
Nov 21, 2015, 8:56:16 PM11/21/15
to slug
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

unread,
Nov 22, 2015, 4:55:52 AM11/22/15
to slug, Joshua Hesketh, Sridhar Dhanapalan
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 :)

Nick Andrew

unread,
Dec 3, 2015, 6:08:55 PM12/3/15
to Patrick Elliott-Brennan, slug
On Sun, Nov 15, 2015 at 10:28:44PM +1100, Patrick Elliott-Brennan wrote:
> 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?

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

Ben Donohue

unread,
Dec 3, 2015, 6:10:03 PM12/3/15
to sl...@slug.org.au
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

Maxim Zakharov

unread,
Dec 5, 2015, 11:08:21 PM12/5/15
to slug
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.
--
http://www.dataparksearch.org/
Reply all
Reply to author
Forward
0 new messages