Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

No sound/audio output

New to Debian (Or Linux in general)? Ask your questions here!
Message
Author
Lakef
Posts: 30
Joined: 2017-02-16 08:58

Re: No sound/audio output

#21 Post by Lakef »

Now I think I am running Debian stretch/test version. Audio function seems to have made some progress, but still no sound in speakers.

Now done the following:
- I have installed synaptic package manager.
- I changed the "jessie" into "stretch" everywhere found in the repositories in synaptic package manager. Below are the current repositories used. Maybe I do not have to subscribe to sources?
- I ran apt-get update in a terminal window
- I made restart of the system
- I tested some sound by playing music on youtube. This time PulseAudio meter moves, which is a progress from before, but I still do not have any sound output in speaker. See result in image below.

Can I replace "jessie" by "testing" also in file /etc/apt/sources.list"? I replaced jessie by "stretch". Isn't stretch and testing the same thing?

/etc/apt/sources.list

Code: Select all

deb http://ftp.se.debian.org/debian/ stretch contrib non-free main
deb-src http://ftp.se.debian.org/debian/ stretch main non-free contrib 
deb http://ftp.se.debian.org/debian/ stretch-updates main contrib non-free    
deb http://security.debian.org/ stretch/updates non-free contrib main  
deb-src http://security.debian.org/ stretch/updates main contrib non-free


Result of playing music on youtube
Image
Last edited by Lakef on 2017-02-24 16:41, edited 1 time in total.

Lakef
Posts: 30
Joined: 2017-02-16 08:58

Re: No sound/audio output

#22 Post by Lakef »

I have run some commands and show the results below.
Below, a step back seems to have been made below with soundcards compared to before http://forums.debian.net/viewtopic.php? ... =0#p637098

lspci -nn | grep -i audio

Code: Select all

# lspci -nn | grep -i audio
00:1f.3 Audio device [0403]: Intel Corporation Device [8086:a170] (rev 31)
pacmd list-sinks

Code: Select all

# pacmd list-sinks
Daemon not responding.
cat /proc/asound/cards

Code: Select all

# cat /proc/asound/cards
--- no soundcards ---
aplay -l

Code: Select all

# aplay -l
aplay: device_list:268: no soundcards found...
amixer

Code: Select all

# amixer
No protocol specified
xcb_connection_has_error() returned true
No protocol specified
xcb_connection_has_error() returned true
ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Access denied

amixer: Mixer attach default error: Connection refused
lsmod | grep snd

Code: Select all

# lsmod | grep snd 
snd_hda_intel          26407  0 
snd_hda_controller     26646  1 snd_hda_intel
snd_hda_codec         104500  2 snd_hda_intel,snd_hda_controller
snd_hwdep              13148  1 snd_hda_codec
snd_pcm                88662  3 snd_hda_codec,snd_hda_intel,snd_hda_controller
snd_timer              26720  1 snd_pcm
snd                    65338  5 snd_hwdep,snd_timer,snd_pcm,snd_hda_codec,snd_hda_intel
soundcore              13026  2 snd,snd_hda_codec
apt-cache policy

Code: Select all

# apt-cache policy
Package files:
 100 /var/lib/dpkg/status
     release a=now
 500 http://ftp.se.debian.org/debian/ stretch-updates/non-free Translation-en
 500 http://ftp.se.debian.org/debian/ stretch-updates/main Translation-en
 500 http://ftp.se.debian.org/debian/ stretch-updates/contrib Translation-en
 500 http://ftp.se.debian.org/debian/ stretch-updates/non-free amd64
Packages
     release o=Debian,a=testing-updates,n=stretch-updates,l=Debian,c=non-free
     origin ftp.se.debian.org
 500 http://ftp.se.debian.org/debian/ stretch-updates/contrib amd64 Packages
     release o=Debian,a=testing-updates,n=stretch-updates,l=Debian,c=contrib
     origin ftp.se.debian.org
 500 http://ftp.se.debian.org/debian/ stretch-updates/main amd64 Packages
     release o=Debian,a=testing-updates,n=stretch-updates,l=Debian,c=main
     origin ftp.se.debian.org
 500 http://security.debian.org/ stretch/updates/non-free Translation-en
 500 http://security.debian.org/ stretch/updates/main Translation-en
 500 http://security.debian.org/ stretch/updates/contrib Translation-en
 500 http://security.debian.org/ stretch/updates/main amd64 Packages
     release o=Debian,a=testing,n=stretch,l=Debian-Security,c=main
     origin security.debian.org
 500 http://security.debian.org/ stretch/updates/contrib amd64 Packages
     release o=Debian,a=testing,n=stretch,l=Debian-Security,c=contrib
     origin security.debian.org
 500 http://security.debian.org/ stretch/updates/non-free amd64 Packages
     release o=Debian,a=testing,n=stretch,l=Debian-Security,c=non-free
     origin security.debian.org
 500 http://ftp.se.debian.org/debian/ stretch/non-free Translation-en
 500 http://ftp.se.debian.org/debian/ stretch/main Translation-en
 500 http://ftp.se.debian.org/debian/ stretch/contrib Translation-en
 500 http://ftp.se.debian.org/debian/ stretch/main amd64 Packages
     release o=Debian,a=testing,n=stretch,l=Debian,c=main
     origin ftp.se.debian.org
 500 http://ftp.se.debian.org/debian/ stretch/non-free amd64 Packages
     release o=Debian,a=testing,n=stretch,l=Debian,c=non-free
     origin ftp.se.debian.org
 500 http://ftp.se.debian.org/debian/ stretch/contrib amd64 Packages
     release o=Debian,a=testing,n=stretch,l=Debian,c=contrib
     origin ftp.se.debian.org
Pinned packages:

Lakef
Posts: 30
Joined: 2017-02-16 08:58

Re: No sound/audio output

#23 Post by Lakef »

I checked in the system settings - Software management and there i have linux-image-amd64 and linux-image-3.16.0-4-amd64 installed. Obviously I do not have the stretch version! I think the stretch version has a 4.9 Linux Kernel. Did I do the update from stable to stretch wrong? How I made the update is described in this post http://forums.debian.net/viewtopic.php? ... 15#p637367

Oh, I just realized that I didn't do apt-get upgrade! I did that now!

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 72 times

Re: No sound/audio output

#24 Post by stevepusser »

There is a very good chance that simply using a newer kernel, which has newer sound drivers built into it, would have gotten the sound working. They include "quirks" to fix issues such as you have encountered. That is why I keep urging you to test a Live ISO with a newer kernel to test that--it is a rather simple procedure to upgrade the kernel in Jessie if you find that those Live sessions provide sound. Now you went and did a partial Stretch upgrade without fully researching on how to do it correctly...

Any one of the distros you can find that offer a Live ISO (just about all) have clear explanations on their sites as to what a Live Session is and how to create a bootable Live DVD or USB flash drive from the ISO. I'm not going to repeat their work. I suggested MX 16 64-bit because it uses a Debian 4.7 kernel that was in jessie-backports at the time it was released, closest to what you'll find in jessie-backports now. Ubuntu and its spinoffs use their own kernel with different modifications, so I can't predict how that'll transfer to a Debian system.

If you do try MX 16, again remember I said 64-bit; the 32-bit uses the stock 3.16 Jessie kernel, since we figured users that required a newer kernel, etc., would also have the hardware to run 64-bit. MX 16 should also install from a Live USB session in less than five minutes and does not use the Net during the install, should you care to install. That, plus its "save home" option, has the unfortunate side effect of beginning MX users often just doing a quick reinstall to revert some configuration change they made by mistake instead of just doing the research to find out how to fix the minor problem. :? So if you have a rather mangled MX system like you probably have done to Debian, you could reinstall in a few minutes.
MX Linux packager and developer

Lakef
Posts: 30
Joined: 2017-02-16 08:58

Re: No sound/audio output

#25 Post by Lakef »

I did not manage to update to stretch "from within" Debian Jessie. I still had the old kernel (linux-image-3.16.0-4-amd64) and could not manage to update it to the new kernel (linux-image-4.9.0-1-amd64). So instead I prepared an USB memory stick with Debian Stretch version (debian-stretch-DI-rc2-amd64-netinst.iso). But the system never started up properly (on reboot).

My next step was to try Linux Mint 18.1 Cinnamon. The installation process was very easy and smooth. Out of the box, the screen/monitor got proper resolution and Bluetooth functioned. Although, still I have no sound output.

Post Reply