https://bugs.kde.org/show_bug.cgi?id=410164

            Bug ID: 410164
           Summary: KDE selects two audio devices as the "default" sound
                    device
           Product: kmix
           Version: unspecified
          Platform: Kubuntu Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: es...@kde.org
          Reporter: wowmag...@gmail.com
  Target Milestone: ---

Created attachment 121706
  --> https://bugs.kde.org/attachment.cgi?id=121706&action=edit
Screenshot of two default audio devices selected at once

SYSTEM INFO

SUMMARY

KDE selects two audio devices as the "default" sound device.  The details get
strange because there seem to be other bugs from things such as ALSA and
pulseaudio possibly working in entropy here.

The KDE bug is described above, but here are all the things seeming to happen:

My two sound devices are the integrated audio of a Gigabyte x470 Aorus Gaming 7
WiFi motherboard and the HDMI audio output of an nVidia 980 Ti video card. 
ALSA mislabels the volume control of the rear audio jack labeled "front" on the
motherboard's IO shield as "Headphones" under alsamixer.  Pulseaudio seems to
mistakenly believe that this is indeed a headphone jack but does not seem able
to detect anything plugged into it, so it will set the volume of the control to
zero when the KDE volume applet in the tray is set to "Line Out" instead of
"Headphones (unplugged)".  Setting it to the "Headphones (unplugged)" output
unmutes it and restores the volume so that audio works.  Commenting out the
"load-module module-switch-on-port-available" line in /etc/pulse/default.pa is
a workaround I've found to make it keep working each boot.

Forgive that the above seems unrelated, but I have no clue how any of this
works, so I'm just assuming all of the above has to do with the issue I'm
reporting here:  with those problems in mind, if I do not set the nVidia card's
HDMI audio output to "Off" under KDE's "Audio Volume Settings" -> Advanced
panel, then the "default" can not be toggled between them under the "Devices"
section of the same GUI.  Instead it will simply select both as the default and
likely due to the above bugs, it appears to be a 50/50 chance whether any audio
is played from any device at all.


STEPS TO REPRODUCE
1. Open the "Audio Volume Settings" applet
2. Make sure neither of my audio devices are set to "Off" under Advanced
3. Try to toggle between the default under Devices

OBSERVED RESULT

Both devices are selected as the default.  It's unclear which is really the
default and random whether audio gets played through anything.


EXPECTED RESULT

The default gets toggled appropriately.


SOFTWARE/OS VERSIONS

Linux/KDE Plasma: Kubuntu 19.04
KDE Plasma Version: 5.15.4
KDE Frameworks Version: 5.56.0
Qt Version: 5.12.2

ADDITIONAL INFORMATION

09:00.1 Audio device: NVIDIA Corporation GM200 High Definition Audio (rev a1)
        Subsystem: eVga.com. Corp. GM200 High Definition Audio
        Kernel driver in use: snd_hda_intel

0b:00.4 Audio device: Advanced Micro Devices, Inc. [AMD] Device 1487
        Subsystem: Gigabyte Technology Co., Ltd Device a0cd
        Kernel driver in use: snd_hda_intel

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to