View previous topic :: View next topic |
Author |
Message |
togooroo n00b
Joined: 12 Oct 2021 Posts: 15 Location: United States
|
Posted: Tue Oct 12, 2021 4:49 am Post subject: No sound: Intel Tiger Lake LP |
|
|
I just got a new laptop the other day. It is a Lenovo IdeaPad 5 14ITL05. I installed Gentoo with the default/linux/amd64/17.1/hardened (stable) profile. While using pulseaudio, I realized nothing was coming from the speakers. I emerged pavucontrol, and noticed that no sound card was detected. Did some research, and found I needed to install sys-firmware/sof-firmware. After emerging that, the speakers showed up in pavucontrol, and in pamixer. pavucontrol showed volume coming from the speaker, yet I could not hear anything. When plugging in a headphones with the headphone jack, pavucontrol detects a headphone being inserted, and appears to redirect output there, but the same happens: no output can be heard. Windows 10 has working sound, and I tested Pop OS 21.04 on a live usb, and it had sound as well. Pop OS has a 5.13 kernel, while I am using a 5.10 kernel. Genkernel, I have not customized it yet. My windows manager is DWM 6.2
dmesg: https://paste.c-net.org/GravyCouch
lspci
Code: |
00:00.0 Host bridge: Intel Corporation 11th Gen Core Processor Host Bridge/DRAM Registers (rev 01)
00:02.0 VGA compatible controller: Intel Corporation TigerLake-LP GT2 [Iris Xe Graphics] (rev 01)
00:04.0 Signal processing controller: Intel Corporation TigerLake-LP Dynamic Tuning Processor Participant (rev 01)
00:08.0 System peripheral: Intel Corporation GNA Scoring Accelerator module (rev 01)
00:0a.0 Signal processing controller: Intel Corporation Tigerlake Telemetry Aggregator Driver (rev 01)
00:0d.0 USB controller: Intel Corporation Tiger Lake-LP Thunderbolt 4 USB Controller (rev 01)
00:14.0 USB controller: Intel Corporation Tiger Lake-LP USB 3.2 Gen 2x1 xHCI Host Controller (rev 20)
00:14.2 RAM memory: Intel Corporation Tiger Lake-LP Shared SRAM (rev 20)
00:14.3 Network controller: Intel Corporation Wi-Fi 6 AX201 (rev 20)
00:15.0 Serial bus controller [0c80]: Intel Corporation Tiger Lake-LP Serial IO I2C Controller #0 (rev 20)
00:16.0 Communication controller: Intel Corporation Tiger Lake-LP Management Engine Interface (rev 20)
00:1c.0 PCI bridge: Intel Corporation Device a0bb (rev 20)
00:1d.0 PCI bridge: Intel Corporation Tiger Lake-LP PCI Express Root Port #9 (rev 20)
00:1f.0 ISA bridge: Intel Corporation Tiger Lake-LP LPC Controller (rev 20)
00:1f.3 Multimedia audio controller: Intel Corporation Tiger Lake-LP Smart Sound Technology Audio Controller (rev 20)
00:1f.4 SMBus: Intel Corporation Tiger Lake-LP SMBus Controller (rev 20)
00:1f.5 Serial bus controller [0c80]: Intel Corporation Tiger Lake-LP SPI Controller (rev 20)
01:00.0 SD Host controller: O2 Micro, Inc. SD/MMC Card Reader Controller (rev 01)
02:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd Device a80923
|
lspci -v
Code: |
...
00:1f.3 Multimedia audio controller: Intel Corporation Tiger Lake-LP Smart Sound Technology Audio Controller (rev 20)
Subsystem: Lenovo Tiger Lake-LP Smart Sound Technology Audio Controller
Flags: bus master, fast devsel, latency 32, IRQ 148
Flags: bus master, fast devsel, latency 32, IRQ 148
Memory at 6001138000 (64-bit, non-prefetchable) [size=16K]
Memory at 6001000000 (64-bit, non-prefetchable) [size=1M]
Capabilities: [50] Power Management version 3
Capabilities: [80] Vendor Specific Information: Len=14 <?>
Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
Kernel driver in use: sof-audio-pci
Kernel modules: snd_hda_intel, snd_sof_pci
...
|
If there is any more information you need, please tell me, and I will be happy to oblige (I have never posted in a forum before). I have been looking all day fruitlessly. Thank you in advance. |
|
Back to top |
|
|
roccobaroccoSC n00b
Joined: 15 May 2020 Posts: 27
|
Posted: Tue Oct 12, 2021 8:24 am Post subject: |
|
|
lspci detects your audio device.
Just for info - take a look at the output of "dmesg" and also your logs at "/var/log/messages".
Is there something related to "hda", "sound", or "audio" that shed light?
If everything seems OK, maybe you need to compile some additional module in your kernel or add a use flag to pulseaudio? Revisit the Wiki: https://wiki.gentoo.org/wiki/PulseAudio
What are your useflags for pulseaudio btw?
Code: | equery uses pulseaudio |
|
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54243 Location: 56N 3W
|
Posted: Tue Oct 12, 2021 9:42 am Post subject: |
|
|
togooroo,
Welcome to Gentoo.
Your dmesg looks good. The codec is detected.
Run alsamixer and mute all the controls.
Unmute Master, Front and PCM and set their sliders to about 70% - Now test.
Your sound card can do sound over HDMI or to the built in speakers but not both together.
When both are enabled only HDMI works. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
togooroo n00b
Joined: 12 Oct 2021 Posts: 15 Location: United States
|
Posted: Tue Oct 12, 2021 10:19 pm Post subject: |
|
|
Thank you NeddySeagoon. I went into alsamixer and I attmped to change those settings, but I did not see any sliders labeled Front or PCM. This is on the sof-hda-dsp device. Moving over to the PulseAudio device, I saw one slider. After muting and unmuting that the audio is now working. I will reboot and see if this saved |
|
Back to top |
|
|
togooroo n00b
Joined: 12 Oct 2021 Posts: 15 Location: United States
|
Posted: Tue Oct 12, 2021 10:25 pm Post subject: |
|
|
It appears that I need to unmute the Master slider in alsamixer to make audio work. Does this mean that I am not using pulse at all, and directly using ALSA?
p.s.
equery uses pulseaudio
Code: |
* Found these USE flags for media-sound/pulseaudio-13.0-r1:
U I
+ + X : Build the X11 publish module to export PulseAudio information through X11 protocol for clients to make use. Don't enable this flag if you want to use a system wide
instance. If unsure, enable this flag.
- - abi_x86_32 : 32-bit (x86) libraries
+ + alsa : Add support for media-libs/alsa-lib (Advanced Linux Sound Architecture)
+ + alsa-plugin : Request installing media-plugins/alsa-plugins with PulseAudio plugin enabled. This ensures that clients supporting ALSA only will use PulseAudio.
+ + asyncns : Use libasyncns for asynchronous name resolution.
- - bluetooth : Enable Bluetooth Support
+ + caps : Use Linux capabilities library to control privilege
- - dbus : Enable dbus support for anything that needs it (gpsd, gnomemeeting, etc)
- - doc : Build the doxygen-described API documentation.
+ + elogind : Use sys-auth/elogind for giving each session a PA client
- - equalizer : Enable the equalizer module (requires sci-libs/fftw).
- - gconf : Ensure gnome-base/gconf is present for pulseaudio GConf to GSettings module automatic migration (keeping the user configuration)
- - gdbm : Use sys-libs/gdbm to store PulseAudio databases. Recommended for desktop usage. This flag causes the whole package to be licensed under GPL-2 or later.
+ + glib : Add support to dev-libs/glib-based mainloop for the libpulse client library, to allow using libpulse on glib-based programs. Build the GSettings PA module.
- - gtk : Add support for x11-libs/gtk+ (The GIMP Toolkit)
+ + ipv6 : Add support for IP version 6
- - jack : Add support for the JACK Audio Connection Kit
- - libsamplerate : Build with support for converting sample rates using libsamplerate
- - lirc : Add support for lirc (Linux's Infra-Red Remote Control)
- - native-headset : Build with native HSP backend for bluez 5.
- - ofono-headset : Build with oFono HFP backend for bluez 5, requires net-misc/ofono.
- - orc : Use dev-lang/orc for just-in-time optimization of array operations
- - qt5 : Add support for the Qt 5 application and UI framework
- - realtime : Makes PulseAudio use RealtimeKit (sys-auth/rtkit) to get real-time priority while running.
- - sox : Add support for Sound eXchange (SoX)
+ + ssl : Use dev-libs/openssl to provide support for RAOP (AirPort) streaming.
- - systemd : Build with sys-apps/systemd support to replace standalone ConsoleKit.
- - tcpd : Add support for TCP wrappers
- - test : Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)
+ + udev : Enable virtual/udev integration (device discovery, power and storage device support, etc)
+ + webrtc-aec : Uses the webrtc.org AudioProcessing library for enhancing VoIP calls greatly in applications that support it by performing acoustic echo cancellation, analog gain
control, noise suppression and other processing.
- - zeroconf : Support for DNS Service Discovery (DNS-SD)
|
|
|
Back to top |
|
|
mirekm Apprentice
Joined: 12 Feb 2004 Posts: 210 Location: Gliwice
|
Posted: Wed Oct 13, 2021 9:46 am Post subject: |
|
|
togooroo wrote: | Thank you NeddySeagoon. I went into alsamixer and I attmped to change those settings, but I did not see any sliders labeled Front or PCM. This is on the sof-hda-dsp device. Moving over to the PulseAudio device, I saw one slider. After muting and unmuting that the audio is now working. I will reboot and see if this saved |
Did you selected right audio card in alsamixer? [F6] |
|
Back to top |
|
|
roccobaroccoSC n00b
Joined: 15 May 2020 Posts: 27
|
Posted: Wed Oct 13, 2021 5:51 pm Post subject: |
|
|
togooroo wrote: | It appears that I need to unmute the Master slider in alsamixer to make audio work. Does this mean that I am not using pulse at all, and directly using ALSA?
p.s.
equery uses pulseaudio
|
Here are my pulseaudio USE flags, which are verified to work in my configuration (I have an AMD X399 board with built-in audio device). Compare and try changing those and emerge pulseaudio again:
Code: | % equery uses pulseaudio
[ Legend : U - final flag setting for installation]
[ : I - package is installed with flag ]
[ Colors : set, unset ]
* Found these USE flags for media-sound/pulseaudio-13.0-r1:
U I
+ + X : Build the X11 publish module to export PulseAudio information through X11 protocol for clients to make use. Don't enable this flag if you want to use a system wide instance. If unsure, enable this flag.
- - abi_x86_32 : 32-bit (x86) libraries
+ + alsa : Add support for media-libs/alsa-lib (Advanced Linux Sound Architecture)
+ + alsa-plugin : Request installing media-plugins/alsa-plugins with PulseAudio plugin enabled. This ensures that clients supporting ALSA only will use PulseAudio.
+ + asyncns : Use libasyncns for asynchronous name resolution.
+ + bluetooth : Enable Bluetooth Support
+ + caps : Use Linux capabilities library to control privilege
+ + dbus : Enable dbus support for anything that needs it (gpsd, gnomemeeting, etc)
- - doc : Build the doxygen-described API documentation.
+ + elogind : Use sys-auth/elogind for giving each session a PA client
+ + equalizer : Enable the equalizer module (requires sci-libs/fftw).
+ + gconf : Ensure gnome-base/gconf is present for pulseaudio GConf to GSettings module automatic migration (keeping the user configuration)
+ + gdbm : Use sys-libs/gdbm to store PulseAudio databases. Recommended for desktop usage. This flag causes the whole package to be licensed under GPL-2 or later.
+ + glib : Add support to dev-libs/glib-based mainloop for the libpulse client library, to allow using libpulse on glib-based programs. Build the GSettings PA module.
+ + gtk : Add support for x11-libs/gtk+ (The GIMP Toolkit)
+ + ipv6 : Add support for IP version 6
- - jack : Add support for the JACK Audio Connection Kit
- - libsamplerate : Build with support for converting sample rates using libsamplerate
- - lirc : Add support for lirc (Linux's Infra-Red Remote Control)
- - native-headset : Build with native HSP backend for bluez 5.
- - ofono-headset : Build with oFono HFP backend for bluez 5, requires net-misc/ofono.
+ + orc : Use dev-lang/orc for just-in-time optimization of array operations
+ + qt5 : Add support for the Qt 5 application and UI framework
- - realtime : Makes PulseAudio use RealtimeKit (sys-auth/rtkit) to get real-time priority while running.
- - sox : Add support for Sound eXchange (SoX)
+ + ssl : Use dev-libs/openssl to provide support for RAOP (AirPort) streaming.
- - systemd : Build with sys-apps/systemd support to replace standalone ConsoleKit.
+ + tcpd : Add support for TCP wrappers
- - test : Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)
+ + udev : Enable virtual/udev integration (device discovery, power and storage device support, etc)
+ + webrtc-aec : Uses the webrtc.org AudioProcessing library for enhancing VoIP calls greatly in applications that support it by performing acoustic echo cancellation, analog gain control, noise suppression and other processing.
- - zeroconf : Support for DNS Service Discovery (DNS-SD)
|
Code: | lspci -v
...
0b:00.3 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) HD Audio Controller
Subsystem: ASUSTeK Computer Inc. Family 17h (Models 00h-0fh) HD Audio Controller
Flags: bus master, fast devsel, latency 0, IRQ 120, IOMMU group 20
Memory at ba900000 (32-bit, non-prefetchable) [size=32K]
Capabilities: <access denied>
Kernel driver in use: snd_hda_intel
|
|
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54243 Location: 56N 3W
|
Posted: Wed Oct 13, 2021 7:31 pm Post subject: |
|
|
togooroo,
Pulseaudio is a wrapper around alsa.
I'm not sure if pulseaudio requires you to add alsasound to the default runlevel or not.
That's the service that saves and restores your mixer settings across reboots. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
togooroo n00b
Joined: 12 Oct 2021 Posts: 15 Location: United States
|
Posted: Thu Oct 14, 2021 3:49 am Post subject: |
|
|
my audio is working now. It was simply muted in ALSA. Thank you everyone in this thread, I really appreciate it |
|
Back to top |
|
|
roccobaroccoSC n00b
Joined: 15 May 2020 Posts: 27
|
Posted: Thu Oct 14, 2021 10:53 am Post subject: |
|
|
togooroo wrote: | my audio is working now. It was simply muted in ALSA. Thank you everyone in this thread, I really appreciate it |
Good stuff! Glad you fixed it. |
|
Back to top |
|
|
|
|
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
|
|