no sound from speakers in linux 18.3 fresh install

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
User avatar
MrEen
Level 23
Level 23
Posts: 18345
Joined: Mon Jun 12, 2017 8:39 pm

Re: no sound from speakers in linux 18.3 fresh install

Post by MrEen »

This is strange. In your output we see:

Code: Select all

ports:
		analog-output-speaker: Speakers (priority 10000, latency offset 0 usec, available: unknown)
			properties:
				device.icon_name = "audio-speakers"
		analog-output-headphones: Headphones (priority 9000, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-headphones"
	active port: <analog-output-speaker>
I don't know why it's showing available: unknown for the active port. I had hoped stopping it from suspending would've fixed that.

Let's see the output of inxi -Fxz while I try to come up with other ideas.
govind_rm

Re: no sound from speakers in linux 18.3 fresh install

Post by govind_rm »

Code: Select all

[select all]
govind@Elaine ~ $ inxi -Fxz
System:    Host: Elaine Kernel: 4.13.0-41-generic x86_64 (64 bit gcc: 5.4.0)
           Desktop: Cinnamon 3.6.7 (Gtk 3.18.9-1ubuntu3.3)
           Distro: Linux Mint 18.3 Sylvia
Machine:   System: LENOVO product: 20042 v: Lenovo G560
           Mobo: LENOVO model: N/A
           Bios: LENOVO v: 29CN40WW(V2.17) date: 04/13/2011
CPU:       Dual core Intel Core i3 M 370 (-HT-MCP-) cache: 3072 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 9576
           clock speeds: max: 2399 MHz 1: 1423 MHz 2: 1364 MHz 3: 1339 MHz
           4: 1148 MHz
Graphics:  Card: Intel Core Processor Integrated Graphics Controller
           bus-ID: 00:02.0
           Display Server: X.Org 1.18.4 drivers: intel (unloaded: fbdev,vesa)
           Resolution: 1366x768@60.00hz
           GLX Renderer: Mesa DRI Intel Ironlake Mobile
           GLX Version: 2.1 Mesa 17.2.8 Direct Rendering: Yes
Audio:     Card Intel 5 Series/3400 Series High Definition Audio
           driver: snd_hda_intel bus-ID: 00:1b.0
           Sound: Advanced Linux Sound Architecture v: k4.13.0-41-generic
Network:   Card-1: Qualcomm Atheros AR9285 Wireless Network Adapter (PCI-Express)
           driver: ath9k bus-ID: 05:00.0
           IF: wlp5s0 state: up mac: <filter>
           Card-2: Realtek RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller
           driver: r8169 v: 2.3LK-NAPI port: 2000 bus-ID: 06:00.0
           IF: enp6s0 state: down mac: <filter>
Drives:    HDD Total Size: 500.1GB (5.5% used)
           ID-1: /dev/sda model: WDC_WD5000BPVT size: 500.1GB
Partition: ID-1: / size: 457G used: 24G (6%) fs: ext4 dev: /dev/sda1
           ID-2: swap-1 size: 2.00GB used: 0.00GB (0%) fs: swap dev: /dev/sda5
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 55.0C mobo: N/A
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 198 Uptime: 34 min Memory: 992.4/1858.3MB
           Init: systemd runlevel: 5 Gcc sys: 5.4.0
           Client: Shell (bash 4.3.481) inxi: 2.2.35 
govind@Elaine ~ $
User avatar
MrEen
Level 23
Level 23
Posts: 18345
Joined: Mon Jun 12, 2017 8:39 pm

Re: no sound from speakers in linux 18.3 fresh install

Post by MrEen »

Hi govind_rm. Right now I'm at a loss. I'll continue trying to think of something to try, but can't be certain anything will come to mind.

My only suggestion right now is to go back to alsamixer, and after selecting your sound card, use the right arrow to highlight Auto-Mute, then use the up or down arrow to change it to Disabled. I doubt it's going to help but it's worth a shot.

EDIT: One more thing to try: killall speech-dispatcher then test sound.
govind_rm

Re: no sound from speakers in linux 18.3 fresh install

Post by govind_rm »

Nope, but thanks for your remark smgordon1259
deepakdeshp
Level 20
Level 20
Posts: 12333
Joined: Sun Aug 09, 2015 10:00 am

Re: no sound from speakers in linux 18.3 fresh install

Post by deepakdeshp »

Does it work when you boot with usb?
If yes, then note the kernel version using

Code: Select all

uname -r
Also in the Volume icon in right hand down corner click volume--sound settings--test sound. Do you see sounds as per your physical config? I have 2 speakers and I see 6 speakers including woofers etc which are non existent. IN that case you have to try your luck by using a different kernel. Kernel 4.15.x will be a good start. Install, reboot and test.
If I have helped you solve a problem, please add [SOLVED] to your first post title, it helps other users looking for help.
Regards,
Deepak

Mint 21.1 Cinnamon 64 bit with AMD A6 / 8GB
Mint 21.1 Cinnamon AMD Ryzen3500U/8gb
govind_rm

Re: no sound from speakers in linux 18.3 fresh install

Post by govind_rm »

i tried testing speakers while booting from usb, but there was no sound.
i will try a new kernel as you suggested.
deepakdeshp
Level 20
Level 20
Posts: 12333
Joined: Sun Aug 09, 2015 10:00 am

Re: no sound from speakers in linux 18.3 fresh install

Post by deepakdeshp »

govind_rm wrote: Sun May 20, 2018 2:13 pm i tried testing speakers while booting from usb, but there was no sound.
i will try a new kernel as you suggested.
Please use different kernel versions. Also check that something as simple as turning up the volume to the maximum is done.
If I have helped you solve a problem, please add [SOLVED] to your first post title, it helps other users looking for help.
Regards,
Deepak

Mint 21.1 Cinnamon 64 bit with AMD A6 / 8GB
Mint 21.1 Cinnamon AMD Ryzen3500U/8gb
User avatar
JoeFootball
Level 13
Level 13
Posts: 4674
Joined: Tue Nov 24, 2009 1:52 pm
Location: /home/usa/mn/minneapolis/joe

Re: no sound from speakers in linux 18.3 fresh install

Post by JoeFootball »

govind_rm wrote:i will try a new kernel ...
Also try the 4.4.x kernel. Note that it's LTS, supported until April 2021. Just thinking that a Lenovo G560 is 5+ years old, and perhaps a more mature kernel branch might do better than a newer one.

Joe
govind_rm

Re: no sound from speakers in linux 18.3 fresh install

Post by govind_rm »

tried a few kernels (4.4.x series as well). but no luck
deepakdeshp
Level 20
Level 20
Posts: 12333
Joined: Sun Aug 09, 2015 10:00 am

Re: no sound from speakers in linux 18.3 fresh install

Post by deepakdeshp »

Code: Select all

uname -r
gives which kernel you are running
If I have helped you solve a problem, please add [SOLVED] to your first post title, it helps other users looking for help.
Regards,
Deepak

Mint 21.1 Cinnamon 64 bit with AMD A6 / 8GB
Mint 21.1 Cinnamon AMD Ryzen3500U/8gb
govind_rm

Re: no sound from speakers in linux 18.3 fresh install

Post by govind_rm »

i am currently using 4.15.0-22, but i have tried latest version from 4.4.x,4.8.x,4.10.x,4.11.x. (i was initially using 4.13.0-43)
some version has improved duration for like 10 minutes, but eventually sound disappears. i was hoping that 4.4.x series might bring some luck,(as Mr JoeFootball suggested)but it didnt do any good.
i was wondering if there is any other reason for disappearance of sound, and found some threads on saying that it might be related to sound card going into power saver mode(since i use my laptop plugged in), follwed few steps on like changing values on few items,but it too have proved useless.

thank you for reply.
User avatar
JoeFootball
Level 13
Level 13
Posts: 4674
Joined: Tue Nov 24, 2009 1:52 pm
Location: /home/usa/mn/minneapolis/joe

Re: no sound from speakers in linux 18.3 fresh install

Post by JoeFootball »

govind_rm wrote:initially there was sound for some time which disappered later on.
If I'm reading your original post correctly, sound worked on your initial installation of LM 18.3, but subsequently disappeared, presumably via a disagreeable update.

But I'm curious to find out if sound works with a "live session" of LM 18.3 (where you boot from a DVD/USB). It should, as the "live session" would be representative of your initial installation (in theory). If not, then that could rule out the update issue.

Joe
Ozo

Re: no sound from speakers in linux 18.3 fresh install

Post by Ozo »

govind_rm wrote: Wed May 16, 2018 11:08 pm tired it, but the problem is still there. In pavu control sound bar is working but its written silent. Any other ideas?

thank you for your suggestion
You say you took the advise and rebooted the installation. At that time did the sound work? You did reboot not just restart, right? You must have added pavu control after the reboot. This is kinda like what joeFootball is asking, I think (that is sure vague). :)
govind_rm

Re: no sound from speakers in linux 18.3 fresh install

Post by govind_rm »

no MrJoe, this wasn't a problem that came after an update (if that is what you mean). As suggested i did try booting from usb but same conditions persist during booting from usb as well (initially, ie when the system is turned on and desktop appears, sound is there but after few minutes sound disappears, i checked by using test speakers option in sound settings after few minutes while i booted from usb). Just in case if my problem isn't clear, this is what i am facing. i installed linux mint (not dual boot, erase disk and install linux option), but soon found out that sound disappears after few minutes from SPEAKERS, but headphones work fine (thank the gods :D ) i went through suggestions like force starting alsa, installing pavu control etc. i tried kernel versions (4.4x as well since this is an old model laptop). but other than changing the duration( 10 minutes max) for which speakers work, problem was still there. i thought it might be audio card going to power saver mode (found something on net to change a value to 0 on /usr/lib/pm-utils/power.d/intel-audio-powersave) but it too didn't give desired results.( plugged in or not sound works for few minutes then goes off) . but there tabs showing sound playing in pavu control, sound settings shows audio playing but there is no sound from speakers as i posted on previous replies. Forgive me if i haven't made my problem clear earlier.

thanks.
Ozo

Re: no sound from speakers in linux 18.3 fresh install

Post by Ozo »

I still think you should take joeFootballs suggestion and give the results in the live session.

One other thing I thought of is to use a USB sound adapter. They are cheap and will restore sound in a failed system. It is an external sound card. Here is a link if you are interested. Even if your systems sound card is not failed, this is nice to have around for troubleshooting and cost just $7-$9 US.

https://www.amazon.com/UGREEN-External- ... nd+adapter
govind_rm

Re: no sound from speakers in linux 18.3 fresh install

Post by govind_rm »

i am sorry, but i am a little confused. you were asking if sound works during booting from usb, right? if so i have tested speakers using sound settings. but they give out no sound( front right and front left) even at max volume. but start up sound is heard. other than that nothing. this is when i boot from usb.

if i start normally, sound is there for few minutes in speakers,then vanishes. but during all the time ,normal or live boot sound is ok with headphones.
hope this clears doubts.
if you still need some other info using codes during live session kindly tell me which all info and which all code i need to use.

thank you for your responses.
User avatar
MrEen
Level 23
Level 23
Posts: 18345
Joined: Mon Jun 12, 2017 8:39 pm

Re: no sound from speakers in linux 18.3 fresh install

Post by MrEen »

Hi govind_rm.

Let's see if this helps: In the terminal, type sudo modprobe snd_hda_intel power_save=0, then run alsamixer, select your sound card and make sure Line is NOT muted (I know we're trying to get speakers working.) Now play something with sound. Did this work?
govind_rm

Re: no sound from speakers in linux 18.3 fresh install

Post by govind_rm »

line?? is it in alsamixer? if so i didn't see any option like that.
User avatar
MrEen
Level 23
Level 23
Posts: 18345
Joined: Mon Jun 12, 2017 8:39 pm

Re: no sound from speakers in linux 18.3 fresh install

Post by MrEen »

Sorry govind_rm, it appears you don't have that option. No idea ATM how to proceed.
govind_rm

Re: no sound from speakers in linux 18.3 fresh install

Post by govind_rm »

i was reading reading some older post and this seemed to have worked , but the problem is i really dont understand anything in it
[url][/viewtopic.php?t=137917#p903667]
can anyone tell me anything about this? i mean the links in this post.
Locked

Return to “Sound”