[SRU] Linux,Ubuntu,18.4,CI,OLP15,PRTS, Audio/video is out of sync/lag when enter Suspend during playback

Bug #1882042 reported by Hui Wang on 2020-06-04
16
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HWE Next
Undecided
Unassigned
pulseaudio (Ubuntu)
High
Hui Wang
Bionic
High
Hui Wang

Bug Description

[Impact]
Users reported the audio and video is out of sync when entering suspend during playback on bionic.

[Fix]
The mainline pulseaudio already has the fix for this issue, and the fix is already in the eoan, focal and groovy, but it is not in the bionic.

[Test Case]
open a online video on the firefox, while it is playing, suspend the system, wait for 30 seconds, resume the system, the audio and video is still on the sync.

[Potential Regression Risk]
Low, these 2 patches are already in the mainline pulseaudio, and already in the eoan, focal and groovy.

Most of the change is in the suspend/unsuspend on alsa sink/source, the potential regression risk is the playback/recording stops working after
machine suspend and resume or playback/recording has an obvious discontinuity before suspend and after resume. I have done the test on a Lenovo and a Dell machine, the playback/recording worked well after resuming.

Hui Wang (hui.wang) on 2020-06-04
Changed in pulseaudio (Ubuntu):
importance: Undecided → High
Hui Wang (hui.wang) on 2020-06-04
tags: added: originate-from-1880952 somerville
Hui Wang (hui.wang) wrote :

This is the debdiff for bionic.

Since the patches are already in the mainline, eoan and focal already have the patches, no need to send debdiff for eoan and focal.

summary: - Linux,Ubuntu,18.4,CI,OLP15,PRTS, Audio/video is out of sync/lag when
- enter Suspend during playback
+ [SRU] Linux,Ubuntu,18.4,CI,OLP15,PRTS, Audio/video is out of sync/lag
+ when enter Suspend during playback
Hui Wang (hui.wang) on 2020-06-04
description: updated
Mathew Hodson (mhodson) on 2020-06-09
Changed in pulseaudio (Ubuntu Bionic):
importance: Undecided → High
Changed in pulseaudio (Ubuntu Bionic):
assignee: nobody → Hui Wang (hui.wang)
Hui Wang (hui.wang) on 2020-06-18
Changed in pulseaudio (Ubuntu Bionic):
status: New → Fix Committed
Sebastien Bacher (seb128) wrote :

@Hui, thanks for the work, do you want that bionic update uploaded now or should we try to include other pending fixes still there?

Changed in pulseaudio (Ubuntu):
status: New → Fix Released
Hui Wang (hui.wang) wrote :

@Seb,

No other pending fixes so far, please upload now.

thx.

Sebastien Bacher (seb128) wrote :

the changes are uploaded to the bionic SRU queue

Hello Hui, or anyone else affected,

Accepted pulseaudio into bionic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/pulseaudio/1:11.1-1ubuntu7.9 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-bionic to verification-done-bionic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-bionic. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

tags: added: verification-needed verification-needed-bionic
Łukasz Zemczak (sil2100) wrote :

Thank you for the SRU! I will accept it as I see it was waiting in the queue long enough already, but I would appreciate a bit more investigation regarding the regression potential. Could you please update the [Regression Potential] field with information regarding in which places potential regressions could be seen after users upgrade to this package version? The introduced patches are quite big, touching a lot of code, so I'd like someone look at the changes and try to identify possible unrelated use-cases that can be broken by those changes.

Hui Wang (hui.wang) wrote :

Install the 18.04 on a Lenovo and a Dell machine, run apt-get dist-upgrade.

Open Software & Update, enable bionic-proposed

sudo apt-get update
sudo apt install pulseaudio
check the puleaudio is 1:11.1-1ubuntu7.9

Open the browser and play a online video from sohu.com, suspend the machine, wait for 20s, resume the machine, the sound and video is still in sync.

Hui Wang (hui.wang) on 2020-06-30
tags: added: verification-done verification-done-bionic
removed: verification-needed verification-needed-bionic
Hui Wang (hui.wang) wrote :

And updated the [Potential Regression Risk].

thx.

description: updated
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers