Bug 218307 - [SOLVED] Audio card detected but no sound is outputted
Summary: [SOLVED] Audio card detected but no sound is outputted
Status: RESOLVED IMPLEMENTED
Alias: None
Product: Drivers
Classification: Unclassified
Component: Sound(ALSA) (show other bugs)
Hardware: AMD Linux
: P3 normal
Assignee: Jaroslav Kysela
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-25 03:06 UTC by Christopher B.
Modified: 2024-01-17 04:38 UTC (History)
2 users (show)

See Also:
Kernel Version: 6.6.6 <
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Christopher B. 2023-12-25 03:06:15 UTC
The system is detecting the hardware (Family HD Audio Controller) but no sound is being outputed. I can confirm that the issue is not present in kernel 6.5.6 but going to 6.6.6 forward audio stops working. Just confirmed today that 6.6.8 does not work.

Using 'alsamixer' I can control volume and mute on the card but when running 'speaker-test' or any audio from the system, no errors are shown but no audio is heard.

$ lspci | grep Audio
01:00.1 Audio device: NVIDIA Corporation GA106 High Definition Audio Controller (rev a1)
05:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD Audio Controller

$ aplay -lL
null
    Discard all samples (playback) or generate zero samples (capture)
pipewire
    PipeWire Sound Server
hdmi:CARD=NVidia,DEV=0
    HDA NVidia, HDMI 0
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=1
    HDA NVidia, HDMI 1
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=2
    HDA NVidia, HDMI 2
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 3
    HDMI Audio Output
default:CARD=Generic
    HD-Audio Generic, ALC287 Analog
    Default Audio Device
sysdefault:CARD=Generic
    HD-Audio Generic, ALC287 Analog
    Default Audio Device
front:CARD=Generic,DEV=0
    HD-Audio Generic, ALC287 Analog
    Front output / input
surround21:CARD=Generic,DEV=0
    HD-Audio Generic, ALC287 Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=Generic,DEV=0
    HD-Audio Generic, ALC287 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Generic,DEV=0
    HD-Audio Generic, ALC287 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Generic,DEV=0
    HD-Audio Generic, ALC287 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Generic,DEV=0
    HD-Audio Generic, ALC287 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Generic,DEV=0
    HD-Audio Generic, ALC287 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 0: ALC287 Analog [ALC287 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
Comment 1 smaug 2023-12-25 19:50:07 UTC
Possibly the same issue, or at least similar. On F38, headphones output is very very quiet with kernel > 6.6.6. 6.6.6 is still fine.
63:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt Radeon High Definition Audio Controller
63:00.5 Multimedia controller: Advanced Micro Devices, Inc. [AMD] ACP/ACP3X/ACP6x Audio Coprocessor (rev 63)
63:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD Audio Controller
Comment 2 Christopher B. 2023-12-25 23:55:38 UTC
It might be. I ha e the issue on both Arch and F38 when the kernel version is at or higher than 6.6.6
Comment 3 Christopher B. 2024-01-01 00:04:17 UTC
I was browsing the diff on each of the releases and was trying to see if there was a difference between the 6.1 and 6.6. I found this change to sound wireless was made. Not very knowledgeable on how this works and even if it could be a culprit. 

https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/diff/drivers/soundwire/stream.c?id=v6.6.8&id2=v6.6.7

Would someone with more knowledge be able to shed some light maybe?
Comment 4 Christopher B. 2024-01-17 04:37:20 UTC
This issue was fixed in kernel 6.7

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