Bug 299578 - No sound from "out" jack on a Gigabyte z77x-dh5h motherboard
Summary: No sound from "out" jack on a Gigabyte z77x-dh5h motherboard
Status: RESOLVED UPSTREAM
Alias: None
Product: Phonon
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 4.6.0
Platform: Ubuntu Linux
: NOR normal
Target Milestone: 4.6.1
Assignee: Harald Sitter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-07 18:26 UTC by Alexandre Bonneau
Modified: 2013-06-03 10:44 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
The pacmd output with or without plugged jacks (10.29 KB, text/plain)
2013-05-30 12:34 UTC, Alexandre Bonneau
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandre Bonneau 2012-05-07 18:26:09 UTC
Using a Gigabyte z77x-ud5h motherboard, you can only hear sound when plugging a jack cable in rear, c/sub or side jack, but not if it's in the usual green "out" one.
Having tried all the output profiles without success, I guess that's a bug.

Reproducible: Always

Steps to Reproduce:
1. Plug the jack cable into the "out" jack (the green one on that motherboard)
2. Play something in clementine for instance
3. No sound output
4. Plug the jack cable into the "rear", "c/sub" or "side" jack to get sound
Actual Results:  
No sound heard when jack plugged in "out"

Expected Results:  
Hear sound when jack plugged in "out"
Comment 1 Alexandre Bonneau 2012-12-12 19:55:41 UTC
This is still true in 4.9.4.
Comment 2 Alexandre Bonneau 2013-02-18 14:57:40 UTC
Still true in 4.9.5
Comment 3 Myriam Schweingruber 2013-02-18 15:18:44 UTC
Well, the phonon version didn't change AFAIK, so that is not a surprise.
Comment 4 Jean-Baptiste Kempf 2013-05-25 20:21:42 UTC
Clementine is not KDE software and does not use phonon.
And infringes Open Source licenses.
Comment 5 Alexandre Bonneau 2013-05-27 11:01:44 UTC
The problem still exists with other GPL apps like Amarok, Juk and Vlc (with phonon-backend-vlc).
Comment 6 Martin Sandsmark 2013-05-27 11:06:14 UTC
Are you using PulseAudio?
Comment 7 Alexandre Bonneau 2013-05-30 09:19:21 UTC
Yes I am using pulseaudio.
I'm currently testing the setup with Kubuntu 13.04.
Comment 8 Martin Sandsmark 2013-05-30 09:25:07 UTC
Does for example "speaker-test" (in a konsole) work?

Also adding our resident PulseAudio master, maybe he has some insights.
Comment 9 Alexandre Bonneau 2013-05-30 11:00:24 UTC
I can hear sound on my speakers from audio applications and `speaker-test`, but only when I plug the jack into the side, rear or c/sub plug.

Additionally -- I don't know if it's related -- having installed a pci-e audio card (Creative X-fi titanium) few days ago, I found out that I can't hear sound in my headphone plugged in that audio card, AND having simultaneously the same output via the internal soundcard.
The tried configuration is :
- Internal audio (where the speaker are connected)
profile : Duplex analog stereo
sound device : playback
connector: analog output
- Tahiti XT HDMI Audio [Radeon HD 7970 Series]
profile : off
- EMU20k2 [X-Fi Titanium Series] (where the headphones are connected)
profile : Analog stereo output
Sound device : Playback
Connector : Analog output / Analog headphones 1
....in that configuration, the sound is only output via the speakers, not the headphones.

To be able to hear sound in the headphones, I have to turn off the "Internal audio" device.
Comment 10 Colin Guthrie 2013-05-30 11:18:08 UTC
(In reply to comment #9)
> I can hear sound on my speakers from audio applications and `speaker-test`,
> but only when I plug the jack into the side, rear or c/sub plug.
> 
> Additionally -- I don't know if it's related -- having installed a pci-e
> audio card (Creative X-fi titanium) few days ago, I found out that I can't
> hear sound in my headphone plugged in that audio card, AND having
> simultaneously the same output via the internal soundcard.
> The tried configuration is :
> - Internal audio (where the speaker are connected)
> profile : Duplex analog stereo
> sound device : playback
> connector: analog output
> - Tahiti XT HDMI Audio [Radeon HD 7970 Series]
> profile : off
> - EMU20k2 [X-Fi Titanium Series] (where the headphones are connected)
> profile : Analog stereo output
> Sound device : Playback
> Connector : Analog output / Analog headphones 1
> ....in that configuration, the sound is only output via the speakers, not
> the headphones.
> 
> To be able to hear sound in the headphones, I have to turn off the "Internal
> audio" device.

Sounds like it's a jack status bug in alsa and thus we're getting incorrect/incomplete information about how to wire things up.

Could you provide several version of your "pacmd list-cards" output when the jack is completely unplugged and plugged into the green jack (which doesn't work) and plugged into the jacks that do work (only attach output from the separate jacks if the output is different tho' - no need for lots of comparisons).

I'm guessing the green jack doesn't have the relevant pin configuration at the ASLA level to allow the relevant paths to be used. That said, you *should* in theory be able to pick a port manually that works... (this is more fine grained than the profile itself - but I cannot really suggest more until seeing the output).

Ultimately it's probably a bug in ALSA (kernel side) or potentially PulseAudio (but that's less likely). So if you can, try a newer kernel too :)
Comment 11 Alexandre Bonneau 2013-05-30 12:34:09 UTC
Using `pacmd list-cards` with unplugged green/plugged green/plugged rear results in the very same output (see attachement).
Reading your last comment Colin, I assume this output is supposed to change when plugging/unplugging jacks into the sound cards, weird.

Ah and I'm using the stock kubuntu kernel, v3.8.0-22.
Comment 12 Alexandre Bonneau 2013-05-30 12:34:52 UTC
Created attachment 80177 [details]
The pacmd output with or without plugged jacks
Comment 13 Colin Guthrie 2013-05-30 12:50:56 UTC
Comment on attachment 80177 [details]
The pacmd output with or without plugged jacks

Thanks for that.

Assuming we're still just talking about the Internal Intel card, then yes, the "ports" listed under "index: 1" should have their availability information changed (available no -> available yes) when you plug jacks in.

As you are using [k]ubuntu, I would recommend filing a bug in launchpad as Canonical employee David Henningsson does excellent work at addressing these kind of problems (far more so than me).

I would however suggest that it should be possible to output sound by selecting the "analog-output-headphones" port on the sink in question (it should be called "Casques analogiques") If that doesn't work then there could be a more fundamental routing problem with that particular model that needs some additional quirks in the driver. Again, this is much more David's field than mine.
HTHs
Comment 14 Alexandre Bonneau 2013-06-03 10:44:31 UTC
This bug has been declared on launchpad : https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1186950