[mythtv-users] Playback problem with VDPAU

Josu Lazkano josu.lazkano at gmail.com
Sun Sep 18 01:07:23 UTC 2011


2011/9/18 Josu Lazkano <josu.lazkano at gmail.com>:
> 2011/9/17 Tim Draper <veehexx at gmail.com>:
>> re-reading your original post, it looks like that your RAM is not running in
>> dual-channel mode. based from a few other atom/ION based posts here, then
>> that there is causing you issues.
>>
>> from other peoples experiences, the stuttering can be related to a RAM
>> bandwidth issue, so it might be worth rechecking BIOS settings/version to
>> ensure things are working correctly.
>>
>> interesting point on the CPU playback profiles; i know they are far from
>> optimal, but didnt realise they were removed from the dev version.
>>
>> _______________________________________________
>> mythtv-users mailing list
>> mythtv-users at mythtv.org
>> http://www.mythtv.org/mailman/listinfo/mythtv-users
>>
>>
>
> Thanks Tim, the first post-problem is on my father MythTV (no
> dual-channel), but the last myhfrontend logs are from an other MythTV
> (with dual-channel). On both system have similar problems.
>
> I start mythfrontend with -v all and start to tail with lots of "grep -v":
>
> tail -f mythfrontend.log | grep -v "AO:" | grep -v "AFD:" | grep -v
> "RingBuf" | grep -v "A/V timecodes audio" | grep -v "WriteAudio:
> Preparing" | grep -v "AVSync" | grep -v "MythSocket"
>
> I am checking what happens on errors, I notice that mythfrontend can
> not execute a command to change the audio prealloc so I make a sudoers
> rule:
>
> echo 128 | sudo tee /proc/asound/card0/pcm3p/sub0/prealloc
>
> I am looking for more error/fails, but I don't know if they are
> important and really affect to playback stops:
>
> 2011-09-18 02:36:32.150 Player(7): Failed to enable deinterlacing
>
> 2011-09-18 02:46:32.357 ALSA, Error: WriteAudio: buffer underrun
>
> I will try tomorrow all the day with the prealloc, thanks for all your help.
>
> Best regards.
>
> --
> Josu Lazkano
>

Hello again and sorry this post, I forget to put it on the last post.

I notice that some problems is with vdpau and deinterlacing, this is
the command:

tail -f mythfrontend.log | grep Failed -C 15

2011-09-18 03:03:53.782 Video Rect    left: 0, top: 0, width: 1920,
height: 1080, aspect: 1.77778
2011-09-18 03:03:53.782 VidOutVDPAU: Created VDPAU context (GPU decode)
2011-09-18 03:03:53.783 VDP: GetFilteredDeint() : vdpau -> 'none'
2011-09-18 03:03:53.783 Player(b): Forcing decode extra audio option
on (Video method requires it).
2011-09-18 03:03:53.783 Player(b): ClearAfterSeek(1)
2011-09-18 03:03:53.783 VidOutVDPAU: ClearAfterSeek()
2011-09-18 03:03:53.783 VidOutVDPAU: DiscardFrames(0)
2011-09-18 03:03:53.783 VideoBuffers::DiscardFrames(0): AAAAAAAAAAAAAAAAA
2011-09-18 03:03:53.784 VideoBuffers::DiscardFrames(0):
AAAAAAAAAAAAAAAAA -- done
2011-09-18 03:03:53.784 VidOutVDPAU: DiscardFrames() 3:
AAAAAAAAAAAAAAAAA -- done()
2011-09-18 03:03:53.784 Player(b): InitFilters() vo
'vdpauskipchroma,vdpaucolorspace=auto' prog '' over ''
2011-09-18 03:03:53.784 FilterManager: GetFilterInfo(convert) returning: 0x0
2011-09-18 03:03:53.784 Player(b):
LoadFilters('vdpauskipchroma,vdpaucolorspace=auto'..) -> 0x0
2011-09-18 03:03:53.784 Player(b): detectInterlace(Detect Scan,
Interlaced Scan, 25, 1080) ->Interlaced Scan
2011-09-18 03:03:53.785 VDP: GetFilteredDeint() : vdpau -> 'none'
2011-09-18 03:03:53.785 Player(b): Failed to enable deinterlacing
2011-09-18 03:03:53.785 AFD: Using vdpau for video decoding
2011-09-18 03:03:53.785 AFD: Looking for decoder for H264
2011-09-18 03:03:53.786 AFD: Opened codec 0x97e8100, id(H264) type(Video)
2011-09-18 03:03:53.786 AFD: Stream #1, has id 0x1f6 codec id
DVB_TELETEXT, type Subtitle, bitrate 0 at 0x8bcae00
2011-09-18 03:03:53.786 AFD: Teletext stream #0 (Caption) is in the
Spanish; Castilian language on page 8 136.
2011-09-18 03:03:53.786 AFD: Teletext stream #1 (Menu) is in the
Spanish; Castilian language on page 1 0.
2011-09-18 03:03:53.787 AFD: subtitle codec (Subtitle)
2011-09-18 03:03:53.787 AFD: Stream #2, has id 0x1f7 codec id MP2,
type Audio, bitrate 192000 at 0xa5c55c0
2011-09-18 03:03:53.787 AFD: codec MP2 has 2 channels
2011-09-18 03:03:53.787 AFD: Looking for decoder for MP2
2011-09-18 03:03:53.787 AFD: Opened codec 0x9a16b00, id(MP2) type(Audio)
2011-09-18 03:03:53.788 AFD: Audio Track #1 is A/V stream #2 and has 2
channels in the Spanish; Castilian language(7565409).
2011-09-18 03:03:53.788 AFD: Stream #3, has id 0x1f8 codec id MP2,
type Audio, bitrate 128000 at 0x8d73b10
2011-09-18 03:03:53.788 AFD: codec MP2 has 2 channels
2011-09-18 03:03:53.788 AFD: Looking for decoder for MP2

Must I configure the playback profile deeper?

Thanks and best regards.

-- 
Josu Lazkano


More information about the mythtv-users mailing list