Woke up this morning and updated my main myth machine, and now mythfrontend won’t start. I get this message:
2009-05-12 07:57:50.003 Closing DB connection named 'DBManager0'
2009-05-12 07:57:50.006 Primary screen 0.
2009-05-12 07:57:50.008 Connected to database 'mythconverg' at host: ***.***.*.***
2009-05-12 07:57:50.010 Using screen 0, 1680x1050 at 0,0
2009-05-12 07:57:50.069 AudioPulseUtil, Error: Failure to suspend: Invalid argument
2009-05-12 07:57:50.070 AudioPulseUtil, Error: Failure to suspend: Invalid argument
2009-05-12 07:57:50.070 ERROR: ***Pulse Audio is running!!!!***
2009-05-12 07:57:50.070 ERROR: But MythTV was not able to suspend it. EXITING!
So, I googled about, and found this thread on a mythtv dev mailing list:
Apperantly, the new mythtv .21-fixes is incorporating the .22 pulseaudio check. Myth checks for pulse and exits if it can’t kill it.
I had sound issues with 11.1 before, and tried to remove pulseaudio but created bigger headaches for myself by doing so. Can anyone think of a work-around for this?
***Interestingly, if you log into a mythtv session from the xdm, mythfrontend will run. So, pulse isn’t loaded at the session level. But, I’d like some other workaround that allows me my normal desktop at the same time!!
I don’t know how to revert, but my work-around (for now) is to use lxde as my desktop. Well, lxpanel has a problem too, so it’s the lxde desktop with the xfce4 panel.
Knowing how ubiquitous pulseaudio has (un)fortunately become, I don’t know why the mythtv devs didn’t come up with a way around it.
I emailed the package maintainer. I havnt tried any of these yet but I plan to.
The latest patch from mythtv-0.21-fixes adds support for pulseaudio. The
environment variable EXPERIMENTALLY_ALLOW_PULSE_AUDIO must be used to activate
it, else pulseaudio should be turned off. Unfortunately, the latter does not
work. So you have two options:
Uninstall puse audio. This is often suggested by non-gnome users because it
is considered a disaster similar to KDE’s arts. But I think uninstalling it
goes too far for some users.
Activate the pulseaudio support by adding
export EXPERIMENTALLY_ALLOW_PULSE_AUDIO=1
to .profile or .bashrc or start mythfrontend by
EXPERIMENTALLY_ALLOW_PULSE_AUDIO=1 mythfrontend
from the command line.
Nevertheless I will disable pulseaudio support for the next packages until it
is mature enough.
I’ve just installed myth for the first time, and after running mythfrontend with the suggested option it finally runs, however live tv does not have audio.
Hoping someone can let me know so I don’t chase down a problem that doesn’t exist.
No, I never had a problem with audiom other than getting pulseaudio to work with anything. I assume you get sound from other programs though (like VLC or mplayer)?
If so, try enabling the experimental pulse support like above.
If you don’t, then it’s a general pulseaudio problem. What type of desktop are you using? You could try installing a lightweight desktop that calls to ALSA instead of pulseaudio, and see fi that works. That way you can narrow it down further.
I have been having this problem, using openSUSE 11.2 on an 86_64
and Mythtv 0.22. Using ‘setup-pulseaudio --disable’ to disable
pulseaudio does NOT help, although it reports pusleaudio disabled.
What DOES work for me is to use the command ‘pulseaudio -k’
(without the quote marks) before starting mythfrontend.