Bug 1913702 - [5.10.4 Regression] screen saver won't wake up on display connected to HDMI/DP port
Summary: [5.10.4 Regression] screen saver won't wake up on display connected to HDMI/D...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 33
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1913703 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-01-07 12:22 UTC by H.J. Lu
Modified: 2021-11-30 16:08 UTC (History)
20 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-11-30 16:08:28 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description H.J. Lu 2021-01-07 12:22:45 UTC
On machines with Intel display audio codecs and display connected to
HDMI/DP port, after screen goes blank, it never comes back.  It is
caused by

commit db71bc7ef3edd98299f83c7dba80b2cdba32de23
Author: Kai Vehmanen <kai.vehmanen.com>
Date:   Thu Dec 10 19:44:45 2020 +0200

    ALSA: hda/hdmi: fix silent stream for first playback to DP
    
    [ Upstream commit b1a5039759cb7bfcb2157f28604dbda0bca58598 ]
    
    A problem exists in enabling silent stream when connection type is
    DisplayPort. Silent stream programming is completed when a new DP
    receiver is connected, but infoframe transmission does not actually
    start until PCM is opened for the first time. This can result in audible
    gap of multiple seconds. This only affects the first PCM open.
    
    Fix the issue by properly assigning a converter to the silent stream,
    and modifying the required stream ID programming sequence.
    
    This change only affects Intel display audio codecs.
    
    BugLink: https://github.com/thesofproject/linux/issues/2468
    Fixes: 951894cf30f4 ("ALSA: hda/hdmi: Add Intel silent stream support")
    Signed-off-by: Kai Vehmanen <kai.vehmanen.com>
    Link: https://lore.kernel.org/r/20201210174445.3134104-1-kai.vehmanen@linux.intel.com
    Signed-off-by: Takashi Iwai <tiwai>
    Signed-off-by: Sasha Levin <sashal>

and fixed on master branch by

commit 3d5c5fdcee0f9a94deb0472e594706018b00aa31
Author: Takashi Iwai <tiwai>
Date:   Fri Jan 1 09:38:52 2021 +0100

    ALSA: hda/hdmi: Fix incorrect mutex unlock in silent_stream_disable()
    
    The silent_stream_disable() function introduced by the commit
    b1a5039759cb ("ALSA: hda/hdmi: fix silent stream for first playback to
    DP") takes the per_pin->lock mutex, but it unlocks the wrong one,
    spec->pcm_lock, which causes a deadlock.  This patch corrects it.
    
    Fixes: b1a5039759cb ("ALSA: hda/hdmi: fix silent stream for first playback to DP")
    Reported-by: Jan Alexander Steffens (heftig) <heftig>
    Cc: <stable.org>
    Acked-by: Kai Vehmanen <kai.vehmanen.com>
    Link: https://lore.kernel.org/r/20210101083852.12094-1-tiwai@suse.de
    Signed-off-by: Takashi Iwai <tiwai>

Comment 1 H.J. Lu 2021-01-07 13:12:08 UTC
*** Bug 1913703 has been marked as a duplicate of this bug. ***

Comment 2 Masami Ichikawa 2021-01-10 00:45:21 UTC
I confirmed that linux 5.10.6 fixed this issue.

This patch fixed this issue. https://github.com/torvalds/linux/commit/3d5c5fdcee0f9a94deb0472e594706018b00aa31

Comment 3 Masami Ichikawa 2021-01-13 00:00:27 UTC
5.10.6-200.fc33 fixed this issue.

Comment 4 Ben Cotton 2021-11-04 16:20:18 UTC
This message is a reminder that Fedora 33 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 33 on 2021-11-30.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '33'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 33 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 5 Ben Cotton 2021-11-30 16:08:28 UTC
Fedora 33 changed to end-of-life (EOL) status on 2021-11-30. Fedora 33 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.