Audio doesn't work on Feisty Fawn

Bug #110900 reported by Colin Fox
4
Affects Status Importance Assigned to Milestone
Ubuntu
Invalid
Medium
Daniel T Chen

Bug Description

I'm running an up-to-date version of Feisty (upgraded from Edgy, rather than a re-install) on a fairly high-end AMD box. Sound worked fine under Edgy, but now I get a strange error when I try to play a sound. This is in a pop-up dialog box:

audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! gconfaudiosink: Could not open resource for writing.

This is what I get when I use the Sound Preferences panel and click Test in the Sound Events section, with the pulldown set to ALSA.

From the command line, if I try to play an MP3 with aplay, I get:

ALSA lib confmisc.c:1105:(snd_func_refer) Unable to find definition 'defaults.pcm.dmix_format'
ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:3957:(snd_config_expand) Args evaluate error: No such file or directory
ALSA lib pcm.c:2145:(snd_pcm_open_noupdate) Unknown PCM dmix:CK804
aplay: main:550: audio open error: No such file or directory

I will add the various file outputs as attachments as recommended by:
https://help.ubuntu.com/community/DebuggingSoundProblems

Revision history for this message
Colin Fox (cfox) wrote :

This is with kernel 2.6.20-15-generic, by the way.

I will also point out that I either get that "audiotestsrc" error in a pop up, or I get no error at all but no sound at all. Other bug reports have indicated some sound (but quiet), or an X on the volume gadget in the panel. My volume gadget looks like it works (it slides), and the "Open Volume Control" menu opens a volume control panel which also looks like it works (sliders work as they should), but there is no sound at all, even with everything cranked to max.

Revision history for this message
Colin Fox (cfox) wrote :

Interesting - I also just noticed that for some reason, my /etc/asound.conf file was named "/etc/asouund.conf". I don't remember ever editing this file, so I think it must be an instal/config script that misnamed it.

Revision history for this message
Daniel T Chen (crimsun) wrote :

Please read http://www.linux-sound.info/alsa/index.php?task=support and tell me the URL of the paste generated by the script linked from that page.

Revision history for this message
Colin Fox (cfox) wrote :

Actually, my previous comment about the "asouund.conf" misspelling seemed to be it. I fixed the spelling and rebooted, and now I have sound.

So this bug is actually relating to whatever would have changed the spelling of /etc/asound.conf.

Revision history for this message
Tim Jones (tjones01) wrote :

Well, I seem to be in a similar situation as Mr. Fox. The errors are the same, anyway. Audio works, but only for one application at a time.

From mplayer, the errors I get when playing a file: http://pastebin.ca/479913
And for trying to play another file simultaneously: http://pastebin.ca/479916

For Mr. Chen: I ran the script from the linux-sound site and received this output http://pastebin.ca/479898

Revision history for this message
Alexander Potapenko (ramosian-glider) wrote :

I didn't have /etc/asound.conf at all after upgrading from Edgy. Creating an empty asound.conf and rebooting solved the problem.

Revision history for this message
Tom V (tvice) wrote :

I have the same problem after updating from Edgy to Feisty. Neither installs have or had a /etc/asound.conf and creating one did not help. Otherwise the sound works for CD's and TVTime and listening to internet radio. It is just system sounds that don't run for the logged in user. If I run aplay /usr/share/sounds/login.wav as root the login wav plays just fine but if I run it as a user I get the error reported at the beginning of the chain above.
As root
aplay /usr/share/sounds/login.wav
Playing WAVE '/usr/share/sounds/login.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo

When I run it as my user ID I get:
aplay /usr/share/sounds/login.wav
ALSA lib confmisc.c:1105snd_func_refer) Unable to find definition 'defaults.pcm.dmix_format'
ALSA lib conf.c:3500_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:3957snd_config_expand) Args evaluate error: No such file or directory
ALSA lib pcm.c:2145snd_pcm_open_noupdate) Unknown PCM dmix:VT82xx
aplay: main:550: audio open error: No such file or directory

My user ID is in the audio group.
Anybody have any ideas?

Revision history for this message
Tom V (tvice) wrote :

I fixed it by deleting two files in my home directory, asoundrc and asoundrc.asoundconf. I created a new user for testing and that user could play system sounds. I noticed the newly created user did not have these two files so I deleted them in my configuration. Feisty must implement sound in a different way than Edgy.

Revision history for this message
Przemek K. (azrael) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. The version of Ubuntu that you were using has reached its End Of Life. Please test the latest Ubuntu version (9.10) and report a new bug if necessary.
https://help.ubuntu.com/community/ReportingBugs

Changed in ubuntu:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.