[mythtv-users] 0.26 and Intel graphics problems

Fredrik Lingvall fredrik.lingvall at gmail.com
Fri Nov 2 13:58:56 UTC 2012


On 11/02/12 14:14, Fredrik Lingvall wrote:
> On 10/29/12 09:26, Fredrik Lingvall wrote:
>> Hi all,
>>
>> I have this setup:
>>
>> * Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz
>> * Motherboard: ASUS P8H77-M
>> * Sony Bravia TV via HDMI
>>
>> I'm on a Gentoo x86-64 system using:
>>
>> [~] x11-libs/libva-1.1.0  USE="X opengl -egl -wayland" 
>> VIDEO_CARDS="intel -dummy -fglrx -nvidia"
>> [~] x11-libs/libdrm-2.4.39  USE="libkms -static-libs" 
>> VIDEO_CARDS="intel (-exynos) -nouveau (-omap) -radeon -vmware"
>> [~] media-libs/mesa-9_pre20120831-r1  USE="classic egl g3dvl gallium 
>> gbm gles1 gles2 llvm nptl openvg shared-glapi vdpau xa xorg -bindist 
>> -debug -osmesa -pax_kernel -pic -r600-llvm-compiler (-selinux) 
>> -wayland -xvmc" VIDEO_CARDS="i915 i965 intel -nouveau -r100 -r200 
>> -r300 -r600 -radeon -radeonsi -vmware"
>> [~] x11-drivers/xf86-video-intel-2.20.12  USE="dri sna udev uxa xvmc 
>> -glamor"
>> [~] x11-libs/libva-intel-driver-1.0.18-r1
>> [~] media-tv/mythtv-0.26.0::mythtv  USE="alsa bluray dvb dvd fftw hls 
>> ieee1394 jack lirc perl python theora vaapi vdpau vorbis xml xmltv 
>> xvid (-altivec) -autostart -cec -crystalhd -debug -egl -lcd -libass 
>> -pulseaudio -raop" INPUT_DEVICES="-joystick"
>>
>> The MythTV ebuild and patches are from here: 
>> https://bugs.gentoo.org/show_bug.cgi?id=437140 (I made my own ebuild 
>> for the plugins based on the 0.25 plugins ebuild)
>>
>> # vainfo
>>
>> libva info: VA-API version 0.33.0
>> libva info: va_getDriverName() returns 0
>> libva info: Trying to open /usr/lib64/va/drivers/i965_drv_video.so
>> libva info: Found init function __vaDriverInit_0_33
>> libva info: va_openDriver() returns 0
>> vainfo: VA-API version: 0.33 (libva 1.1.0)
>> vainfo: Driver version: Intel i965 driver - 1.0.18
>> vainfo: Supported profile and entrypoints
>>       VAProfileMPEG2Simple            : VAEntrypointVLD
>>       VAProfileMPEG2Main              : VAEntrypointVLD
>>       VAProfileH264Baseline           : VAEntrypointVLD
>>       VAProfileH264Baseline           : VAEntrypointEncSlice
>>       VAProfileH264Main               : VAEntrypointVLD
>>       VAProfileH264Main               : VAEntrypointEncSlice
>>       VAProfileH264High               : VAEntrypointVLD
>>       VAProfileH264High               : VAEntrypointEncSlice
>>       VAProfileVC1Simple              : VAEntrypointVLD
>>       VAProfileVC1Main                : VAEntrypointVLD
>>       VAProfileVC1Advanced            : VAEntrypointVLD
>>       VAProfileJPEGBaseline           : VAEntrypointVLD
>>
>>
>> I have problems with getting the graphics to work properly in 0.26. 
>> This is a summary.
>>
>> * VAAPI does not work unless I switch from the Qt renderer to OpenGL 
>> (in the frontend) but then I don't see any channel icons and time 
>> tables in the schedule (top and left side headings are missing).
>>
>> * I get a clearly visible tearing, both using VAAPI and Xvideo, in 
>> the upper part of the screen when there is a lot of panning in the 
>> video.
>>
>>  http://www.mythtv.org/pipermail/mythtv-users/2012-January/326392.html
>>
>> * HD TV content is stuttering severly
>>
>>  http://code.mythtv.org/trac/ticket/11159
>>
>> Does anyone have the Intel graphics working properly in 0.26?
>>
>> Regards,
>>
>> /Fredrik
>>
>
> I did some more debugging of the stuttering problem (and I can see 
> this for some non-HD TV files too). Here is a part of the frontend log:
>
> -snip-
>
> 2012-11-02 13:16:08.475995 I  TV: Creating TV object
> 2012-11-02 13:16:08.478112 I  TV: Finished creating TV object
> 2012-11-02 13:16:08.478117 I  TV: StartTV() -- begin
> 2012-11-02 13:16:08.478165 N  Resuming idle timer
> 2012-11-02 13:16:08.478169 N  Suspending idle timer
> 2012-11-02 13:16:08.478173 I  TV: Init -- begin
> 2012-11-02 13:16:08.479858 I  TV: Created TvPlayWindow.
> 2012-11-02 13:16:08.480019 I  TV: DrawUnusedRects() -- begin
> 2012-11-02 13:16:08.480025 I  TV: DrawUnusedRects() -- end
> 2012-11-02 13:16:08.480531 I  TV: Init -- end
> 2012-11-02 13:16:08.480850 I  TV: tv->Playback() -- begin
> 2012-11-02 13:16:08.483406 I  TV: HandleStateChange(0) -- begin
> 2012-11-02 13:16:08.483413 I  TV: Attempting to change from None to 
> WatchingPreRecorded
> 2012-11-02 13:16:08.483901 I  
> FileRingBuf(/mnt/recordings/video/mythtv/LiveTV/1007_20120114134534.mpg): 
> OpenFile(/mnt/recordings/video/mythtv/LiveTV/1007_20120114134534.mpg, 
> 2000 ms)
> 2012-11-02 13:16:08.484360 I  TV: StartPlayer(0, WatchingPreRecorded, 
> main) -- begin
> 2012-11-02 13:16:08.484369 I  TV: Elapsed time since TV constructor 
> was called: 9 ms
> 2012-11-02 13:16:08.623571 I  AOS: Sample rate 44100 is supported
> 2012-11-02 13:16:08.623587 I  AOS: Format 32 bit floating point is 
> supported
> 2012-11-02 13:16:08.623601 I  AOS: 2 channel(s) are supported
> 2012-11-02 13:16:08.623608 I  AOJack: Adding channels: 2
> 2012-11-02 13:16:08.623614 I  AOS: 3 channel(s) are supported
> 2012-11-02 13:16:08.623620 I  AOJack: Adding channels: 3
> 2012-11-02 13:16:08.623626 I  AOS: 4 channel(s) are supported
> 2012-11-02 13:16:08.623629 I  AOJack: Adding channels: 4
> 2012-11-02 13:16:08.623634 I  AOS: 5 channel(s) are supported
> 2012-11-02 13:16:08.623636 I  AOJack: Adding channels: 5
> 2012-11-02 13:16:08.623640 I  AOS: 6 channel(s) are supported
> 2012-11-02 13:16:08.623643 I  AOJack: Adding channels: 6
> 2012-11-02 13:16:08.623646 I  AOS: 7 channel(s) are supported
> 2012-11-02 13:16:08.623649 I  AOJack: Adding channels: 7
> 2012-11-02 13:16:08.623651 I  AOS: 8 channel(s) are supported
> 2012-11-02 13:16:08.623655 I  AOJack: Adding channels: 8
> 2012-11-02 13:16:08.623789 N  AudioPlayer: Enabling Audio
> 2012-11-02 13:16:08.624670 I  Player(3): Stretch Factor 1, allow passthru
> 2012-11-02 13:16:08.624781 I  AFD: Buffer size: 32768, streamed 0
> 2012-11-02 13:16:08.733487 I  AFD: Stream #0, has id 0xd3 codec id 
> H264, type Video, bitrate 0 at 0x3466ae0
> 2012-11-02 13:16:08.734924 I  VDP: Accepting: cmp(> 0 0) dec(vaapi) 
> cpus(2) skiploop(enabled) rend(openglvaapi) osd(opengl2) 
> osdfade(enabled) deint(vaapibobdeint,vaapionefield) filt()
> 2012-11-02 13:16:08.734940 I  VDP: Accepting: cmp(> 0 0) dec(ffmpeg) 
> cpus(2) skiploop(enabled) rend(opengl) osd(opengl2) osdfade(enabled) 
> deint(opengldoubleratekerneldeint,openglkerneldeint) filt()
> 2012-11-02 13:16:08.734946 I  VDP: LoadBestPreferences(2048x2048, 0)
> 2012-11-02 13:16:08.734957 I  VDP: LoadBestPreferences(2048x2048, 60)
> 2012-11-02 13:16:08.734963 I  VDP: LoadBestPreferences(1280x720, 60)
> 2012-11-02 13:16:08.736211 I  VAAPI: Created VAAPI X11 display
> 2012-11-02 13:16:08.736222 I  VAAPI: Desired profile for 'H.264 
> VAAPI': H264High
> 2012-11-02 13:16:08.736227 I  VAAPI: Found profile H264High with entry 
> VLD
> 2012-11-02 13:16:08.736235 I  VAAPI: Created context (1280x720->1280x720)
> 2012-11-02 13:16:08.736242 I  VideoOutput: CalcHueBase(Intel i965 
> driver - 1.0.18): Unknown adaptor, hue may be wrong.
> 2012-11-02 13:16:08.736246 I  VideoOutput: Please open a ticket if you 
> need to adjust the hue.
> 2012-11-02 13:16:08.736772 I  VAAPI: Deleting VAAPI display.
> 2012-11-02 13:16:08.736775 I  VAAPI: Deleted context
> 2012-11-02 13:16:08.736779 I  AFD: Using 1 CPUs for decoding
> 2012-11-02 13:16:08.736783 I  AFD: InitVideoCodec() 0x53952a0 id(H264) 
> type (Video).
> 2012-11-02 13:16:08.736802 I  AFD: Selected FPS is 50 (avg 52.2727 
> codec 50 container 90000 estimated 50)
> 2012-11-02 13:16:08.736809 I  Player(3): SetFrameInterval ps:1 scan:3
> 2012-11-02 13:16:08.736816 I  Player(3): detectInterlace(Detect Scan, 
> Interlaced Scan, 50, 720) ->Progressive Scan
> 2012-11-02 13:16:08.736832 I  AFD: Using vaapi for video decoding
> 2012-11-02 13:16:08.736834 I  AFD: Looking for decoder for H264
> 2012-11-02 13:16:08.736962 I  AFD: Opened codec 0x53952a0, id(H264) 
> type(Video)
> 2012-11-02 13:16:08.736969 I  AFD: Stream #1, has id 0xd2 codec id 
> AC3, type Audio, bitrate 448000 at 0x2bf72e0
> 2012-11-02 13:16:08.736972 I  AFD: codec AC3 has 2 channels
> 2012-11-02 13:16:08.736974 I  AFD: Looking for decoder for AC3
> 2012-11-02 13:16:08.737137 I  AFD: Opened codec 0x2bf7f00, id(AC3) 
> type(Audio)
> 2012-11-02 13:16:08.737149 I  AFD: Audio Track #1, with type 0 is A/V 
> stream #1 and has 2 channels in the Swedish language(7567205).
> 2012-11-02 13:16:08.737155 I  AFD: Stream #2, has id 0xd1 codec id 
> DVB_TELETEXT, type Subtitle, bitrate 0 at 0x2bf74e0
> 2012-11-02 13:16:08.737163 I  AFD: Teletext stream #0 (Menu) is in the 
> Swedish language on page 1 0.
> 2012-11-02 13:16:08.737166 I  AFD: subtitle codec (Subtitle)
> 2012-11-02 13:16:08.737175 I  AFD: Selected track 1: Swedish AC3 2ch 
> (A/V Stream #1)
> 2012-11-02 13:16:08.737181 I  AFD: Initializing audio parms from audio 
> track #1
> 2012-11-02 13:16:08.737190 I  AFD: Audio format changed
>                         from id(NONE)     -1Hz -1ch -1bps     (profile 
> 0) to id( AC3)  48000Hz  2ch 16bps     (profile 0)
> 2012-11-02 13:16:08.737198 I  AO: Killing AudioOutputDSP
> 2012-11-02 13:16:08.737200 I  AOJack: Jack: Stop Event
> 2012-11-02 13:16:08.737206 I  AO: Original codec was AC3, signed 16 
> bit, 48 kHz, 2 channels
> 2012-11-02 13:16:08.737212 I  AO: enc(0), passthru(0), features (LPCM) 
> configured_channels(2), 2 channels supported(1) max_channels(2)
> 2012-11-02 13:16:08.737216 I  AO: Resampling from 48 kHz to 44 kHz 
> with quality medium
> 2012-11-02 13:16:08.737258 I  AO: Resampler allocating 15056
> 2012-11-02 13:16:08.737261 I  AO: Audio processing enabled
> 2012-11-02 13:16:08.737266 I  AO: Opening audio device '' ch 2(2) sr 
> 44100 sf 32 bit floating point reenc 0
> 2012-11-02 13:16:08.737269 I  AOJack: Opening JACK audio device: ''.
> 2012-11-02 13:16:08.820657 I  AOJack: JACK graph reordered. Maximum 
> latency=0
> 2012-11-02 13:16:08.821287 I  AOJack: JACK graph reordered. Maximum 
> latency=1024
> 2012-11-02 13:16:08.821591 I  AOJack: JACK graph reordered. Maximum 
> latency=1024
> 2012-11-02 13:16:08.821669 I  AO: Audio fragment size: 8192
> 2012-11-02 13:16:08.821679 I  AO: Audio Stretch Factor: 1
> 2012-11-02 13:16:08.821683 I  AO: Ending Reconfigure()
> 2012-11-02 13:16:08.821695 I  Dec: Selected track #1 in the Unknown 
> language(0)
> 2012-11-02 13:16:08.821701 I  Dec: Selected track #1 in the Swedish 
> language(7567205)
> 2012-11-02 13:16:08.821706 I  Dec: Resyncing position map. 
> posmapStarted = 0 livetv(0) watchingRec(0)
> 2012-11-02 13:16:08.827916 I  AOJack: JackCallback: Play Event
> 2012-11-02 13:16:08.827927 E  AOJack: Having to insert silence because 
> GetAudioData hasn't returned enough data. Wanted: 8192 Got: 0
> 2012-11-02 13:16:08.828905 I  Dec: Position map filled from DB to: 185073
> 2012-11-02 13:16:08.829064 I  Dec: SyncPositionMap prerecorded, from 
> DB: 5878 entries
> 2012-11-02 13:16:08.829070 I  Dec: SyncPositionMap, new totframes: 
> 185073, new length: 3701, posMap size: 5878
> 2012-11-02 13:16:08.829853 I  AFD: Position map found
> 2012-11-02 13:16:08.829859 I  AFD: Successfully opened decoder for 
> file: "/mnt/recordings/video/mythtv/LiveTV/1007_20120114134534.mpg". 
> novideo(0)
> 2012-11-02 13:16:08.832765 I  VideoOutput: Allowed renderers: openglvaapi
> 2012-11-02 13:16:08.832774 I  VideoOutput: Allowed renderers (filt: 
> vaapi): openglvaapi
> 2012-11-02 13:16:08.833605 I  VDP: Accepting: cmp(> 0 0) dec(vaapi) 
> cpus(2) skiploop(enabled) rend(openglvaapi) osd(opengl2) 
> osdfade(enabled) deint(vaapibobdeint,vaapionefield) filt()
> 2012-11-02 13:16:08.833619 I  VDP: Accepting: cmp(> 0 0) dec(ffmpeg) 
> cpus(2) skiploop(enabled) rend(opengl) osd(opengl2) osdfade(enabled) 
> deint(opengldoubleratekerneldeint,openglkerneldeint) filt()
> 2012-11-02 13:16:08.833624 I  VDP: LoadBestPreferences(2048x2048, 0)
> 2012-11-02 13:16:08.833634 I  VDP: LoadBestPreferences(2048x2048, 60)
> 2012-11-02 13:16:08.833640 I  VDP: LoadBestPreferences(1280x720, 60)
> 2012-11-02 13:16:08.833646 I  VideoOutput: Preferred renderer: 
> openglvaapi
> 2012-11-02 13:16:08.833651 I  VideoOutput: Trying video renderer: 
> 'openglvaapi'
> 2012-11-02 13:16:08.835580 I  VDP: Accepting: cmp(> 0 0) dec(vaapi) 
> cpus(2) skiploop(enabled) rend(openglvaapi) osd(opengl2) 
> osdfade(enabled) deint(vaapibobdeint,vaapionefield) filt()
> 2012-11-02 13:16:08.835595 I  VDP: Accepting: cmp(> 0 0) dec(ffmpeg) 
> cpus(2) skiploop(enabled) rend(opengl) osd(opengl2) osdfade(enabled) 
> deint(opengldoubleratekerneldeint,openglkerneldeint) filt()
> 2012-11-02 13:16:08.835600 I  VDP: LoadBestPreferences(2048x2048, 0)
> 2012-11-02 13:16:08.835608 I  VDP: LoadBestPreferences(2048x2048, 60)
> 2012-11-02 13:16:08.837399 I  VDP: Accepting: cmp(> 0 0) dec(vaapi) 
> cpus(2) skiploop(enabled) rend(openglvaapi) osd(opengl2) 
> osdfade(enabled) deint(vaapibobdeint,vaapionefield) filt()
> 2012-11-02 13:16:08.837414 I  VDP: Accepting: cmp(> 0 0) dec(ffmpeg) 
> cpus(2) skiploop(enabled) rend(opengl) osd(opengl2) osdfade(enabled) 
> deint(opengldoubleratekerneldeint,openglkerneldeint) filt()
> 2012-11-02 13:16:08.837419 I  VDP: LoadBestPreferences(2048x2048, 0)
> 2012-11-02 13:16:08.837426 I  VDP: LoadBestPreferences(2048x2048, 60)
> 2012-11-02 13:16:08.837434 I  VideoOutWindow::SetPIPState. pip_state: 0]
> 2012-11-02 13:16:08.837438 I  VDP: LoadBestPreferences(2048x2048, 50)
> 2012-11-02 13:16:08.837448 I  Display Rect  left: 0, top: 0, width: 
> 1920, height: 1080, aspect: 1.33333
> 2012-11-02 13:16:08.837453 I  Video Rect    left: 0, top: 0, width: 
> 1280, height: 720, aspect: 1.33333
> 2012-11-02 13:16:08.837456 I  VDP: LoadBestPreferences(1280x720, 50)
> 2012-11-02 13:16:08.837464 I  Display Rect  left: 0, top: 0, width: 
> 1920, height: 1080, aspect: 1.33333
> 2012-11-02 13:16:08.837468 I  Video Rect    left: 0, top: 0, width: 
> 1280, height: 720, aspect: 1.33333
> 2012-11-02 13:16:08.837471 I  VDP: SetVideoRenderer(openglvaapi)
> 2012-11-02 13:16:08.837474 I  VDP: SetVideoRender(openglvaapi) == 
> GetVideoRenderer()
> 2012-11-02 13:16:08.837487 I  VidOutGL: Using main UI render context
> 2012-11-02 13:16:08.838543 I  VideoOutput: Pixel dimensions: Screen 
> 1920x1080, window 1920x1080
> 2012-11-02 13:16:08.838551 I  VideoOutput: Actual display dimensions: 
> 508x285 mm  Aspect: 1.78246
> 2012-11-02 13:16:08.838555 I  VideoOutput: Estimated window 
> dimensions: 508x285 mm  Aspect: 1.78246
> 2012-11-02 13:16:08.838558 I  VidOutGL: Using main UI painter
> 2012-11-02 13:16:08.838670 I  GLVid: Viewport: 1920x1080
> 2012-11-02 13:16:08.838674 I  ColourSpace: PictureAttributes:
> 2012-11-02 13:16:08.844904 I  GLVid: Creating resize filter.
> 2012-11-02 13:16:08.844912 I  GLVid: Using raw RGBA input textures.
> 2012-11-02 13:16:08.844920 I  GLVid: MMX: 1 PBO: 1
> 2012-11-02 13:16:08.844943 I  Display Rect  left: 240, top: 0, width: 
> 1440, height: 1080, aspect: 1.77778
> 2012-11-02 13:16:08.844949 I  Video Rect    left: 0, top: 0, width: 
> 1280, height: 720, aspect: 1.33333
> 2012-11-02 13:16:08.846129 I  VAAPI: Created VAAPI GLX display
> 2012-11-02 13:16:08.846139 I  VAAPI: Desired profile for 'H.264 
> VAAPI': H264High
> 2012-11-02 13:16:08.846142 I  VAAPI: Found profile H264High with entry 
> VLD
> 2012-11-02 13:16:08.846147 I  VAAPI: Created context (1280x720->1280x720)
> 2012-11-02 13:16:08.846153 I  VideoOutput: CalcHueBase(Intel i965 
> driver - 1.0.18): Unknown adaptor, hue may be wrong.
> 2012-11-02 13:16:08.846155 I  VideoOutput: Please open a ticket if you 
> need to adjust the hue.
> 2012-11-02 13:16:08.846293 I  VAAPI: Created 24 buffers
> 2012-11-02 13:16:08.846300 I  ColourSpace: PictureAttributes:
> 2012-11-02 13:16:08.846317 I  Over/underscan. V: 0, H: 0
> 2012-11-02 13:16:08.846324 I  Display Rect  left: 240, top: 0, width: 
> 1440, height: 1080, aspect: 1.77778
> 2012-11-02 13:16:08.846329 I  Video Rect    left: 0, top: 0, width: 
> 1280, height: 720, aspect: 1.33333
> 2012-11-02 13:16:08.846342 I  Player(3): LoadFilters(''..) -> 0x0
> 2012-11-02 13:16:08.848252 I  Player(3): Decoder thread starting.
> 2012-11-02 13:16:08.850188 I  OSD: Loaded window osd_message
> 2012-11-02 13:16:08.851147 E  AOJack: Having to insert silence because 
> GetAudioData hasn't returned enough data. Wanted: 8192 Got: 0
> 2012-11-02 13:16:08.852001 I  OSD: Loaded window osd_input
> 2012-11-02 13:16:08.855881 I  OSD: Loaded window program_info
> 2012-11-02 13:16:08.858094 I  OSD: Loaded window browse_info
> 2012-11-02 13:16:08.860116 I  OSD: Loaded window osd_status
> 2012-11-02 13:16:08.862156 I  OSD: Loaded window osd_program_editor
> 2012-11-02 13:16:08.865079 I  OSD: Loaded window osd_debug
> 2012-11-02 13:16:08.865086 I  OSD: Loaded OSD: size 1920x1080 offset 0+0
> 2012-11-02 13:16:08.865102 I  OSD: Created window aa_OSD_SUBTITLES
> 2012-11-02 13:16:08.865117 I  Player(3): ClearAfterSeek(0)
> 2012-11-02 13:16:08.874345 I  AOJack: JackCallback: Play Event
> 2012-11-02 13:16:08.874355 E  AOJack: Having to insert silence because 
> GetAudioData hasn't returned enough data. Wanted: 8192 Got: 0
> 2012-11-02 13:16:08.894660 I  Player(3): Video timing method: DRM
> 2012-11-02 13:16:08.894668 I  Player(3): Display Refresh Rate: 59.999 
> Video Frame Rate: 50.000
> 2012-11-02 13:16:08.894672 I  Player(3): SetFrameInterval ps:1 scan:1
> 2012-11-02 13:16:08.897555 E  AOJack: Having to insert silence because 
> GetAudioData hasn't returned enough data. Wanted: 8192 Got: 0
> 2012-11-02 13:16:08.911041 I  playCtx: StartPlaying(): took 0 ms to 
> start player.
> 2012-11-02 13:16:08.911059 I  TV: Created player.
> 2012-11-02 13:16:08.911073 I  TV: StartPlayer(0, WatchingPreRecorded, 
> main) -- end ok
> 2012-11-02 13:16:08.911320 I  TV: Changing from None to 
> WatchingPreRecorded
> 2012-11-02 13:16:08.912092 I  TV: DrawUnusedRects() -- begin
> 2012-11-02 13:16:08.912098 I  TV: DrawUnusedRects() -- end
> 2012-11-02 13:16:08.912118 I  TV: Main UI disabled.
> 2012-11-02 13:16:08.912122 I  TV: HandleStateChange(0) -- end
> 2012-11-02 13:16:08.912126 I  TV: tv->Playback() -- end
> 2012-11-02 13:16:08.912128 I  TV: Entering main playback loop.
> 2012-11-02 13:16:08.915092 I  ScreenSaverX11Private: DPMS Deactivated 1
> 2012-11-02 13:16:08.915135 I  Player(3): Waiting for video buffers...
> 2012-11-02 13:16:08.927120 I  Player(3): Video Aspect ratio changed 
> from 1.33333 to 1.77778
> 2012-11-02 13:16:08.927133 I  Display Rect  left: 0, top: 0, width: 
> 1920, height: 1080, aspect: 1.77778
> 2012-11-02 13:16:08.927138 I  Video Rect    left: 0, top: 0, width: 
> 1280, height: 720, aspect: 1.77778
> 2012-11-02 13:16:08.927144 I  Player(3): progressive frame seen after 
> 2 interlaced frames
> 2012-11-02 13:16:08.928212 I  VAAPI: Number of VAAPI GLX surfaces: 1
> 2012-11-02 13:16:08.993620 I  Player(3): Video is 10.1542 frames ahead 
> of audio,
>                         doubling video frame interval to slow down.
> 2012-11-02 13:16:08.993657 I  Player(3): Disabled deinterlacing
> 2012-11-02 13:16:09.026937 I  Player(3): Video is 17.5657 frames ahead 
> of audio,
>                         doubling video frame interval to slow down.
> 2012-11-02 13:16:09.076939 I  Player(3): Video is 22.8661 frames ahead 
> of audio,
>                         doubling video frame interval to slow down.
> 2012-11-02 13:16:09.110321 I  Player(3): Video is 26.6039 frames ahead 
> of audio,
>                         doubling video frame interval to slow down.
> 2012-11-02 13:16:09.143645 I  Player(3): Video is 29.1491 frames ahead 
> of audio,
>                         doubling video frame interval to slow down.
> 2012-11-02 13:16:09.193778 I  Player(3): Video is 30 frames ahead of 
> audio,
>                         doubling video frame interval to slow down.
> 2012-11-02 13:16:09.226961 I  Player(3): Video is 30 frames ahead of 
> audio,
>                         doubling video frame interval to slow down.
> 2012-11-02 13:16:09.276993 I  Player(3): Video is 30 frames ahead of 
> audio,
>                         doubling video frame interval to slow down.
> 2012-11-02 13:16:09.310312 I  Player(3): Video is 30 frames ahead of 
> audio,
>                         doubling video frame interval to slow down.
> 2012-11-02 13:16:09.343643 I  Player(3): Video is 30 frames ahead of 
> audio,
>                         doubling video frame interval to slow down.
> 2012-11-02 13:16:09.393769 I  Player(3): Video is 30 frames ahead of 
> audio,
>                         doubling video frame interval to slow down.
> 2012-11-02 13:16:09.426972 I  Player(3): Video is 30 frames ahead of 
> audio,
>                         doubling video frame interval to slow down.
> 2012-11-02 13:16:09.477108 I  Player(3): Video is 30 frames ahead of 
> audio,
>                         doubling video frame interval to slow down.
> 2012-11-02 13:16:09.510311 I  Player(3): Video is 29.9962 frames ahead 
> of audio,
>                         doubling video frame interval to slow down.
> 2012-11-02 13:16:09.543597 I  Player(3): Video is 29.1932 frames ahead 
> of audio,
>                         doubling video frame interval to slow down.
> 2012-11-02 13:16:09.593766 I  Player(3): Video is 28.3449 frames ahead 
> of audio,
>                         doubling video frame interval to slow down.
> 2012-11-02 13:16:09.626952 I  Player(3): Video is 27.4589 frames ahead 
> of audio,
>                         doubling video frame interval to slow down.
> 2012-11-02 13:16:09.677099 I  Player(3): Video is 26.5481 frames ahead 
> of audio,
>                         doubling video frame interval to slow down.
> 2012-11-02 13:16:09.687162 E  AOJack: Having to insert silence because 
> GetAudioData hasn't returned enough data. Wanted: 8192 Got: 240
> 2012-11-02 13:16:09.710303 E  AOJack: Having to insert silence because 
> GetAudioData hasn't returned enough data. Wanted: 8192 Got: 0
> 2012-11-02 13:16:09.710313 I  Player(3): Video is 25.6029 frames ahead 
> of audio,
>                         doubling video frame interval to slow down.
> 2012-11-02 13:16:09.733545 E  AOJack: Having to insert silence because 
> GetAudioData hasn't returned enough data. Wanted: 8192 Got: 0
> 2012-11-02 13:16:09.743636 I  Player(3): Video is 25.0607 frames ahead 
> of audio,
>                         doubling video frame interval to slow down.
>
> -snip-
>
> Switching to ALSA and Xvideo does not help:
>
> -snip-
>
> 2012-11-02 14:02:30.057929 I  Player(1): Video is 15.0318 frames ahead 
> of audio,
>                         doubling video frame interval to slow down.
> 2012-11-02 14:02:30.107979 I  Player(1): Video is 14.865 frames ahead 
> of audio,
>                         doubling video frame interval to slow down.
> 2012-11-02 14:02:30.108923 I  ALSA: WriteAudio: buffer underrun
> 2012-11-02 14:02:30.141245 I  Player(1): Video is 14.9023 frames ahead 
> of audio,
>                         doubling video frame interval to slow down.
>
>
> -snip-
>
> MPlayer plays these files fine on the same machine so the stuttering 
> seems related to MythTV and not the Intel graphics. Does anyone have 
> this problem too?
>
> /Fredrik
>
>
I tested this:

http://www.mythtv.org/pipermail/mythtv-users/2012-February/328837.html

and the stuttering went away. It seems like it was the "Extra audio 
buffering" setting in the Video->Playback settings that made the 
difference. I have no idea why this is needed for some files though.

/Fredrik




More information about the mythtv-users mailing list