! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Changing screen resolution changes my audio sink from headphones to the speak...
Status:
RESOLVED: INVALID
Product:
Xfce4-settings
Component:
Display Settings

Comments

Description Robert 2020-01-04 21:56:24 CET
I changed my screen resolution from 2560x1440 to 1024x768 to test an application, and my audio sink was switched from headphone output to the speakers in my monitor for all applications playing sound.

I can repeatedly cause the resolution down-scaling to change my audio sink from "Built-in Audio Analog Stereo" to "GP104 High Definition Audio Controller Digital Stereo (HDMI 2)". As the sound can be carried through HDMI, maybe something with the resolution change is causing the device/sink to be re-detected and my system defaults to it. This does not appear to be happening when I up-scale my resolution e.g. going from 1024x768 to 2560x1440.

Monitor: LG 27UD58P-B
Video Card: MSI GEFORCE GTX 1070 AERO ITX 8G
Comment 1 Andre Miranda editbugs 2020-01-05 21:08:49 CET
This sounds (pun intended) more like a problem with Pulseaudio as display settings is mostly just a xrandr frontend.
Try changing the resolution with xrandr from terminal, e.g. xrandr --output HDMI-0 --mode 1024x768
Comment 2 Robert 2020-01-06 06:41:21 CET
Had to guess around the HDMI-# but:

xrandr --output HDMI-1 --mode 1024x768

had the same effect.  So it seems this is PulseAudio not remembering the previously used sink when the output device disappears/reappears?
Comment 3 Andre Miranda editbugs 2020-01-07 04:23:08 CET
(In reply to Robert from comment #2)
> had the same effect.  So it seems this is PulseAudio not remembering the
> previously used sink when the output device disappears/reappears?

Possibly, but I also noticed that restarting xfce4-panel sometimes changes the output from HDMI to the onboard sound card. Do you have pulseaudio-plugin on your panel? If so, try removing it to see if there is any difference.
Comment 4 Robert 2020-01-07 05:20:17 CET
Yes, removing the pulseaudio-plugin from my panel prevented the switch of sound sinks when the resolution changed. :)
Comment 5 Robert 2020-01-08 22:05:47 CET
Maybe somewhat related, even if it proves to be triggered by the xfce4-panel or a plugin:  https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1847570

That was recently reverted with libpulse-dev 1:13.0-1ubuntu1.1
Comment 6 Robert 2020-01-08 22:12:18 CET
Oh man, I just happened upon that in my software updates today.  I applied the update, rebooted, and restested.  Now changing resolution doesn't switch to my HDMI sink!!!
Comment 7 Robert 2020-01-08 22:21:59 CET
I'm counting it as fixed.  Mind if we close this? :)
Comment 8 Andre Miranda editbugs 2020-01-08 22:24:31 CET
Ok, let's close it.

Bug #16335

Reported by:
Robert
Reported on: 2020-01-04
Last modified on: 2020-01-08

People

Assignee:
Xfce Bug Triage
CC List:
1 user

Version

Version:
4.14.1

Attachments

Additional information