Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Multimedia
  • Search

There is no sound under X

Help with creation, editing, or playback of sounds, images, or video. Amarok, audacious, mplayer, grip, cdparanoia and anything else that makes a sound or plays a video.
Post Reply
Advanced search
2 posts • Page 1 of 1
Author
Message
wlmosv
n00b
n00b
User avatar
Posts: 48
Joined: Fri Apr 19, 2024 11:01 am

There is no sound under X

  • Quote

Post by wlmosv » Tue Mar 04, 2025 12:40 pm

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: Select all

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: Select all

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: Select all

 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
http://0x0.st/8M4W.txt##kernel config file
http://0x0.st/8M44.txt ##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.
Top
Dominique_71
Veteran
Veteran
User avatar
Posts: 1957
Joined: Wed Aug 17, 2005 1:01 pm
Location: Switzerland (Romandie)

  • Quote

Post by Dominique_71 » Thu Mar 06, 2025 10:35 pm

Hi, You said you don't need the nvidia card, so I guess you don't use it. But the output of aplay -l show it as the first sound card (card 0). Which in turn imply that alsa will use it by default. To change the card order, see
https://wiki.gentoo.org/wiki/ALSA#Kernel_modules
"Confirm You are a robot." - the singularity
Top
Post Reply

2 posts • Page 1 of 1

Return to “Multimedia”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic