Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved](?) Audio does not work at all after fresh install
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
Gentooby
n00b
n00b


Joined: 03 Aug 2024
Posts: 3

PostPosted: Mon Aug 05, 2024 7:27 pm    Post subject: [Solved](?) Audio does not work at all after fresh install Reply with quote

I recently installed gentoo for the first time a couple days ago and got hyprland installed. Everything worked fine except for the fact that audio doesn't work at all. I am pretty sure it is a pulseaudio/pipewire problem as if I try to use pavucontrol, it just says "Establishing connection to pulseaudio, Please wait." and hangs. I have tried using multiple external speakers, headphones, and my monitor's built in speakers, but none of them worked either. I emerged kde-plasma/plasma-meta hoping it would have a package or configuration that would fix the problem but the audio widget in plasma says that it is not detecting any audio sources. But lspci is detecting them, as well as alsamixer. But an interesting thing with alsamixer is that when "HDA Nvidia" (Which I believe is my monitor speakers) Is selected as the sound card it does not show the usual mixer options but something showing 4 boxes labeled "s/PDIF 1-4" But when "HD-Audio Generic" is selected, the normal mixer options show.

Code:

bob@gentooo ~ $ lspci | grep -i audio
01:00.1 Audio device: NVIDIA Corporation Device 22be (rev a1)
14:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD Audio Controller


I also tried following this guide (https://terminalroot.com/how-to-troubleshoot-audio-or-sound-on-gentoo/) But the options for the kernel menuconfig were not there when I tried to do it. I've looked through other forum posts and tried reinstalling pipewire, pulseaudio, and alsa-utils, but to no avail. I have looked through all the forum posts I could but none of them seemed to have the same problem as me.

How do I go about troubleshooting this and fixing this problem?
Thanks in advance for any help.


Last edited by Gentooby on Tue Aug 06, 2024 2:30 am; edited 1 time in total
Back to top
View user's profile Send private message
kimchi_sg
Advocate
Advocate


Joined: 26 Nov 2004
Posts: 3038

PostPosted: Tue Aug 06, 2024 12:53 am    Post subject: Re: Audio does not work at all after fresh install Reply with quote

Gentooby wrote:
I recently installed gentoo for the first time a couple days ago and got hyprland installed.... I emerged kde-plasma/plasma-meta hoping it would have a package or configuration that would fix the problem

Welcome to Gentoo. Everything is up to you to set up correctly. Do not assume default settings are working.

Just stick to one window manager or environment, for the purpose of troubleshooting your audio problem.

Gentooby wrote:

Code:

bob@gentooo ~ $ lspci | grep -i audio
01:00.1 Audio device: NVIDIA Corporation Device 22be (rev a1)
14:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD Audio Controller


Show also
Code:
# lspci -nnk

Gentooby wrote:
I also tried following this guide (https://terminalroot.com/how-to-troubleshoot-audio-or-sound-on-gentoo/)

How is that better than our Gentoo wiki for Pipewire?



Gentooby wrote:
How do I go about troubleshooting this and fixing this problem?
Thanks in advance for any help.

Please follow the Gentoo wiki, that should work.

In paticular, do you use OpenRC or Systemd?
If you use OpenRC, how do you run gentoo-pipewire-launcher?
Back to top
View user's profile Send private message
Gentooby
n00b
n00b


Joined: 03 Aug 2024
Posts: 3

PostPosted: Tue Aug 06, 2024 2:00 am    Post subject: Reply with quote

kimchi_sg wrote:
Just stick to one window manager or environment, for the purpose of troubleshooting your audio problem.

Yeah I only really got kde to see if it would help which it didn't, so I got rid of it as I wasn't going to use it anymore.

kimchi_sg wrote:
Show also
Code:
 lspci -nnk



Code:

bob@gentooo ~ $ lspci -nnk
00:00.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:14d8]
   Subsystem: Advanced Micro Devices, Inc. [AMD] Device [1022:14d8]
00:00.2 IOMMU [0806]: Advanced Micro Devices, Inc. [AMD] Device [1022:14d9]
   Subsystem: Gigabyte Technology Co., Ltd Device [1458:d000]
00:01.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:14da]
00:01.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:14db]
   Subsystem: Advanced Micro Devices, Inc. [AMD] Device [1022:1453]
   Kernel driver in use: pcieport
00:01.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:14db]
   Subsystem: Advanced Micro Devices, Inc. [AMD] Device [1022:1453]
   Kernel driver in use: pcieport
00:02.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:14da]
00:02.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:14db]
   Subsystem: Advanced Micro Devices, Inc. [AMD] Device [1022:1453]
   Kernel driver in use: pcieport
00:03.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:14da]
00:03.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:14db]
   Subsystem: Advanced Micro Devices, Inc. [AMD] Device [1022:1453]
   Kernel driver in use: pcieport
00:04.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:14da]
00:08.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:14da]
00:08.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:14dd]
   Subsystem: Advanced Micro Devices, Inc. [AMD] Device [1022:14dd]
   Kernel driver in use: pcieport
00:08.3 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:14dd]
   Subsystem: Advanced Micro Devices, Inc. [AMD] Device [1022:14dd]
   Kernel driver in use: pcieport
00:14.0 SMBus [0c05]: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller [1022:790b] (rev 71)
   Subsystem: Gigabyte Technology Co., Ltd Device [1458:5001]
   Kernel modules: i2c_piix4, sp5100_tco
00:14.3 ISA bridge [0601]: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge [1022:790e] (rev 51)
   Subsystem: Gigabyte Technology Co., Ltd Device [1458:5001]
00:18.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:14e0]
00:18.1 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:14e1]
00:18.2 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:14e2]
00:18.3 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:14e3]
   Kernel driver in use: k10temp
   Kernel modules: k10temp
00:18.4 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:14e4]
00:18.5 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:14e5]
00:18.6 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:14e6]
00:18.7 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:14e7]
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation AD107 [GeForce RTX 4060] [10de:2882] (rev a1)
   Subsystem: ZOTAC International (MCO) Ltd. Device [19da:1726]
   Kernel driver in use: nvidia
   Kernel modules: nouveau, nvidia_drm, nvidia
01:00.1 Audio device [0403]: NVIDIA Corporation Device [10de:22be] (rev a1)
   Subsystem: ZOTAC International (MCO) Ltd. Device [19da:1726]
   Kernel driver in use: snd_hda_intel
   Kernel modules: snd_hda_intel
02:00.0 Non-Volatile memory controller [0108]: Sandisk Corp WD Blue SN580 NVMe SSD (DRAM-less) [15b7:5041] (rev 01)
   Subsystem: Sandisk Corp WD Blue SN580 NVMe SSD (DRAM-less) [15b7:5041]
   Kernel driver in use: nvme
   Kernel modules: nvme
03:00.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Upstream Port [1022:43f4] (rev 01)
   Subsystem: ASMedia Technology Inc. Device [1b21:3328]
   Kernel driver in use: pcieport
04:00.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port [1022:43f5] (rev 01)
   Subsystem: ASMedia Technology Inc. Device [1b21:3328]
   Kernel driver in use: pcieport
04:01.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port [1022:43f5] (rev 01)
   Subsystem: ASMedia Technology Inc. Device [1b21:3328]
   Kernel driver in use: pcieport
04:02.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port [1022:43f5] (rev 01)
   Subsystem: ASMedia Technology Inc. Device [1b21:3328]
   Kernel driver in use: pcieport
04:03.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port [1022:43f5] (rev 01)
   Subsystem: ASMedia Technology Inc. Device [1b21:3328]
   Kernel driver in use: pcieport
04:04.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port [1022:43f5] (rev 01)
   Subsystem: ASMedia Technology Inc. Device [1b21:3328]
   Kernel driver in use: pcieport
04:05.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port [1022:43f5] (rev 01)
   Subsystem: ASMedia Technology Inc. Device [1b21:3328]
   Kernel driver in use: pcieport
04:06.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port [1022:43f5] (rev 01)
   Subsystem: ASMedia Technology Inc. Device [1b21:3328]
   Kernel driver in use: pcieport
04:07.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port [1022:43f5] (rev 01)
   Subsystem: ASMedia Technology Inc. Device [1b21:3328]
   Kernel driver in use: pcieport
04:08.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port [1022:43f5] (rev 01)
   Subsystem: ASMedia Technology Inc. Device [1b21:3328]
   Kernel driver in use: pcieport
04:09.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port [1022:43f5] (rev 01)
   Subsystem: ASMedia Technology Inc. Device [1b21:3328]
   Kernel driver in use: pcieport
04:0a.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port [1022:43f5] (rev 01)
   Subsystem: ASMedia Technology Inc. Device [1b21:3328]
   Kernel driver in use: pcieport
04:0b.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port [1022:43f5] (rev 01)
   Subsystem: ASMedia Technology Inc. Device [1b21:3328]
   Kernel driver in use: pcieport
04:0c.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port [1022:43f5] (rev 01)
   Subsystem: ASMedia Technology Inc. Device [1b21:3328]
   Kernel driver in use: pcieport
04:0d.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port [1022:43f5] (rev 01)
   Subsystem: ASMedia Technology Inc. Device [1b21:3328]
   Kernel driver in use: pcieport
06:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
   Subsystem: Gigabyte Technology Co., Ltd Onboard Ethernet [1458:e000]
   Kernel driver in use: r8169
   Kernel modules: r8169
07:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter [10ec:c821]
   Subsystem: AzureWave Device [1a3b:304c]
   Kernel driver in use: rtw_8821ce
   Kernel modules: rtw88_8821ce
11:00.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset USB 3.2 Controller [1022:43f7] (rev 01)
   Subsystem: ASMedia Technology Inc. Device [1b21:1142]
   Kernel driver in use: xhci_hcd
12:00.0 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset SATA Controller [1022:43f6] (rev 01)
   Subsystem: ASMedia Technology Inc. Device [1b21:1062]
   Kernel driver in use: ahci
13:00.0 Non-Volatile memory controller [0108]: Sandisk Corp WD Black SN770 / PC SN740 256GB / PC SN560 (DRAM-less) NVMe SSD [15b7:5017] (rev 01)
   Subsystem: Sandisk Corp WD Black SN770 / PC SN740 256GB / PC SN560 (DRAM-less) NVMe SSD [15b7:5017]
   Kernel driver in use: nvme
   Kernel modules: nvme
14:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Phoenix PCIe Dummy Function [1022:14de] (rev c6)
   Subsystem: Gigabyte Technology Co., Ltd Device [1458:d000]
14:00.2 Encryption controller [1080]: Advanced Micro Devices, Inc. [AMD] Family 19h PSP/CCP [1022:1649]
   Subsystem: Advanced Micro Devices, Inc. [AMD] Family 19h PSP/CCP [1022:1649]
   Kernel driver in use: ccp
   Kernel modules: ccp
14:00.3 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Device [1022:15b6]
   Subsystem: Gigabyte Technology Co., Ltd Device [1458:5007]
   Kernel driver in use: xhci_hcd
14:00.4 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Device [1022:15b7]
   Subsystem: Gigabyte Technology Co., Ltd Device [1458:5007]
   Kernel driver in use: xhci_hcd
14:00.6 Audio device [0403]: Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD Audio Controller [1022:15e3]
   DeviceName: Realtek ALC1220
   Subsystem: Gigabyte Technology Co., Ltd Device [1458:a194]
   Kernel driver in use: snd_hda_intel
   Kernel modules: snd_hda_intel
15:00.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Device [1022:15b8]
   Subsystem: Gigabyte Technology Co., Ltd Device [1458:5007]
   Kernel driver in use: xhci_hcd


kimchi_sg wrote:
Please follow the Gentoo wiki, that should work.

I've read the wiki page on pipewire about a million times all the way though by now, but a lot of the commands (specifically the ones relating to system services) do not work for some reason. The problem likely has to do with the fact that trying to start any of the services shown on the wiki page that it tells me to says that the service was not found, despite clearly installing and even reinstalling the necessary packages with the necessary USE flags. (Now would be a good time to mention I'm using systemd)
Back to top
View user's profile Send private message
kimchi_sg
Advocate
Advocate


Joined: 26 Nov 2004
Posts: 3038

PostPosted: Tue Aug 06, 2024 2:05 am    Post subject: Reply with quote

Gentooby wrote:
The problem likely has to do with the fact that trying to start any of the services shown on the wiki page that it tells me to says that the service was not found,

Please show exact command output, do not quote.
Back to top
View user's profile Send private message
Gentooby
n00b
n00b


Joined: 03 Aug 2024
Posts: 3

PostPosted: Tue Aug 06, 2024 2:29 am    Post subject: Reply with quote

Ok so the audio magically works now after I pasted the same commands from the wiki page again after rebooting? I have already done the exact thing before so I have no clue what was different this time. Well I guess this is somewhat solved. Moral of the story is to never doubt the mighty gentoo wiki (And restart your computer until it works).
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