help linux nvidia gpu can't get headset sound

kalost

Reputable
Jan 8, 2016
5
0
4,510
new to linux and having issues detecting other sound devices since installing my gpu. When using the built in it gives me the several options available and my headset will work, with my gpu i only get sound through my tv i have hooked up to the pc

This is the only option available with my gpu:

HDMI/DisplayPort 2 GK104 HDMI Audio Controller


I am running Ubuntu 14.04.3 LTS 64 bit and specs are

Intel i5-6500

Evga Geforce GTX 660 TI

Gigabyte z170-HD3

8GB Corsair Vengeance DDR4

Samsung Evo 250gb SSD

Evga 500w Bronze

i am using the Nvidia 352.63 proprietary driver tested, gaming is working fine on the video side of things just wish to use my headset! Hope someone can help me :)
 
Solution
Your dmesg output is showing an error:

[ 1.494304] snd_hda_intel 0000:00:1f.3: failed to add i915_bpo component master (-19)

It seems that a lot of people with similar hardware are showing the same issue on Ubuntu LTS, including this guy:

https://www.pantz.org/hardware/motherboard/intel_skylake_with_an_asus_z170-ar_and_ubuntu_linux_14.04.html

Follow the same procedure he followed, here:

https://wiki.ubuntu.com/Audio/UpgradingAlsa/DKMS

This will give you a newer version of ALSA which doesn't choke on Skylake audio.

JMW22

Reputable
Dec 21, 2015
74
0
4,710
This sounds like an issue you are having with the pulseaudio control center (pavucontrol).

Try finding the volume control widget on your taskbar. There may be a button there called 'mixer' or something that leads to pavucontrol. This is what it looks like:

https://www.google.com/search?q=pavucontrol&num=100&source=lnms&tbm=isch&sa=X&ved=0ahUKEwj326SVlJvKAhWl2aYKHWC1AlYQ_AUIBygB&biw=1543&bih=895#imgrc=RoQOUIfRFSnbLM%3A

If you can't get to it through the taskbar then you can just open up a terminal and type 'pavucontrol&' or just 'pavucontrol' from a launcher dialog.

When you install a new graphics card that provides an audio device, it can happen that the new audio device gets floated to the top of the list in pulseaudio, necessitating that you change the setting manually in pavucontrol.

If you start off on the 'playback' tab in pavucontrol you might get confused because you are seeing per app output control, allowing you both to adjust the volume level and control the output device for each program that is running at the time. You should instead start from the rightmost tab, labelled 'configuration'. Temporarily disable the GK104 HDMI Audio controller from that tab by setting it to 'off'. Then go to your 'output devices' tab and see if you can find your on-board audio among the devices listed. Then go to your 'playback' tab and make sure you have a program running that uses audio. You might try opening a movie in vlc for example. At this point you might get lucky and find that pulseaudio has already selected your on-board audio as the output device for that program.

If this is not the case, or if you just want to be able to re-enable your GK104 HDMI audio device without making it the default, then you should use your distro's method for setting an audio device as default. Depending on your distro, this could be as simple as moving to the 'output devices' tab and depressing the green check box next to the desired audio device while leaving it undepressed for all other devices.
 

JMW22

Reputable
Dec 21, 2015
74
0
4,710
So to be clear, there are only 2 outputs listed on the configuration tab, one being the dummy output and the other being the GK104?

Can you try typing 'sudo alsa force-reload' from a terminal and see if that changes anything?
 

kalost

Reputable
Jan 8, 2016
5
0
4,510
well theres only the GK104, when i disable it it goes to the dummy output, the reload command didn't change anything. only if i use the built in graphics do i get my full sound options
 

JMW22

Reputable
Dec 21, 2015
74
0
4,710
Your dmesg output is showing an error:

[ 1.494304] snd_hda_intel 0000:00:1f.3: failed to add i915_bpo component master (-19)

It seems that a lot of people with similar hardware are showing the same issue on Ubuntu LTS, including this guy:

https://www.pantz.org/hardware/motherboard/intel_skylake_with_an_asus_z170-ar_and_ubuntu_linux_14.04.html

Follow the same procedure he followed, here:

https://wiki.ubuntu.com/Audio/UpgradingAlsa/DKMS

This will give you a newer version of ALSA which doesn't choke on Skylake audio.
 
Solution

kalost

Reputable
Jan 8, 2016
5
0
4,510
Thank you so much! it was driving me crazy as to why this was happening, tried many things and nothing worked, this took me one minute and now it is all working :)
 

JMW22

Reputable
Dec 21, 2015
74
0
4,710


Glad I could help :)