No Sound at all Problems with pulseaudio

Everything about X, Gnome, KDE, ... and everything running on it

No Sound at all Problems with pulseaudio

Postby Dithizon » 2017-04-09 17:40

Hello everybody,

it's my first post here, so I hope I will give you the necessary Information on my problem.

I run Debian GNU/Linux 9 (stretch) 64-Bit with gnome version 3.22.2 on a Thinkpad T520.

As the topic says, there is all of sudden no Sound on my system. I did not even reboot ore something. First there was only Dummy-Sound, now nothing. I am trying diffrent solutions for hours now, and all I get is error messages.

aplay -L gives me this:



Code: Select all
Failed to create secure directory (/run/user/1000/pulse): Keine Berechtigung
Failed to create secure directory (/run/user/1000/pulse): Keine Berechtigung
null
    Discard all samples (playback) or generate zero samples (capture)
pulse
    PulseAudio Sound Server
default:CARD=PCH
    HDA Intel PCH, CX20590 Analog
    Default Audio Device
sysdefault:CARD=PCH
    HDA Intel PCH, CX20590 Analog
    Default Audio Device
front:CARD=PCH,DEV=0
    HDA Intel PCH, CX20590 Analog
    Front speakers
surround21:CARD=PCH,DEV=0
    HDA Intel PCH, CX20590 Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
    HDA Intel PCH, CX20590 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
    HDA Intel PCH, CX20590 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
    HDA Intel PCH, CX20590 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
    HDA Intel PCH, CX20590 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
    HDA Intel PCH, CX20590 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
hdmi:CARD=PCH,DEV=0
    HDA Intel PCH, HDMI 0
    HDMI Audio Output
hdmi:CARD=PCH,DEV=1
    HDA Intel PCH, HDMI 1
    HDMI Audio Output
hdmi:CARD=PCH,DEV=2
    HDA Intel PCH, HDMI 2
    HDMI Audio Output
dmix:CARD=PCH,DEV=0
    HDA Intel PCH, CX20590 Analog
    Direct sample mixing device
dmix:CARD=PCH,DEV=3
    HDA Intel PCH, HDMI 0
    Direct sample mixing device
dmix:CARD=PCH,DEV=7
    HDA Intel PCH, HDMI 1
    Direct sample mixing device
dmix:CARD=PCH,DEV=8
    HDA Intel PCH, HDMI 2
    Direct sample mixing device
dsnoop:CARD=PCH,DEV=0
    HDA Intel PCH, CX20590 Analog
    Direct sample snooping device
dsnoop:CARD=PCH,DEV=3
    HDA Intel PCH, HDMI 0
    Direct sample snooping device
dsnoop:CARD=PCH,DEV=7
    HDA Intel PCH, HDMI 1
    Direct sample snooping device
dsnoop:CARD=PCH,DEV=8
    HDA Intel PCH, HDMI 2
    Direct sample snooping device
hw:CARD=PCH,DEV=0
    HDA Intel PCH, CX20590 Analog
    Direct hardware device without any conversions
hw:CARD=PCH,DEV=3
    HDA Intel PCH, HDMI 0
    Direct hardware device without any conversions
hw:CARD=PCH,DEV=7
    HDA Intel PCH, HDMI 1
    Direct hardware device without any conversions
hw:CARD=PCH,DEV=8
    HDA Intel PCH, HDMI 2
    Direct hardware device without any conversions
plughw:CARD=PCH,DEV=0
    HDA Intel PCH, CX20590 Analog
    Hardware device with all software conversions
plughw:CARD=PCH,DEV=3
    HDA Intel PCH, HDMI 0
    Hardware device with all software conversions
plughw:CARD=PCH,DEV=7
    HDA Intel PCH, HDMI 1
    Hardware device with all software conversions
plughw:CARD=PCH,DEV=8
    HDA Intel PCH, HDMI 2
    Hardware device with all software conversions


So I think the soundcard is fine.

Typing pulseaudio -D --system in (root)terminal gives me this:
Code: Select all
W: [pulseaudio] main.c: System-Modus aktiv, jeodch --disallow-exit nicht gesetzt!
W: [pulseaudio] main.c: System-Modus aktiv, jedoch --disallow-module-loading nicht gesetzt!
N: [pulseaudio] main.c: System-Modus aktiv, SHM-Modus gezwungenermaßen deaktiviert!
N: [pulseaudio] main.c: System-Modus aktiv, Exit-Idle-Time gezwungenermaßen deaktiviert!


If i want to remove pulseaudio to install it new, it also fails, and I can not fis it with -f install:

Code: Select all
root@debian:/home/linus# apt-get remove pulseaudio
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.       
Statusinformationen werden eingelesen.... Fertig
Einige Pakete konnten nicht installiert werden. Das kann bedeuten, dass
Sie eine unmögliche Situation angefordert haben oder, wenn Sie die
Unstable-Distribution verwenden, dass einige erforderliche Pakete noch
nicht erstellt wurden oder Incoming noch nicht verlassen haben.
Die folgenden Informationen helfen Ihnen vielleicht, die Situation zu lösen:

Die folgenden Pakete haben unerfüllte Abhängigkeiten:
 gnome-shell-common : Beschädigt: gnome-tweak-tool (< 3.21.91) aber 3.14.2-2 soll installiert werden
 gsettings-desktop-schemas : Beschädigt: mutter (< 3.19.92) aber 3.14.4-1~deb8u1 soll installiert werden
 gstreamer1.0-plugins-base : Beschädigt: gstreamer1.0-plugins-bad (< 1.7.90) aber 1.4.4-2.1+deb8u1 soll installiert werden
 libgstreamer-plugins-base1.0-0 : Beschädigt: gstreamer1.0-plugins-bad (< 1.7.1) aber 1.4.4-2.1+deb8u1 soll installiert werden
E: Fehler: Unterbrechungen durch pkgProblemResolver::Resolve hervorgerufen; dies könnte durch zurückgehaltene Pakete verursacht worden sein.


Basically there are a lot of unfulfilled dependencies.

Sorry that the Terminal is in german.

Thanks a lot for your help!

Greetings
Dithizon
 
Posts: 6
Joined: 2017-04-09 17:16

Re: No Sound at all Problems with pulseaudio

Postby KBD47 » 2017-04-09 20:02

Recently had similar problem. Installing pavucontrol and finding out it was muted solved my issue.
KBD47
 
Posts: 42
Joined: 2011-09-04 09:07

Re: No Sound at all Problems with pulseaudio

Postby debiman » 2017-04-10 04:41

while i understand german, it would be better if you repeat all those commands with "LANG=C".
example:
Code: Select all
LANG=C aplay -L
etc.
User avatar
debiman
 
Posts: 1017
Joined: 2013-03-12 07:18

Re: No Sound at all Problems with pulseaudio

Postby Dithizon » 2017-04-10 07:24

I tried to install pavucontrol, but the same Problem with the held packages:

Code: Select all
root@debian:/home/linus# LANG=C apt-get install pavucontrol
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 gsettings-desktop-schemas : Breaks: gnome-settings-daemon (< 3.19.92) but 3.14.2-3 is to be installed
                             Breaks: mutter (< 3.19.92) but 3.14.4-1~deb8u1 is to be installed
 gstreamer1.0-plugins-base : Breaks: gstreamer1.0-plugins-bad (< 1.7.90) but 1.4.4-2.1+deb8u1 is to be installed
 libgstreamer-plugins-base1.0-0 : Breaks: gstreamer1.0-plugins-bad (< 1.7.1) but 1.4.4-2.1+deb8u1 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.


Here are the other codes in English now (thanks for the tip!)

aplay -L:

Code: Select all
root@debian:/home/linus# LANG=C aplay -L
default
    Playback/recording through the PulseAudio sound server
null
    Discard all samples (playback) or generate zero samples (capture)
pulse
    PulseAudio Sound Server
sysdefault:CARD=PCH
    HDA Intel PCH, CX20590 Analog
    Default Audio Device
front:CARD=PCH,DEV=0
    HDA Intel PCH, CX20590 Analog
    Front speakers
surround21:CARD=PCH,DEV=0
    HDA Intel PCH, CX20590 Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
    HDA Intel PCH, CX20590 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
    HDA Intel PCH, CX20590 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
    HDA Intel PCH, CX20590 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
    HDA Intel PCH, CX20590 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
    HDA Intel PCH, CX20590 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
hdmi:CARD=PCH,DEV=0
    HDA Intel PCH, HDMI 0
    HDMI Audio Output
hdmi:CARD=PCH,DEV=1
    HDA Intel PCH, HDMI 1
    HDMI Audio Output
hdmi:CARD=PCH,DEV=2
    HDA Intel PCH, HDMI 2
    HDMI Audio Output
dmix:CARD=PCH,DEV=0
    HDA Intel PCH, CX20590 Analog
    Direct sample mixing device
dmix:CARD=PCH,DEV=3
    HDA Intel PCH, HDMI 0
    Direct sample mixing device
dmix:CARD=PCH,DEV=7
    HDA Intel PCH, HDMI 1
    Direct sample mixing device
dmix:CARD=PCH,DEV=8
    HDA Intel PCH, HDMI 2
    Direct sample mixing device
dsnoop:CARD=PCH,DEV=0
    HDA Intel PCH, CX20590 Analog
    Direct sample snooping device
dsnoop:CARD=PCH,DEV=3
    HDA Intel PCH, HDMI 0
    Direct sample snooping device
dsnoop:CARD=PCH,DEV=7
    HDA Intel PCH, HDMI 1
    Direct sample snooping device
dsnoop:CARD=PCH,DEV=8
    HDA Intel PCH, HDMI 2
    Direct sample snooping device
hw:CARD=PCH,DEV=0
    HDA Intel PCH, CX20590 Analog
    Direct hardware device without any conversions
hw:CARD=PCH,DEV=3
    HDA Intel PCH, HDMI 0
    Direct hardware device without any conversions
hw:CARD=PCH,DEV=7
    HDA Intel PCH, HDMI 1
    Direct hardware device without any conversions
hw:CARD=PCH,DEV=8
    HDA Intel PCH, HDMI 2
    Direct hardware device without any conversions
plughw:CARD=PCH,DEV=0
    HDA Intel PCH, CX20590 Analog
    Hardware device with all software conversions
plughw:CARD=PCH,DEV=3
    HDA Intel PCH, HDMI 0
    Hardware device with all software conversions
plughw:CARD=PCH,DEV=7
    HDA Intel PCH, HDMI 1
    Hardware device with all software conversions
plughw:CARD=PCH,DEV=8
    HDA Intel PCH, HDMI 2
    Hardware device with all software conversions


pulseaudio -D --system

Code: Select all
root@debian:/home/linus# LANG=C pulseaudio -D --system
W: [pulseaudio] main.c: Running in system mode, but --disallow-exit not set!
W: [pulseaudio] main.c: Running in system mode, but --disallow-module-loading not set!
N: [pulseaudio] main.c: Running in system mode, forcibly disabling SHM mode!
N: [pulseaudio] main.c: Running in system mode, forcibly disabling exit idle time!
E: [pulseaudio] main.c: Daemon startup failed.


apt-get remove pulseaudio

Code: Select all
root@debian:/home/linus# LANG=C apt-get remove pulseaudio
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 gnome-shell-common : Breaks: gnome-tweak-tool (< 3.21.91) but 3.14.2-2 is to be installed
 gsettings-desktop-schemas : Breaks: mutter (< 3.19.92) but 3.14.4-1~deb8u1 is to be installed
 gstreamer1.0-plugins-base : Breaks: gstreamer1.0-plugins-bad (< 1.7.90) but 1.4.4-2.1+deb8u1 is to be installed
 libgstreamer-plugins-base1.0-0 : Breaks: gstreamer1.0-plugins-bad (< 1.7.1) but 1.4.4-2.1+deb8u1 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
Dithizon
 
Posts: 6
Joined: 2017-04-09 17:16

Re: No Sound at all Problems with pulseaudio

Postby bw123 » 2017-04-10 12:54

gstreamer1.0-plugins-base : Breaks: gstreamer1.0-plugins-bad (< 1.7.90) but 1.4.4-2.1+deb8u1 is to be installed


Packages with the 'deb8u' tag are from jessie, but your first post says you are running stretch. Did you put 'stable' in your sources.list, maybe for security updates or something?
jessie/KDE4.14.2 plasma netbook, 3.16.39-1+deb8u2 (2017-03-07) x86_64 GNU/Linux
User avatar
bw123
 
Posts: 2378
Joined: 2011-05-09 06:02
Location: TN_USA

Re: No Sound at all Problems with pulseaudio

Postby debiman » 2017-04-10 16:01

Code: Select all
The following packages have unmet dependencies:
 gsettings-desktop-schemas : Breaks: gnome-settings-daemon (< 3.19.92) but 3.14.2-3 is to be installed
                             Breaks: mutter (< 3.19.92) but 3.14.4-1~deb8u1 is to be installed
 gstreamer1.0-plugins-base : Breaks: gstreamer1.0-plugins-bad (< 1.7.90) but 1.4.4-2.1+deb8u1 is to be installed
 libgstreamer-plugins-base1.0-0 : Breaks: gstreamer1.0-plugins-bad (< 1.7.1) but 1.4.4-2.1+deb8u1 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

it would seem you have more pressing problems than no sound!

Code: Select all
root@debian:/home/linus# LANG=C aplay -L

why are you performing this as root?
are you always root???
User avatar
debiman
 
Posts: 1017
Joined: 2013-03-12 07:18

Re: No Sound at all Problems with pulseaudio

Postby Dithizon » 2017-04-11 09:57

Thank you for your answers!

My sources list looks like this:

Code: Select all
#

# deb cdrom:[Debian GNU/Linux 8.2.0 _Jessie_ - Official amd64 CD Binary-1 20150906-11:13]/ jessie main

#deb cdrom:[Debian GNU/Linux 8.2.0 _Jessie_ - Official amd64 CD Binary-1 20150906-11:13]/ jessie main

deb http://ftp2.de.debian.org/debian/ jessie main
deb-src http://ftp2.de.debian.org/debian/ jessie main

deb http://security.debian.org/ jessie/updates main
deb-src http://security.debian.org/ jessie/updates main

# jessie-updates, previously known as 'volatile'
deb http://ftp2.de.debian.org/debian/ jessie-updates main
deb-src http://ftp2.de.debian.org/debian/ jessie-updates main


deb http://ftp.de.debian.org/debian wheezy main contrib
deb http://httpredir.debian.org/debian/ jessie main contrib non-free

deb http://ftp.dk.debian.org/debian sid main


All the entries are for jessie, none for stretch. Is it right that stretch is still in the testing phase, and jessie is the latest stable distribution?

@debiman: It was a mistake to run the aplay -L command as root, I probably was still root to run the apt-get install command. I try to use root only when it is necessary. I still try to learn about linux and i see that there is a lot not alright with my system out of this error message, but do not understand what exactly. I searched for these packages, and they seem quite important. Any ideas how to fix this?

Is it possible that I updated accidentally to stretch and these packages are still under development? Is there a possibility to downgrade to jessie again?
Dithizon
 
Posts: 6
Joined: 2017-04-09 17:16

Re: No Sound at all Problems with pulseaudio

Postby dilberts_left_nut » 2017-04-11 12:03

Code: Select all
deb http://ftp.de.debian.org/debian wheezy main contrib
deb http://httpredir.debian.org/debian/ jessie main contrib non-free

deb http://ftp.dk.debian.org/debian sid main

Hmmm, oldstable, stable and unstable - good luck with that.

edit: You probably want to get rid of that system and install a fresh stable.
AdrianTM wrote:There's no hacker in my grandma...
User avatar
dilberts_left_nut
 
Posts: 4592
Joined: 2009-10-05 07:54
Location: enzed

Re: No Sound at all Problems with pulseaudio

Postby debiman » 2017-04-12 17:53

Dithizon wrote:
Code: Select all
deb http://ftp.de.debian.org/debian wheezy main contrib
deb http://httpredir.debian.org/debian/ jessie main contrib non-free
deb http://ftp.dk.debian.org/debian sid main

All the entries are for jessie, none for stretch.

hmmm, what about wheezy and sid?
did this really happen unknowingly & by accidents, or rather by some sort of "nobody's going to curb my freedom!" attitude?
i don't really need an answer for this.
just reinstall, and be more careful in the future.
User avatar
debiman
 
Posts: 1017
Joined: 2013-03-12 07:18

Re: No Sound at all Problems with pulseaudio

Postby Dithizon » 2017-04-13 13:04

I do not quite understand what you wanna tell me, but this happened by accident, as I said, i am still learning. The problem is that my kind of learning is mainly trial and error, in the future I first read more before messing with my software :oops:

As soon as possible I will install debian jessie again. Thank you for the quick answers! Does debian automatically upgrade to the latest testing version if I run apt-get update & upgrade? I do not remember updating intentionally to stretch, only running the update/upgrade commands from time to time. (Maybe a stupid question, but i want to prevent that mistake in the future :oops: ).
Dithizon
 
Posts: 6
Joined: 2017-04-09 17:16

Re: No Sound at all Problems with pulseaudio

Postby dasein » 2017-04-13 13:39

Dithizon wrote:I do not quite understand what you wanna tell me...

Read this: https://www.debian.org/releases/

Dithizon wrote:As soon as possible I will install debian jessie again.

And yet in your initial post, you explicitly say that you're running Stretch (ironically enough, the only thing you're not running).

Dithizon wrote:Does debian automatically upgrade to the latest testing version if I run apt-get update & upgrade?

No. This is something you did yourself.

Click the "avoid a broken install" link in my sig. Read it. Heed it.

If that doesn't scare you, try this post: viewtopic.php?&t=114130
Last edited by dasein on 2017-04-13 13:50, edited 1 time in total.
User avatar
dasein
 
Posts: 7495
Joined: 2011-03-04 01:06
Location: Terra Incantationum

Re: No Sound at all Problems with pulseaudio

Postby GarryRicketson » 2017-04-13 13:49

https://wiki.debian.org/DontBreakDebian


Adding sources to your sources.lists , like Debian Wheezy, when you are
running Debian Jessie, or adding Debian testing, or sid , does not happen automatically,..it takes a deliberate , intentional action using root privileges
to edit the sources.list file.

In some cases, especially if one tries to install packages from outside the Debian
repos, it will try to modify the sources.list file and add the needed sources, but
even then it is not "automatic", it normally tells you it will be doing that, and asks, then the admin must select yes or no, to actually allow it.
kind of learning is mainly trial and error,

Some times it is necessary to try something, and see if it works, if not then try
something else, "trial and error",...but just blindly trying things, and not keeping any record of what exactly was "tried" or done, and then you don't even remember what you did or did not do is just plain silly,....What if what you did worked ?, but you do not record it, later when you need to do the same thing,
you still have not learned anything, and have no notes, or record of what you did.
Like wise, not recording what did not work, just leads to repeatedly making the same mistake, over and over.
Yes, this is a problem:
problem is that my kind of learning

That is not a way of learning, one does not learn anything, if they do not remember or keep a record of what they did.
And then when they come to ask for help, they can not even really tell the helpers exactly what they did or didn't do.
User avatar
GarryRicketson
 
Posts: 3963
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: No Sound at all Problems with pulseaudio

Postby Dithizon » 2017-04-13 14:43

dasein wrote:And yet in your initial post, you explicitly say that you're running Stretch (ironically enough, the only thing you're not running).


I looked in options -> Details and then it says Debian GNU/Linux 9 (stretch) 64-Bit, thats why I assumed that is right.

Dithizon wrote:I do not quite understand what you wanna tell me

Sorry, this was meant for debiman as answer to this:
debiman wrote:[...] by some sort of "nobody's going to curb my freedom!" attitude?


I understand, my behavior was silly, at least I will be more careful from now.

Quick summary for the future:
-If I run eg. jessie, only add sources to sources.list for jessie
-stay with the stable release
-if it does not work, ceep calm and note, what i have done (same if it works)
- (edit) remember the dontBreakeDebian Link :!:
Dithizon
 
Posts: 6
Joined: 2017-04-09 17:16

Re: No Sound at all Problems with pulseaudio

Postby GarryRicketson » 2017-04-13 15:26

No problem, we all are learning and make mistakes,...that is part of the process.
Sorry, this was meant for debiman as answer to this:

debiman wrote:
[...] by some sort of "nobody's going to curb my freedom!" attitude?

I think , but only debiman can say for sure, but there are some users that insist
on doing what they want, and they are free to do that, but they are confused and
when people have told them they can not, or should not do something this way or that way, simply because it won't work,..they get offended and say we are "infringing" or curbing their "freedom", so they don't pay any attention to anything
anyone else suggests.
You are free to make a "frankendebian" if you want, but it usually does not work out very well, contrary to what 1 or 2 confused or misguided people may claim.
Most people, after they do learn about the consequences of mixing various versions, and distros, do not try to do that intentionally.
A additional note,...if it was not you that modified the sources.list file, then your system was compromised, that means something or someone is doing things as root, with out you knowing it,.... Re-installing , use new passwords, and good ones, etc,... and then being more careful in the future should fix that.
After installing a fresh, clean system if there still are problems with pulse audio,
that can be addressed and worked on,...in a more sane way.

Hope that makes sense.
User avatar
GarryRicketson
 
Posts: 3963
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: No Sound at all Problems with pulseaudio

Postby debiman » 2017-04-14 06:46

thanks garry, yeah that's about what i meant.

Dithizon, what i write now is not about you personally, it's about something I'm seeing fairly often, so please don't feel that I'm over-reacting.

==========

for me it is really hard to understand how something like this can happen "by accident", because i KNOW that the user MUST have willingly (if not knowingly) entered a command that would mess up their repo lists like that.

i guess they followed some step-by-step guide to "install best verison of software XYZ" or some such, and simply copy pasted the commands, provided their password when prompted, without at all knowing what those commands actually do.
for me, this type of behavior is a case of "intentional carelessness" resulting in "accidents".
if that's a valid definition of "accidentally", i really don't know....
User avatar
debiman
 
Posts: 1017
Joined: 2013-03-12 07:18

Next

Return to Desktop & Multimedia

Who is online

Users browsing this forum: No registered users and 3 guests

fashionable