[Bug 1888598] Re: Pulseaudio breaks HDMI audio on sleep/wake

2021-11-17 Thread xinematik
I'm gonna try Hui Wang's patch because I'm having the same issue on a
fresh install.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1888598

Title:
  Pulseaudio breaks HDMI audio on sleep/wake

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1888598/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1888598] Re: Pulseaudio breaks HDMI audio on sleep/wake

2021-11-09 Thread Hui Wang
We have an OEM bug which is similar to this one. I don't know if it is
the exact same issue as this one, to fix that issue, I did some change
in the module-card-restore.c, and If users is on the ubuntu Linux 20.04,
please try this testing-pulseaudio (try 2 hours later since the building
process has not finished yet):
https://launchpad.net/~hui.wang/+archive/ubuntu/pa-testing

steps:
rm ~/.config/pulse/*
sudo add-apt-repository ppa:hui.wang/pa-testing
sudo apt-get update
sudo apt install pulseaudio
reboot
start to test.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1888598

Title:
  Pulseaudio breaks HDMI audio on sleep/wake

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1888598/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1888598] Re: Pulseaudio breaks HDMI audio on sleep/wake

2021-11-09 Thread Igor V. Kovalenko
I believe there is no defined order in which audio devices are resuming,
which makes them appear to pulseaudio in random order. This is probably
causing pulseaudio module-switch-on-connect to flip user preference to
each appearing device in same (random) order. If you do not use this
function you can disable module-switch-on-connect or use it's blacklist
to prevent your preference flipping between devices.

Pulseaudio itself is not aware of suspend/resume function. I do not know
if there is any system callback that confirms that system completed
resume sequence and everything is back (including access rights to audio
devices) so fixing this issue in full will be not a trivial task.

With pulseaudio-15.0 update you can tell pulseaudio to always select specified 
profile when device appears. This also is not a complete solution, but you can 
either make sure your HDMI is always off or is always using the profile with 
your preferred port:
https://www.freedesktop.org/wiki/Software/PulseAudio/Notes/15.0/#cardprofilescanbesettosticky
Pavucontrol 5.0 has easy button for this, or use pactl send-message as 
described in release notes.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1888598

Title:
  Pulseaudio breaks HDMI audio on sleep/wake

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1888598/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1888598] Re: Pulseaudio breaks HDMI audio on sleep/wake

2021-11-09 Thread Alexey Gusev
the same problem on 21.10 
pulseaudio package 1:15.0+dfsg1-1ubuntu2

default output is reset in random order after resume from sleep.
Sometimes it stays as it was before suspend, but more often it just
changes to HDMI or dock output.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1888598

Title:
  Pulseaudio breaks HDMI audio on sleep/wake

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1888598/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1888598] Re: Pulseaudio breaks HDMI audio on sleep/wake

2021-06-24 Thread SA
I have this bug _but_ it went away about two months ago after some
updates but has returned with vengeance a couple of updates ago and
after the latest updates (including kernel and pulseaudio) it's really
borked.

Previously I'd have no sound until I did pulseaudio -k which would fix
everything.

Now if I do this I _still_ have no audio until I run pavucontrol and
reselect my sound device (which pavucontrol says is unavailable), then
restart all my sound producing programs and, because the volume controls
in KDE are broken, I have to restart plasmashell.

pulseaudio 1.13.99
kernel 5.4.0-77-generic 

Happens everytime my computer sleeps.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1888598

Title:
  Pulseaudio breaks HDMI audio on sleep/wake

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1888598/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1888598] Re: Pulseaudio breaks HDMI audio on sleep/wake

2021-06-15 Thread Brian Brunswick
This happens to me on a GTX1070 multiple monitor desktop machine with no
need to suspend or sleep at all. Just locking the screen and unlocking
resets the audio output device, and sometimes the input device.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1888598

Title:
  Pulseaudio breaks HDMI audio on sleep/wake

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1888598/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1888598] Re: Pulseaudio breaks HDMI audio on sleep/wake

2021-06-03 Thread Le Gluon Du Net
This bug does no more happened since several weeks on my Ubuntu
20.04/Nvidia card GTX770

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1888598

Title:
  Pulseaudio breaks HDMI audio on sleep/wake

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1888598/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1888598] Re: Pulseaudio breaks HDMI audio on sleep/wake

2021-03-27 Thread Le Gluon Du Net
is this a pulseaudio bug ? If so where are reported the bug upstream,
someone has a link?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1888598

Title:
  Pulseaudio breaks HDMI audio on sleep/wake

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1888598/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1888598] Re: Pulseaudio breaks HDMI audio on sleep/wake

2021-03-10 Thread Tessa
note that I've switched to using pipewire to replace pulse, and it
doesn't have this problem. so this is definitely a pulse specific issue.
thankfully pipewire is mature enough to use full time now, and I'd
recommend folks experiencing this problem give it a shot, since it
offers pulse, alsa, and jack protocol compatibility.

https://pipewire.org/

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1888598

Title:
  Pulseaudio breaks HDMI audio on sleep/wake

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1888598/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1888598] Re: Pulseaudio breaks HDMI audio on sleep/wake

2021-03-10 Thread Sergio S
This bug affects me too.
Linux laptop 5.4.0-66-generic #74-Ubuntu SMP Wed Jan 27 22:54:38 UTC 2021
x86_64 x86_64 x86_64 GNU/Linux
Ubuntu 20.04.2 LTS


I think this bug may (at least in some cases) be related to this here question: 
https://askubuntu.com/questions/1234807/no-sound-after-sleep-ubuntu-20-04 .

The solution they found involves removing the sound device and
requesting a rescan:

echo 1 > /sys/bus/pci/devices//remove
echo 1 > /sys/bus/pci/rescan

They automated this through a script such as this one:
https://github.com/GHopperMSK/configs/blob/master/bin/restart-sound

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1888598

Title:
  Pulseaudio breaks HDMI audio on sleep/wake

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1888598/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1888598] Re: Pulseaudio breaks HDMI audio on sleep/wake

2020-12-23 Thread Gustik
I have the same issue.
Linux nova 5.4.0-58-generic #64-Ubuntu SMP Wed Dec 9 08:16:25 UTC 2020 x86_64 
x86_64 x86_64 GNU/Linux
Ubuntu 20.04.1 LTS

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1888598

Title:
  Pulseaudio breaks HDMI audio on sleep/wake

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1888598/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1888598] Re: Pulseaudio breaks HDMI audio on sleep/wake

2020-12-04 Thread Tom
I have the same issue.  On 20.04, pulse audio creates of the HDMI/DP
device on wake after sleep, and starts using it even though I previously
configured the earlier copy of itself to "Off" using pavucontrol.

This is particularly annoying because it the device is built into my
monitor, is crappy, and there is no way to physically turn off the
device.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1888598

Title:
  Pulseaudio breaks HDMI audio on sleep/wake

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1888598/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1888598] Re: Pulseaudio breaks HDMI audio on sleep/wake

2020-12-04 Thread Tom
I have the same issue.  On 20.04, pulse audio creates of the HDMI/DP
device on wake after sleep, and starts using it even though I previously
configured the earlier copy of itself to "Off" using pavucontrol.

This is particularly annoying because it the device is built into my
monitor, is crappy, and there is no way to physically turn off the
device.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1888598

Title:
  Pulseaudio breaks HDMI audio on sleep/wake

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1888598/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1888598] Re: Pulseaudio breaks HDMI audio on sleep/wake

2020-11-30 Thread Daniel van Vugt
See also bug 1745866 and bug 1718927

** Summary changed:

- pulseaudio breaks hdmi audio on sleep/wake in ubuntu 20.10
+ Pulseaudio breaks HDMI audio on sleep/wake

** Tags added: hdmi

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1888598

Title:
  Pulseaudio breaks HDMI audio on sleep/wake

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1888598/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1888598] Re: pulseaudio breaks hdmi audio on sleep/wake in ubuntu 20.10

2020-11-13 Thread Tessa
additional behaviour I've noticed:

on first boot, when the sound device isn't in use for a while, it stops
sending bitstream data to the receiver, until there's a new audio event.
it seems to be some sort of device sleep mode.

on 20.04, after resuming from sleep, this device sleep mode wouldn't
activate again. on 20.10, it activates after sleep, but if it does,
about half the time it breaks the sound output and i have `pulseaudio
-k` to get things back to a usable state.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1888598

Title:
  pulseaudio breaks hdmi audio on sleep/wake in ubuntu 20.10

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1888598/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1888598] Re: pulseaudio breaks hdmi audio on sleep/wake in ubuntu 20.10

2020-10-26 Thread Tessa
** Summary changed:

- pulseaudio has is buggy with hdmi audio and sleep/wake
+ pulseaudio breaks hdmi audio on sleep/wake in ubuntu 20.10

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1888598

Title:
  pulseaudio breaks hdmi audio on sleep/wake in ubuntu 20.10

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1888598/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs