Bug 994

Summary: No sound in mythfrontend in F12
Product: Fedora Reporter: Jakub Jelinek <jakub>
Component: mythtvAssignee: Richard <hobbes1069>
Status: RESOLVED EXPIRED    
Severity: normal CC: bob, sirthomas
Priority: P5    
Version: 12   
Hardware: All   
OS: GNU/Linux   
namespace:

Description Jakub Jelinek 2009-12-05 11:56:03 CET
mythtv doesn't output any sound in F12, worked just fine with mythtv-0.22-0.2.svn.r20586.fc11.x86_64 in F11.  I'm using GNOME desktop, default pulseaudio configuration, in mythtv ALSA:default device, ALSA:default mixer with Master.

AudioPulseUtil: Suspend Success
is printed near start of mythfrontend, then
Opening ALSA audio device 'default'.
ALSA, Warning: mmap not available, attempting to fall back to slow writes.
when it actually starts playing a movie,
AudioPulseUtil: Resume Success
near the termination (in both F11 and F12, except that in F11 I hear sound and in F12 I don't).  aplay works well in both cases when mythtv isn't running, but in F11 it works also well when mythtv is playing a movie and I switch to another screen and run aplay there, while on F12 aplay hangs if I do that.  I've tried various sound setting in mythtv, including ALSA:pulse, etc., but no success so far.  PulseAudio:default isn't apparently supported in the mythtv provided for F12.
Comment 1 Jakub Jelinek 2009-12-06 16:49:37 CET
Installed mythtv-0.22-2.fc11 on F11 today and sound works well there.  So it might be a pulseaudio bug, or just that what mythtvfrontend does with pulseaudio can't work in F12.  I wonder why it needs to suspend pulseaudio (if it is what it actually does) and if sound can actually work with suspended pa.
Comment 2 Robert 'Bob' Jensen 2009-12-10 06:38:54 CET
Upgraded from F11 to F12 today, I also have no audio when mythfrontend is running.

2009-12-09 23:27:48.250 mythfrontend version: tags/release-0-22 [0.22] www.mythtv.org
2009-12-09 23:27:48.338 AudioPulseUtil: Suspend Success

My "Audio output device" is ALSA:default
   "Passthrough output device" is Default
   "Mixer Device" is ALSA:default

You know how to find me on IRC if you need info or testing.
Comment 3 Robert 'Bob' Jensen 2009-12-10 19:06:08 CET
I was hoping that installing the F11 packages that were working for me on F11 would make a difference, installing them on my F12 system reproduced the bug. Appears to me this is not a packaging issue but an upstream bug either PulseAudio, MythTV or Other? 
Comment 4 Robert 'Bob' Jensen 2009-12-16 20:48:47 CET
Jarod,

Any idea when you might get time to look at this? Starting to get frustrated having to run F11 just so mythfrontend works.
Comment 5 Jarod Wilson 2009-12-16 20:57:41 CET
Possibly over the winter break (I have Dec 24 - Jan 3 off), but I wouldn't count on it. Too many other higher priority things going on right now. Also not helped by the fact my own F12 frontend has no problems at all with sound, because I simply remove pulseaudio (its never behaved well with raw digital audio pass-through for me), and I really don't know or care to know much of anything about pulseaudio...
Comment 6 Jarod Wilson 2009-12-22 21:01:56 CET
Does starting mythfrontend like so help?:

EXPERIMENTALLY_ALLOW_PULSE_AUDIO=1 mythfrontend
Comment 7 Jakub Jelinek 2009-12-22 21:33:57 CET
That works well (in the 30 seconds testing I've done so far).
Comment 8 Robert 'Bob' Jensen 2009-12-22 22:35:45 CET
Using the above command results look good here.

Testing with no other audio apps, Works.
Testing with other audio app running already, Works.
Testing system sounds with mythfrontend running, Works.

-- Bob
Comment 9 Jakub Jelinek 2010-05-28 11:56:01 CEST
Unfortunately this problem on F12 is back with mythtv 0.23, EXPERIMENTALLY_ALLOW_PULSE_AUDIO=1 doesn't help any longer, mythtv is mute.  Tried ALSA:default with that env var, PulseAudio:default etc.
Comment 10 Jakub Jelinek 2010-05-28 12:20:00 CEST
Actually, after a few alsaunmute calls, sticking with PulseAudio:default and dropping the env var things now work.  Sorry for the noise.
Comment 11 Robert 'Bob' Jensen 2010-08-10 09:38:06 CEST
(In reply to comment #10)
> Actually, after a few alsaunmute calls, sticking with PulseAudio:default and
> dropping the env var things now work.  Sorry for the noise.
> 

Jakub, moved to F13 here after a few months of not using my myth gear, again my audio is muted. Any reasonable suggestions available?
Comment 12 Bob Lightfoot 2010-08-10 16:30:48 CEST
I've run myth0.22 on F12 and 0.23 on F13.  I've found that if ALSA:default will not produce sound then I use ALSA:front.  I also just checked and I am using the PCM Mixer with ALSA:front.  Don't know if this helps in this case or not.  Also can't remember the details now but my ALSA would start up muted because the settings for front were muted in the default settings file.  Once I changed this I've had no sound issues with myth.
Comment 13 Jarod Wilson 2011-05-24 17:05:32 CEST
Do we still have audio issues? I've got both RHEL6 and Fedora 15 systems that have sound, but I believe that's with the pulse alsa plugin removed, and using alsa natively (for hdmi digital audio out).
Comment 14 Emmanuel Seyman 2012-04-22 22:51:59 CEST
RPMFusion is no longer releasing updates for this version of Fedora. This bug
will be set to RESOLVED:EXPIRED next week to reflect this.

If the problem persists after upgrading to the latest version of Fedora, please
update the version field of this bug (and re-open it if it has been closed).
Comment 15 Emmanuel Seyman 2012-04-30 20:08:22 CEST
Setting to RESOLVED:EXPIRED since RPMFusion is no longer releasing updates for
this version of Fedora.