Bug 1959169 - HDMI audio output no longer working after upgrade to Fedora 34
Summary: HDMI audio output no longer working after upgrade to Fedora 34
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: alsa-lib
Version: 34
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Jaroslav Kysela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-05-10 19:57 UTC by Thomas Köller
Modified: 2022-06-07 22:20 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-06-07 22:20:19 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Thomas Köller 2021-05-10 19:57:14 UTC
After I upgraded my system from Fedora 33 to Fedora 34, I can no longer output any sound through the HDMI interface. I originally assumed that the problem might be caused by the switch from pulseaudio to pipewire, but it seems that the problem is already present at the alsa level:

[thomas@htpc ~]$ aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
pipewire
    PipeWire Sound Server
default
    Default ALSA Output (currently PipeWire Media Server)
hdmi:CARD=HDMI,DEV=0
    HDA ATI HDMI, HDMI 0
    HDMI Audio Output
[thomas@htpc ~]$ speaker-test -c2 -f440 -tsine -Dhdmi:CARD=HDMI,DEV=0

speaker-test 1.2.4

Playback device is hdmi:CARD=HDMI,DEV=0
Stream parameters are 48000Hz, S16_LE, 2 channels
Sine wave rate is 440.0000Hz
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 64 to 8544000
Period size range from 32 to 4272000
Using max buffer size 8544000
Periods = 4
Unable to set hw params for playback: Cannot allocate memory
Setting of hwparams failed: Cannot allocate memory

Comment 1 Jaroslav Kysela 2021-05-10 20:50:00 UTC
Workaround: echo 8192 > /proc/asound/card1/pcm3p/sub0/prealloc

You may set this value for all pcm devices for the HDMI card.

Comment 2 Thomas Köller 2021-05-11 11:14:58 UTC
(In reply to Jaroslav Kysela from comment #1)
> Workaround: echo 8192 > /proc/asound/card1/pcm3p/sub0/prealloc
> 
> You may set this value for all pcm devices for the HDMI card.

Works, thank you. Will there eventually be a fix for the underlying issue? Is there a location for me to watch, to keep me updated?

Comment 3 Ben Cotton 2022-05-12 15:33:45 UTC
This message is a reminder that Fedora Linux 34 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 34 on 2022-06-07.
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
'version' of '34'.

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

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 34 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 Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 4 Ben Cotton 2022-06-07 22:20:19 UTC
Fedora Linux 34 entered end-of-life (EOL) status on 2022-06-07.

Fedora Linux 34 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.

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.