You are not logged in.

#1 2023-11-26 11:44:59

festry
Member
Registered: 2023-11-26
Posts: 10

(KINDA [SOLVED]) No soundcard detected (PipeWire)

This is on a fresh installation of Arch with i3wm. ALSA seems to see my soundcards (?), but aplay/pactl/etc don't and I have no available sinks.

-System is up to date, sof-firmware & alsa-ucm-conf are installed

pactl list cards: no output
pactl list sinks
Sink #32
	State: SUSPENDED
	Name: auto_null
	Description: Dummy Output
	Driver: PipeWire
	Sample Specification: float32le 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: auto_null.monitor
	Latency: 0 usec, configured 0 usec
	Flags: DECIBEL_VOLUME LATENCY
	Properties:
		node.name = "auto_null"
		device.description = "Dummy Output"
		audio.rate = "48000"
		audio.channels = "2"
		audio.position = "FL,FR"
		media.class = "Audio/Sink"
		factory.name = "support.null-audio-sink"
		node.virtual = "true"
		monitor.channel-volumes = "true"
		factory.id = "18"
		clock.quantum-limit = "8192"
		client.id = "31"
		node.driver = "true"
		factory.mode = "merge"
		audio.adapt.follower = ""
		library.name = "audioconvert/libspa-audioconvert"
		object.id = "32"
		object.serial = "32"
	Formats:
		pcm
aplay -lL
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 PipeWire Media Server)
aplay: device_list:277: no soundcards found...
sudo dmesg | grep -iE 'snd|sof'
[    0.051959] software IO TLB: area num 32.
[    0.293346] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.332477] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[    0.332478] software IO TLB: mapped [mem 0x0000000061be6000-0x0000000065be6000] (64MB)
[    0.448787] integrity: Loaded X.509 cert 'Microsoft Corporation UEFI CA 2011: 13adbf4309bd82709c8cd54f316ed522988a1bd4'
[    0.448796] integrity: Loaded X.509 cert 'Microsoft Windows Production PCA 2011: a92902398e16c49778cd90f99e4f9ae17c55af53'
[    2.486262] snd_hda_intel 0000:00:1f.3: enabling device (0000 -> 0002)
[    2.486481] snd_hda_intel 0000:01:00.1: enabling device (0000 -> 0002)
[    2.486475] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    2.486594] snd_hda_intel 0000:01:00.1: Disabling MSI
[    2.486599] snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client
[    2.537153] snd_hda_codec_realtek hdaudioC0D0: ALCS1200A: SKU not ready 0x00000000
[    2.537884] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALCS1200A: line_outs=3 (0x14/0x15/0x16/0x0/0x0) type:line
[    2.537886] snd_hda_codec_realtek hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    2.537887] snd_hda_codec_realtek hdaudioC0D0:    hp_outs=1 (0x1b/0x0/0x0/0x0/0x0)
[    2.537888] snd_hda_codec_realtek hdaudioC0D0:    mono: mono_out=0x0
[    2.537888] snd_hda_codec_realtek hdaudioC0D0:    dig-out=0x1e/0x0
[    2.537889] snd_hda_codec_realtek hdaudioC0D0:    inputs:
[    2.537889] snd_hda_codec_realtek hdaudioC0D0:      Front Mic=0x19
[    2.537890] snd_hda_codec_realtek hdaudioC0D0:      Rear Mic=0x18
[    2.537891] snd_hda_codec_realtek hdaudioC0D0:      Line=0x1a
lspci -v | grep Audio
00:1f.3 Audio device: Intel Corporation Alder Lake-S HD Audio Controller (rev 11)
	Subsystem: Micro-Star International Co., Ltd. [MSI] Alder Lake-S HD Audio Controller
01:00.1 Audio device: NVIDIA Corporation TU116 High Definition Audio Controller (rev a1)
	Subsystem: ASUSTeK Computer Inc. TU116 High Definition Audio Controller
Note: /proc/asound/cards has the same devices
systemctl --user status pipewire pipewire-pulse wireplumber
● pipewire.service - PipeWire Multimedia Service
     Loaded: loaded (/usr/lib/systemd/user/pipewire.service; enabled; preset: enabled)
     Active: active (running) since Sun 2023-11-26 14:13:23 MSK; 27min ago
TriggeredBy: ● pipewire.socket
   Main PID: 684 (pipewire)
      Tasks: 3 (limit: 38223)
     Memory: 6.3M
        CPU: 38ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire.service
             └─684 /usr/bin/pipewire

Nov 26 14:13:23 arch systemd[677]: Started PipeWire Multimedia Service.

● pipewire-pulse.service - PipeWire PulseAudio
     Loaded: loaded (/usr/lib/systemd/user/pipewire-pulse.service; enabled; preset: enabled)
     Active: active (running) since Sun 2023-11-26 14:13:23 MSK; 27min ago
TriggeredBy: ● pipewire-pulse.socket
   Main PID: 687 (pipewire-pulse)
      Tasks: 3 (limit: 38223)
     Memory: 2.8M
        CPU: 26ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire-pulse.service
             └─687 /usr/bin/pipewire-pulse

Nov 26 14:13:23 arch systemd[677]: Started PipeWire PulseAudio.

● wireplumber.service - Multimedia Service Session Manager
     Loaded: loaded (/usr/lib/systemd/user/wireplumber.service; enabled; preset: enabled)
     Active: active (running) since Sun 2023-11-26 14:13:23 MSK; 27min ago
   Main PID: 685 (wireplumber)
      Tasks: 7 (limit: 38223)
     Memory: 47.0M
        CPU: 169ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/wireplumber.service
             └─685 /usr/bin/wireplumber

Nov 26 14:13:23 arch systemd[677]: Started Multimedia Service Session Manager.
Nov 26 14:13:23 arch wireplumber[685]: Failed to get percentage from UPower: org.freedesktop.DBus.Error.NameHasNoOwner
Nov 26 14:13:23 arch wireplumber[685]: [0:00:24.436454956] [685] ERROR IPAModule ipa_module.cpp:172 Symbol ipaModuleInfo not found
Nov 26 14:13:23 arch wireplumber[685]: [0:00:24.436463756] [685] ERROR IPAModule ipa_module.cpp:292 v4l2-compat.so: IPA module has no valid info
Nov 26 14:13:23 arch wireplumber[685]: [0:00:24.436475132] [685]  INFO Camera camera_manager.cpp:284 libcamera v0.1.0
Nov 26 14:13:23 arch wireplumber[685]: GetManagedObjects() failed: org.freedesktop.DBus.Error.NameHasNoOwner
Nov 26 14:13:24 arch wireplumber[685]: can't open control for card hw:0: No such file or directory

I've already tried this and this.

^ That's all the information I figured could be important. Thanks in advance!

Last edited by festry (2023-11-27 13:32:55)

Offline

#2 2023-11-26 12:22:35

ua4000
Member
Registered: 2015-10-14
Posts: 558

Re: (KINDA [SOLVED]) No soundcard detected (PipeWire)

I have no clue, but did you read already here ?
https://wiki.archlinux.org/title/Advanc … leshooting
If Alsa detects your card, then you don't need to worry about PipeWire - which runs mostly out-of-the-box.

Offline

#3 2023-11-26 13:28:02

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,096

Re: (KINDA [SOLVED]) No soundcard detected (PipeWire)

aplay doesn't see any of your sound cards which points to a low level (kernel or hardware) issue.

[    2.537153] snd_hda_codec_realtek hdaudioC0D0: ALCS1200A: SKU not ready 0x00000000

Confirms low level problems.

Please post full outputs of

$ lspci -k
# journalctl -b | curl -F 'file=@-' 0x0.st 

The last command needs to be run as root or with root rights and will show an url as output once it has finished uploading the journal.
That url is what we need from it.

Welcome to archlinux forums.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Online

#4 2023-11-26 13:59:02

festry
Member
Registered: 2023-11-26
Posts: 10

Re: (KINDA [SOLVED]) No soundcard detected (PipeWire)

Lone_Wolf wrote:

aplay doesn't see any of your sound cards which points to a low level (kernel or hardware) issue.

[    2.537153] snd_hda_codec_realtek hdaudioC0D0: ALCS1200A: SKU not ready 0x00000000

Confirms low level problems.

Please post full outputs of

$ lspci -k
# journalctl -b | curl -F 'file=@-' 0x0.st 

The last command needs to be run as root or with root rights and will show an url as output once it has finished uploading the journal.
That url is what we need from it.

Welcome to archlinux forums.

Thank you!

lspci -k
00:00.0 Host bridge: Intel Corporation 12th Gen Core Processor Host Bridge/DRAM Registers (rev 02)
	DeviceName: Onboard - Other
	Subsystem: Micro-Star International Co., Ltd. [MSI] 12th Gen Core Processor Host Bridge/DRAM Registers
00:01.0 PCI bridge: Intel Corporation 12th Gen Core Processor PCI Express x16 Controller #1 (rev 02)
	Subsystem: Micro-Star International Co., Ltd. [MSI] 12th Gen Core Processor PCI Express x16 Controller
	Kernel driver in use: pcieport
00:02.0 Display controller: Intel Corporation AlderLake-S GT1 (rev 0c)
	DeviceName: Onboard - Video
	Subsystem: Micro-Star International Co., Ltd. [MSI] AlderLake-S GT1
	Kernel driver in use: i915
	Kernel modules: i915
00:06.0 PCI bridge: Intel Corporation 12th Gen Core Processor PCI Express x4 Controller #0 (rev 02)
	Kernel driver in use: pcieport
00:08.0 System peripheral: Intel Corporation 12th Gen Core Processor Gaussian & Neural Accelerator (rev 02)
	DeviceName: Onboard - Other
	Subsystem: Micro-Star International Co., Ltd. [MSI] 12th Gen Core Processor Gaussian & Neural Accelerator
00:0a.0 Signal processing controller: Intel Corporation Platform Monitoring Technology (rev 01)
	DeviceName: Onboard - Other
	Kernel driver in use: intel_vsec
	Kernel modules: intel_vsec
00:14.0 USB controller: Intel Corporation Alder Lake-S PCH USB 3.2 Gen 2x2 XHCI Controller (rev 11)
	DeviceName: Onboard - Other
	Subsystem: Micro-Star International Co., Ltd. [MSI] Alder Lake-S PCH USB 3.2 Gen 2x2 XHCI Controller
	Kernel driver in use: xhci_hcd
	Kernel modules: xhci_pci
00:14.2 RAM memory: Intel Corporation Alder Lake-S PCH Shared SRAM (rev 11)
	DeviceName: Onboard - Other
00:16.0 Communication controller: Intel Corporation Alder Lake-S PCH HECI Controller #1 (rev 11)
	DeviceName: Onboard - Other
	Subsystem: Micro-Star International Co., Ltd. [MSI] Alder Lake-S PCH HECI Controller
	Kernel driver in use: mei_me
	Kernel modules: mei_me
00:17.0 SATA controller: Intel Corporation Alder Lake-S PCH SATA Controller [AHCI Mode] (rev 11)
	DeviceName: Onboard - SATA
	Subsystem: Micro-Star International Co., Ltd. [MSI] Alder Lake-S PCH SATA Controller [AHCI Mode]
	Kernel driver in use: ahci
00:1c.0 PCI bridge: Intel Corporation Alder Lake-S PCH PCI Express Root Port #1 (rev 11)
	Kernel driver in use: pcieport
00:1c.1 PCI bridge: Intel Corporation Alder Lake-S PCH PCI Express Root Port #2 (rev 11)
	Subsystem: Micro-Star International Co., Ltd. [MSI] Alder Lake-S PCH PCI Express Root Port
	Kernel driver in use: pcieport
00:1c.3 PCI bridge: Intel Corporation Device 7abb (rev 11)
	Subsystem: Micro-Star International Co., Ltd. [MSI] Device 7d42
	Kernel driver in use: pcieport
00:1f.0 ISA bridge: Intel Corporation Device 7a86 (rev 11)
	DeviceName: Onboard - Other
	Subsystem: Micro-Star International Co., Ltd. [MSI] Device 7d42
00:1f.3 Audio device: Intel Corporation Alder Lake-S HD Audio Controller (rev 11)
	DeviceName: Onboard - Sound
	Subsystem: Micro-Star International Co., Ltd. [MSI] Alder Lake-S HD Audio Controller
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel, snd_sof_pci_intel_tgl
00:1f.4 SMBus: Intel Corporation Alder Lake-S PCH SMBus Controller (rev 11)
	DeviceName: Onboard - Other
	Subsystem: Micro-Star International Co., Ltd. [MSI] Alder Lake-S PCH SMBus Controller
	Kernel driver in use: i801_smbus
	Kernel modules: i2c_i801
00:1f.5 Serial bus controller: Intel Corporation Alder Lake-S PCH SPI Controller (rev 11)
	DeviceName: Onboard - Other
	Subsystem: Micro-Star International Co., Ltd. [MSI] Alder Lake-S PCH SPI Controller
	Kernel driver in use: intel-spi
	Kernel modules: spi_intel_pci
01:00.0 VGA compatible controller: NVIDIA Corporation TU116 [GeForce GTX 1660 Ti] (rev a1)
	Subsystem: ASUSTeK Computer Inc. TU116 [GeForce GTX 1660 Ti]
	Kernel driver in use: nvidia
	Kernel modules: nouveau, nvidia_drm, nvidia
01:00.1 Audio device: NVIDIA Corporation TU116 High Definition Audio Controller (rev a1)
	Subsystem: ASUSTeK Computer Inc. TU116 High Definition Audio Controller
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
01:00.2 USB controller: NVIDIA Corporation TU116 USB 3.1 Host Controller (rev a1)
	Subsystem: ASUSTeK Computer Inc. TU116 USB 3.1 Host Controller
	Kernel driver in use: xhci_hcd
	Kernel modules: xhci_pci
01:00.3 Serial bus controller: NVIDIA Corporation TU116 USB Type-C UCSI Controller (rev a1)
	Subsystem: ASUSTeK Computer Inc. TU116 USB Type-C UCSI Controller
	Kernel driver in use: nvidia-gpu
	Kernel modules: i2c_nvidia_gpu
02:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller 980
	Subsystem: Samsung Electronics Co Ltd NVMe SSD Controller 980
	Kernel driver in use: nvme
	Kernel modules: nvme
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 05)
	Subsystem: Micro-Star International Co., Ltd. [MSI] RTL8125 2.5GbE Controller
	Kernel driver in use: r8169
	Kernel modules: r8169
05:00.0 SATA controller: ASMedia Technology Inc. ASM1062 Serial ATA Controller (rev 02)
	Subsystem: ASMedia Technology Inc. ASM1062 Serial ATA Controller
	Kernel driver in use: ahci

Logs: http://0x0.st/Hw6P.txt

Offline

#5 2023-11-27 11:59:41

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,096

Re: (KINDA [SOLVED]) No soundcard detected (PipeWire)

This looks like a hybrid graphics system (intel integrated + Nvidia), although there are no output devices connected to the intel gpu .

Nov 26 16:30:24 arch kernel: i915 0000:00:02.0: [drm] Cannot find any crtc or sizes
Nov 26 16:30:24 arch kernel: i915 0000:00:02.0: [drm] Cannot find any crtc or sizes

There's also the combination of nvidia & simpleDRM which can cause issues.

Append nvidia_drm.modeset=1 nvidia_drm.fbdev=1 to the kernel command line, reboot and check.

/proc/asound/cards should show 3 cards : intel HDMI, nvida HDMI AND the realtek audio.


If you attach a monitor to the intel integrated gpu, does the realtek become visible in /proc/asound/cards ?

Is this a dual or multiboot system ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Online

#6 2023-11-27 12:29:30

festry
Member
Registered: 2023-11-26
Posts: 10

Re: (KINDA [SOLVED]) No soundcard detected (PipeWire)

Lone_Wolf wrote:

Append nvidia_drm.modeset=1 nvidia_drm.fbdev=1 to the kernel command line, reboot and check.

That was (almost) it! Aplay shows the cards now, although /proc/asound/cards does not show the realtek audio. More importantly, X11 doesn't start anymore, seemingly not seeing the gpu? (X logs)

Lone_Wolf wrote:

If you attach a monitor to the intel integrated gpu, does the realtek become visible in /proc/asound/cards ?

I know next to nothing about hardware. Now that the audio seems to be working, is this still important? I'll figure it out if it is.

Lone_Wolf wrote:

Is this a dual or multiboot system ?

Multiboot. Thanks again!!

Last edited by festry (2023-11-27 12:29:49)

Offline

#7 2023-11-27 12:30:33

festry
Member
Registered: 2023-11-26
Posts: 10

Re: (KINDA [SOLVED]) No soundcard detected (PipeWire)

Lone_Wolf wrote:

Append nvidia_drm.modeset=1 nvidia_drm.fbdev=1 to the kernel command line, reboot and check.

That was (almost) it! Aplay shows the cards now, although /proc/asound/cards does not show the realtek audio. More importantly, X11 doesn't start anymore, seemingly not seeing the gpu?

Lone_Wolf wrote:

If you attach a monitor to the intel integrated gpu, does the realtek become visible in /proc/asound/cards ?

I know next to nothing about hardware. Now that the audio seems to be working, is this still important? I'll figure it out if it is.

Lone_Wolf wrote:

Is this a dual or multiboot system ?

Multiboot. Thanks again!!

P.S. accidentally quoted my message instead of editing it, my bad. The link to X logs in the above message just leads to an unrelated error.

Last edited by festry (2023-11-27 12:33:34)

Offline

#8 2023-11-27 12:44:05

festry
Member
Registered: 2023-11-26
Posts: 10

Re: (KINDA [SOLVED]) No soundcard detected (PipeWire)

I looked at the X logs more closely and it's failing to open modules nouveau, nv, intel & fbdev saying they don't exist. The fatal error is not having permission to open /dev/tty0. Definitely a graphics card issue then

Offline

#9 2023-11-27 12:46:50

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,096

Re: (KINDA [SOLVED]) No soundcard detected (PipeWire)

On the back of your system case there's a block of connectors from the motherboard , see https://storage-asset.msi.com/datasheet … I-DDR4.pdf for a picture of it.

2 of those ports are the DisplayPort & HDMI outputs of the intel gpu.
There are cases were things get weird on hybrid graphics systems when the integrated card doesn't have outputs attached.

Multiboot. Thanks again!!

Is one of the other OSes windows ?
If yes, read https://wiki.archlinux.org/title/Dual_boot_with_Windows thoroughly and make sure to disable 'fast startup' & hibernation .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Online

#10 2023-11-27 13:31:43

festry
Member
Registered: 2023-11-26
Posts: 10

Re: (KINDA [SOLVED]) No soundcard detected (PipeWire)

Lone_Wolf wrote:

On the back of your system case there's a block of connectors from the motherboard , see https://storage-asset.msi.com/datasheet … I-DDR4.pdf for a picture of it.

2 of those ports are the DisplayPort & HDMI outputs of the intel gpu.
There are cases were things get weird on hybrid graphics systems when the integrated card doesn't have outputs attached.

Alright, I tried doing that but the only spare monitor doesn't seem to have HDMI support and I don't have a double DisplayPort cable (which seems to be the only option???)

Is one of the other OSes windows ?
If yes, read https://wiki.archlinux.org/title/Dual_boot_with_Windows thoroughly and make sure to disable 'fast startup' & hibernation .

I meant to say single boot, sorry. I think I'll just mark this thread as solved and try to figure it out on my own now, thanks for the help smile

Edit in case anyone finds this thread from google: I didn't end up solving the realtek issue because it doesn't seem to affect anything. X11 also does work, I just had to start it with startx instead of xinit (???)

Last edited by festry (2023-11-27 13:43:02)

Offline

Board footer

Powered by FluxBB