Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
There is no sound under X
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
wlmosv
n00b
n00b


Joined: 19 Apr 2024
Posts: 48

PostPosted: Tue Mar 04, 2025 12:40 pm    Post subject: There is no sound under X Reply with quote

Guys, I have a problem that I haven't been able to solve by myself for a long time, I have alsa and pipewire installed now, according to my wiki, I installed what I need, and now the problem is that there is no sound under X, I have two sound cards, but the graphics card is very good, I don't need the graphics card that comes with nvidia.

My sound card module is loaded
Code:
wlmosv@wlmosv ~> lsmod | grep snd

snd_seq_dummy          12288  0
snd_hrtimer            12288  0
snd_seq               135168  1 snd_seq_dummy
snd_seq_device         16384  1 snd_seq
snd_sof_amd_acp70      16384  0
snd_sof_amd_acp63      16384  0
snd_sof_amd_vangogh    16384  0
snd_sof_amd_rembrandt    16384  0
snd_sof_amd_renoir     16384  0
snd_sof_amd_acp        73728  5 snd_sof_amd_acp70,snd_sof_amd_rembrandt,snd_sof_amd_vangogh,snd_sof_amd_acp63,snd_sof_amd_renoir
snd_sof_pci            24576  5 snd_sof_amd_acp70,snd_sof_amd_rembrandt,snd_sof_amd_vangogh,snd_sof_amd_acp63,snd_sof_amd_renoir
snd_sof_xtensa_dsp     16384  1 snd_sof_amd_acp
snd_sof               487424  2 snd_sof_amd_acp,snd_sof_pci
snd_sof_utils          16384  1 snd_sof
snd_pci_ps             28672  0
snd_soc_acpi_amd_match     8192  2 snd_sof_amd_acp63,snd_pci_ps
snd_amd_sdw_acpi       16384  2 snd_sof_amd_acp,snd_pci_ps
soundwire_amd          49152  2 snd_sof_amd_acp,snd_pci_ps
snd_hda_codec_realtek   221184  1
snd_hda_codec_generic   131072  1 snd_hda_codec_realtek
snd_soc_sdca           12288  1 soundwire_bus
snd_hda_scodec_component    20480  1 snd_hda_codec_realtek
snd_soc_core          491520  2 snd_sof,soundwire_amd
snd_hda_codec_hdmi    102400  1
snd_hda_intel          69632  0
snd_intel_dspcfg       45056  2 snd_hda_intel,snd_sof
snd_compress           28672  1 snd_soc_core
snd_intel_sdw_acpi     16384  1 snd_intel_dspcfg
snd_hda_codec         229376  4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
ac97_bus               12288  1 snd_soc_core
snd_pcm_dmaengine      16384  1 snd_soc_core
snd_rpl_pci_acp6x      16384  0
snd_hda_core          159744  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
snd_acp_pci            12288  0
snd_acp_legacy_common    16384  1 snd_acp_pci
snd_pci_acp6x          20480  0
snd_hwdep              20480  1 snd_hda_codec
snd_pcm               196608  13 snd_sof_amd_acp,snd_hda_codec_hdmi,snd_pci_acp6x,snd_hda_intel,snd_hda_codec,snd_sof,snd_compress,snd_soc_core,snd_sof_utils,soundwire_amd,snd_hda_core,snd_pci_ps,snd_pcm_dmaengine
snd_timer              53248  3 snd_seq,snd_hrtimer,snd_pcm
snd_pci_acp5x          20480  0
snd                   159744  13 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_sof,snd_timer,snd_compress,snd_soc_core,snd_pcm
snd_rn_pci_acp3x       24576  0
snd_acp_config         24576  10 snd_rn_pci_acp3x,snd_sof_amd_acp70,snd_pci_acp6x,snd_pci_acp5x,snd_sof_amd_rembrandt,snd_sof_amd_vangogh,snd_sof_amd_acp63,snd_acp_pci,snd_pci_ps,snd_sof_amd_renoir
snd_soc_acpi           16384  3 snd_sof_amd_acp,snd_acp_config,snd_pci_ps
soundcore              16384  1 snd
snd_pci_acp3x          20480  0
wlmosv@wlmosv ~>


This is my hardware

Code:
wlmosv@wlmosv ~> lspci | grep -i audio

01:00.1 Audio device: NVIDIA Corporation AD107 High Definition Audio Controller (rev a1)
05:00.5 Multimedia controller: Advanced Micro Devices, Inc. [AMD] ACP/ACP3X/ACP6x Audio Coprocessor (rev 62)
05:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h/19h/1ah HD Audio Controller
wlmosv@wlmosv ~>

And these
Code:
 sudo dmesg | grep snd

密码:
[    3.536900] snd_hda_intel 0000:01:00.1: Disabling MSI
[    3.536932] snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client
[    3.561771] snd_hda_codec_realtek hdaudioC1D0: ALC287: picked fixup  for PCI SSID 17aa:386f
[    3.562210] snd_hda_codec_realtek hdaudioC1D0: autoconfig for ALC287: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[    3.562213] snd_hda_codec_realtek hdaudioC1D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    3.562215] snd_hda_codec_realtek hdaudioC1D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[    3.562216] snd_hda_codec_realtek hdaudioC1D0:    mono: mono_out=0x0
[    3.562217] snd_hda_codec_realtek hdaudioC1D0:    inputs:
[    3.562219] snd_hda_codec_realtek hdaudioC1D0:      Internal Mic=0x12
[    3.562220] snd_hda_codec_realtek hdaudioC1D0:      Mic=0x19
wlmosv@wlmosv ~> aplay -l

**** 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
wlmosv@wlmosv ~>

Under X, my bottom right sound icon shows that the connection to the sound service is missing. The init system I'm using is openrc and I added pipewire to the startup item but it doesn't start
Here are my current kernel config and dmesg contents
[url]http://0x0.st/8M4W.txt[/url]##kernel config file
[url]http://0x0.st/8M44.txt[/url] ##dmesg output
I don't know what's going on, it doesn't seem to be a problem to run under wayland, but I've been using X for a long time and I can't find the root cause of the problem right now
_________________
学习他,成为他,超越他:Embrace the journey of learning from him, becoming like him, and ultimately surpassing him.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum