After upgrading to alsa 1.0.8, I find that every reboot I will get no sound - the mixer levels are set correctly (unmuted and volume up), but no applications produce any sound. The following corrects the problem: /etc/init.d/alsasound stop rm /etc/asound.state /etc/init.d/alsasound start alsamixer (unmute and reset levels) Reverting to alsa 1.0.7 solves the problem. Perhaps this is related to bug #86744 Reproducible: Always Steps to Reproduce: 1.Install alsa 1.0.8 2.Set sound levels, verify that you can hear sound 3.Reboot 4.Try and play sound Actual Results: No sound Expected Results: Same levels as set in step 2 PORTAGE_GPG_DIR is invalid. Removing gpg from FEATURES. Portage 2.0.51.19 (default-linux/x86/2004.0, gcc-3.3.5, glibc-2.3.4.20041102-r1, 2.6.11-mm2 i686) ================================================================= System uname: 2.6.11-mm2 i686 AMD Athlon(tm) XP 2400+ Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 12 2005, 13:23:19)] distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] dev-lang/python: 2.3.4-r1 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -Os -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -Os -pipe -fomit-frame-pointer" DISTDIR="/usr/local/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox sfperms" GENTOO_MIRRORS="http://mirror.pacific.net.au/linux/Gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" LDFLAGS="-Wl,-O1" MAKEOPTS="-j4 -l2.5" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/tmp/portage" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow X aac alsa apache2 apm arts audiofile avi bash-completion berkdbbitmap-fonts bonobo cdparanoia cdr chroot crypt cups curl dga dvd dvdread emboss encode extensions fam flac font-server gcj gdbm gif gphoto2 gtk gtk2 gtkhtml guile imagemagick imlib ipv6 jack java jikes jpeg jpeg2k junit kde lcms libdvdread libg++ libwww live mad mikmod mmx mng motif mozcalendar mozilla moznocompose mozxmlterm mp3 mpeg mysql ncurses net nls nptl nptlonly oav oggvorbis opengl oss pam pcmcia pdflib perl pic png pnp ppds python qt quicktime quotes readline realrtc samba scanner sdl skey slang slp speex spell sse ssl tcltk tcpd theora tifftruetype truetype-fonts trusted type1-fonts usb wmf xine xml2 xmms xprint xv xvid xvmc zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL
Everything fine here with alsa 1.0.8. Must be sound card specific or a misconfiguration issue.
It seems that reverting to alsa 1.0.7 has not solved the problem as I thought it had. The problem is reboot specific - that is if the sound is already working doing /etc/init.d/alsasound restart does not break it, but rebooting does. Can you be more specific about misconfiguration, before I initially upgraded to 1.0.8 everything was fine. (I did upgrade glibc at the same time) I'm using emu10k1 (Sound Blaster Live Platinum). My sound modules loaded (when working, but I think it's the same when not, I'll check on next reboot): snd_seq_midi 8800 0 snd_emu10k1_synth 7936 0 snd_emux_synth 38144 1 snd_emu10k1_synth snd_seq_virmidi 7680 1 snd_emux_synth snd_seq_midi_emul 7488 1 snd_emux_synth snd_pcm_oss 52576 0 snd_mixer_oss 19456 1 snd_pcm_oss snd_seq_oss 35264 0 snd_seq_midi_event 7936 3 snd_seq_midi,snd_seq_virmidi,snd_seq_oss snd_seq 54736 8 snd_seq_midi,snd_emux_synth,snd_seq_virmidi,snd_seq_midi_emul,snd_seq_oss,snd_seq_midi_event snd_emu10k1 110212 4 snd_emu10k1_synth snd_rawmidi 25440 3 snd_seq_midi,snd_seq_virmidi,snd_emu10k1 snd_seq_device 8844 7 snd_seq_midi,snd_emu10k1_synth,snd_emux_synth,snd_seq_oss,snd_seq,snd_emu10k1,snd_rawmidi snd_ac97_codec 77688 1 snd_emu10k1 snd_pcm 94216 4 snd_pcm_oss,snd_emu10k1,snd_ac97_codec snd_timer 25796 3 snd_seq,snd_emu10k1,snd_pcm snd_page_alloc 10116 2 snd_emu10k1,snd_pcm snd_util_mem 4608 2 snd_emux_synth,snd_emu10k1 snd_hwdep 9376 2 snd_emux_synth,snd_emu10k1 snd 56164 18 snd_emux_synth,snd_seq_virmidi,snd_pcm_oss,snd_mixer_oss,snd_seq_oss,snd_seq,snd_emu10k1,snd_rawmidi,snd_seq_device,snd_ac97_codec,snd_pcm,snd_timer,snd_hwdep soundcore 9952 1 snd
This may not be an alsa problem at all. I just exited my X server (to upgrade) and when started X again (without having rebooted my computer) I got no sound. (from xmms or mpg123) Doing a /etc/init.d/alsasound restart fixed the problem. I'm using KDE 3.3.2 Haven't had much time to investigate yet, but I'm guessing arts is doing something to the sound system and the alsasound restart is forcing it to release it.
yeah, the kde sound server has some volume restore settings... arts is evil. closing.
It's not a volume problem. I've checked the mixer settings with alsamixer and the levels haven't changed and aren't muted after starting X, but the sound doesn't play even if I exit X which should also cause arts to exit. So this must be a bug with something, and should probably be reassigned somewhere else, but where I don't know.
I've upgraded to kde 3.4.1 with USE="-arts" and it seems to have solved the problem.