I've recently re-installed my Ubuntu 19.10 server and transferred a MythTV 0.31 install & database on to it.
Audio works perfectly but when I pause or stop the playback, audio replays the last 0.5 seconds of sound in a loop for around 10 seconds and the UI is frozen. After that, audio stops and the UI becomes responsive again.
The hardware is the same (Nvidia GTX 1030 with HDMI audio output to Samsung TV) but now, there's a weird audio issue with recording playback.
I get the same thing when using the 'Audio' menu in the mythfrontend to test output. I've tried all available ALSA output options and they all do the same weird looping thing while playing the same test sound. I've also tried various playback drivers (vdpau, nvdec, openGL) but same behaviour in each.
Has anyone seen anything like this ? Or any pointers for troubleshooting ?
The ubuntu server is installed with Xubuntu & LightDM only - it wasn't a desktop installation so no Gnome / GDM etc.
Frontend logs :
Code: Select all
# Exit recording
Apr 19 20:59:08 newton mythfrontend.real: mythfrontend[9872]: I CoreContext audio/audiooutputbase.cpp:860 (KillAudio) AOBase: Killing AudioOutputDSP
Apr 19 20:59:15 newton mythfrontend.real: mythfrontend[9872]: I AudioOutputBase audio/audiooutputalsa.cpp:576 (WriteAudio) ALSA: WriteAudio: short write 1512 bytes (ok)
Apr 19 20:59:15 newton mythfrontend.real: mythfrontend[9872]: I AudioOutputBase audio/audiooutputbase.cpp:1716 (OutputAudioLoop) AOBase: OutputAudioLoop: Stop Event
Apr 19 20:59:15 newton mythfrontend.real: mythfrontend[9872]: I AudioOutputBase audio/audiooutputbase.cpp:1836 (run) AOBase: kickoffOutputAudioLoop exiting
## Looping audio here, UI is frozen...
## Looping audio ends, UI responsive again
Apr 19 20:59:25 newton mythfrontend.real: mythfrontend[9872]: I CoreContext mythplayer.cpp:2777 (StopPlaying) Player(0): StopPlaying - end
Apr 19 20:59:25 newton mythfrontend.real: mythfrontend[9872]: I CoreContext tv_play.cpp:2617 (StopStuff) TV::StopStuff(): Stopping ring buffer
Apr 19 20:59:25 newton mythfrontend.real: mythfrontend[9872]: I CoreContext tv_play.cpp:2628 (StopStuff) TV::StopStuff(): Stopping player
Apr 19 20:59:25 newton mythfrontend.real: mythfrontend[9872]: I CoreContext tv_play.cpp:2437 (HandleStateChange) TV::HandleStateChange(): Changing from WatchingPreRecorded to None
Apr 19 20:59:25 newton mythfrontend.real: mythfrontend[9872]: I CoreContext tv_play.cpp:393 (StartTV) TV::StartTV(): Exiting main playback loop.
Apr 19 20:59:25 newton mythfrontend.real: mythfrontend[9872]: I CoreContext tv_play.cpp:421 (StartTV) TV::StartTV(): -- process events 2 begin
Apr 19 20:59:25 newton mythfrontend.real: mythfrontend[9872]: I CoreContext tv_play.cpp:425 (StartTV) TV::StartTV(): -- process events 2 end
Apr 19 20:59:25 newton mythfrontend.real: mythfrontend[9872]: I CoreContext tv_play.cpp:1281 (~TV) TV::~TV(): -- lock
Apr 19 20:59:25 newton mythfrontend.real: mythfrontend[9872]: I CoreContext mythplayer.cpp:2766 (StopPlaying) Player(0): StopPlaying - begin
Apr 19 20:59:25 newton mythfrontend.real: mythfrontend[9872]: I CoreContext mythplayer.cpp:3192 (DecoderEnd) Player(0): Exited decoder loop.
Apr 19 20:59:25 newton mythfrontend.real: mythfrontend[9872]: I CoreContext mythplayer.cpp:2777 (StopPlaying) Player(0): StopPlaying - end
Apr 19 20:59:25 newton mythfrontend.real: mythfrontend[9872]: N CoreContext mythmainwindow.cpp:2859 (PauseIdleTimer) Resuming idle timer