Bug 47158 - Switching between output types (HDMI, analog) in a sound card sometimes doesn't work
Summary: Switching between output types (HDMI, analog) in a sound card sometimes doesn...
Status: RESOLVED MOVED
Alias: None
Product: PulseAudio
Classification: Unclassified
Component: daemon (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: medium major
Assignee: pulseaudio-bugs
QA Contact: pulseaudio-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-09 08:09 UTC by Jean-François Fortin Tam
Modified: 2018-07-30 10:18 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments
output of "pacmd ls" in a normal situation (17.58 KB, text/plain)
2012-03-09 08:21 UTC, Jean-François Fortin Tam
Details

Description Jean-François Fortin Tam 2012-03-09 08:09:15 UTC
I am running Fedora 16 on an Acer Aspire 1410. It has analog jacks for mic/headphone and a fullsize HDMI connector. I can thus output both video and audio to an HDTV.

Sometimes when I plug into HDMI and ask gnome-control-center to switch the hardware's profile from "Analog Stereo Duplex" to "Digital Stereo (HDMI) Output", it doesn't work. You don't actually get sound on the output, and if you click the "Test speakers" button gnome-control-center dies with as segfault.

Sometimes, it's the other way around. For example, this is what I recall has happened in the last 12 hours:

1. Plugged the laptop onto an HDTV's HDMI cable. Screen turns on automatically, and I disable the laptop screen.
2. In gnome-control-center, change the hardware profile from "Analog Stereo Duplex" to "Digital Stereo (HDMI) Output"
3. It works! Grab some popcorn.
4. Unplug the HDMI cable and forget to care about audio for a few hours.
5. Try to watch some youtube video. "Oh snap, it's still on HDMI audio"
6. In gnome-control-center, change the hardware profile from to "Digital Stereo (HDMI) Output" to "Analog Stereo Duplex". Reload the youtube tab, no joy. Close the browser and reload it, no joy.
7. Go to gnome-control-center's sound prefs, click the Test speakers button, segfault.
8. alt+F2, "pulseaudio -k && pulseaudio -D"
9. Hardware profile switching now works.


Bits from lspci:

00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
Comment 1 Jean-François Fortin Tam 2012-03-09 08:21:23 UTC
Created attachment 58242 [details]
output of "pacmd ls" in a normal situation
Comment 2 David Henningsson 2012-03-23 03:42:40 UTC
I believe this requires a pulseaudio verbose log (see https://wiki.ubuntu.com/PulseAudio/Log ) catching when the thing actually stops working and when you try to play something back through a non-working output.
Comment 3 Arun Raghavan 2012-05-11 06:22:59 UTC
Dropping blocker status till we get enough info to take this forwards.
Comment 4 GitLab Migration User 2018-07-30 10:18:06 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/329.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.