LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 09-22-2010, 02:32 PM   #1
brianpbarnes
Member
 
Registered: Dec 2005
Posts: 143

Rep: Reputation: 15
PulseAudio snarled after sleep. May crash flash?


Hi,
Flash and audio work after a fresh boot with Ubu 10.10 (beta 1). After sleeping and waking up, flash fails. A post I read suggested killing the X server by logging out might fix the problem. When logging out, I got the error message "pulseaudio not working". The relogin hung for 5 minutes or so. Now, I sort of have flash video except that it often takes a minute or 2 to start and has zero audio.

The "Indicator Applet 0.3.7" attached to the volume button has a sound preferences button. It pops up a window "waiting for sound system to respond". IT never responds.

I installed Ear Candy pulseaudio app and it terminates with an error:
brianp@trex:~$ earcandy

** (earcandy:2136): WARNING **: Trying to register gtype 'WnckWindowState' as enum when in fact it is of type 'GFlags'

** (earcandy:2136): WARNING **: Trying to register gtype 'WnckWindowActions' as enum when in fact it is of type 'GFlags'

** (earcandy:2136): WARNING **: Trying to register gtype 'WnckWindowMoveResizeMask' as enum when in fact it is of type 'GFlags'

** (ear_candy.py:2145): WARNING **: Trying to register gtype 'WnckWindowState' as enum when in fact it is of type 'GFlags'

** (ear_candy.py:2145): WARNING **: Trying to register gtype 'WnckWindowActions' as enum when in fact it is of type 'GFlags'

** (ear_candy.py:2145): WARNING **: Trying to register gtype 'WnckWindowMoveResizeMask' as enum when in fact it is of type 'GFlags'

registered as dbus service...

Loaded client rules : File Manager
Loaded client rules : Totem Movie Player
Loaded client rules : Skype
Loaded client rules : Pidgin Internet Messenger
Loaded client rules : Banshee Media Player
Loaded client rules : MPlayer
Loaded client rules : VLC media player
Loaded client rules : Rhythmbox Music Player
Loaded client rules : Firefox Web Browser
Loaded client rules : thunderbird
Exception KeyError: KeyError(-1287709840,) in <module 'threading' from '/usr/lib/python2.6/threading.pyc'> ignored

I can't kill it:
rianp@trex:~$ pulseaudio -v -k
I: pid.c: Failed to open /proc/1743/stat: No such file or directory
E: main.c: Failed to kill daemon: No such file or directory

Can't start it:
root@trex:/home/brianp# pulseaudio -v --system --daemonize
W: main.c: Running in system mode, but --disallow-exit not set!
W: main.c: Running in system mode, but --disallow-module-loading not set!
N: main.c: Running in system mode, forcibly disabling SHM mode!
N: main.c: Running in system mode, forcibly disabling exit idle time!
brianp@trex:~$ pulseaudio --check
brianp@trex:~$

I tried the ubu system test and set it to audio. I now have a "running playback headphones" progress indicator bouncing back and forth with now way to kill.

The log -> messages file is loading up with repeated errors:
Sep 22 14:22:16 trex pulseaudio[2486]: (alsa-lib)pcm.c: Unknown PCM a52:2
Sep 22 14:22:16 trex pulseaudio[2486]: alsa-util.c: Error opening PCM device a52:2: No such file or directory
Sep 22 14:22:16 trex pulseaudio[2486]: (alsa-lib)confmisc.c: Unable to find definition 'cards.USB-Audio.pcm.hdmi.0:CARD=2,AES0=4,AES1=130,AES2=0,AES3=2'
Sep 22 14:22:16 trex pulseaudio[2486]: (alsa-lib)conf.c: function snd_func_refer returned error: No such file or directory
Sep 22 14:22:16 trex pulseaudio[2486]: (alsa-lib)conf.c: Evaluate error: No such file or directory
Sep 22 14:22:16 trex pulseaudio[2486]: (alsa-lib)pcm.c: Unknown PCM hdmi:2
Sep 22 14:22:16 trex pulseaudio[2486]: alsa-util.c: Error opening PCM device hdmi:2: No such file or directory
Sep 22 14:22:21 trex pulseaudio[2486]: (alsa-lib)pcm_hw.c: SNDRV_PCM_IOCTL_HW_PARAMS failed
Sep 22 14:22:41 trex pulseaudio[2486]: last message repeated 4 times
Sep 22 14:22:41 trex pulseaudio[2486]: alsa-util.c: snd_pcm_hw_params failed: Input/output error
Sep 22 14:22:46 trex pulseaudio[2486]: (alsa-lib)pcm_hw.c: SNDRV_PCM_IOCTL_HW_PARAMS failed

Dmesg simply repeats this line:
46198.247516] 2:1:2: usb_set_interface failed

I like to put it to sleep whenever I will be gone for 30-60 minutes or more.

Any ideas?

BrianP
 
Old 09-22-2010, 02:39 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Slackware
Posts: 14,877
Blog Entries: 2

Rep: Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805
If you don't want bugs, why do you use a beta system?
 
Old 09-22-2010, 02:57 PM   #3
brianpbarnes
Member
 
Registered: Dec 2005
Posts: 143

Original Poster
Rep: Reputation: 15
The same bugs are found in 10.04 and 9.10

Hi,
The reason I am grasping at the beta straws, 32 bit no less, is that ubu never runs for more than a few weeks stable. Then either the audio, the accursed flash or the sleep always fails. I can't live without any of them.

I have also tried suse, every model, with about the same success. Fedora never works at all.

I have a standard Asus mobo, standard p45/ICH10R chipset, standard ATI 4850 video, ~standard 4gb ddr3, standard velociraptor drive. I do cookie cutter installs with nothing special other than partitioning the hard drives.

The kicker is that hardware tests always come out fine and dumb, old xp works perfectly every time, but I hate it and use linux at work.

If "If you don't want bugs, why do you use a beta system?" is your most constructive contribution, kindly keep it to yourself.

Thank you,

BrianP
 
Old 09-22-2010, 03:29 PM   #4
John VV
Guru
 
Registered: Aug 2005
Posts: 12,094

Rep: Reputation: 1583Reputation: 1583Reputation: 1583Reputation: 1583Reputation: 1583Reputation: 1583Reputation: 1583Reputation: 1583Reputation: 1583Reputation: 1583Reputation: 1583
well i will stay out of the beta issue

but seeing as hibernate has never worked well on any linux OS . It is getting better, however with hardware manufactures
FORCING the use on MS windows for diagnostic tools ( western digital) - MS ONLY

have you tried NOT letting the machine go into "sleep" mode

Last edited by John VV; 09-22-2010 at 03:31 PM.
 
Old 09-22-2010, 03:38 PM   #5
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Slackware
Posts: 14,877
Blog Entries: 2

Rep: Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805
Sorry if that sounded aggressive, my point was, a beta system is known to have bugs, so if you don't want to have issues than don't use it. You have not mentioned that you have problems with other distributions too, but that is a valuable information.

However, if any distro you have tried till now has bugs I would assume that you really have any hardware problems.Did all distros had the same issues. What do you mean with "Fedora didn't work at all", were you not able to install it?
What hardware-tests did you run?
Have you tried to update your BIOS and/or load the defaults in your BIOS? Maybe there is something misconfigured that confuses only the Linux-kernel, but not the kernel from Windows.
The problem seems to be pulseaudio crashing because it can't find the audio-hardware anymore. In your log is an USB-audio device mentioned, do you use USB-audio? If you do, have you tried if it works if you unplug it and plug it in again? I don't know if pulseaudio has its own log, if it has, are there any problems?
Please post your exact mainboard-model.
 
Old 09-22-2010, 03:44 PM   #6
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Slackware
Posts: 14,877
Blog Entries: 2

Rep: Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805
Quote:
Originally Posted by John VV View Post
well i will stay out of the beta issue

but seeing as hibernate has never worked well on any linux OS . It is getting better, however with hardware manufactures
FORCING the use on MS windows for diagnostic tools ( western digital) - MS ONLY

have you tried NOT letting the machine go into "sleep" mode
Hibernate works fine on my Debian-machines, no problems with that, but hibernate (suspend to disk) and sleep-mode (suspend to ram) are not the same. For testing the harddisk you can use Hitachi Drive Fitness Test, despite its name will it test harddisks from any manufacturer and it comes as ISO-image, so no force to use windows.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Winecfg crashes on sound tab with Pulseaudio and no 'sounddrivers' without pulseaudio William (Dthdealer) Linux - Software 5 06-13-2010 07:30 AM
Flash 10 not using pulseaudio on Firefox browny_amiga Linux - General 4 05-22-2010 12:38 AM
Flash and Pulseaudio push cpu to 100% Neruocomp Fedora 1 08-06-2009 11:07 PM
Problem with PulseAudio and Flash KenjiKinya Linux - Newbie 1 08-03-2009 02:31 AM
ACPI sleep + ipw2200 = system crash simen Linux - Laptop and Netbook 2 12-09-2005 04:40 AM


All times are GMT -5. The time now is 04:36 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration