No audio output on my laptop

Questions about hardware,drivers and peripherals
Forum rules
Before you post please read how to get help
satsriakal
Level 2
Level 2
Posts: 68
Joined: Mon Jan 12, 2015 2:23 pm
Location: Bari, Italy

No audio output on my laptop

Post by satsriakal »

Hi,

I installed Linux Mint on a new laptop, but there's no audio otuput.
The software level indicator is working correctly and I can see there is a signal, therefore it's a hardware/driver problem.

Configuration:
Laptop i7
Dual Boot: Linux Mint 19.3 / Windows 10
Graphic card Nvidia GeForce GTX 1650

Code: Select all

lspci -nn | grep '\[04[80][13]\]'
00:1f.3 Audio device [0403]: Intel Corporation Device [8086:02c8]
I can't hear either through loudspeaker, either through earphones.
Audio works fine with Win 10.

What can I do?

Regards
Beppe

User avatar
MrEen
Level 20
Level 20
Posts: 10882
Joined: Mon Jun 12, 2017 8:39 pm

Re: No audio output on my laptop

Post by MrEen »

Hi satsriakal,

First, boot to Windows and ensure Fast Startup is turned Off. Then shut down, don't reboot. Wait two minutes then power up into Mint and see if sound is now working.

If that didn't change anything run this command and paste the output:

Code: Select all

curl https://gitlab.freedesktop.org/pulseaudio/pulseaudio/raw/master/src/utils/pa-info?inline=false | bash | nc termbin.com 9999

satsriakal
Level 2
Level 2
Posts: 68
Joined: Mon Jan 12, 2015 2:23 pm
Location: Bari, Italy

Re: No audio output on my laptop

Post by satsriakal »

I turned off Fast Startup.
Then, since the audio is still off, I followed your instructions.
here you are the result

Code: Select all

 curl https://gitlab.freedesktop.org/pulseaudio/pulseaudio/raw/master/src/utils/pa-info?inline=false | bash | nc termbin.com 9999
 
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  2039  100  2039    0     0   3359      0 --:--:-- --:--:-- --:--:--  3353
https://termbin.com/j84x
Best regards
Beppe

User avatar
MrEen
Level 20
Level 20
Posts: 10882
Joined: Mon Jun 12, 2017 8:39 pm

Re: No audio output on my laptop

Post by MrEen »

Okay, the output looked fine, so we need to make some guesses to try to get it working.

First, delete the files in /home/YouruserName/.config/pulse then run pulseaudio -k in the terminal. Restart your sound playing app and test.

Next, run this then reboot:

Code: Select all

sudo tee /etc/modprobe.d/zenbook.conf <<<'options snd-hda-intel model=asus-zenbook'
If it doesn't help, first make sure volume levels are decent and not muted. If they're fine, remove that edit with this command:

Code: Select all

sudo rm /etc/modprobe.d/zenbook.conf
Next, try this one then reboot:

Code: Select all

sudo tee /etc/modprobe.d/alsa-fix.conf <<<'options snd-hda-intel dmic_detect=0'
If that also doesn't work, remove the edit with this:

Code: Select all

sudo rm /etc/modprobe.d/alsa-fix.conf
Next, run alsamixer in the terminal and arrow over to the Headphone column then raise the level with the up arrow all the way. Do the speakers now output sound?

satsriakal
Level 2
Level 2
Posts: 68
Joined: Mon Jan 12, 2015 2:23 pm
Location: Bari, Italy

Re: No audio output on my laptop

Post by satsriakal »

Hi MrEen,
I followed your instructions without any good result.

May I ask you to explain me something in order to improve my Linux Knowledge?

Is that possible that audio lean on Nvidia Graphic card?

best regards
Beppe

User avatar
MrEen
Level 20
Level 20
Posts: 10882
Joined: Mon Jun 12, 2017 8:39 pm

Re: No audio output on my laptop

Post by MrEen »

satsriakal wrote:
Fri May 15, 2020 4:36 am
Hi MrEen,
I followed your instructions without any good result.

May I ask you to explain me something in order to improve my Linux Knowledge?

Is that possible that audio lean on Nvidia Graphic card?

best regards
Beppe
In your case at the moment, no. Your Intel graphics card is supplying the audio support which only applies for HDMI audio, not headphones and speakers. Unless these headphone and speakers are plugging into an external monitor or TV, this shouldn't be a concern.

I am however quite surprised you're not getting any output. The outputs look perfect as far as I can tell. Did you do a full shutdown from Windows? Windows can cause this when rebooting from Windows to Linux.

Does this command produce any output:

Code: Select all

aplay -D hw:0,0 /usr/share/sounds/alsa/Front_Center.wav

satsriakal
Level 2
Level 2
Posts: 68
Joined: Mon Jan 12, 2015 2:23 pm
Location: Bari, Italy

Re: No audio output on my laptop

Post by satsriakal »

I did it...no sound yet

Code: Select all

aplay -D hw:0,0 /usr/share/sounds/alsa/Front_Center.wav
Riproduzione in corso WAVE '/usr/share/sounds/alsa/Front_Center.wav' : Signed 16 bit Little Endian, Frequenza 48000 Hz, Mono
aplay: set_params:1305: Conteggio dei canali non disponibile
I entered Win 10, tested audio again (it's working fine) and switched off. No good result.

User avatar
MrEen
Level 20
Level 20
Posts: 10882
Joined: Mon Jun 12, 2017 8:39 pm

Re: No audio output on my laptop

Post by MrEen »

Okay, let's try a different tweak. Run this then reboot and test the sound:

Code: Select all

sudo tee /etc/modprobe.d/zenbook.conf <<<'options snd-hda-intel model=asus-zenbook-ux31a'
I know the model isn't the same, but that may apply the same tweak that your system needs.

satsriakal
Level 2
Level 2
Posts: 68
Joined: Mon Jan 12, 2015 2:23 pm
Location: Bari, Italy

Re: No audio output on my laptop

Post by satsriakal »

Unluckily no sound yet! That's very strange...

Is there something I could read in order to understand something about audio hardware?

User avatar
MrEen
Level 20
Level 20
Posts: 10882
Joined: Mon Jun 12, 2017 8:39 pm

Re: No audio output on my laptop

Post by MrEen »

satsriakal wrote:
Sat May 16, 2020 6:43 pm
Unluckily no sound yet! That's very strange...

Is there something I could read in order to understand something about audio hardware?
Not that I'm aware of. I've learned a lot just by trying to help others I've stumbled across many different things from bug reports to other forum answers, etc.

Those tweaks I had you try came from this document: https://www.kernel.org/doc/Documentatio ... models.rst

Certain apps block the normal output such as Timidity and Speech-dispatcher, but your original big output didn't show those getting in the way.

Let me see the output of inxi -Fxz and find $HOME ! -user $USER in case either of them points to something peculiar.

Oh, and one more test, just in case:

Code: Select all

aplay -D hw:0,2 /usr/share/sounds/alsa/Front_Center.wav

satsriakal
Level 2
Level 2
Posts: 68
Joined: Mon Jan 12, 2015 2:23 pm
Location: Bari, Italy

Re: No audio output on my laptop

Post by satsriakal »

Thanks a lot for your suggestions...

First part

Code: Select all

inxi -Fxz
System:    Host: giona Kernel: 5.3.0-51-generic x86_64 bits: 64 compiler: gcc v: 7.5.0 Desktop: Xfce 4.14.1 
           Distro: Linux Mint 19.3 Tricia base: Ubuntu 18.04 bionic 
Machine:   Type: Laptop System: ASUSTeK product: ZenBook UX534FTC_UX533FTC v: 1.0 serial: <filter> 
           Mobo: ASUSTeK model: UX534FTC v: 1.0 serial: <filter> UEFI: American Megatrends v: UX534FTC.304 date: 12/16/2019 
Battery:   ID-1: BAT0 charge: 70.7 Wh condition: 71.4/71.0 Wh (101%) model: ASUSTeK ASUS Battery status: Discharging 
CPU:       Topology: Quad Core model: Intel Core i7-10510U bits: 64 type: MT MCP arch: Kaby Lake rev: C L2 cache: 8192 KiB 
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 36799 
           Speed: 700 MHz min/max: 400/4900 MHz Core speeds (MHz): 1: 700 2: 700 3: 700 4: 700 5: 700 6: 700 7: 700 8: 700 
Graphics:  Device-1: Intel vendor: ASUSTeK driver: i915 v: kernel bus ID: 00:02.0 
           Device-2: NVIDIA vendor: ASUSTeK driver: nvidia v: 440.59 bus ID: 02:00.0 
           Display: x11 server: X.Org 1.20.5 driver: modesetting,nvidia unloaded: fbdev,nouveau,vesa 
           resolution: 1920x1080~60Hz 
           OpenGL: renderer: GeForce GTX 1650 with Max-Q Design/PCIe/SSE2 v: 4.6.0 NVIDIA 440.59 direct render: Yes 
Audio:     Device-1: Intel vendor: ASUSTeK driver: snd_hda_intel v: kernel bus ID: 00:1f.3 
           Sound Server: ALSA v: k5.3.0-51-generic 
Network:   Device-1: Intel driver: iwlwifi v: kernel port: 4000 bus ID: 00:14.3 
           IF: wlo1 state: up mac: <filter> 
Drives:    Local Storage: total: 476.94 GiB used: 13.09 GiB (2.7%) 
           ID-1: /dev/nvme0n1 vendor: Samsung model: MZVLQ512HALU-00000 size: 476.94 GiB 
Partition: ID-1: / size: 45.03 GiB used: 13.06 GiB (29.0%) fs: ext4 dev: /dev/nvme0n1p6 
Sensors:   System Temperatures: cpu: 51.0 C mobo: N/A gpu: nvidia temp: 43 C 
           Fan Speeds (RPM): N/A 
Info:      Processes: 254 Uptime: 1m Memory: 15.44 GiB used: 996.0 MiB (6.3%) Init: systemd runlevel: 5 Compilers: gcc: 7.5.0 
           Shell: bash v: 4.4.20 inxi: 3.0.32 
2nd part

Code: Select all

find $HOME ! -user $USER
No output

3rd part

Code: Select all

aplay -D hw:0,2 /usr/share/sounds/alsa/Front_Center.wav
aplay: main:788: errore aprendo l'audio: File o directory non esistente

User avatar
MrEen
Level 20
Level 20
Posts: 10882
Joined: Mon Jun 12, 2017 8:39 pm

Re: No audio output on my laptop

Post by MrEen »

Everything is still looking fine.

I'd like you to run this command then reboot and test the sound:

Code: Select all

sudo tee /etc/modprobe.d/snd-hda-intel.conf <<<'options snd-hda-intel power_save=0'
I'm not expecting that to work, but it's worth a shot.

Next, without headphones plugged in, run this command again while sound is trying to play:

Code: Select all

curl https://gitlab.freedesktop.org/pulseaudio/pulseaudio/raw/master/src/utils/pa-info?inline=false | bash | nc termbin.com 9999
Then plug in some headphones and run it again while sound is still trying to play. Maybe that'll point to something, but I'm starting to suspect that machine needs something new applied that we'll try after I go through those outputs.

satsriakal
Level 2
Level 2
Posts: 68
Joined: Mon Jan 12, 2015 2:23 pm
Location: Bari, Italy

Re: No audio output on my laptop

Post by satsriakal »

No good result.....I'm sorry

Code: Select all

curl https://gitlab.freedesktop.org/pulseaudio/pulseaudio/raw/master/src/utils/pa-info?inline=false | bash | nc termbin.com 9999
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  2039  100  2039    0     0   1473      0  0:00:01  0:00:01 --:--:--  1473
https://termbin.com/xdu2
xap@giona:~$ 
xap@giona:~$ 
xap@giona:~$ 
xap@giona:~$ 
xap@giona:~$ curl https://gitlab.freedesktop.org/pulseaudio/pulseaudio/raw/master/src/utils/pa-info?inline=false | bash | nc termbin.com 9999
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  2039  100  2039    0     0   2808      0 --:--:-- --:--:-- --:--:--  2808
https://termbin.com/lbhk
xap@giona:~$ 
xap@giona:~$ 
xap@giona:~$ 
xap@giona:~$ 
xap@giona:~$ curl https://gitlab.freedesktop.org/pulseaudio/pulseaudio/raw/master/src/utils/pa-info?inline=false | bash | nc termbin.com 9999
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  2039  100  2039    0     0   1841      0  0:00:01  0:00:01 --:--:--  1841
https://termbin.com/14ox
xap@giona:~$ curl https://gitlab.freedesktop.org/pulseaudio/pulseaudio/raw/master/src/utils/pa-info?inline=false | bash | nc termbin.com 9999
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  2039  100  2039    0     0   2340      0 --:--:-- --:--:-- --:--:--  2338
https://termbin.com/1099

User avatar
MrEen
Level 20
Level 20
Posts: 10882
Joined: Mon Jun 12, 2017 8:39 pm

Re: No audio output on my laptop

Post by MrEen »

First try running PulseAudio Volume Control and on the Configuration tab change the Profile from Uscita «Stereo analogico» to Uscita «Surround analogico 4.0» and test the speakers.

If nothing, remove the edit we made earlier with sudo rm /etc/modprobe.d/zenbook.conf as it has actually removed your speaker volume control.

I'll do some more searching to try to find other solutions that may work.

User avatar
MrEen
Level 20
Level 20
Posts: 10882
Joined: Mon Jun 12, 2017 8:39 pm

Re: No audio output on my laptop

Post by MrEen »

Here's something worth trying, reboot, but enter your BIOS instead of booting into Mint. Immediately leave the BIOS setup and then boot into Mint and test the sound. Here's where I got the idea: https://askubuntu.com/questions/1225954 ... k-ux533ftc

And another thread worth following: https://bbs.archlinux.org/viewtopic.php?id=255446

And a bug report worth following: https://bugs.launchpad.net/ubuntu/+sour ... ug/1850439

And another: https://bugzilla.kernel.org/show_bug.cgi?id=206289

Just like your case, that last one looked fine to one of the ALSA developers (Takashi Iwai) so it's not looking terribly hopeful at the moment.

You might want to consider something like this: https://www.amazon.com/Sabrent-External ... TEBZTNF7NX

satsriakal
Level 2
Level 2
Posts: 68
Joined: Mon Jan 12, 2015 2:23 pm
Location: Bari, Italy

Re: No audio output on my laptop

Post by satsriakal »

Ok! That's really my case....ASUS UX533FTC

the solution of entering BIOS doesn't work....

do you think that a solution could be found by developers?

in any case at the moment I can use an external sound card....


thanks a lot!

User avatar
MrEen
Level 20
Level 20
Posts: 10882
Joined: Mon Jun 12, 2017 8:39 pm

Re: No audio output on my laptop

Post by MrEen »

I'm suspecting the machine is too new for the ALSA developers to have discovered what is necessary to make it work. So we'll try a thing or two to see if we can make it happen.

First, install alsa-tools-gui so you can run HDAJackRetask. There are a few different things we can try with this program. The first one I'd like you to try is to first make sure ALC294 is selected in the upper left corner, then check the box for Parser hints. Now double click on inv_eapd until it says yes then click on Apply now. Now test the sound with aplay /usr/share/sounds/alsa/Front_Center.wav in the terminal. If that makes the sound work, click on Install boot override and we're done. If it doesn't get the sound working, put that one back to default and try the same with pin_amp_workaround.

You can play around with this program. The important thing is to always click on Apply now before testing the sound. If things get messed up, a reboot will clear it all out, and you can start over.

If nothing works, we'll next try retasking pins for the speakers and/or headphones and see if we can get working sound that way.

Good luck.

satsriakal
Level 2
Level 2
Posts: 68
Joined: Mon Jan 12, 2015 2:23 pm
Location: Bari, Italy

Re: No audio output on my laptop

Post by satsriakal »

Hi,
I tested all your suggestion and I set, one by one, all the parameters to "yes", but without any good result.
I verified that every time I applied changes, the audio icon in the status bar went on "mute state".

How can I know the maximum quantization bit number of my PC audio card? Is there any possibility to have a mismatch in quantization bit number?

the tool is very interesting...I'm going to have a look to the meaning of the parameters...

User avatar
MrEen
Level 20
Level 20
Posts: 10882
Joined: Mon Jun 12, 2017 8:39 pm

Re: No audio output on my laptop

Post by MrEen »

I want to try something different as I didn't understand your question. First reboot so any changes from HDAJackRetask are cleared out. Then run it again and make sure ALC294 is selected. This time, check the box for Show unconnected pins then check the Override box on the left for pin 0x21 and change it to Not connected. Now select one of the not connected pins other than 0x21 and check it's Override box and see if it can be changed to Headphones. If not, move on to another not connected pin. Once you've changed one to Headphones, click on Apply now then test your earphones.Make sure they're not muted when testing. If it doesn't work, undo the change and try another not connected pin. If one of them works, click on Install boot override.

Hopefully one of these will work. And if so, we'll then do the same for the speakers.

satsriakal
Level 2
Level 2
Posts: 68
Joined: Mon Jan 12, 2015 2:23 pm
Location: Bari, Italy

Re: No audio output on my laptop

Post by satsriakal »

Hi,
I followed your instructions, I found just one not connected pin (0x15) with Headphone in the list. I set it as you told me, but no sound.
I verified that there is another pin with Headphone in the list, but it's already assigned to internal speaker.

Post Reply

Return to “Hardware Support”