[pulseaudio-tickets] [Bug 93946] New: Changing device profile to HDMI is reset to default after short delay

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Jan 31 05:47:52 PST 2016


https://bugs.freedesktop.org/show_bug.cgi?id=93946

            Bug ID: 93946
           Summary: Changing device profile to HDMI is reset to default
                    after short delay
           Product: PulseAudio
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: clients
          Assignee: pulseaudio-bugs at lists.freedesktop.org
          Reporter: mike.cloaked at gmail.com
        QA Contact: pulseaudio-bugs at lists.freedesktop.org
                CC: lennart at poettering.net

I have an arch linux system with an up to date plasma desktop (plasma-framework
5.18.0-3 (kf5) and plasma-desktop 5.5.4-1 (plasma), and running pulseaudio for
sound.

After recent package updates to:

[2016-01-23 10:56] [ALPM] upgraded libpulse (7.1-3 -> 8.0-1)
[2016-01-23 10:56] [ALPM] upgraded pulseaudio (7.1-3 -> 8.0-1)
[2016-01-23 10:56] [ALPM] upgraded pulseaudio-gconf (7.1-3 -> 8.0-1)

I found that my usual sound setting to have sound output going to the HDMI
output to my monitor speakers had been changed to analogue.  

>From the plasma K menu, I have to go to System Settings -> Multimedia then
Audio and Video tab - choose Audio Hardware Setup tab - and then select the
sound card profile as Digital Stereo (HDMI 2) Output and Analog Stereo Input
and click Apply.  If I then run "pactl list sinks" in a terminal I get output
which has the tail end as:

device.product.name = "7 Series/C210 Series Chipset Family High Definition
Audio Controller"
                device.form_factor = "internal"
                device.string = "hdmi:0,1"
                device.buffering.buffer_size = "352800"
                device.buffering.fragment_size = "176400"
                device.access_mode = "mmap+timer"
                device.profile.name = "hdmi-stereo-extra1"
                device.profile.description = "Digital Stereo (HDMI 2)"
                device.description = "Built-in Audio Digital Stereo (HDMI 2)"
                alsa.mixer_name = "Intel PantherPoint HDMI"
                alsa.components = "HDA:10ec0892,80862036,00100302
HDA:80862806,80860101,00100000"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        Ports:
                hdmi-output-1: HDMI / DisplayPort 2 (priority: 5800, available)
        Active Port: hdmi-output-1
        Formats:
                pcm

Then sound through the HDMI connection to the speakers on the monitor works
fine, but only for some limited period. 

After some period of time, leaving the system not using any sound output, the
sound stops working again, and the command "pactl list sinks" in a terminal
then shows:

device.product.name = "7 Series/C210 Series Chipset Family High Definition
Audio Controller"
                device.form_factor = "internal"
                device.string = "front:0"
                device.buffering.buffer_size = "352800"
                device.buffering.fragment_size = "176400"
                device.access_mode = "mmap+timer"
                device.profile.name = "analog-stereo"
                device.profile.description = "Analog Stereo"
                device.description = "Built-in Audio Analog Stereo"
                alsa.mixer_name = "Intel PantherPoint HDMI"
                alsa.components = "HDA:10ec0892,80862036,00100302
HDA:80862806,80860101,00100000"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        Ports:
                analog-output-lineout: Line Out (priority: 9900, not available)
                analog-output-speaker: Speakers (priority: 10000)
                analog-output-headphones: Headphones (priority: 9000)
        Active Port: analog-output-speaker
        Formats:
                pcm

If I then go back to the System Settings, and look again at Multimedia then
Audio and Video tab - choose Audio Hardware Setup tab, my settings have
reverted back to "Analogue Stereo Output".

So it seems that pulseaudio has some kind of timeout for the changed setting
and it does not remain permanent despite changing it and applying it in the
plasma settings area.  I have also tried changing the setting by right clicking
the volume icon in the system tray which then leads to the same GUI and
options. But this has the same result.   

This may be be relevant in the journal log:
Jan 29 21:35:34 home1 systemsettings5[16487]: Error loading plugin
"kcm_pulseaudio" "The shared library was not found."
                                              Plugin search paths are
("/usr/lib/qt/plugins", "/usr/bin")
                                              The environment variable
QT_PLUGIN_PATH might be not correctly set

and later in the journal:
Jan 30 09:10:23 home1 pulseaudio[685]: E: [pulseaudio] module.c: Module
"module-device-manager" should be loaded once at most. Refusing to load.

and later again in the journal:
Jan 30 09:11:03 home1 systemd[517]: pulseaudio.service: Service hold-off time
over, scheduling restart.
Jan 30 09:11:03 home1 systemd[517]: Stopped Sound Service.
Jan 30 09:11:03 home1 systemd[517]: Starting Sound Service...
Jan 30 09:11:03 home1 pulseaudio[19809]: W: [pulseaudio] pid.c: Stale PID file,
overwriting.
Jan 30 09:11:03 home1 systemd[517]: Started Sound Service.

Does this indicate a possible pulseaudio bug or is this a config error? 
However until the recent package update this problem did not exist on my
computer.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20160131/89a429db/attachment.html>


More information about the pulseaudio-bugs mailing list