Sound muted after boot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
PulseAudio |
Invalid
|
Undecided
|
Unassigned | ||
alsa-utils (Ubuntu) |
Fix Released
|
Undecided
|
Daniel T Chen | ||
Bug Description
After every boot, the master channel of my sound card is muted. I see there's bugs 316430 and 299093 which describe a similar problem, but they are both marked as fixed and I have Jaunty updated with the latest packages, so I'm maybe having another issue?
This is on a Thinkpad T60 laptop, with an Intel onboard sound chip:
hunzikea@
0 [Intel ]: HDA-Intel - HDA Intel
I'll attach the outputs of /var/lib/
---------------
Status (from #81):
IDT/Sigmatel HDA: fixed in Lucid
Analog Devices: work in progress
Related branches
- Luke Yelavich: Pending requested
Alexander Hunziker (alex-hunziker) wrote : | #1 |
Alexander Hunziker (alex-hunziker) wrote : | #2 |
Alexander Hunziker (alex-hunziker) wrote : | #3 |
Alexander Hunziker (alex-hunziker) wrote : | #4 |
affects: | ubuntu → alsa-driver (Ubuntu) |
Alexander Hunziker (alex-hunziker) wrote : | #5 |
Ricardo Pérez López (ricardo) wrote : | #6 |
I can confirm this problem in my Jaunty, too. However, it's not always reproducible: sometimes the audio is properly restored after boot, and sometimes is muted. The problem appears in Jaunty; working perfectly in Intrepid.
$ cat /proc/asound/cards
0 [VT82xx ]: HDA-Intel - HDA VIA VT82xx
Changed in alsa-driver (Ubuntu): | |
status: | New → Confirmed |
Ricardo Pérez López (ricardo) wrote : | #7 |
Seems to be a problem in the udev rule. I've patched the /etc/init.
case "$1" in
start)
date > /root/alsa-
[...]
So I can see when the script has been started. And I see that the /root/alsa-
Ricardo Pérez López (ricardo) wrote : | #8 |
I can't confirm that the problem is in the udev rule. I manually created:
$ cd /etc/rc2.d
$ sudo ln -s ../init.
so now alsa-utils is always called at boot time. However, the mixer is still muted when I go into GNOME.
Ricardo Pérez López (ricardo) wrote : | #9 |
- Audio device muted just after boot Edit (1.6 MiB, image/png)
Today, I turn on the computer and I see the sound muted again. Alsamixer shows the device muted, too.
After doing "sudo /lib/udev/
I attach two screenshots (before and after running "sudo /lib/udev/
Ricardo Pérez López (ricardo) wrote : | #10 |
Alexander Hunziker (alex-hunziker) wrote : | #11 |
I can confirm that executing "sudo /lib/udev/
Ricardo Pérez López (ricardo) wrote : | #12 |
More info, step by step:
1. I boot the computer.
2. When GDM appears, I go into VT1 (Ctrl-Alt-F1) and log into my user.
3. If I do "alsamixer -Dhw:0" or "alsamixer -c0", I get all the channels unmuted.
4. If I then do "alsamixer", I get only one muted PulseAudio channel, and the following error messages in the console:
I: caps.c: Limited capabilities successfully to CAP_SYS_NICE.
I: caps.c: Dropping root privileges.
I: caps.c: Limited capabilities successfully to CAP_SYS_NICE.
5. Since then, If I repeat "alsamixer -Dhw:0" or "alsamixer -c0", I get the Master channel muted.
6. To unmute the Master channel previously muted on step #5, I need to do "sudo /lib/udev/
Ricardo Pérez López (ricardo) wrote : | #13 |
OK, now I can see the problem. I't my fault. We had two files, ~/.asoundrc and ~/.asoundrc.
pcm.!default { type pulse }
ctl.!default { type pulse }
The above was causing troubles. I'd just removing the two files, and now it seems to works well.
Alexander, can you check the presence of the above two files? Try removing them, and tell me if that works.
Ricardo Pérez López (ricardo) wrote : | #14 |
Bad luck: today I booted the computer again, and I still had the Master channel muted. I don't know what else I can do :(
Alexander Hunziker (alex-hunziker) wrote : | #15 |
I did have a home-grown ALSA config file, though system-wide in /etc/asound.conf containing the same config as yours. Removing did indeed *not* solve the problem.
Ricardo Pérez López (ricardo) wrote : | #16 |
I'd just booted my computer this morning, and again I had a Master channel muted. This bug is definitely NOT solved for me.
Ricardo Pérez López (ricardo) wrote : | #17 |
Since I enabled the "Audio settings management" in System-
Alexander Hunziker (alex-hunziker) wrote : | #18 |
Ricardo: I'm not sure you are experiencing the same bug. For me, the sound is *always* muted. Also enabling the "Audio settings management" in the services did not improve things for me, as I said above.
Ricardo Pérez López (ricardo) wrote : | #19 |
Well, this morning again I had a Master channel muted, even with the "Audio settings management" enabled. Now I'm officially confused.
Daniel, I don't know what can I do in order to debug the problem. Can you take a quick look, please?
ski (skibrianski) wrote : | #20 |
I'm having the same problem as Alexander - sound on the main speakers NEVER works. Master channel gives no output, but headphone jack works just fine. HP mini 1035nr. Fresh install of jaunty RC1, upgraded to latest. It seems like sometimes alsa starts with audio muted on both the Master and PCM channels, but running alsamixer and restoring to 100 does no good. Please let me know what info would be useful to have.
cbrmichi (cbrmichi) wrote : | #21 |
i got the same problem here. i can turn my sound on again by booting windows... so where can be the problem?
ski (skibrianski) wrote : | #22 |
In my case the problem was solved using this:
https:/
But I'm not sure if everyone experiencing this bug is using a hp mini nettop (or if it might work for you anyway). Good luck!
Singpolyma (singpolyma) wrote : | #23 |
I have this problem as well.
Whenever I boot, the master channel is turned all the way down and muted. I can unmute and turn it up and then it works fine until I reboot.
Singpolyma (singpolyma) wrote : | #24 |
GDM has sound to make the "login ready" sound.
If I run alsamixer instantly on starting my window manager (dwm) I see that all my volume settings are correct.
Moments later they are wrong.
It is not the gnome-settings-
I am beginning to suspect the pulseaudio daemon, but don't know how to configure it.
Singpolyma (singpolyma) wrote : | #25 |
Confirmed the problem is PulseAudio.
Used http://
Montblanc (montblanc) wrote : | #26 |
The same is happening with KDE too. Volume gets muted every 60 seconds or something. Disabling pulseaudio following this guide helped:
http://
Jimmy Buck (jimmybuck) wrote : | #27 |
Same thing is happening to me with my Intel HDA chipset.
If I stay within Gnome, everything seems to work fine. But if I set my default session to XBMC (possible in the latest builds of XBMC), the master channel is at 0% when I boot up sometimes.
I haven't tried building XBMC with Pulse Audio disabled yet. That was my next plan of action.
Alfredas Beinartas (fuxialis) wrote : | #28 |
Disabling alsa-utils in System -> Administration -> Services solves the problem for me
Alexander Hunziker (alex-hunziker) wrote : | #29 |
I can confirm that after booting, but before logging in, my master channel is *not* yet muted, as it should be. So it's something in the Gnome login process with mutes it, PulseAudio is a prime suspect ;-)
Jimmy Buck (jimmybuck) wrote : | #30 |
Disregard my previous comment about staying in Gnome doesn't exhibit the problem. It definitely does.
I did, however, find that it doesn't happen when forcing a reboot instead of using the menu in Gnome to reboot. If I do a 'sudo reboot', the sound isn't muted when coming back up.
Either way, using the guide a few posts above mine to disable Pulse fixed the problem for me.
ptn (tn-pablo) wrote : | #31 |
Same issue here. I followed http://
I miss the login sound...
Alexander Hunziker (alex-hunziker) wrote : | #32 |
I confirm what Jimmy Buck already said: when you shutdown your system in a forced way (or if it crashes, as it was in my case), the sound is not muted after a reboot. It looks like something mutes the channels upon shutdown, and then re-mutes them upon login. That's why the master channel is unmuted after boot, but gets muted at login.
smurf (luca-dgh) wrote : | #33 |
If this can have some interest I found that adding /lib/udev/
1) the splash image that I added with the Gnome utility appears
2) the login sound start (I put a large sound, about 30 seconds)
3) during the execution the login sound stop for 3-4 seconds
4) the login sound restart until the end
Please note that I enabled the automatic login for my account
ptn (tn-pablo) wrote : | #34 |
I can confirm that the sound is not muted when booting after a system crash.
Changed in pulseaudio: | |
status: | Unknown → New |
Gavin Graham (gavingraham) wrote : | #35 |
For me, manually running /etc/init.
ptn (tn-pablo) wrote : Re: [Bug 352732] Re: [jaunty] Sound muted after boot | #36 |
Mmmm that didn't do it for me:
$ sudo /etc/init.
* Shutting down ALSA...
[OK ]
* Setting up ALSA...
and still no sound. I also tried:
$ sudo alsa reload
lsof: WARNING: can't stat() fuse.gvfs-
Output information may be incomplete.
/sbin/alsa: Warning: Processes using sound devices: 4127(pulseaudio)
4169(mixer_
Unloading ALSA sound driver modules: snd-hda-intel snd-pcm-oss
snd-mixer-oss snd-pcm snd-timer snd-page-alloc (failed: modules still
loaded: snd-hda-intel snd-pcm snd-timer snd-page-alloc).
Loading ALSA sound driver modules: snd-hda-intel snd-pcm-oss
snd-mixer-oss snd-pcm snd-timer snd-page-
files need .conf: /etc/modprobe.
future release.
WARNING: All config files need .conf: /etc/modprobe.
will be ignored in a future release.
and didn't work either.
On Sat, May 30, 2009 at 18:38, Gavindi <email address hidden> wrote:
> For me, manually running /etc/init.
> sound.
>
> --
> [jaunty] Sound muted after boot
> https:/
> You received this bug notification because you are a direct subscriber
> of the bug.
>
Gavin Graham (gavingraham) wrote : Re: [jaunty] Sound muted after boot | #37 |
Hi PTN,
Yeah my bad. Upon further investigation, my suggestion wasn't working as I thought it was....
Keep looking....
Gavin Graham (gavingraham) wrote : | #38 |
Ok,
I've found a fix that works for me. I was find that if I didn't shut down my computer gracefully (and there letting /etc/init.
Therefore, I commented out line 372 in /etc/init.
# mute_and_
Now when I reboot gracefully, the sound levels are correct. I would suspect that there is a bit a race condition happening. I am supposing the alsa-utils script is being called twice and as the levels have been "muted and zero'd" the first time around, the second time around sees the zero'd levels get saved as the Alsa state.
I think the udev and rc.d is invoking the script twice......
This is however just a theory, but it makes sense!!! (I Hope)
ptn (tn-pablo) wrote : Re: [Bug 352732] Re: [jaunty] Sound muted after boot | #39 |
I love you, Gavindi, that worked!
I'd like to run more tests though, because I only tried restarting.
Will do that ASAP.
On Mon, Jun 1, 2009 at 19:47, Gavindi <email address hidden> wrote:
> Ok,
> I've found a fix that works for me. I was find that if I didn't shut down my computer gracefully (and there letting /etc/init.
>
> Therefore, I commented out line 372 in /etc/init.
>
> # mute_and_
>
> Now when I reboot gracefully, the sound levels are correct. I would
> suspect that there is a bit a race condition happening. I am supposing
> the alsa-utils script is being called twice and as the levels have been
> "muted and zero'd" the first time around, the second time around sees
> the zero'd levels get saved as the Alsa state.
>
> I think the udev and rc.d is invoking the script twice......
>
> This is however just a theory, but it makes sense!!! (I Hope)
>
> --
> [jaunty] Sound muted after boot
> https:/
> You received this bug notification because you are a direct subscriber
> of the bug.
>
Mattia Guidi (matguidi) wrote : Re: [jaunty] Sound muted after boot | #40 |
Gavindi's solution works, in the sense that if I comment that line I have all volumes up after the desktop is loaded. But the strange thing is that it makes the "login sound" disappear. Summing up, this is how it works for me:
1) with the line un-commented (default situation)
- "drum sound" at the beginning
- "login sound" at desktop loading
- master channel muted
2) with the line commented (Gavindi's solution)
- "drum sound"
- NO "login sound"
- master channel unmuted
This seems a real puzzle. How to get out from it?
ptn (tn-pablo) wrote : Re: [Bug 352732] Re: [jaunty] Sound muted after boot | #41 |
For me, that would be:
1) with the line un-commented (default situation)
- "drum sound" at the beginning
- NO "login sound" at desktop loading
- master channel muted
2) with the line commented (Gavindi's solution)
- "drum sound"
- "login sound"
- master channel unmuted
To add to Gavindi's theory, I have a weird situation in 1) that I get
the drum hits prompting for a user+pwd, but then I don't get the login
sound. This would happen no matter if I had turned my laptop off with
the volume muted or not. Now, if I turn it off with the volume off, I
don't get not even the drums, as it should be.
On Tue, Jun 2, 2009 at 04:35, Spaced <email address hidden> wrote:
> Gavindi's solution works, in the sense that if I comment that line I
> have all volumes up after the desktop is loaded. But the strange thing
> is that it makes the "login sound" disappear. Summing up, this is how it
> works for me:
>
> 1) with the line un-commented (default situation)
> - "drum sound" at the beginning
> - "login sound" at desktop loading
> - master channel muted
>
> 2) with the line commented (Gavindi's solution)
> - "drum sound"
> - NO "login sound"
> - master channel unmuted
>
> This seems a real puzzle. How to get out from it?
>
> --
> [jaunty] Sound muted after boot
> https:/
> You received this bug notification because you are a direct subscriber
> of the bug.
>
affects: | alsa-driver (Ubuntu) → pulseaudio (Ubuntu) |
Changed in pulseaudio (Ubuntu): | |
assignee: | nobody → Daniel T Chen (crimsun) |
status: | Confirmed → Fix Committed |
Gavin Graham (gavingraham) wrote : Re: [jaunty] Sound muted after boot | #42 |
Can you please let us know what the fix was?
Launchpad Janitor (janitor) wrote : | #43 |
This bug was fixed in the package pulseaudio - 1:0.9.15-3ubuntu1
---------------
pulseaudio (1:0.9.15-3ubuntu1) karmic; urgency=low
[ Daniel T Chen ]
* debian/
default resampler to ffmpeg. We cannot peg the cpu, and we cannot
have audio anomalies, so this change _should_ be regression-free
but needs extensive testing (LP: #376374).
* debian/
git HEAD to resolve sw vol becoming muted on logout
(LP: #315971, #352732)
[ Luke Yelavich ]
* Merge from Debian unstable, remaining changes:
- epoch (my stupid fault :S)
- Don't build against, and create jack package. Jack is not in main
- use ffmpeg resampler to work better with lack of PREEMPT in jaunty's
-generic kernel config, also change buffer size
- Add alsa configuration files to route alsa applications via pulseaudio
- Move libasound2-plugins from Recommends to Depends
- Add pm-utils sleep hook to suspend (and resume) users' pulseaudio
daemons
- patch to fix source/sink and suspend-on-idle race
- Make initscript more informative in the default case of per-user
sessions
- add status check for system wide pulseaudio instance
- create /var/run/pulse, and make restart more robust
- LSB {Required-
since hal is required (and already requires dbus)
- indicate that the system pulseaudio instance is being started from the init
script
- Install more upstream man pages
- Link to pacat for parec man page
- check whether pulseaudio is running before preloading the padsp library
- Add DEB_OPT_FLAG = -O3 as per recommendation from
pulseaudi
- cache /usr/share/
- disable glitch free (use tsched=0)
- Generate a PO template on build
- add special case to disable pulseaudio loading if accessibility/
is being used
- the esd wrapper script should not load pulseaudio if pulseaudio is being
used as a system service
- add a pulseaudio apport hook
- fix some typos in README.Debian
- drop padevchooser(
- drop libasyncns-dev build dependency, its in universe
- add libudev-dev as a build-dependency
-- Luke Yelavich <email address hidden> Tue, 09 Jun 2009 10:47:05 +1000
Changed in pulseaudio (Ubuntu): | |
status: | Fix Committed → Fix Released |
Ricardo Pérez López (ricardo) wrote : | #44 |
Daniel, Luke:
Could you please provide an updated binary package for Jaunty via PPA or something similar? It could be great in order to test the fix on Jaunty.
If not, what about backporting the 0090_fix_
Thanks in advance.
Jared Wiltshire (jaredwiltshire) wrote : | #45 |
Well I tried installing the Karmic package in Jaunty and the sound was still muting on boot.
Ricardo Pérez López (ricardo) wrote : | #46 |
I'm not a great programmer, but I tried backporting the 0090_fix_
I'll take a look during several days.
Jimmy Buck (jimmybuck) wrote : | #47 |
Has anyone tried Luke Yelavich's PPA? He just updated the Pulseaudio package a few days ago.
Jimmy Buck (jimmybuck) wrote : | #48 |
Sorry for the bug spam, I forgot to include the URL to the PPA.
Jared Wiltshire (jaredwiltshire) wrote : | #49 |
Yes I am using Luke's PPA package now and still have the problem.
I have used the /etc/init.
Ricardo Pérez López (ricardo) wrote : | #50 |
@Jimmy:
That's exactly what I was looking for. Thanks! I'm using it now and things are going well for now.
@Jared:
Have you tried to login with a freshly new user account?
Jared Wiltshire (jaredwiltshire) wrote : | #51 |
No I didnt try with a new user account.
Ricardo Pérez López (ricardo) wrote : | #52 |
Unfortunately, after turn on my computer today, the sound goes muted again when goes into the desktop. Obviously this fix doesn't solve the issue (I'm using .
According to that and the fact that another user claims the same, I'll reopen this bugreport.
Changed in pulseaudio (Ubuntu): | |
status: | Fix Released → Confirmed |
Ricardo Pérez López (ricardo) wrote : | #53 |
Sorry for the wrapped comment. I mean "I'm using the latest packages from Luke's PPA".
Jared Wiltshire (jaredwiltshire) wrote : | #54 |
I dont think Luke's PPA has 0090_fix_
Ricardo Pérez López (ricardo) wrote : | #55 |
@Jared:
I can see the following in my /usr/share/
pulseaudio (1:0.9.
* libltdl-dev -> libltdl7-dev
-- Luke Yelavich <email address hidden> Sun, 14 Jun 2009 09:36:29 +1000
pulseaudio (1:0.9.
* Update to latest karmic package
* Add extra patches from Colin Guthri's stable patches git branch:
[...]
* 0090_fix_
included in the above patches.
* Also drop debian/
-- Luke Yelavich <email address hidden> Sun, 14 Jun 2009 09:18:58 +1000
Moreover, the source code contains the patch renamed to 0106-core-
So yes: the Luke's PPA packages has the patch applied, although it doesn't work for me.
David Leal (dgleal) wrote : | #56 |
@Ricardo
Just to put things in perspective, I'm on Karmic and the mute problems disappeared. I wonder if there is another unrelated problem with your system? Do you have a spare partition on your machine where you can test a fresh Karmic install?
Ricardo Pérez López (ricardo) wrote : | #57 |
@David
Unfortunately I can't install another OS without a complete hard disk reorganization :(.
I'll try to do something and investigate it further. Besides that, I'm not the only user affected by this issue that thinks it's not fixed with the fix_sw_mute_desync patch.
Thanks anyway.
Ricardo Pérez López (ricardo) wrote : | #58 |
Another reboot, and again the sound is muted. However, this morning's startup works perfectly, with unmuted sound. An erratic behavior.
Detlef Lechner (detlef-lechner) wrote : | #59 |
I notice the same error.
My apport bug report is to be found in bug # 395594.
Alexander Hunziker (alex-hunziker) wrote : | #60 |
I have upgraded to Ubuntu Karmic, and the problem persists - i have to unmute sound after every boot.
Artur Rona (ari-tczew) wrote : | #61 |
Yep, I can confirm this bug. Sound is muted on startup.
$ apt-cache policy pulseaudio
pulseaudio:
Zainstalowana: 1:0.9.16~
Kandydująca: 1:0.9.16~
Tabela wersji:
*** 1:0.9.16~
500 http://
100 /var/lib/
$ apt-cache policy alsa-base
alsa-base:
Zainstalowana: 1.0.20+
Kandydująca: 1.0.20+
Tabela wersji:
*** 1.0.20+
500 http://
100 /var/lib/
RomanIvanov (ivanov-jr) wrote : | #62 |
Could you please suggest a work around for a while.
I use "/usr/bin/amixer -q set Master 100% unmute" to unmute volume, But I failed to automate this by: startup application,
Chris Yate (chrisyate) wrote : | #63 |
I am using Debian "testing" and I am getting exactly this problem -- volumes muted after reboot. This is definitely because of the /etc/init.
Copy /usr/sbin/alsactl to /usr/sbin/
Create new /usr/sbin/alsactl something like the following:
#!/bin/bash
echo `date` "Running alsactl $1 $2 $3" >> /var/log/alsactl
alsactl_exe $1 $2 $3
This means alsactl creates a log file with the date on every execution.
Created 'real files' in /etc/rcS.d and /etc/rc[06].d folders (copies of /etc/init.
As a side issue, in order to try and fix this I also have rc.local running alsactl restore.
See attached file alsactl -- this illustrates the problem. /etc/rc0.
Strangely, rc.local also gets executed twice on startup.
I know I'm not using Ubuntu but this is the only thread I've found (with a lot of searching) that has the same issue. Any ideas why my init.d scripts are running twice?!
Cheers
Chris
Gyroscope352 (gyroscope352) wrote : | #64 |
Hey, guys. I have a few workarounds for this, and they're quite simple, so rejoice!
The first one is SUPER easy. just sudo gedit ~/.xinitrc and add this line:
amixer -c 0 sset Master,0 100%
Now, even though you still have the muting problem, your pc will run this command on boot to unmute it. Easy as pie.
There is another, more complicated way to do this as well. The above only works if you have a normal Linux startup session, e.g. GNOME. If your startup session is, say, XBMC, as mine was, that solution won't work. You have to go to further lengths, that is, disabling PulseAudio altogether. <a href="http://
Good luck!
Whitson
Gyroscope352 (gyroscope352) wrote : | #65 |
Crap! I'm sorry. My last comment had a typo. The command you add to .xinitrc SHOULD be:
exec amixer -c 0 sset Master,0 100%
Bernhard (b.a.koenig) wrote : | #66 |
I actually don't have this problem anymore. It's fixed for me now, must have been in one of the karmic updates.
actionparsnip (andrew-woodhead666) wrote : | #67 |
Had to edit out:
mute_and_
Mines on line 378. Someone in #ubuntu has it on 379
in /etc/init.
and rebooted, worked a treat
DH (dave-higherform) wrote : | #68 |
I was able to solve this issue on karmic beta via other means...
I found a K50alsa-utils symlink to /etc/init.
Not sure how those rc*.d symlinks got created in my karmic install... isnt rc*.d a kde thing? If so, it was probably when I installed amarok14, amarok 2.2, or amarok-nightly and its dependencies.
HTH, I struggled with this throughout my use of Jaunty, but its fixed permanently now.
Daniel T Chen (crimsun) wrote : Re: [Bug 352732] Re: [jaunty] Sound muted after boot | #69 |
They're created at package creation time by dh_installinit(1). It's
interesting that removing them resolves the issue for you. Can you
verify that they're in fact storing muted settings? You may need to
modify /etc/init.
/var/tmp or something...
NoOp (glgxg) wrote : Re: [jaunty] Sound muted after boot | #70 |
@actionparsnip - comment #67: worked for me on my karmic installs. Thanks.
loonypatrol (loonypatrol) wrote : | #71 |
I'm currently on Karmic but have had this problem since Jaunty. Commenting out the mute_and_
Ashish Narmen (ashish.narmen) wrote : | #72 |
This bug affects me as well. I have made the changes suggested by Gavindi and hoping that it works.
Thanks a lot
The sound configuration is
cat /proc/asound/cards
0 [Intel ]: HDA-Intel - HDA Intel
Singpolyma (singpolyma) wrote : | #73 |
In Karamic I commented out line 378 of /etc/init.
However, I still get no actual sound output until I kill X and log back in.
summary: |
- [jaunty] Sound muted after boot + [jaunty,karmic] Sound muted after boot |
Singpolyma (singpolyma) wrote : Re: [jaunty,karmic] Sound muted after boot | #74 |
After I have killed X and logged back in, if I then run sudo /lib/udev/
tags: | added: jaunty |
tags: | added: karmic mute pulseaudio sound |
Singpolyma (singpolyma) wrote : | #75 |
If I comment out the lines in /etc/init.
preinit_levels "$TARGET_CARD" || EXITSTATUS=1
if ! restore_levels "$TARGET_CARD" ; then
sanify_levels "$TARGET_CARD" || EXITSTATUS=1
restore_
fi
Then I can run sudo /lib/udev/
phanyx (phanyx-deactivatedaccount) wrote : | #76 |
I faced this problem, when I installed xubuntu-desktop over my gnome-ubuntu. Curious thing is, that in default gnome sound worked perfectly fine, i. e. it wasn't muted on startup.
Fortunately, the commenting-379-line workaround worked for me.
André Gaul (andrenarchy) wrote : | #77 |
This issue may be a problem in pulseaudio. I managed to get it to work as expected by replacing the line
load-module module-
in /etc/pulse/
#load-module module-
Perhaps you have to logout, kill all pulseaudio daemons, login, adjust volumes, logout and login again to see if it works.
Singpolyma (singpolyma) wrote : | #78 |
RE#77 that fixed my problem :D
Daniel T Chen (crimsun) wrote : | #79 |
The PA bit is just a red herring; I've already fixed it in alsa-utils.
affects: | pulseaudio (Ubuntu) → alsa-utils (Ubuntu) |
Changed in alsa-utils (Ubuntu): | |
status: | Confirmed → Fix Released |
Singpolyma (singpolyma) wrote : | #80 |
RE#79 if the pulseaudio bit is a red herring, how does the fix work for alsa-utils (since only the PA change actually worked for me...)
Daniel T Chen (crimsun) wrote : | #81 |
See #38. The issue is that we should not be muting the sound anymore; the workaround was for broken linux. So, instead of papering over the issue, we deal with the powerdown symptoms as they appear. IDT/Sigmatel HDA codecs already have such a fix in Lucid; Analog Devices are in progress.
GNUbee40 (docnino) wrote : | #82 |
Re #81: Dear Mr. Chen. Thanx for your efforts! However, I don't understand what you're saying. Powerdown symptoms?
When and how was this fixed? I still have no sound on login. Using the fix #38 will work ONLY for the Master level and PCM level which are successfully restored on boot. But all other settings still get muted including front and headphones, which means - all output is still muted. Thus, running "alsactl restore" on every login is the only functioning workaround for me right now.
If I understand you right this won't be fixed before April 2010?
Is Pulseaudio the culprit in all this?
Tony Kernan (ackernan) wrote : | #83 |
Making the change in #77 helped me. I had a problem of the sound being muted when I rebooted or exited my window manager.
Olli Niemikorpi (mr-oole) wrote : | #84 |
I had also the problem that the master channel was muted in every boot (i have intel hda)
I confirm that making the change proposed by #77 solved also my problem. Maybe a "howto: fix intel hda muted on startup" should be created to wiki or ubuntu forums?
Olli Niemikorpi (mr-oole) wrote : | #85 |
I discovered #38 and #77 methods in Karmic. #77 works as confirmed earlier. #38 doesn't work solely, but that method works together with #77 (actually I'm not sure whether #38 method has any action to Karmic sound settings). #77 seems to be an easy way to get audio unmuted in Karmic, at least for me and for some others that have reported here in a way like that..
BTW: For me, method #77 doesn.t enable "drum" sound at the beginning. The login sound is enabled as well as master channel set to the previous "shutdown level". Actually, this is not a great problem, but an interesting dilemma..
Mark Rice (ricemark20) wrote : | #86 |
I had the same problem as #76, where default ubuntu (gnome) sound was fine, but after installing xubuntu-desktop
over it, the sound was muted.
I found #77 works alone, without #38 in Karmic.
Justyn Butler (justyn) wrote : | #87 |
I ran into this bug suddenly today on a standard Karmic gnome installation that was working fine before. I've no idea what I did for it to suddenly start happening, I didn't do an upgrade and I didn't install xubuntu-desktop like in some other comments.
I can confirm that #38 (commenting out "mute_and_
However #77 (commenting out "load-module module-
Justyn Butler (justyn) wrote : | #88 |
I realize I did not mention my audio chipset in my above post.
I can't clearly see what it is, except that it is not Intel audio.
It is an AMD 780G board, using the IEC958 (SPDIF) output.
Olli Niemikorpi (mr-oole) wrote : | #89 |
Hi Justyn,
What's the output for "Audio device" if you type lspci in the terminal and press enter?
For me, it says
00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA)
I have Asus M3A MB (ATI 770) but it seems to exhibit as Intel HDA as "lspci" says..
Olli
Antonio J. de Oliveira (ajoliveira) wrote : | #90 |
Hi
I just run into this on a fresh Karmic install, #77 cured the problem, in spite I applied 38. I found that the problem was on the pulse audio mixer, I could unmute and crank up all volumes at the alsa mixer without anything happening. Bug 456013 may be the expression of the same symptoms.
Antonio
alwaysanewbie (glennh) wrote : | #91 |
#77 worked for me on my Karmic as well.
Thanx!
Tony Lill (ajlill) wrote : | #92 |
I'll add my vote for #77 as well. Before I tried this solution, I ran the following experiment: I got all my settings the way I wanted them. I started alsamixer to monitor the settings, then I killed /usr/bin/
Now I had thought I had fixed the problem for a couple of weeks by setting alsa-utils to run at system startup. Whatever bug pulseaudio gets up its arse just comes and goes to reasons currently unknown, so just because it goes away when you fiddle with alsa-utils doesn't mean you've found the problem.
The issue with alsa-utils, as far as I can tell, is that ubuntu sets up the stop script to run, which saves settings and mutes, without setting up the start script to run. You need both or neither. Deleting the line that mutes doesn't really fix this. It happens to work when you re-boot because the hardware probably doesn't get reset. I'll bet that booting to another operating system with different settings or possibly even powercycling will cause other, harder to diagnose problems.
papukaija (papukaija) wrote : | #93 |
Bug 514713 is not a dupplicate of this bug since I'm running Karmic and I have no sound on login.
Olli Niemikorpi (mr-oole) wrote : | #94 |
Papukaija: Take a look to #38, #77 and #81. Fix has already been released for a bug related to alsa-utils, but it seems that we deal with a pulseaudio bug in Karmic affecting to mute sound with Intel HDA.
Try #77. Hope it works.
papukaija (papukaija) wrote : | #95 |
The workaround from comment 77 seems to work, my card is however an Analog Devices card and not an Intel card.
testonerosso (testonerosso-safemail) wrote : | #96 |
I think I've found a simpler way to fix the problem of setting the audio at a desidered level at start up.
I used the "aslactl" function with a custom file (http://
I set the options as I liked , then I typed from a terminal : aslactl store -f /filename...
this will create a file with the otions setted as I wanted .
then I added at start up the command : aslactl restore -f /filename...
and it works all the times.
papukaija (papukaija) wrote : | #97 |
Your workaround increases desktop's loading time :(
testonerosso (testonerosso-safemail) wrote : | #98 |
I use an old thinkpad x20 with 196mb and I can tell you that the desktop loading time did not change. I have other performance problem later on but not at starting
papukaija (papukaija) wrote : | #99 |
Anyway, the workaround from comment 77 is working for me and is imo a simpler temporary fix.
Brian (x-brian) wrote : | #100 |
Workaround from #77 fixed this for me in Karmic 9.10. In Jaunty I had killed pulse but it came back on upgrade to Karmic, though I don't seem to be having any troubles from it in Karmic save this. Now that I commented that line in /etc/pulse/
I have an Intel HDA sound controller (82801G).
Kacela (robert-jochim) wrote : | #101 |
Using Karmic 9.10 - Same issue as previously described here - volume is muted upon rebooting.
Workaround outlined in #77 worked for me. Start-up sound is now back and the volume remains where I left it during it's previous session. I tested shutting the machine down hard and shutting down gracefully; sound is at normal levels upon rebooting after both. Thanks @André Gaul
Tomi Hukkalainen (tpievila) wrote : | #102 |
Had this problem since Karmic, persisted after upgrading to Lucid. Fix in #77 solved the problem.
Johnny Bilek (johnnyvw) wrote : | #103 |
Just wanted to pile on. #77 without #38 works for my Latitude CPx with Karmic. #38 kind of worked. It didn't boot up muted, but would change the volume levels to 38% master and 75% PCM (I keep them at 54%/50%).
I changed #38 back and applied #77. Yay!
Johnny Bilek (johnnyvw) wrote : | #104 |
Oops, forgot... I'm using Xubuntu Karmic. This was an upgrade from 8.10, to 9.04, 9.10.
Kent deVillafranca (kdevilla) wrote : | #105 |
I'm on an MSI X340. Didn't have this problem in Karmic, but did after upgrading to Lucid (the "Speaker" setting in alsamixer would drop to the lowest level possible on every boot). The advice from post #77 fixed it. I had also previously raised the levels back to normal in alsamixer and did a "sudo alsactl store", which may or may not have done anything to help.
psgoodrich. (psgoodrich) wrote : | #106 |
Getting Ubuntu Lucid Lynx 10.04 to play audio on EeePC. This worked for me.
Thanks to André Gaul at
https:/
who wrote --
"This issue may be a problem in pulseaudio. I managed to get it to work as expected by replacing the line
load-module module-
in /etc/pulse/
#load-module module-
Perhaps you have to logout, kill all pulseaudio daemons, login, adjust volumes, logout and login again to see if it works."
Being new to linux, at first, I couldn't modify -- /etc/pulse/
because I didn't have "ownership permission" so first I had to go to
http://
http://
You need to open Terminal (located in the Accessories group)
then type --
sudo chown system_username /location_
(My user name is "u" so substiture your user name for "u")
so I typed --
sudo chown u /etc/pulse/
(My user name is "u" so substiture your user name for "u")
this allows you to use "gedit" (located in the Accessories group) or another word processor to modify the file by adding the "#" to the
"load-module module-
You may search for this combination by type <Ctrl>-F then filling in --
load-module module-
Before you make any changes to "default.pa" copy it to the Desktop "just in case"
After I made the changes, I right clicked on "default.pa" and changed all the permissions back to "Read Only".
Restart Ubuntu and, if you are as lucky as I was, you will have sound!
Hope this helps, but feel free to contact me if you get stuck. Gesundheit. Doktor Krankheit.
Andrea Amoroso (heiko81) wrote : | #107 |
I have the same problem with Ubuntu Maverick alpha 2..at startup the volume is always off..
Andrea Amoroso (heiko81) wrote : | #108 |
The solution proposed in #38 worked from me, except for the fact that the alsa-utils file is under /sbin and not /etc/init.d..again, Ubuntu Maverick alpha 2..
Antonio J. de Oliveira (ajoliveira) wrote : | #109 |
Hell will freeze when I will do the move to Maverick. Lucid is already an enormous headache. I have this fixed, maybe it was the following:
***************
Therefore, I commented out line 372 in /etc/init.
# mute_and_
in /etc/pulse/
#load-module module-
*******
because nobody at the right level cared for this one since jaunty. an this is a pita...
summary: |
- [jaunty,karmic] Sound muted after boot + Sound muted after boot |
tags: |
added: lucid maverick removed: mute sound |
Jamie Kitson (jamie-kitson) wrote : | #110 |
Yep, fixed this issue as #38 says in Karmic and had to do the same in /sbin/ after upgrading to Lucid.
Berthold (bsc1976) wrote : | #111 |
Following instructions in #106 fixed muted sound in ubuntu 10.04 on a HP dv6700. Thx
Detlef Lechner (detlef-lechner) wrote : | #112 |
The error persists in Maverick.
'~$ uname -a; Linux MD97600 2.6.35-22-generic #35-Ubuntu SMP Sat Oct 16 20:36:48 UTC 2010 i686 GNU/Linux'
Kenny Bülow Larsen (kennyvonbulow) wrote : | #113 |
The errior persists in 11.04
uname -a
2.6.38-
RobinJ (robinj) wrote : | #114 |
mikewhatever (mikewhatever) wrote : | #115 |
Still unfixed in Lucid 10.04.3. Had to use the workaround as outlined is #106.
László Monda (mondalaci) wrote : | #116 |
It's a 3 years old bug which really should have been fixed by now. Instead of using workarounds I'd like to understand what's the root cause of the issue and get it fixed.
I've done as written in #63 to track this down and got:
2012-05-15 01:51:58 Running alsactl store
2012-05-15 12:11:28 Running alsactl restore
2012-05-15 12:11:28 Running alsactl restore 1
2012-05-15 12:11:28 Running alsactl restore 0
[muted and manually corrected]
2012-05-16 04:21:32 Running alsactl store
2012-05-16 15:01:49 Running alsactl restore
2012-05-16 15:01:49 Running alsactl restore 1
2012-05-16 15:01:49 Running alsactl restore 0
[muted and manually corrected]
2012-05-17 03:27:04 Running alsactl store
2012-05-17 12:41:22 Running alsactl restore 1
2012-05-17 12:41:22 Running alsactl restore 0
2012-05-17 12:41:22 Running alsactl restore
[muted and manually corrected]
According to /etc/init/
If anyone has any idea about the above or about the root cause of this issue please don't hesitate to share. This is a disturbing sucker that should be eliminated.
László Monda (mondalaci) wrote : | #117 |
Minor correction: In my previous comment I erroneously wrote /etc/init/
In the meantime I commented out the "load-module module-
It's also important to mention that sometimes the volume level gets restored correctly and other times it doesn't so this issue seems too be non-deterministic.
At this point I'm not sure what the culprit is. Given that alsactl gets called by Upstart this seems like it's an ALSA issue but PulseAudio related tweaks resolved this issue for some which suggests me that it may be a PulseAudio issue.
I've just reported https:/
tags: |
added: natty oneiric removed: jaunty karmic maverick pulseaudio |
description: | updated |
description: | updated |
keesp (cees-pieters) wrote : | #118 |
I had the same issue with Xubuntu 12 (and earlier). As I didn't need advanced audio possibilities I removed PulseAudio and used alsamixer alone. That seemed to do the trick. If it is a bug, i think it has to do with pulseaudio and not alsa
Commoner (commoner51) wrote : | #119 |
I had the same problem with Ubuntu 12.04. Fix in #77 solved it.
maxim (maximn) wrote : | #120 |
Using Xubuntu 12.04.1, muted sound after boot/login to XFCE. Using workaround in comment #77, problem does not occur.
vsespb (vi1tsr) wrote : | #121 |
same in ubuntu 10.04 (except sound not muted, but set to lower level), fixed by #77
dino99 (9d9) wrote : | #122 |
EOL reached or very close. Time to use some newer version.
Changed in pulseaudio: | |
importance: | Unknown → Undecided |
status: | New → Invalid |
Upon sudo invoke-rc.d alsa-utils, the mixer levels seem to get saved and restored successfully. What else can I check here?
I noticed that in System- >Administration ->Services, "Audio settings management" had been unticked, though ticking it did not solve the problem.