Ubuntu 19.04/19.10 qa:test - suspended system resumed without audio (fixed with pavucontrol toggle)

Bug #1816394 reported by Chris Guiver
20
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Ubuntu 19.04 & 19.10 QA-testing
This has occurred on on 4 similar boxes; dell optiplex 755 (x2), 780 & 960 (using GNOME (ubuntu 19.04), XFCE (ubuntu-studio 19.04), LXQt (lubuntu 19.04 & 19.10) & Ubuntu-MATE (19.10))
Last occurrence was d780 where a new bug was added; bug 1829494 to ensure diagnostic info was added
For additional info please look at https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1829494

----- Original report follows

Ubuntu 19.04 QA-Test (LIVE x86_64)

Dell optiplex d755, (c2d-e8300, 8gb, Radeon HD 2400 PRO/XT)
Two dell displays, left is landscape, right is portrait

This live test had two packages added: `vim` & `ubuntu-restricted-extras`

Background:
I added ubuntu-restricted-extras so I could run requested test on this system which had me streaming videos from utube - it was required to get around H264 errors (vim because I can't cope with other editors & added `multiverse` to my sources.

Issue:
With firefox streaming ABC News 24 (local AU news) I suspended machine. Waited
Awoke machine - everything resumed as expected .. Some circling was apparent on firefox before picture resumed, however no sound.

I was unable to fix it using any tools installed - to fix I `sudo apt install pavucontrol`, went to Configuration (or last tab) and Profile=Off on the drop-down menu, then returned to Profile=AnalogStereo Duplex. This is something I do on occasion for this machine on installed system or other machines I use.

This is really a minor issue, & may not be an issue on an installed system (though I come across it semi-regularly & just live with it). In regular use I pause/stop sound & know this makes this almost a non-issue (almost never happens when sound isn't playing).

ProblemType: Bug
DistroRelease: Ubuntu 19.04
Package: gnome-power-manager 3.30.0-2
ProcVersionSignature: Ubuntu 4.18.0-11.12-generic 4.18.12
Uname: Linux 4.18.0-11-generic x86_64
ApportVersion: 2.20.10-0ubuntu19
Architecture: amd64
CasperVersion: 1.402
CurrentDesktop: ubuntu:GNOME
Date: Mon Feb 18 11:01:59 2019
LiveMediaBuild: Ubuntu 19.04 "Disco Dingo" - Alpha amd64 (20190203)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: gnome-power-manager
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Chris Guiver (guiverc) wrote :
Revision history for this message
Chris Guiver (guiverc) wrote :
Revision history for this message
Chris Guiver (guiverc) wrote :
Revision history for this message
Chris Guiver (guiverc) wrote :
Revision history for this message
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:
http://iso.qa.ubuntu.com/qatracker/reports/bugs/1816394

tags: added: iso-testing
Chris Guiver (guiverc)
description: updated
Revision history for this message
Sebastien Bacher (seb128) wrote :

gnome-power-manager only provides an UI to display battery/power stats, that's not the faulty component there, maybe the kernel if it's a driver issue?

affects: gnome-power-manager (Ubuntu) → linux (Ubuntu)
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1816394

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Chris Guiver (guiverc) wrote : Re: Ubuntu 19.04 qa:test - suspended system resumed without audio (i fixed via add of pavucontrol)

It was a 'live' QA-test so re-running the test may not result in the same detail, and is extremely unlikely to match PID.

I can try to do it again (tried same tests using same ISO on two different boxes, it does re-occur but not very often). It occurs most often on dell 755's (I have 3 but two in particular), dell 960 (most common where I stop media from playing before I suspend which causes it to occur extremely rarely). I've learnt to live with it.

dell [optiplex] 755 (c2d-e6850, 5gb, amd/ati radeon rv516/x1300/x1550) - lubuntu 18.04 (occurs rarely as I usually don't suspend this one)
dell [optiplex] 960 (c2q-q9400, 8gb, amd/ati cedar radeon hd 5000/6000/7350/8350) - ubuntu 18.04 lts & ubuntu 19.04 (my main box so occurs here most)
dell [optiplex] 755 (c2d-e8300, 8gb, amd/ati radeon rv610/radeon hd2400 pro/xt) - runs debian-testing; occurs a lot here as i suspend this heaps too; but not ubuntu; this is the box I ran qa-test on.

Changing bug-status to confirmed as I can't apport-collect in a meaningful way in my opinion because it was a 'live' qa-test. I'll re-run tests on request if I'm told what to try and re-create & save.

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Chris Guiver (guiverc) wrote :

Lubuntu 19.04 daily QA-test (20190326.1 from /etc/apt/sources.list)
dell [optiplex] 755 (c2d-e6850, 5gb, amd/ati radeon rv516/x1300/x1550)
.
suspended system, waited, it resumed, circles on firefox, then after eth reconnected it resumed (silently). vlc wouldn't play sound either... :(https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1816394) - i fixed using `pavucontrol` as it was already installed... this I consider a minor issue.

// the above was copied from my qa-test comments...

Revision history for this message
ԜаӀtеr Ⅼарсһуnѕkі (wxl) wrote :

What are you doing with pavucontrol that "fixes" it? With that last comment, it's clear it's not the installation that solves the problem. You're doing something with the program but I'm not sure what.

Also you said that you tried several things to fix it that didn't work. What were they?

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Chris Guiver (guiverc) wrote :

Yeah writing is not great... my mind wanders...

"went to Configuration (or last tab) and Profile=Off on the drop-down menu, then returned to Profile=AnalogStereo Duplex."

is how I described it. The 'AnalogStereo Duplex' in that description will be whatever it was before I switch it off, then return it...

Revision history for this message
ԜаӀtеr Ⅼарсһуnѕkі (wxl) wrote :

OH! Interesting. Three more questions:

 1. Before installing/trying pavucontrol what else did you try?
 2. When you resume with no audio and have pavucontrol installed already, if you go to the profile selection tab, is it in the "off" state?
 3. Am I correct that you tested this and had it occur in both Lubuntu and Ubuntu? Did you test with any other flavors?

Revision history for this message
Chris Guiver (guiverc) wrote :

No it's NOT listed as off. When I go there I just take note of what it says ("Analogue Stereo Output" on this d960 box) and turn the profile so it says off. I then re-click the drop-down again to get the list, and put it back to "Analogue Stereo Output" (for my current box).

It's occurred on Lubuntu, Ubuntu, Ubuntu-Studio in QA-Testing (http://iso.qa.ubuntu.com/qatracker/reports/bugs/1816394) logs, it occurs also in debian-testing and has occurred for some time (ie. year+).

I just pause my music player, vlc or anything that creates sound, and the chance of it occurring (ie. no sound on resume) is extremely-rare. (I don't tend to suspend my fedora/opensuse boxes, so I'm not sure if it's just ubuntu/debian affected sorry).

A program should be playing sound when suspended if trying to re-create this (as it almost never occurs otherwise, and it's only occasional anyway).

As for what else I've tried - currently I can't recall anything... This has occurred over a number of releases, and I only put it in a bug-report because it occurred during my QA-testing sorry - my bad.

Chris Guiver (guiverc)
Changed in linux (Ubuntu):
status: Incomplete → New
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1816394

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Chris Guiver (guiverc) wrote : Re: Ubuntu 19.04 qa:test - suspended system resumed without audio (i fixed via add of pavucontrol)

Live QA-Test so I'm almost certain a new of test would not create identical trace details for the issue. This condition occurs about once a fortnight on my primary box (the d960 in list of machines it occurs on) but that system is somewhat modified (with loads more packages installed).

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Chris Guiver (guiverc) wrote :

just had this occur in a lubuntu 19.10 qa-test (live)
dell [optiplex] 780 (c2q-q9400, 8gb, amd/ati cedar radeon hd 5000/6000/7350/8350)
which is a box I don't see mentioned above

tags: added: eoan
Revision history for this message
Chris Guiver (guiverc) wrote :

For additional info please look at https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1829494

I attempted to ubuntu-bug (as requested in comment #14) with plan to file it using this lp.bug.report, but failed (it's a new bug sorry).

1829494 & this are the same issue.

Chris Guiver (guiverc)
summary: - Ubuntu 19.04 qa:test - suspended system resumed without audio (i fixed
- via add of pavucontrol)
+ Ubuntu 19.04 qa:test - suspended system resumed without audio (fixed
+ with pavucontrol toggle)
Chris Guiver (guiverc)
summary: - Ubuntu 19.04 qa:test - suspended system resumed without audio (fixed
- with pavucontrol toggle)
+ Ubuntu 19.04/19.10 qa:test - suspended system resumed without audio
+ (fixed with pavucontrol toggle)
Chris Guiver (guiverc)
description: updated
Revision history for this message
Chris Guiver (guiverc) wrote :

Lubuntu 19.10 QA-test (live 20190519)
dell [optiplex] 755 (c2d-e6850, 5gb, amd/ati radeon rv516/x1300/x1550)

i suspended system & waited, on resume i had screensaver operating which disappeared on movement of mouse. firefox streaming resumed, but without sound. i heard a click though, so press ^R to refresh firefox's window and video restarted with sound!

suspend system again, wait on resuming (power key) i got a different screensaver hiding display (and silence), and movement of mouse I could see firefox continuing to stream alas without sound. pausing and stopping it did nothing. I opened a new tab with different youtube video I'd watched earlier (selected from history) and it had no sound. Tried refresh of first tab and it restarted video but without sound.

pavucontrol & to Configuration tab, click blue square "Analog Stereo Duplex" so it's off, then back on. Instantly a loud din as I'd two music tabs playing at full volume....

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

Please test kernel in disco-proposed.

Revision history for this message
Chris Guiver (guiverc) wrote :

test system: d780 (installed lubuntu 19.04)

grub owned by 19.10 (lubuntu)

19.04 dist-upgraded; rebooted
-- grub updated on 19.10 system

19.04 booted, login & music playing via clementine

** for control/comparison, suspend/resume now

- suspend 1, wait ~20 secs, resume, alas no sound.
fix sound using pavucontrol ..
// i didn't expect it to occur first try..
- suspend 2, wait ~20 secs, resume & sound
- suspend 3, wait ~35 secs, resume & sound
- suspend 4, wait ~20 secs, resume, alas no sound.
fix sound using pavucontrol ..
- suspend 5, wait ~30 secs, resume, alas no sound.
fix sound using pavucontrol ..
- suspend 6, wait ~40 secs, resume & sound
- suspend 7, wait ~30 secs, resume, alas no sound
fix sound using pavucontrol
- suspend 8, wait ~45 secs, resume & sound

== 8 resumes, 4 with sound, 4 no-sound

sudo apt update; all up-to-date
add -proposed (main) to sources; apt update (37)
sudo apt dist-upgrade, inc. 5.0.0-20.21 kernel

reboot, load 19.10
update-grub (in 19.10/owner of grub)
reboot

19.04, check kernel: neofetch says 5.0.0-20-generic
clementine playing music

- suspend 1, wait ~20 secs, resume, alas no sound.
fix sound using pavucontrol ..
- suspend 2, wait ~30 secs, resume, alas no sound.
fix sound using pavucontrol ..
- suspend 3, wait ~30 secs, resume & sound
- suspend 4, wait ~20 secs, resume & sound
- suspend 5, wait ~25 secs, resume & sound
- suspend 6, wait ~40 secs, resume & sound
- suspend 7, wait ~40 secs, resume & sound
- suspend 8, wait ~30 secs, resume & sound
 8 resumes, 6 with sound, 2 no-sound

Statistically it's an improvement, but I think the testing shows not-fixed sorry. The issue has never been predictable (at least not to me) and I still had 2 failures with -proposed.

If flaws in my testing can be found - please notify me.
My 'primary' box has 19.10 on it, thus the use of d780.

Revision history for this message
Chris Guiver (guiverc) wrote :

quick Ubuntu-MATE 19.10 daily ISO (2019-09-03) test on
dell [optiplex] 755 (c2d-e6850, 5gb, amd/ati radeon rv516/x1300/x1550)

on suspend, 20sec wait, resume with power-button the sound didn't resume. I quickly tried to correct using things found on 'live' system, but switched to term, installed `pavucontrol` & toggled the audio profile there to have the `mpv` and `firefox` continue their audio. refreshing page on firefox didn't help.

description: updated
Revision history for this message
Chris Guiver (guiverc) wrote :

19.10 Lubuntu LIVE qa-tests (x2)
dell [optiplex] 755 (c2d-e8300, 8gb, amd/ati radeon rv610/radeon hd2400 pro/xt)
dell [optiplex] 780 (c2q-q9400, 8gb, amd/ati cedar radeon hd 5000/6000/7350/8350)

On 2nd d780 box my comments are (the MUTE/UNMUTE from panel is new) :-

suspend - it resumed without sound :(only vlc was playing so no ^R) , I had to load `pavucontrol` and toggle the profile off/on to have sound resume.
I paused `vlc` (what I do normally to avoid this issue) and suspended again, resumed & no sound :( i played with various things (not pavucontrol) to try & get sound to resume - got it working with toggling mute/unmute with panel sound control - never used this before....

Chris Guiver (guiverc)
tags: added: focal
Revision history for this message
Chris Guiver (guiverc) wrote :

this issue is not limited to Ubuntu..

I've been suspending debian-bullseye (11) on
- dell [optiplex] 780 (c2q-q9400, 8gb, amd/ati cedar radeon hd 5000/6000/7350/8350)

lately and when I resume I have this issue. The d780 box has numerous lubuntu installs (used for QA & support) but I don't suspend any of them.

Of note it's been a looooong time since I've had this issue with my primary d960 box (it's on impish now as on development cycle).

Norbert (nrbrtx)
tags: removed: disco eoan
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.