You are not logged in.
Hey fellow Arch users,
I don't have any sound output from my onboard audio. I've searched for solutions on the internet (including this forum) for the last 2 months, with no success.
Kernel: 5.16.16-arch1-1
Motherboard: ASUS LGA1700 ROG MAXIMUS Z690 HERO
GPU: ASUS GTX 1080 STRIX (used with DisplayPort)
sudo dmesg | grep snd
[ 2.273355] snd_hda_intel 0000:00:1f.3: enabling device (0000 -> 0002)
[ 2.273605] snd_hda_intel 0000:01:00.1: enabling device (0000 -> 0002)
[ 2.273657] snd_hda_intel 0000:01:00.1: Disabling MSI
[ 2.273659] snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client
[ 3.277920] snd_hda_intel 0000:00:1f.3: azx_get_response timeout, switching to polling mode: last cmd=0x000f0000
[ 4.281370] snd_hda_intel 0000:00:1f.3: No response from codec, disabling MSI: last cmd=0x000f0000
[ 5.291313] snd_hda_intel 0000:00:1f.3: Codec #0 probe error; disabling it...
[ 6.297931] snd_hda_intel 0000:00:1f.3: azx_get_response timeout, switching to single_cmd mode: last cmd=0x000f0000
[ 6.298490] snd_hda_intel 0000:00:1f.3: no codecs initialized
[ 13.645611] usbcore: registered new interface driver snd-usb-audio
sudo lspci -vvv -s 00:1f.3
DeviceName: Onboard - Sound
Subsystem: ASUSTeK Computer Inc. Device 8694
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 17
Region 0: Memory at 4012118000 (64-bit, non-prefetchable) [size=16K]
Region 4: Memory at 4012000000 (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: 0000000000000000 Data: 0000
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel, snd_sof_pci_intel_tgl
I suspect the problem is that the kernel tries to use the wrong module (snd_hda_intel) instead of the correct one (snd_sof_pci_intel_tgl).
I have sof-firmware installed.
Any help is greatly appreciated, thanks!
Last edited by vzsolt (2022-03-23 06:57:57)
Offline
Do you have a modprobe config to the tune of
options snd_intel_dspcfg dsp_driver=1
? If so remove it, if not, try adding that but setting dsp_driver=2 which should logically enforce the SOF path. However this should normally be attempted by default so if it isn't then you likely lack kernel level logistics/support here, maybe give the 5.17 kernel from the testing repos a shot, which will likely come with a slew of HW support enablements.
Last edited by V1del (2022-03-23 09:47:05)
Offline
Thank you for the quick reply.
I had no modprobe settings (cleaned them after I've tried the all the settings I could conjure up from the internet).
I've added "options snd_intel_dspcfg dsp_driver=2" to my modprobe config.
The new state is:
sudo dmesg | grep snd
[ 2.446667] snd_hda_intel 0000:01:00.1: enabling device (0000 -> 0002)
[ 2.446720] snd_hda_intel 0000:01:00.1: Disabling MSI
[ 2.446722] snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client
[ 13.147582] usbcore: registered new interface driver snd-usb-audio
Seemingly the device disappeared from the kernel log.
sudo 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: ASUSTeK Computer Inc. Device 8694
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-
Interrupt: pin B routed to IRQ 255
Region 0: Memory at 4012118000 (64-bit, non-prefetchable) [disabled] [size=16K]
Region 4: Memory at 4012000000 (64-bit, non-prefetchable) [disabled] [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: 0000000000000000 Data: 0000
Kernel modules: snd_hda_intel, snd_sof_pci_intel_tgl
The device doesn't use any kernel module now.
Will wait until 5.17 gets to core then and will get back to you with the result.
Thanks!
Last edited by vzsolt (2022-03-23 10:03:10)
Offline
Which was somewhat what I expected, as it should try to load sof by default if any relevant definitions were present in the kernel,
FWIW something I'm just realizing, the sof path is not guaranteed to contain snd, so what do you get for
sudo dmesg | grep sof
, chances are it does try to load and then fails for some reason, in which case you might try sof-firmware-git or so.
Offline
sudo dmesg | grep sof
[ 0.309267] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[ 0.309268] software IO TLB: mapped [mem 0x0000000064fda000-0x0000000068fda000] (64MB)
[ 0.955181] usb 1-1: Product: Microsoft® 2.4GHz Transceiver v9.0
[ 0.955181] usb 1-1: Manufacturer: Microsoft
[ 4.660810] input: Microsoft Microsoft® 2.4GHz Transceiver v9.0 as /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.0/0003:045E:07A5.0001/input/input10
[ 4.717794] hid-generic 0003:045E:07A5.0001: input,hidraw0: USB HID v1.11 Keyboard [Microsoft Microsoft® 2.4GHz Transceiver v9.0] on usb-0000:00:14.0-1/input0
[ 4.724922] input: Microsoft Microsoft® 2.4GHz Transceiver v9.0 Mouse as /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.1/0003:045E:07A5.0002/input/input11
[ 4.725272] input: Microsoft Microsoft® 2.4GHz Transceiver v9.0 Consumer Control as /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.1/0003:045E:07A5.0002/input/input12
[ 4.725696] hid-generic 0003:045E:07A5.0002: input,hidraw1: USB HID v1.11 Mouse [Microsoft Microsoft® 2.4GHz Transceiver v9.0] on usb-0000:00:14.0-1/input1
[ 4.732027] input: Microsoft Microsoft® 2.4GHz Transceiver v9.0 Consumer Control as /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.2/0003:045E:07A5.0003/input/input13
[ 4.787601] input: Microsoft Microsoft® 2.4GHz Transceiver v9.0 System Control as /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.2/0003:045E:07A5.0003/input/input14
[ 4.787948] hid-generic 0003:045E:07A5.0003: input,hidraw2: USB HID v1.11 Device [Microsoft Microsoft® 2.4GHz Transceiver v9.0] on usb-0000:00:14.0-1/input2
I see no errors, should I still try the git version of sof-firmware?
Last edited by vzsolt (2022-03-23 10:14:43)
Offline
No, it's literally not loading it (... however maybe remove the modprobe file and try to reboot and recheck to make sure we are back to default behavior). Attempting to load it should come from the kernel, whether the firmware itself is compatible is a different question, but before that kernel would have to try.
Offline
Removed the modprobe file, the output of "sudo dmesg | grep sof" seems to be the same.
[ 0.309442] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[ 0.309442] software IO TLB: mapped [mem 0x0000000064fda000-0x0000000068fda000] (64MB)
[ 0.911950] usb 1-1: Product: Microsoft® 2.4GHz Transceiver v9.0
[ 0.911951] usb 1-1: Manufacturer: Microsoft
[ 4.587105] input: Microsoft Microsoft® 2.4GHz Transceiver v9.0 as /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.0/0003:045E:07A5.0001/input/input10
[ 4.641255] hid-generic 0003:045E:07A5.0001: input,hidraw0: USB HID v1.11 Keyboard [Microsoft Microsoft® 2.4GHz Transceiver v9.0] on usb-0000:00:14.0-1/input0
[ 4.648266] input: Microsoft Microsoft® 2.4GHz Transceiver v9.0 Mouse as /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.1/0003:045E:07A5.0002/input/input11
[ 4.648538] input: Microsoft Microsoft® 2.4GHz Transceiver v9.0 Consumer Control as /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.1/0003:045E:07A5.0002/input/input12
[ 4.648944] hid-generic 0003:045E:07A5.0002: input,hidraw1: USB HID v1.11 Mouse [Microsoft Microsoft® 2.4GHz Transceiver v9.0] on usb-0000:00:14.0-1/input1
[ 4.655156] input: Microsoft Microsoft® 2.4GHz Transceiver v9.0 Consumer Control as /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.2/0003:045E:07A5.0003/input/input13
[ 4.711037] input: Microsoft Microsoft® 2.4GHz Transceiver v9.0 System Control as /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.2/0003:045E:07A5.0003/input/input14
[ 4.711478] hid-generic 0003:045E:07A5.0003: input,hidraw2: USB HID v1.11 Device [Microsoft Microsoft® 2.4GHz Transceiver v9.0] on usb-0000:00:14.0-1/input2
Offline
Yeah, no dice, as mentioned 5.17 is basically around the corner, I'd wait for/test with that.
As a side note, please wrap outputs in [ code ] instead of [ quote ], it will make things more readable and make longer outputs scrollable.
Offline
Noted, will follow suit in the future.
Will get back to you after the 5.17 hits the core repo.
Thanks!
Offline
Hi there,
your dmesg /lspci output looks very familiar to me(ROG STRIX Z690-I)
# dmesg | grep sof
[ 0.385238] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[ 0.385238] software IO TLB: mapped [mem 0x0000000035e4e000-0x0000000039e4e000] (64MB)
# dmesg | grep snd
[ 3.628238] snd_hda_intel 0000:00:1f.3: enabling device (0000 -> 0002)
[ 3.628531] snd_hda_intel 0000:01:00.1: enabling device (0000 -> 0002)
[ 3.628566] snd_hda_intel 0000:01:00.1: Disabling MSI
[ 3.628569] snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client
[ 3.632682] snd_hda_intel 0000:00:1f.3: no codecs found!
[ 12.975548] usbcore: registered new interface driver snd-usb-audio
# 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: ASUSTeK Computer Inc. Device 8694
...
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel, snd_sof_pci_intel_tgl
$ cat /proc/asound/cards
0 [PCH ]: HDA-Intel - HDA Intel PCH
HDA Intel PCH at 0x4064218000 irq 208
1 [NVidia ]: HDA-Intel - HDA NVidia
HDA NVidia at 0x87080000 irq 17
2 [Audio ]: USB-Audio - USB Audio
Generic USB Audio at usb-0000:00:14.0-8, high speed
For me sound is properly working with snd_hda_intel kernel driver/ Kernel: 5.16.16-arch1-1
Do you happen to use pipewire especially with wireplumber as its session manager?
-> read bootlog (journalctl -b) or run from terminal "WIREPLUMBER_DEBUG=3 wireplumber" and see what it fails to start.
They had some issues after updates in the past (~2 month and the same 5 days ago) with some deprecated functions in upstream and they lead to non functional (default) configs in /etc/ resp. ~/.config/...
Copy over the new defaults from /usr/share/wireplumber does the trick for me.
Last edited by c0f (2022-03-28 12:29:31)
Offline
Hmm? sounds weird to me that it would work without a codec, but I guess we did indeed never see the output of aplay -l
Offline
I do use pipewire indeed.
I've tried it with both pipewire-media-session and wireplumber. On wireplumber, I've also checked for possible errors, there were none, and it didn't pick up any config from /etc/ or ~/.config (there are none), it all came from /usr/share.
I also wonder how pipewire, a media manager in user space, could make something work in kernel space that fails in said space.
Output of
aplay - l
**** List of PLAYBACK Hardware Devices ****
card 0: Audio [USB Audio], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Audio [USB Audio], device 1: USB Audio [USB Audio #1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Audio [USB Audio], device 2: USB Audio [USB Audio #2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Audio [USB Audio], device 3: USB Audio [USB Audio #3]
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 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
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
Offline
V1del,
since 5.17 came out from testing minutes ago, using it I've replayed the steps in this thread (including
options snd_intel_dspcfg dsp_driver=2
), got the same results, still no sound.
How should I proceed?
Offline
The USB card comes from where? Can't you use that? But with regards to the original issue, the only other suggestion I have outside of finding/reporting upstream bugs is checking something like sof-firmware-git or so. On the new kernel do you get other output from a
sudo dmesg | grep -iE 'snd|sof'
However I consider it not unlikely that the USB card is your actual audio card and we've been chasing a red hering. Does none of
speaker-test -Dhw:0,0 -c2
give you audio? replace the number after the comma in the hw line one by one with the relevant subdevices. if they do post
pactl list cards
pactl list sinks
Last edited by V1del (2022-03-30 00:21:13)
Offline
sudo dmesg | grep -iE 'snd|sof'
[ 1.958277] snd_hda_intel 0000:00:1f.3: enabling device (0000 -> 0002)
[ 1.958696] snd_hda_intel 0000:01:00.1: enabling device (0000 -> 0002)
[ 1.958760] snd_hda_intel 0000:01:00.1: Disabling MSI
[ 1.958772] snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client
[ 1.962581] snd_hda_intel 0000:00:1f.3: no codecs found!
The USB card is the onboard sound card, on these boards they are separated from the motherboard so further isolate it from noise. It still has the standard front and back panel.
The speaker-test worked on i, it generated sound.
However, nothing else can produce sounds, tried out all outputs, I've used KDE's Systems settings' Sound test, firefox, media player, etc. No sound from any application, on any output.
pactl list cards
Card #41
Name: alsa_card.pci-0000_05_04.0
Driver: alsa
Owner Module: n/a
Properties:
api.acp.auto-port = "false"
api.acp.auto-profile = "false"
api.alsa.card = "2"
api.alsa.card.longname = "Asus Virtuoso 100 at 0x4000, irq 16"
api.alsa.card.name = "Xonar DX"
api.alsa.path = "hw:2"
api.alsa.use-acp = "true"
api.dbus.ReserveDevice1 = "Audio2"
device.api = "alsa"
device.bus = "pci"
device.bus_path = "pci-0000:05:04.0"
device.description = "CMI8788 [Oxygen HD Audio] (Virtuoso 100 (Xonar DX))"
device.enum.api = "udev"
device.icon_name = "audio-card-analog-pci"
device.name = "alsa_card.pci-0000_05_04.0"
device.nick = "Xonar DX"
device.plugged.usec = "6501310"
device.product.id = "34696"
device.product.name = "CMI8788 [Oxygen HD Audio] (Virtuoso 100 (Xonar DX))"
device.subsystem = "sound"
device.sysfs.path = "/sys/devices/pci0000:00/0000:00:1b.4/0000:04:00.0/0000:05:04.0/sound/card2"
device.vendor.id = "5110"
device.vendor.name = "C-Media Electronics Inc"
media.class = "Audio/Device"
factory.id = "14"
client.id = "34"
object.id = "40"
object.serial = "41"
object.path = "alsa:pcm:2"
alsa.card = "2"
alsa.card_name = "Xonar DX"
alsa.long_card_name = "Asus Virtuoso 100 at 0x4000, irq 16"
alsa.driver_name = "snd_virtuoso"
device.string = "2"
Profiles:
off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (sinks: 1, sources: 1, priority: 6565, available: yes)
output:analog-stereo+input:iec958-stereo: Analog Stereo Output + Digital Stereo (IEC958) Input (sinks: 1, sources: 1, priority: 6555, available: yes)
output:analog-stereo: Analog Stereo Output (sinks: 1, sources: 0, priority: 6500, available: yes)
output:iec958-stereo+input:analog-stereo: Digital Stereo (IEC958) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 5565, available: yes)
output:iec958-stereo+input:iec958-stereo: Digital Stereo Duplex (IEC958) (sinks: 1, sources: 1, priority: 5555, available: yes)
output:iec958-stereo: Digital Stereo (IEC958) Output (sinks: 1, sources: 0, priority: 5500, available: yes)
output:analog-surround-51+input:analog-stereo: Analog Surround 5.1 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1365, available: yes)
output:analog-surround-51+input:iec958-stereo: Analog Surround 5.1 Output + Digital Stereo (IEC958) Input (sinks: 1, sources: 1, priority: 1355, available: yes)
output:analog-surround-51: Analog Surround 5.1 Output (sinks: 1, sources: 0, priority: 1300, available: yes)
output:analog-surround-40+input:analog-stereo: Analog Surround 4.0 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1265, available: yes)
output:analog-surround-71+input:analog-stereo: Analog Surround 7.1 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1265, available: yes)
output:analog-surround-40+input:iec958-stereo: Analog Surround 4.0 Output + Digital Stereo (IEC958) Input (sinks: 1, sources: 1, priority: 1255, available: yes)
output:analog-surround-71+input:iec958-stereo: Analog Surround 7.1 Output + Digital Stereo (IEC958) Input (sinks: 1, sources: 1, priority: 1255, available: yes)
output:analog-surround-40: Analog Surround 4.0 Output (sinks: 1, sources: 0, priority: 1200, available: yes)
output:analog-surround-71: Analog Surround 7.1 Output (sinks: 1, sources: 0, priority: 1200, available: yes)
output:iec958-ac3-surround-51+input:analog-stereo: Digital Surround 5.1 (IEC958/AC3) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 365, available: yes)
output:iec958-ac3-surround-51+input:iec958-stereo: Digital Surround 5.1 (IEC958/AC3) Output + Digital Stereo (IEC958) Input (sinks: 1, sources: 1, priority: 355, available: yes)
output:iec958-ac3-surround-51: Digital Surround 5.1 (IEC958/AC3) Output (sinks: 1, sources: 0, priority: 300, available: yes)
input:analog-stereo: Analog Stereo Input (sinks: 0, sources: 1, priority: 65, available: yes)
input:iec958-stereo: Digital Stereo (IEC958) Input (sinks: 0, sources: 1, priority: 55, available: yes)
pro-audio: Pro Audio (sinks: 2, sources: 2, priority: 1, available: yes)
Active Profile: output:iec958-stereo
Ports:
analog-input-mic: Microphone (type: Mic, priority: 8700, latency offset: 0 usec, availability unknown)
Properties:
port.type = "mic"
device.icon_name = "audio-input-microphone"
card.profile.port = "0"
Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-surround-40+input:analog-stereo, output:analog-surround-51+input:analog-stereo, output:analog-surround-71+input:analog-stereo, output:iec958-stereo+input:analog-stereo, output:iec958-ac3-surround-51+input:analog-stereo
analog-input-linein: Line In (type: Line, priority: 8100, latency offset: 0 usec, availability unknown)
Properties:
port.type = "line"
card.profile.port = "1"
Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-surround-40+input:analog-stereo, output:analog-surround-51+input:analog-stereo, output:analog-surround-71+input:analog-stereo, output:iec958-stereo+input:analog-stereo, output:iec958-ac3-surround-51+input:analog-stereo
analog-input-aux: Analog Input (type: Analog, priority: 8000, latency offset: 0 usec, availability unknown)
Properties:
port.type = "analog"
card.profile.port = "2"
Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-surround-40+input:analog-stereo, output:analog-surround-51+input:analog-stereo, output:analog-surround-71+input:analog-stereo, output:iec958-stereo+input:analog-stereo, output:iec958-ac3-surround-51+input:analog-stereo
iec958-stereo-input: Digital Input (S/PDIF) (type: SPDIF, priority: 0, latency offset: 0 usec, availability unknown)
Properties:
port.type = "spdif"
card.profile.port = "3"
Part of profile(s): input:iec958-stereo, output:analog-stereo+input:iec958-stereo, output:analog-surround-40+input:iec958-stereo, output:analog-surround-51+input:iec958-stereo, output:analog-surround-71+input:iec958-stereo, output:iec958-stereo+input:iec958-stereo, output:iec958-ac3-surround-51+input:iec958-stereo
analog-output: Analog Output (type: Analog, priority: 9900, latency offset: 0 usec, availability unknown)
Properties:
port.type = "analog"
card.profile.port = "4"
Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-stereo+input:iec958-stereo, output:analog-surround-40, output:analog-surround-40+input:analog-stereo, output:analog-surround-40+input:iec958-stereo, output:analog-surround-51, output:analog-surround-51+input:analog-stereo, output:analog-surround-51+input:iec958-stereo, output:analog-surround-71, output:analog-surround-71+input:analog-stereo, output:analog-surround-71+input:iec958-stereo
iec958-stereo-output: Digital Output (S/PDIF) (type: SPDIF, priority: 0, latency offset: 0 usec, availability unknown)
Properties:
port.type = "spdif"
card.profile.port = "5"
Part of profile(s): output:iec958-stereo, output:iec958-stereo+input:analog-stereo, output:iec958-stereo+input:iec958-stereo
Card #67
Name: alsa_card.usb-Generic_USB_Audio-00
Driver: alsa
Owner Module: n/a
Properties:
api.acp.auto-port = "false"
api.acp.auto-profile = "false"
api.alsa.card = "0"
api.alsa.card.longname = "Generic USB Audio at usb-0000:00:14.0-7, high speed"
api.alsa.card.name = "USB Audio"
api.alsa.path = "hw:0"
api.alsa.use-acp = "true"
api.dbus.ReserveDevice1 = "Audio0"
device.api = "alsa"
device.bus = "usb"
device.bus-id = "usb-Generic_USB_Audio-00"
device.bus_path = "pci-0000:00:14.0-usb-0:7:1.0"
device.description = "USB Audio"
device.enum.api = "udev"
device.icon_name = "audio-card-analog-usb"
device.name = "alsa_card.usb-Generic_USB_Audio-00"
device.nick = "USB Audio"
device.plugged.usec = "12147853"
device.product.id = "6695"
device.product.name = "USB Audio"
device.serial = "Generic_USB_Audio"
device.subsystem = "sound"
device.sysfs.path = "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/sound/card0"
device.vendor.id = "2821"
device.vendor.name = "ASUSTek Computer, Inc."
media.class = "Audio/Device"
factory.id = "14"
client.id = "34"
object.id = "57"
object.serial = "67"
object.path = "alsa:pcm:0"
alsa.card = "0"
alsa.card_name = "USB Audio"
alsa.long_card_name = "Generic USB Audio at usb-0000:00:14.0-7, high speed"
alsa.driver_name = "snd_usb_audio"
device.string = "0"
Profiles:
off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (sinks: 1, sources: 1, priority: 6565, available: no)
output:analog-stereo+input:iec958-stereo: Analog Stereo Output + Digital Stereo (IEC958) Input (sinks: 1, sources: 1, priority: 6555, available: yes)
output:analog-stereo: Analog Stereo Output (sinks: 1, sources: 0, priority: 6500, available: yes)
output:iec958-stereo+input:analog-stereo: Digital Stereo (IEC958) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 5565, available: no)
output:iec958-stereo+input:iec958-stereo: Digital Stereo Duplex (IEC958) (sinks: 1, sources: 1, priority: 5555, available: yes)
output:iec958-stereo: Digital Stereo (IEC958) Output (sinks: 1, sources: 0, priority: 5500, available: yes)
output:analog-surround-21+input:analog-stereo: Analog Surround 2.1 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1365, available: no)
output:analog-surround-41+input:analog-stereo: Analog Surround 4.1 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1365, available: no)
output:analog-surround-51+input:analog-stereo: Analog Surround 5.1 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1365, available: no)
output:analog-surround-21+input:iec958-stereo: Analog Surround 2.1 Output + Digital Stereo (IEC958) Input (sinks: 1, sources: 1, priority: 1355, available: yes)
output:analog-surround-41+input:iec958-stereo: Analog Surround 4.1 Output + Digital Stereo (IEC958) Input (sinks: 1, sources: 1, priority: 1355, available: yes)
output:analog-surround-51+input:iec958-stereo: Analog Surround 5.1 Output + Digital Stereo (IEC958) Input (sinks: 1, sources: 1, priority: 1355, available: yes)
output:analog-surround-21: Analog Surround 2.1 Output (sinks: 1, sources: 0, priority: 1300, available: yes)
output:analog-surround-41: Analog Surround 4.1 Output (sinks: 1, sources: 0, priority: 1300, available: yes)
output:analog-surround-51: Analog Surround 5.1 Output (sinks: 1, sources: 0, priority: 1300, available: yes)
output:analog-surround-40+input:analog-stereo: Analog Surround 4.0 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1265, available: no)
output:analog-surround-50+input:analog-stereo: Analog Surround 5.0 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1265, available: no)
output:analog-surround-71+input:analog-stereo: Analog Surround 7.1 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1265, available: no)
output:analog-surround-40+input:iec958-stereo: Analog Surround 4.0 Output + Digital Stereo (IEC958) Input (sinks: 1, sources: 1, priority: 1255, available: yes)
output:analog-surround-50+input:iec958-stereo: Analog Surround 5.0 Output + Digital Stereo (IEC958) Input (sinks: 1, sources: 1, priority: 1255, available: yes)
output:analog-surround-71+input:iec958-stereo: Analog Surround 7.1 Output + Digital Stereo (IEC958) Input (sinks: 1, sources: 1, priority: 1255, available: yes)
output:analog-surround-40: Analog Surround 4.0 Output (sinks: 1, sources: 0, priority: 1200, available: yes)
output:analog-surround-50: Analog Surround 5.0 Output (sinks: 1, sources: 0, priority: 1200, available: yes)
output:analog-surround-71: Analog Surround 7.1 Output (sinks: 1, sources: 0, priority: 1200, available: yes)
output:iec958-ac3-surround-51+input:analog-stereo: Digital Surround 5.1 (IEC958/AC3) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 365, available: no)
output:iec958-ac3-surround-51+input:iec958-stereo: Digital Surround 5.1 (IEC958/AC3) Output + Digital Stereo (IEC958) Input (sinks: 1, sources: 1, priority: 355, available: yes)
output:iec958-ac3-surround-51: Digital Surround 5.1 (IEC958/AC3) Output (sinks: 1, sources: 0, priority: 300, available: yes)
input:analog-stereo: Analog Stereo Input (sinks: 0, sources: 1, priority: 65, available: no)
input:iec958-stereo: Digital Stereo (IEC958) Input (sinks: 0, sources: 1, priority: 55, available: yes)
pro-audio: Pro Audio (sinks: 4, sources: 3, priority: 1, available: yes)
Active Profile: output:iec958-stereo
Ports:
analog-input-mic: Microphone (type: Mic, priority: 8700, latency offset: 0 usec, availability group: Legacy 1, not available)
Properties:
port.type = "mic"
port.availability-group = "Legacy 1"
device.icon_name = "audio-input-microphone"
card.profile.port = "0"
Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-surround-21+input:analog-stereo, output:analog-surround-40+input:analog-stereo, output:analog-surround-41+input:analog-stereo, output:analog-surround-50+input:analog-stereo, output:analog-surround-51+input:analog-stereo, output:analog-surround-71+input:analog-stereo, output:iec958-stereo+input:analog-stereo, output:iec958-ac3-surround-51+input:analog-stereo
analog-input-linein: Line In (type: Line, priority: 8100, latency offset: 0 usec, availability group: Legacy 2, not available)
Properties:
port.type = "line"
port.availability-group = "Legacy 2"
card.profile.port = "1"
Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-surround-21+input:analog-stereo, output:analog-surround-40+input:analog-stereo, output:analog-surround-41+input:analog-stereo, output:analog-surround-50+input:analog-stereo, output:analog-surround-51+input:analog-stereo, output:analog-surround-71+input:analog-stereo, output:iec958-stereo+input:analog-stereo, output:iec958-ac3-surround-51+input:analog-stereo
iec958-stereo-input: Digital Input (S/PDIF) (type: SPDIF, priority: 0, latency offset: 0 usec, availability unknown)
Properties:
port.type = "spdif"
card.profile.port = "2"
Part of profile(s): input:iec958-stereo, output:analog-stereo+input:iec958-stereo, output:analog-surround-21+input:iec958-stereo, output:analog-surround-40+input:iec958-stereo, output:analog-surround-41+input:iec958-stereo, output:analog-surround-50+input:iec958-stereo, output:analog-surround-51+input:iec958-stereo, output:analog-surround-71+input:iec958-stereo, output:iec958-stereo+input:iec958-stereo, output:iec958-ac3-surround-51+input:iec958-stereo
analog-output-speaker: Speakers (type: Speaker, priority: 10000, latency offset: 0 usec, availability group: Legacy 3, available)
Properties:
port.type = "speaker"
port.availability-group = "Legacy 3"
device.icon_name = "audio-speakers"
card.profile.port = "3"
Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-stereo+input:iec958-stereo, output:analog-surround-21, output:analog-surround-21+input:analog-stereo, output:analog-surround-21+input:iec958-stereo, output:analog-surround-40, output:analog-surround-40+input:analog-stereo, output:analog-surround-40+input:iec958-stereo, output:analog-surround-41, output:analog-surround-41+input:analog-stereo, output:analog-surround-41+input:iec958-stereo, output:analog-surround-50, output:analog-surround-50+input:analog-stereo, output:analog-surround-50+input:iec958-stereo, output:analog-surround-51, output:analog-surround-51+input:analog-stereo, output:analog-surround-51+input:iec958-stereo, output:analog-surround-71, output:analog-surround-71+input:analog-stereo, output:analog-surround-71+input:iec958-stereo
analog-output-headphones: Headphones (type: Headphones, priority: 9900, latency offset: 0 usec, availability group: Legacy 4, not available)
Properties:
port.type = "headphones"
port.availability-group = "Legacy 4"
device.icon_name = "audio-headphones"
card.profile.port = "4"
Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-stereo+input:iec958-stereo
iec958-stereo-output: Digital Output (S/PDIF) (type: SPDIF, priority: 0, latency offset: 0 usec, availability unknown)
Properties:
port.type = "spdif"
card.profile.port = "5"
Part of profile(s): output:iec958-stereo, output:iec958-stereo+input:analog-stereo, output:iec958-stereo+input:iec958-stereo
pactl list sinks
Sink #46
State: SUSPENDED
Name: alsa_output.pci-0000_05_04.0.iec958-stereo
Description: CMI8788 [Oxygen HD Audio] (Virtuoso 100 (Xonar DX)) Digital Stereo (IEC958)
Driver: PipeWire
Sample Specification: s32le 2ch 48000Hz
Channel Map: front-left,front-right
Owner Module: 4294967295
Mute: no
Volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB
balance 0.00
Base Volume: 65536 / 100% / 0.00 dB
Monitor Source: alsa_output.pci-0000_05_04.0.iec958-stereo.monitor
Latency: 0 usec, configured 0 usec
Flags: HARDWARE HW_MUTE_CTRL DECIBEL_VOLUME LATENCY SET_FORMATS
Properties:
alsa.card = "2"
alsa.card_name = "Xonar DX"
alsa.class = "generic"
alsa.device = "1"
alsa.driver_name = "snd_virtuoso"
alsa.id = "Digital"
alsa.long_card_name = "Asus Virtuoso 100 at 0x4000, irq 16"
alsa.name = "Digital"
alsa.resolution_bits = "16"
alsa.subclass = "generic-mix"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
api.alsa.card.longname = "Asus Virtuoso 100 at 0x4000, irq 16"
api.alsa.card.name = "Xonar DX"
api.alsa.path = "iec958:2"
api.alsa.pcm.card = "2"
api.alsa.pcm.stream = "playback"
audio.channels = "2"
audio.position = "FL,FR"
card.profile.device = "10"
device.api = "alsa"
device.class = "sound"
device.id = "40"
device.profile.description = "Digital Stereo (IEC958)"
device.profile.name = "iec958-stereo"
device.routes = "1"
factory.name = "api.alsa.pcm.sink"
media.class = "Audio/Sink"
device.description = "CMI8788 [Oxygen HD Audio] (Virtuoso 100 (Xonar DX)) Digital Stereo (IEC958)"
node.name = "alsa_output.pci-0000_05_04.0.iec958-stereo"
node.nick = "Digital"
node.pause-on-idle = "false"
object.path = "alsa:pcm:2:iec958:2:playback"
priority.driver = "736"
priority.session = "736"
factory.id = "18"
client.id = "34"
clock.quantum-limit = "8192"
node.driver = "true"
factory.mode = "merge"
audio.adapt.follower = ""
library.name = "audioconvert/libspa-audioconvert"
object.id = "45"
object.serial = "46"
node.max-latency = "8192/48000"
Ports:
iec958-stereo-output: Digital Output (S/PDIF) (type: SPDIF, priority: 0, availability unknown)
Active Port: iec958-stereo-output
Formats:
pcm
Sink #68
State: SUSPENDED
Name: alsa_output.usb-Generic_USB_Audio-00.iec958-stereo
Description: USB Audio Digital Stereo (IEC958)
Driver: PipeWire
Sample Specification: s32le 2ch 48000Hz
Channel Map: front-left,front-right
Owner Module: 4294967295
Mute: no
Volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB
balance 0.00
Base Volume: 65536 / 100% / 0.00 dB
Monitor Source: alsa_output.usb-Generic_USB_Audio-00.iec958-stereo.monitor
Latency: 0 usec, configured 0 usec
Flags: HARDWARE DECIBEL_VOLUME LATENCY SET_FORMATS
Properties:
alsa.card = "0"
alsa.card_name = "USB Audio"
alsa.class = "generic"
alsa.device = "0"
alsa.driver_name = "snd_usb_audio"
alsa.id = "USB Audio"
alsa.long_card_name = "Generic USB Audio at usb-0000:00:14.0-7, high speed"
alsa.name = "USB Audio"
alsa.resolution_bits = "16"
alsa.subclass = "generic-mix"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
api.alsa.card.longname = "Generic USB Audio at usb-0000:00:14.0-7, high speed"
api.alsa.card.name = "USB Audio"
api.alsa.path = "iec958:0"
api.alsa.pcm.card = "0"
api.alsa.pcm.stream = "playback"
audio.channels = "2"
audio.position = "FL,FR"
card.profile.device = "16"
device.api = "alsa"
device.class = "sound"
device.id = "57"
device.profile.description = "Digital Stereo (IEC958)"
device.profile.name = "iec958-stereo"
device.routes = "1"
factory.name = "api.alsa.pcm.sink"
media.class = "Audio/Sink"
device.description = "USB Audio Digital Stereo (IEC958)"
node.name = "alsa_output.usb-Generic_USB_Audio-00.iec958-stereo"
node.nick = "USB Audio"
node.pause-on-idle = "false"
object.path = "alsa:pcm:0:iec958:0:playback"
priority.driver = "1008"
priority.session = "1008"
factory.id = "18"
client.id = "34"
clock.quantum-limit = "8192"
node.driver = "true"
factory.mode = "merge"
audio.adapt.follower = ""
library.name = "audioconvert/libspa-audioconvert"
object.id = "58"
object.serial = "68"
node.max-latency = "65536/48000"
Ports:
iec958-stereo-output: Digital Output (S/PDIF) (type: SPDIF, priority: 0, availability unknown)
Active Port: iec958-stereo-output
Formats:
pcm
(You can see an additional card in the list, as I've installed a Xonar DX PCI card to make sure the audio devices work on the same outputs that don't on the onboard card).
Last edited by vzsolt (2022-03-30 06:24:06)
Offline
sof-firmware/snd-hda-intel don't matter on a USB card.
Which speaker-test invocation worked? you have multiple profiles here does literally none of these map to your actual ports? e.g.
pactl set-card-profile alsa_card.usb-Generic_USB_Audio-00 output:analog-stereo+input:iec958-stereo
what's your output for
amixer -c1 #Replace the 1 with whatever the index of the usb card is if it changed
you might have to do something similar like https://bbs.archlinux.org/viewtopic.php … 6#p2019136
Last edited by V1del (2022-03-30 07:34:10)
Offline
Nope, I've tried all the profiles.
amixer -c0
Simple mixer control 'PCM',0
Capabilities: pvolume pswitch pswitch-joined
Playback channels: Front Left - Front Right - Rear Left - Rear Right - Front Center - Woofer - Side Left - Side Right
Limits: Playback 0 - 87
Mono:
Front Left: Playback 87 [100%] [0.00dB] [on]
Front Right: Playback 87 [100%] [0.00dB] [on]
Rear Left: Playback 87 [100%] [0.00dB] [on]
Rear Right: Playback 87 [100%] [0.00dB] [on]
Front Center: Playback 87 [100%] [0.00dB] [on]
Woofer: Playback 87 [100%] [0.00dB] [on]
Side Left: Playback 87 [100%] [0.00dB] [on]
Side Right: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'PCM',1
Capabilities: pvolume pswitch pswitch-joined
Playback channels: Front Left - Front Right
Limits: Playback 0 - 255
Mono:
Front Left: Playback 215 [84%] [-20.00dB] [on]
Front Right: Playback 215 [84%] [-20.00dB] [on]
Simple mixer control 'PCM',2
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'Line',0
Capabilities: cvolume cswitch cswitch-joined
Capture channels: Front Left - Front Right
Limits: Capture 0 - 39
Front Left: Capture 0 [0%] [-17.25dB] [off]
Front Right: Capture 0 [0%] [-17.25dB] [off]
Simple mixer control 'Mic',0
Capabilities: cvolume cswitch cswitch-joined
Capture channels: Front Left - Front Right
Limits: Capture 0 - 39
Front Left: Capture 39 [100%] [12.00dB] [on]
Front Right: Capture 39 [100%] [12.00dB] [on]
Simple mixer control 'Analog In',0
Capabilities: cvolume cswitch cswitch-joined
Capture channels: Front Left - Front Right
Limits: Capture 0 - 39
Front Left: Capture 23 [59%] [0.00dB] [on]
Front Right: Capture 23 [59%] [0.00dB] [on]
Your suggestion points to meddling with pulseaudio, udev rules, etc. I'd rather not switch back to pulseaudio, do the instructions there and see if it even worked.
I've already uninstalled pipewire and installed pulseaudio with 5.17 to test out everything I did with pipewire, without success.
I bought this motherboard because it has a high quality sound card with a high quality amp, I didn't expect to spend so many hours just to make it work, I consider it a waste of time now.
I'm just gonna buy a Creative X3, which is an external USB audio card and be done with this nightmare.
I'm very disappointed of the firmware support of my motherboard, consider this issue closed, but not solved.
Thanks for all your help, appreciate it.
Offline
Have you also tried the "pro audio" - device profile?
Test the sinks accordingly, not other profile worked by me either. (S/PDIF is "usb audio pro 2" in my case)
Offline
Pipewire uses largely the same logic as pulseaudio for how it decides to access/provide card profiles, you can do the same adjustment as the one I linked on pipewire (the path is slightly different, you check /usr/share/alsa-card-profiles, from there the process is more or less the same), but to properly do that we'd need to know which speaker-test worked and how the profiles attempt to access the card, multi-PCM mixers like you have here are almost always somewhat of a hassle. I.e. all profiles that are currently auto generated probably assume PCM,0 to be correct, but it's likely PCM,0 is for the backports but PCM,1 for the front ports.
FWIW I also have an ASUS board with an integrated USB card that works fine, so I don't think the firmware is entirely to blame here. Ideally this gets fixed properly with the profiles and then reported upstream so it can be incoorperated.
Last edited by V1del (2022-03-30 08:13:36)
Offline
Thanks for the help, guys.
c0f you should have mentioned the pro audio profile earlier :-). I've tried all the profiles that had a jacked-in receiver (all analogues and digitals), except that one. It works now, partly.
For anyone who has similar issue and reads this: pulseaudio and pipewire currently have issues with the Realtek ALC4080 chip, none of the audio profiles work as intended, except the Pro Audio profile.
Sources:
https://gitlab.freedesktop.org/pulseaud … ssues/1334
https://gitlab.freedesktop.org/pulseaud … ssues/1337
https://gitlab.freedesktop.org/pipewire … ssues/2051
Consider this issue closed, as it's not Arch related (although that was my initial assumption from the kernel log).
Last edited by vzsolt (2022-03-30 10:15:22)
Offline
...For anyone who has similar issue and reads this: pulseaudio and pipewire currently have issues with the Realtek ALC4080 chip, none of the audio profiles work as intended, except the Pro Audio profile.
Sources:
https://gitlab.freedesktop.org/pulseaud … ssues/1334
https://gitlab.freedesktop.org/pulseaud … ssues/1337
https://gitlab.freedesktop.org/pipewire … ssues/2051Consider this issue closed, as it's not Arch related (although that was my initial assumption from the kernel log).
Hi, we are also still working through the issue with Alsa for proper ALC4080 support:
https://github.com/alsa-project/alsa-ucm-conf/pull/143
The older arch thread about this topic was:
https://bbs.archlinux.org/viewtopic.php?id=272523
I do intend to apply all the same changes and build a patched Arch kernel as I did on Debian, just haven't gotten around to that yet. Will follow up...
Offline
vzsolt wrote:...For anyone who has similar issue and reads this: pulseaudio and pipewire currently have issues with the Realtek ALC4080 chip, none of the audio profiles work as intended, except the Pro Audio profile.
Sources:
https://gitlab.freedesktop.org/pulseaud … ssues/1334
https://gitlab.freedesktop.org/pulseaud … ssues/1337
https://gitlab.freedesktop.org/pipewire … ssues/2051Consider this issue closed, as it's not Arch related (although that was my initial assumption from the kernel log).
Hi, we are also still working through the issue with Alsa for proper ALC4080 support:
https://github.com/alsa-project/alsa-ucm-conf/pull/143The older arch thread about this topic was:
https://bbs.archlinux.org/viewtopic.php?id=272523I do intend to apply all the same changes and build a patched Arch kernel as I did on Debian, just haven't gotten around to that yet. Will follow up...
Hey, awesome news! Please keep me (us) updated.
Thank you for your work :-).
Offline