You are not logged in.
Hi,
I got new hardware and I'm stuck on the sound setup. Just focussing on alsa, I can speaker-test -D front and hear something. surround51 refuses to work.
In detail:
Board: Gigabyte Z690 UD DDR4 (the ALC chip isn't known physically, my only hint stems from dmesg!)
Linux 5.19.13-arch1-1 (updated today from 5.19.12, no changes noticed)
speaker-test -c6 -t sine -Dsurround51
speaker-test 1.2.7
Playback device is surround51
Stream parameters are 48000Hz, S16_LE, 6 channels
Sine wave rate is 440.0000Hz
Channels count (6) not available for playbacks: Invalid argument
Setting of hwparams failed: Invalid argument# dmesg | grep -PiC2 'snd|sof|audio'
[ 0.183058] ACPI: Added _OSI(Processor Aggregator Device)
[ 0.183059] ACPI: Added _OSI(Linux-Dell-Video)
[ 0.183059] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[ 0.183060] ACPI: Added _OSI(Linux-HPI-Hybrid-Graphics)
[ 0.264353] ACPI: 16 ACPI AML tables successfully acquired and loaded
--
[ 1.499694] usbcore: registered new device driver usb
[ 1.499709] pps_core: LinuxPPS API ver. 1 registered
[ 1.499709] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 1.499711] PTP clock support registered
[ 1.499716] EDAC MC: Ver: 3.0.0
--
[ 1.535628] pci 0000:01:00.1: D0 power state depends on 0000:01:00.0
[ 1.535665] PCI: CLS 64 bytes, default 64
[ 1.535674] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[ 1.535674] software IO TLB: mapped [mem 0x0000000023211000-0x0000000027211000] (64MB)
[ 1.535689] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x3407c077a8d, max_idle_ns: 440795342283 ns
[ 1.535690] Trying to unpack rootfs image as initramfs...
--
[ 4.199637] ata8.00: Features: Dev-Sleep
[ 4.199718] ata7.00: configured for UDMA/100
[ 4.201173] ata5.00: Features: Trust Dev-Sleep NCQ-sndrcv
[ 4.201624] ata5.00: supports DRM functions and may not be fully accessible
[ 4.206001] ata8.00: configured for UDMA/133
--
[ 8.913567] input: Logitech USB Receiver Mouse as /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6.2/1-6.2.1/1-6.2.1:1.1/0003:046D:C52B.0006/input/input10
[ 8.913753] input: Logitech USB Receiver Consumer Control as /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6.2/1-6.2.1/1-6.2.1:1.1/0003:046D:C52B.0006/input/input11
[ 8.928464] snd_hda_intel 0000:00:1f.3: enabling device (0000 -> 0002)
[ 8.929129] snd_hda_intel 0000:01:00.1: enabling device (0000 -> 0002)
[ 8.929279] snd_hda_intel 0000:01:00.1: Disabling MSI
[ 8.929289] snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client
[ 8.969889] input: Logitech USB Receiver System Control as /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6.2/1-6.2.1/1-6.2.1:1.1/0003:046D:C52B.0006/input/input12
[ 8.970276] hid-generic 0003:046D:C52B.0006: input,hiddev98,hidraw5: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-0000:00:14.0-6.2.1/input1
--
[ 59.690990] Buffer I/O error on dev sr0, logical block 7, async page read
[ 67.183219] x86/split lock detection: #AC: CHTTPClientThre/2984 took a split_lock trap at address: 0xf36716d3
[ 69.999690] snd_hda_intel 0000:00:1f.3: couldn't bind with audio component
[ 70.083638] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC897: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:line
[ 70.083641] snd_hda_codec_realtek hdaudioC0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[ 70.083643] snd_hda_codec_realtek hdaudioC0D0: hp_outs=1 (0x1b/0x0/0x0/0x0/0x0)
[ 70.083643] snd_hda_codec_realtek hdaudioC0D0: mono: mono_out=0x0
[ 70.083644] snd_hda_codec_realtek hdaudioC0D0: dig-out=0x11/0x0
[ 70.083645] snd_hda_codec_realtek hdaudioC0D0: inputs:
[ 70.083645] snd_hda_codec_realtek hdaudioC0D0: Front Mic=0x19
[ 70.083646] snd_hda_codec_realtek hdaudioC0D0: Rear Mic=0x18
[ 70.083647] snd_hda_codec_realtek hdaudioC0D0: Line=0x1a
[ 70.102143] snd_hda_codec_hdmi hdaudioC0D2: No i915 binding for Intel HDMI/DP codec
[ 70.102762] hdaudio hdaudioC0D2: Unable to configure, disabling
[ 70.102965] input: HDA Intel PCH Front Mic as /devices/pci0000:00/0000:00:1f.3/sound/card0/input29
[ 70.103010] input: HDA Intel PCH Rear Mic as /devices/pci0000:00/0000:00:1f.3/sound/card0/input30# lspci -vvv -s 00:1f.3
00:1f.3 Audio device: Intel Corporation Alder Lake-S HD Audio Controller (rev 11)
DeviceName: Onboard - Sound
Subsystem: Gigabyte Technology Co., Ltd Device a194
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 32, Cache Line Size: 64 bytes
Interrupt: pin B routed to IRQ 129
Region 0: Memory at 43518000 (64-bit, non-prefetchable) [size=16K]
Region 4: Memory at 43100000 (64-bit, non-prefetchable) [size=1M]
Capabilities: [50] Power Management version 3
Flags: PMEClk- DSI- D1- D2- AuxCurrent=55mA PME(D0-,D1-,D2-,D3hot+,D3cold+)
Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [80] Vendor Specific Information: Len=14 <?>
Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
Address: 00000000fee00338 Data: 0000
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel, snd_sof_pci_intel_tgl$ aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
lavrate
Rate Converter Plugin Using Libav/FFmpeg Library
samplerate
Rate Converter Plugin Using Samplerate Library
speexrate
Rate Converter Plugin Using Speex Resampler
jack
JACK Audio Connection Kit
oss
Open Sound System
pipewire
PipeWire Sound Server
pulse
PulseAudio Sound Server
speex
Plugin using Speex DSP (resample, agc, denoise, echo, dereverb)
upmix
Plugin for channel upmix (4,6,8)
vdownmix
Plugin for channel downmix (stereo) with a simple spacialization
default
Default ALSA Output (currently PulseAudio Sound Server)
sysdefault:CARD=PCH
HDA Intel PCH, ALC897 Analog
Default Audio Device
front:CARD=PCH,DEV=0
HDA Intel PCH, ALC897 Analog
Front output / input
surround21:CARD=PCH,DEV=0
HDA Intel PCH, ALC897 Analog
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
HDA Intel PCH, ALC897 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
HDA Intel PCH, ALC897 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
HDA Intel PCH, ALC897 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
HDA Intel PCH, ALC897 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
HDA Intel PCH, ALC897 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=PCH,DEV=0
HDA Intel PCH, ALC897 Digital
IEC958 (S/PDIF) Digital Audio Output
usbstream:CARD=PCH
HDA Intel PCH
USB Stream Output
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, LG Ultra HD
HDMI Audio Output
hdmi:CARD=NVidia,DEV=3
HDA NVidia, LG Ultra HD
HDMI Audio Output
hdmi:CARD=NVidia,DEV=4
HDA NVidia, HDMI 4
HDMI Audio Output
hdmi:CARD=NVidia,DEV=5
HDA NVidia, HDMI 5
HDMI Audio Output
hdmi:CARD=NVidia,DEV=6
HDA NVidia, HDMI 6
HDMI Audio Output
usbstream:CARD=NVidia
HDA NVidia
USB Stream Output$ aplay -l
card 0: PCH [HDA Intel PCH], device 0: ALC897 Analog [ALC897 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: ALC897 Digital [ALC897 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: HDMI 2 [LG Ultra HD ]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: HDMI 3 [LG Ultra HD ]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 10: HDMI 4 [HDMI 4]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 11: HDMI 5 [HDMI 5]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 12: HDMI 6 [HDMI 6]
Subdevices: 1/1
Subdevice #0: subdevice #0$ amixer -c0
Simple mixer control 'Master',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 87
Mono: Playback 55 [63%] [-24.00dB] [on]
Simple mixer control 'Headphone',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 87
Mono:
Front Left: Playback 0 [0%] [-65.25dB] [off]
Front Right: Playback 0 [0%] [-65.25dB] [off]
Simple mixer control 'PCM',0
Capabilities: pvolume
Playback channels: Front Left - Front Right
Limits: Playback 0 - 255
Mono:
Front Left: Playback 254 [100%] [-0.20dB]
Front Right: Playback 254 [100%] [-0.20dB]
Simple mixer control 'Front',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 87
Mono:
Front Left: Playback 87 [100%] [0.00dB] [on]
Front Right: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'Front Mic',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 0 [0%] [-34.50dB] [off]
Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Front Mic Boost',0
Capabilities: volume
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 3
Front Left: 0 [0%] [0.00dB]
Front Right: 0 [0%] [0.00dB]
Simple mixer control 'Surround',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 87
Mono:
Front Left: Playback 87 [100%] [0.00dB] [on]
Front Right: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'Center',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 87
Mono: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'LFE',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 87
Mono: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'Line',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 0 [0%] [-34.50dB] [off]
Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Line Boost',0
Capabilities: volume
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 3
Front Left: 0 [0%] [0.00dB]
Front Right: 0 [0%] [0.00dB]
Simple mixer control 'IEC958',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'IEC958 Default PCM',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'Capture',0
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 63
Front Left: Capture 2 [3%] [-15.75dB] [off]
Front Right: Capture 2 [3%] [-15.75dB] [off]
Simple mixer control 'Capture',1
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 63
Front Left: Capture 2 [3%] [-15.75dB] [off]
Front Right: Capture 2 [3%] [-15.75dB] [off]
Simple mixer control 'Auto-Mute Mode',0
Capabilities: enum
Items: 'Disabled' 'Enabled'
Item0: 'Enabled'
Simple mixer control 'Channel Mode',0
Capabilities: enum
Items: '2ch' '4ch' '6ch'
Item0: '2ch'
Simple mixer control 'Digital',0
Capabilities: cvolume
Capture channels: Front Left - Front Right
Limits: Capture 0 - 120
Front Left: Capture 0 [0%] [-30.00dB]
Front Right: Capture 0 [0%] [-30.00dB]
Simple mixer control 'Input Source',0
Capabilities: cenum
Items: 'Front Mic' 'Rear Mic' 'Line'
Item0: 'Rear Mic'
Simple mixer control 'Input Source',1
Capabilities: cenum
Items: 'Front Mic' 'Rear Mic' 'Line'
Item0: 'Front Mic'
Simple mixer control 'Loopback Mixing',0
Capabilities: enum
Items: 'Disabled' 'Enabled'
Item0: 'Disabled'
Simple mixer control 'Rear Mic',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 0 [0%] [-34.50dB] [off]
Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Rear Mic Boost',0
Capabilities: volume
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 3
Front Left: 0 [0%] [0.00dB]
Front Right: 0 [0%] [0.00dB]I removed all sound-related modprobe configs (I tried a few until I noticed a forgotten one, which fixed some basic device problems). There is no (/etc/|~.)asoundrc and pulseaudio isn't in the game yet (and after stopping it a few times, I just disabled the usage of the card).
edit: added
options snd_intel_dspcfg dsp_driver=2which led to no intel HDA detected at all, but no errors in dmesg either; setting it to 1 leads to the same result as if the configuration was not present.
Threads and links I've read so far (which make me believe it should work basically):
https://bbs.archlinux.org/viewtopic.php?id=258131 (the 60s delay exists here as well, not sure how this is related)
https://bbs.archlinux.org/viewtopic.php?id=275061 (other chip, but it looks like something went forward in spring this year)
https://bbs.archlinux.org/viewtopic.php?id=278198 (similar issues, haven't tested to force SOF yet, not eager to force to legacy laptop/stereo mode)
https://www.phoronix.com/news/Intel-Audio-AlderLake-PS (news about the hda driver supporting "S" since 2020)
and some less useful/matching search results. I see the dmesg error and suspect it might be a cause, but maybe someone with a similar setup can confirm/deny...
EDIT: looks like I'm stupid. I might be. Browsing the mixer options in alsamixer (I saw something "like use SPDIF as default" in alsa-info.sh output and decided to check), there is a switch to toggle output channels. Never saw this before, didn't expect it and (to my bad) never had the thought to check for more controls on the right.
Last edited by TRex (2022-10-13 20:32:45)
Offline