LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 08-16-2018, 03:31 AM   #1
flowersarestillstanding
LQ Newbie
 
Registered: Jul 2017
Posts: 6

Rep: Reputation: Disabled
18.04 sound problems


So I upgraded to 18.04 and the sound was gone, as well as all devices from the Output/Input sections (I have an external USB sound card). I tried starting Pulseaudio up in the terminal, but no luck: daemon error. I found the advice somewhere online to try: pavucontrol, and it worked. The sound is back, as well as the devices. I still can't start Pulseaudio up:

E: [pulseaudio] pid.c: Daemon already running.
E: [pulseaudio] main.c: pa_pid_file_create() failed.

How do I make the moment last and have my sound on every startup?

Thanks!
 
Old 08-16-2018, 09:30 PM   #2
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,959

Rep: Reputation: 271Reputation: 271Reputation: 271
Why do you want to start pulseaudio? The errors you report indicate it's already running.

Last edited by RandomTroll; 08-16-2018 at 09:32 PM.
 
Old 08-17-2018, 01:41 AM   #3
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by flowersarestillstanding View Post
How do I make the moment last and have my sound on every startup?
are you saying you have no sound again after a reboot?
 
Old 08-17-2018, 03:30 AM   #4
flowersarestillstanding
LQ Newbie
 
Registered: Jul 2017
Posts: 6

Original Poster
Rep: Reputation: Disabled
Here's the thing: there was no sound at all after a reboot until I hit "pavucontrol" in the terminal. It brought the sound back, but only for the remaining session - and without Pulseaudio enabled, as there was some kind of daemon error.

I solved the problem halfway by uninstalling the pulseaudio. Now the sound is there after each reboot, but without Pulseaudio it's just the old, same bad Ubuntu sound.

I'm having problems installing and running Pulseaudio back anyway: a daemon error, other errors... it just won't run. What do I do?
 
Old 08-17-2018, 06:07 AM   #5
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,959

Rep: Reputation: 271Reputation: 271Reputation: 271
Quote:
Originally Posted by flowersarestillstanding View Post
Here's the thing: there was no sound at all after a reboot until I hit "pavucontrol" in the terminal. It brought the sound back, but only for the remaining session - and without Pulseaudio enabled, as there was some kind of daemon error.
The daemon error you report is the error the daemon makes when you try to load it because it's already loaded. Do you mean a different error?

Getting the config files in /etc/pulse right may be your solution.

Quote:
Originally Posted by flowersarestillstanding View Post
I solved the problem halfway by uninstalling the pulseaudio. Now the sound is there after each reboot, but without Pulseaudio it's just the old, same bad Ubuntu sound.
What's bad about 'Ubuntu' sound? I have only 1 sound, no matter the manager; pulse is just a management system; it doesn't decode audio files or produce sound.

Quote:
Originally Posted by flowersarestillstanding View Post
I'm having problems installing and running Pulseaudio back anyway: a daemon error, other errors... it just won't run. What do I do?
What's the error? The only error I can imagine is that you haven't removed it in the first place and it rejects redundant installation.

What do
Code:
pamixer --list-sources
and
Code:
pamixer --list-sinks
report?
 
Old 08-18-2018, 05:19 AM   #6
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by flowersarestillstanding View Post
Here's the thing: there was no sound at all after a reboot until I hit "pavucontrol" in the terminal. It brought the sound back, but only for the remaining session - and without Pulseaudio enabled, as there was some kind of daemon error.

I solved the problem halfway by uninstalling the pulseaudio. Now the sound is there after each reboot, but without Pulseaudio it's just the old, same bad Ubuntu sound.

I'm having problems installing and running Pulseaudio back anyway: a daemon error, other errors... it just won't run. What do I do?
ok, but when you reboot again, do you have sound or not?
assuming the answer is no, you know the solution to your oproblem, you just need to make it permanent?
 
Old 08-18-2018, 07:44 AM   #7
flowersarestillstanding
LQ Newbie
 
Registered: Jul 2017
Posts: 6

Original Poster
Rep: Reputation: Disabled
Thank you for your answers. I know that my feedback is a bit chaotic, sorry for that.

1. Yes, at the moment the sound is there after the reboot.
2. After the upgrade to 18.04 the sound quality is not as good, as previously. I think that the reason is that the system has ceased using my external USB sound card as the default device and I can't get it back to work.

The "pamixer --list-sources" command brings up only the following:

Command 'pamixer' not found, did you mean:

command 'amixer' from snap alsa-utils (1.1.2-5)
command 'amixer' from deb alsa-utils
command 'pnmixer' from deb pnmixer
 
Old 08-18-2018, 08:00 AM   #8
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,959

Rep: Reputation: 271Reputation: 271Reputation: 271
Quote:
Originally Posted by flowersarestillstanding View Post
After the upgrade to 18.04 the sound quality is not as good, as previously. I think that the reason is that the system has ceased using my external USB sound card as the default device and I can't get it back to work.
Then that's the problem: you need to make the USB adaptor the default or make the apps use it. My builtin doesn't work reliably so I use a USB adaptor. You can do this in /etc/pulse/default.pa. I do it in /etc/mplayer/mplayer.conf because I use mplayer for all audio.

Quote:
Originally Posted by flowersarestillstanding View Post
Command 'pamixer' not found
pamixer is a new package that allows setting the default device for pulse. You don't have to use it but it may be convenient for you. I use Slackware; perhaps Ubuntu doesn't have it yet.
 
Old 08-18-2018, 08:19 AM   #9
flowersarestillstanding
LQ Newbie
 
Registered: Jul 2017
Posts: 6

Original Poster
Rep: Reputation: Disabled
OK, but Pulseaudio tells me that the sink (both actually) is "suspended", reason: "idle". How do I change that?

Oh, and: bash: /etc/pulse/default.pa: Permission denied
 
Old 08-18-2018, 01:08 PM   #10
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
don't fix what isn't broken.

Quote:
After the upgrade to 18.04 the sound quality is not as good, as previously. I think that the reason is that the system has ceased using my external USB sound card as the default device and I can't get it back to work.
about that:
are you sure it's not just volume levels? have you opened pavucontrol or another pulseaudio mixer application to check all levels? it's a little confusing and will take a few minutes the first time.
but yeah, it could alaso be the default sound card. that can, to my knowledge, also be changed in pavucontrol (permanently), or with alsamixer (temporarily; if it helps, we will make it permanent).
 
Old 08-19-2018, 10:03 AM   #11
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,959

Rep: Reputation: 271Reputation: 271Reputation: 271
Quote:
Originally Posted by flowersarestillstanding View Post
OK, but Pulseaudio tells me that the sink (both actually) is "suspended", reason: "idle". How do I change that?
What command returns that?

Quote:
Originally Posted by flowersarestillstanding View Post
Oh, and: bash: /etc/pulse/default.pa: Permission denied
Then $HOME/.config/pulse/default.pa for your personal use.

These are text files that one edits with an editing program, not executables.
 
Old 08-21-2018, 03:15 AM   #12
flowersarestillstanding
LQ Newbie
 
Registered: Jul 2017
Posts: 6

Original Poster
Rep: Reputation: Disabled
This is what happens when I open Alsamixer:

https://ibb.co/iFvToK

These are available devices:

https://ibb.co/b9nxhe

These are the USB device settings:

https://ibb.co/iafiNe

How does it seem to you? How do you make sure that the last device (the USB one) is the default one?
 
Old 08-22-2018, 03:38 AM   #13
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,959

Rep: Reputation: 271Reputation: 271Reputation: 271
Quote:
Originally Posted by flowersarestillstanding View Post
How do you make sure that the last device (the USB one) is the default one?
By editing the relevant configuration file.
 
Old 08-24-2018, 01:00 AM   #14
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by flowersarestillstanding View Post
How do you make sure that the last device (the USB one) is the default one?
i really, really don't understand you.
previously you said you HAVE sound after rebooting?
so everything is ok in that department???

anyhow, to literally answer your question i'd start with a web search and take it from there.
 
  


Reply

Tags
18.04, pulse audio, sound



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sound problems (alsaconf cannot find sound modules.) vmlinuz.gz Linux - Newbie 8 11-12-2008 03:36 AM
Sound problems in Slackware 11 with Sweex sound card RicardoB Linux - Hardware 0 04-30-2007 01:34 PM
Sound problems with ubuntu 4.1 and a realtek sound card linux-novice Linux - Newbie 1 02-18-2006 11:44 PM
Sound Problems: CD works, no system/mp3/video sound tabnaka SUSE / openSUSE 5 01-13-2006 12:33 PM
Problems getting sound to play under Mandrake w/2 sound cards HGeneAnthony Linux - Hardware 1 07-02-2004 02:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 03:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration