[HDA-Intel - HDA Intel PCH, playback] No sound at all

Bug #1833161 reported by Jean-Philippe Roberge
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
alsa-driver (Ubuntu)
New
Undecided
Unassigned

Bug Description

Hello to all,

My Ubuntu version is 18.04.02 LTS and I've setup a dual-boot with windows 10. Speakers and audio jack work totally fine under Windows 10, but they never work with Ubuntu.

List of some of the things I've tried:

1) I've tried all the steps from the "Sound Troubleshooting Procedure"
2) I've tried installing the "oem-audio-hda-daily-dkms" package;
3) I've tried to install/remove/reinstall alsa-base, alsa-utils, pulseaudio, pavucontrol many times
4) I've played with the options in the file /etc/modprobe.d/alsa-base.conf:
a) I've tried to add "options snd-hda-intel model=auto" and I also tried different models: auto, clevo, laptop-eapd, clevo m-720, generic, basic and even z71v position_fix=1.
5) I've tried adding :
Code:
[General]
description = Headphones + Digital Output (S/PDIF)
in the file "/usr/share/pulseaudio/alsa-mixer/paths/iec958-stereo-output.conf"
6) I've even tried a live USB stick with Ubuntu 19.04 (after reading somewhere that this was fixed on 19.04), but I found out that there was no sound on Ubuntu 19.04 as well.

Also, you can find my ALSA information here: http://alsa-project.org/db/?f=bcdf5c8be31ce8b9e848a29ef292e9125f26def0

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: alsa-base 1.0.25+dfsg-0ubuntu5
ProcVersionSignature: Ubuntu 4.18.0-22.23~18.04.1-generic 4.18.20
Uname: Linux 4.18.0-22-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.9-0ubuntu7.6
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: jproberge 1737 F.... pulseaudio
 /dev/snd/controlC0: jproberge 1737 F.... pulseaudio
CurrentDesktop: ubuntu:GNOME
Date: Mon Jun 17 20:37:29 2019
InstallationDate: Installed on 2019-06-15 (2 days ago)
InstallationMedia: Ubuntu 18.04.2 LTS "Bionic Beaver" - Release amd64 (20190210)
PackageArchitecture: all
SourcePackage: alsa-driver
Symptom: audio
Symptom_AlsaPlaybackTest: ALSA playback test through plughw:PCH failed
Symptom_Card: HDA NVidia - HDA NVidia
Symptom_DevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: gdm 1236 F.... pulseaudio
                      jproberge 1737 F.... pulseaudio
 /dev/snd/controlC0: gdm 1236 F.... pulseaudio
                      jproberge 1737 F.... pulseaudio
Symptom_Type: No sound at all
Title: [HDA-Intel - HDA Intel PCH, playback] No sound at all
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 05/07/2019
dmi.bios.vendor: INSYDE Corp.
dmi.bios.version: 1.07.08P
dmi.board.asset.tag: Tag 12345
dmi.board.name: P95_96_97Ex,Rx
dmi.board.vendor: Notebook
dmi.board.version: Not Applicable
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: Notebook
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnINSYDECorp.:bvr1.07.08P:bd05/07/2019:svnNotebook:pnP95_96_97Ex,Rx:pvrNotApplicable:rvnNotebook:rnP95_96_97Ex,Rx:rvrNotApplicable:cvnNotebook:ct10:cvrN/A:
dmi.product.family: Not Applicable
dmi.product.name: P95_96_97Ex,Rx
dmi.product.sku: Not Applicable
dmi.product.version: Not Applicable
dmi.sys.vendor: Notebook

Revision history for this message
Jean-Philippe Roberge (jproberge) wrote :
Revision history for this message
Hui Wang (hui.wang) wrote :

Please edit /etc/modprobe.d/alsa-base.conf and add:

options snd-hda-intel probe_mask=0x1

reboot and check if audio works.

If it works, please remove that line int the alsa-base.conf and install 5.0 kernel to test.

Revision history for this message
Jean-Philippe Roberge (jproberge) wrote :

Thanks Hui Wang for your reply.

adding "options snd-hda-intel probe_mask=0x1" made a significant change: my headphones now work! However, there is still no sound coming out of my speakers... I'll keep investigating a bit more today before installing a new kernel...

Also, my sound card seems to be normally powered up now (see the attached codec.txt file).

I'll keep you posted, but if you came to have any other ideas of things I could try to now make my speakers work, I'll be very happy to try it.

Revision history for this message
Hui Wang (hui.wang) wrote :

Probably you machine needs this patch:

commit 0202f5cd9aab127355f6b1de74058a670424d48a
Author: Peisen <email address hidden>
Date: Thu Oct 26 10:35:36 2017 +0800

    ALSA: hda/realtek - Add support for ALC1220

    Add Clevo-P51 mode support for ALC1220.
    ALC1220 Clevo-p51
    Speaker uses I2S output.
    We therefore want to make sure 0x14 (Headphones) and 0x1b (Speakers)
    use to stereo DAC 0x02.

    Signed-off-by: Peisen Hou <email address hidden>
    Signed-off-by: Takashi Iwai <email address hidden>

Revision history for this message
Hui Wang (hui.wang) wrote :

To test the patch of #4, please install the ubuntu-5.0 kernel, then

add "options snd-hda-intel model=clevo-p950"

Revision history for this message
Jean-Philippe Roberge (jproberge) wrote :

Excellent! Thank you so much Hui Wang!

Everything works perfectly now, thanks to your advice about upgrading the kernel. My headphones, speakers and microphone work all perfectly fine now, this is solved.

Just a note: I had already tried the "clevo-p950" as an option, but it was not working at all (not even the headphones) with the kernel version I had, which was 4.18.0-22. However, as soon as I updated the kernel to 5.0.2-050002 everything worked perfectly with clevo-p950. Also, I didn't upgrade my kernel version to the most recent stable version (i.e. 5.1.11 at the time of writing), only because my nvidia driver wasn't working fine on that specific kernel (I didn't investigate why).

Anyway, bottom line is, everything works perfectly now with the "clevo-p950" option and kernel 5.0.2. Thanks a lot Hui Wang, I'm very grateful!

Revision history for this message
Krishna rohith Paramkusham (krishnarohith) wrote :

First of All Thank You.I finally got someone to talk to. I am new user to Ubuntu 18.04 and have same issue of no sound on my laptop. I also posted a question on askubuntu but no answer since it has been asked yesterday. I only know this info:
On running lspci Ii got to know that my Audio devices are: Intel Corporation Cannon Lake PCH cAVS (rev 10) and another: NVIDIA Corporation Device 1aeb (rev a1).
I tried only with alsa-base, alsamixer, pulseaudio, pavucontrol. Nonw of this could solve my issue. But seeing this I can tell my issue can be solved with me getting to know this whole conversation. I couldn't understand this. So, please could you help me out figuring out in a nutshell of how to solve this issue? I would be thankful.

Revision history for this message
Krishna rohith Paramkusham (krishnarohith) wrote :

Sorry, forgot to mention that headphones works fine with ubuntu but only speakers doesn't work.

Revision history for this message
Koen (koenvan) wrote :

Hi,

I had the same problem.
Comment #5 worked for me (after reboot):

1. Open terminal

2. sudo nano /etc/modprobe.d/alsa-base.conf

3. Add mentioned line in comment at the bottom of the conf file:
options snd-hda-intel model=clevo-p950

4. CTRL+O -> CTRL+C

5. sudo reboot

6. test your sound

My relevant specs:

OS: Ubuntu 22.04LTS
Soundcard: HDA Intel PCH
Chip: Realtek ALC1220

Thank you!

Revision history for this message
Ken Sarowiwa (kenafrica) wrote :

I am experiencing a similar problem, my laptop is a hp elitebook 820 G3.

I am running an on ubuntu 22.04, my speakers are okay they play nicely, but anytime I try plugging in my headphones or earphones, audio is not transmitted to the earphones.

I have tried playing around with the alsamixer but the problem is still persistent.

Kindly help, and I would want to know the implications of downgrading my kernel to 5.0, will it break my machine?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.