Broke My Sound

Questions about codecs, DVD playback, web plugins...
Forum rules
Before you post please read how to get help

Broke My Sound

Postby lannatwin on Mon Sep 28, 2009 8:10 am

I inadvertently tried watching a avi file before it had finished downloading. Now, my alsa S/PDIF output is no longer working.

I have checked all the settings in alsa mixer, and everything appears normal and not muted. When I boot from a live cd, sound works fine. Also tried reinstalling gstreamer. I am getting sound from the headphone jack.

Using Mint 7 amd64. Short of doing a complete reinstall, can anyone suggest anything? Thank you.
User avatar
lannatwin
Level 2
Level 2
 
Posts: 52
Joined: Sat Jun 20, 2009 9:14 pm
Location: Thailand

Linux Mint is funded by ads and donations.
 

Re: Broke My Sound

Postby igorzwx on Mon Sep 28, 2009 8:58 am

Try first to reload ALSA

sudo killall pulseaudio
sudo alsa force-reload

and them go to System>Preferences>Sound and change everything to ALSA

see:
viewtopic.php?f=48&t=33291


EDIT: Aduka created a script for fixing this problem automatically
see:
viewtopic.php?f=90&t=33559
igorzwx
Level 5
Level 5
 
Posts: 599
Joined: Sat Sep 05, 2009 3:13 pm

Re: Broke My Sound

Postby Aduka on Mon Sep 28, 2009 10:39 am

I made a cleaner post of how to make the script: http://forums.linuxmint.com/viewtopic.php?f=48&t=33575

Hope it helps,

Aduka
User avatar
Aduka
Level 1
Level 1
 
Posts: 23
Joined: Sun Sep 27, 2009 10:26 am
Location: Illinois, Usa

Re: Broke My Sound

Postby lannatwin on Tue Sep 29, 2009 6:39 am

Thank you for the input. When I run sudo alsa force-reload, I get the following and still no sound. Thoughts?

peter@multimedia ~ $ sudo alsa force-reload
lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/peter/.gvfs
Output information may be incomplete.
Terminating processes: 4077lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/peter/.gvfs
Output information may be incomplete.
4327lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/peter/.gvfs
Output information may be incomplete.
lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/peter/.gvfs
Output information may be incomplete.
.
lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/peter/.gvfs
Output information may be incomplete.
Unloading ALSA sound driver modules: snd-hda-intel snd-pcm-oss snd-mixer-oss snd-pcm snd-seq-dummy snd-seq-oss snd-seq-midi snd-rawmidi snd-seq-midi-event snd-seq snd-timer snd-seq-device snd-page-alloc.
Loading ALSA sound driver modules: snd-hda-intel snd-pcm-oss snd-mixer-oss snd-pcm snd-seq-dummy snd-seq-oss snd-seq-midi snd-rawmidi snd-seq-midi-event snd-seq snd-timer snd-seq-device snd-page-alloc.
User avatar
lannatwin
Level 2
Level 2
 
Posts: 52
Joined: Sat Jun 20, 2009 9:14 pm
Location: Thailand

Re: Broke My Sound

Postby lannatwin on Tue Sep 29, 2009 7:06 am

Digging around, I found these commands:

Code:
sudo apt-get --purge remove linux-sound-base alsa-base alsa-utils
(2) Reinstall those same packages
Code:
sudo apt-get install linux-sound-base alsa-base alsa-utils

[list]
VERY IMPORTANT NOTE: Ubuntu (GNOME) users have reported that packages 'gdm' and 'ubuntu-desktop' are removed after removing the linux-sound-base packages.

After running these and resetting everything in volume control, I have sound again!!
User avatar
lannatwin
Level 2
Level 2
 
Posts: 52
Joined: Sat Jun 20, 2009 9:14 pm
Location: Thailand

Re: Broke My Sound

Postby igorzwx on Tue Sep 29, 2009 7:25 am

'ubuntu-desktop' is a meta package, it can be safely removed.

GNOME Display Manager (gdm) can be reinstalled

Your magic commands may also update ALSA, I presume.

The ALSA hackers tend to recommend this too:

ALSA Upgrade Script
http://ubuntuforums.org/showthread.php?p=6589810

EDIT:
QUOTE: "users have reported that packages 'gdm' ..."
this is because of "login sound".
That is why gdm depends on ALSA.
igorzwx
Level 5
Level 5
 
Posts: 599
Joined: Sat Sep 05, 2009 3:13 pm


Return to Sound, Multimedia, & Codecs

Who is online

Users browsing this forum: No registered users and 7 guests