[mythtv-users] stuttering / slow video audio using VDPAU w mythbuntu14.04 on Dual Core 1.86 GHz Atom D2550 nvidia GT520M

Anthony Hill arhill at gmail.com
Thu May 1 04:17:16 UTC 2014


Hey all,

Please excuse the repost - but I've had no TV for almost 2 weeks - I (and
the kids) are getting frantic !

..to reiterate -  I;ve got this killer problem - with VDPAU and audio
enabled, video and audio stutter and play real slow on the latest mythbuntu.

I've tried all the available nvidia drivers (from the hardware drivers
menu), messed with the audio buffers, created scripts to spin the CPU to
make sure it doesnt drop too low, and tried every combination of audio
output devices and each VDPAU profile. Audio is just standard analog stereo
out the front headphone / speaker jack.

The only things that have made any significant difference are :-

* disable audio. Video is smooth and full speed using all VDPAU profiles
for HD and SD video and TV if I use the null audio driver.
* disable VDPAU. Sound and video are fine, as long as I dont play HD video
or TV.

..this is a stock mythbuntu system - no crazy drivers from weird
repositories or anything. The hardware has been awesome on older mythtv's
using VDPAU.

Totem and XBMC both play HD video fine. mplayer is a bit crap tho. (audio
sync is all over the place)

I'm surprised no one else is having these problems - I would have thought
this hardware would have been a pretty popular frontend - and as I said -
its a stock standard mythbuntu install.

..I am at a loss - should I raise a ticket ?

Thanks.

btw. Here is a repost of the logs I collected by watching live SD TV, VDPAU
slim profile, with alsa default audio.

Both the audio and the video were very stuttery and slow. 1/2 speed or less
:-

Apr 28 20:59:28 zeddy mythfrontend.real: mythfrontend[10855]: I CoreContext
tv_play.cpp:1058 (TV) TV: Creating TV object
Apr 28 20:59:28 zeddy mythfrontend.real: mythfrontend[10855]: N CoreContext
mythmainwindow.cpp:2638 (PauseIdleTimer) Suspending idle timer
Apr 28 20:59:28 zeddy mythfrontend.real: mythfrontend[10855]: I CoreContext
tv_play.cpp:1275 (Init) TV: Created TvPlayWindow.
Apr 28 20:59:28 zeddy mythfrontend.real: mythfrontend[10855]: I CoreContext
tv_play.cpp:2201 (HandleStateChange) TV: Attempting to change from None to
WatchingLiveTV
Apr 28 20:59:28 zeddy mythfrontend.real: mythfrontend[10855]: I CoreContext
mythcorecontext.cpp:423 (ConnectCommandSocket) MythCoreContext: Connecting
to backend server: 10.0.100.10:6543 (try 1 of 1)
Apr 28 20:59:28 zeddy mythfrontend.real: mythfrontend[10855]: N CoreContext
tv_play.cpp:2270 (HandleStateChange) TV: Spawning LiveTV Recorder -- begin
Apr 28 20:59:28 zeddy mythfrontend.real: mythfrontend[10855]: N CoreContext
tv_play.cpp:2277 (HandleStateChange) TV: Spawning LiveTV Recorder -- end
Apr 28 20:59:28 zeddy mythfrontend.real: mythfrontend[10855]: I CoreContext
tv_play.cpp:2298 (HandleStateChange) TV: playbackURL(myth://
10.0.100.10:6543/1560_20140428105853.mpg) cardtype(DUMMY)
Apr 28 20:59:28 zeddy mythfrontend.real: mythfrontend[10855]: E CoreContext
audio/audiooutputalsa.cpp:172 (GetPCMInfo) ALSA: snd_pcm_info_get_card:
Operation not permitted
Apr 28 20:59:28 zeddy mythfrontend.real: mythfrontend[10855]: N CoreContext
audioplayer.cpp:164 (ReinitAudio) AudioPlayer: Enabling Audio
Apr 28 20:59:28 zeddy mythfrontend.real: mythfrontend[10855]: I CoreContext
mythrender_vdpau.cpp:1689 (CreatePresentationSurfaces) VDPAU: Created 2
output surfaces.
Apr 28 20:59:28 zeddy mythfrontend.real: mythfrontend[10855]: I CoreContext
mythrender_vdpau.cpp:411 (Create) VDPAU: Created VDPAU render device
1920x1080
Apr 28 20:59:29 zeddy mythfrontend.real: mythfrontend[10855]: I CoreContext
mythplayer.cpp:1780 (InitAVSync) Player(1): Video timing method: USleep
with busy wait
Apr 28 20:59:29 zeddy mythfrontend.real: mythfrontend[10855]: I CoreContext
tv_play.cpp:5595 (StartPlayer) TV: Created player.
Apr 28 20:59:29 zeddy mythfrontend.real: mythfrontend[10855]: I CoreContext
tv_play.cpp:2459 (HandleStateChange) TV: Changing from None to
WatchingLiveTV
Apr 28 20:59:29 zeddy mythfrontend.real: mythfrontend[10855]: I CoreContext
tv_play.cpp:2471 (HandleStateChange) TV: State is LiveTV & mctx == ctx
Apr 28 20:59:29 zeddy mythfrontend.real: mythfrontend[10855]: I CoreContext
tv_play.cpp:2473 (HandleStateChange) TV: UpdateOSDInput done
Apr 28 20:59:29 zeddy mythfrontend.real: mythfrontend[10855]: I CoreContext
tv_play.cpp:2475 (HandleStateChange) TV: UpdateLCD done
Apr 28 20:59:29 zeddy mythfrontend.real: mythfrontend[10855]: I CoreContext
tv_play.cpp:2477 (HandleStateChange) TV: ITVRestart done
Apr 28 20:59:29 zeddy mythfrontend.real: mythfrontend[10855]: I CoreContext
tv_play.cpp:2550 (HandleStateChange) TV: Main UI disabled.
Apr 28 20:59:29 zeddy mythfrontend.real: mythfrontend[10855]: I CoreContext
tv_play.cpp:411 (StartTV) TV: Entering main playback loop.
Apr 28 20:59:29 zeddy mythfrontend.real: mythfrontend[10855]: I CoreContext
mythrender_vdpau.cpp:597 (CheckOutputSurfaces) VDPAU: Added 2 output
surfaces (total 4, max 4)
Apr 28 20:59:31 zeddy mythfrontend.real: mythfrontend[10855]: I CoreContext
avformatdecoder.cpp:1898 (ScanStreams) AFD: codec AC3 has 2 channels
Apr 28 20:59:31 zeddy mythfrontend.real: mythfrontend[10855]: I CoreContext
avformatdecoder.cpp:2378 (OpenAVCodec) AFD: Opened codec 0x22e5160, id(AC3)
type(Audio)
Apr 28 20:59:31 zeddy mythfrontend.real: mythfrontend[10855]: W CoreContext
mythpainter.cpp:36 (Teardown) MythPainter: 5 images not yet de-allocated.
Apr 28 20:59:31 zeddy mythfrontend.real: mythfrontend[10855]: I CoreContext
mythpainter_vdpau.cpp:108 (ClearCache) VDPAU Painter: Clearing VDPAU
painter cache.
Apr 28 20:59:31 zeddy mythfrontend.real: mythfrontend[10855]: I CoreContext
mythrender_vdpau.cpp:1689 (CreatePresentationSurfaces) VDPAU: Created 2
output surfaces.
Apr 28 20:59:31 zeddy mythfrontend.real: mythfrontend[10855]: I CoreContext
mythrender_vdpau.cpp:411 (Create) VDPAU: Created VDPAU render device
1920x1080
Apr 28 20:59:31 zeddy mythfrontend.real: mythfrontend[10855]: N CoreContext
mythplayer.cpp:523 (CheckExtraAudioDecode) Player(1): Forcing decode extra
audio option on (Video method requires it).
Apr 28 20:59:31 zeddy mythfrontend.real: mythfrontend[10855]: I CoreContext
avformatdecoder.cpp:2378 (OpenAVCodec) AFD: Opened codec 0x1949580,
id(MPEG2VIDEO) type(Video)
Apr 28 20:59:31 zeddy mythfrontend.real: mythfrontend[10855]: I CoreContext
audio/audiooutputbase.cpp:792 (Reconfigure) AOBase: Opening audio device
'default' ch 2(2) sr 48000 sf 32 bit floating point reenc 0
Apr 28 20:59:32 zeddy mythfrontend.real: mythfrontend[10855]: I CoreContext
mythrender_vdpau.cpp:597 (CheckOutputSurfaces) VDPAU: Added 2 output
surfaces (total 4, max 4)
Apr 28 20:59:37 zeddy mythfrontend.real: mythfrontend[10855]: I CoreContext
tv_play.cpp:2201 (HandleStateChange) TV: Attempting to change from
WatchingLiveTV to None
Apr 28 20:59:37 zeddy mythfrontend.real: mythfrontend[10855]: W CoreContext
mythpainter.cpp:36 (Teardown) MythPainter: 5 images not yet de-allocated.
Apr 28 20:59:37 zeddy mythfrontend.real: mythfrontend[10855]: I CoreContext
mythpainter_vdpau.cpp:108 (ClearCache) VDPAU Painter: Clearing VDPAU
painter cache.
Apr 28 20:59:37 zeddy mythfrontend.real: mythfrontend[10855]: I CoreContext
tv_play.cpp:2459 (HandleStateChange) TV: Changing from WatchingLiveTV to
None
Apr 28 20:59:37 zeddy mythfrontend.real: mythfrontend[10855]: I CoreContext
tv_play.cpp:413 (StartTV) TV: Exiting main playback loop.
Apr 28 20:59:37 zeddy mythfrontend.real: mythfrontend[10855]: N CoreContext
mythmainwindow.cpp:2643 (PauseIdleTimer) Resuming idle timer

-- 
Regards,

Anthony Hill
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20140501/d80acb91/attachment-0001.html>


More information about the mythtv-users mailing list