[mythtv-users] Odd LiveTV problem

Glenn Sommer glemsom at gmail.com
Tue Jun 28 06:10:04 UTC 2011


After a few days of uptime - my mythfrontend starts to behave quite odd.

When I launch LiveTV, I just get a blank screen. It stays blank till I
change the channel to something else. When the channel has changed,
it's playing the content from the previous channel.
example:

* I start LiveTV in channel 1, and wait for 20 seconds where my screen
is just blank.
* I change to channel 2.
* I see 20 seconds of the content on channel 1.
* Mythfrontend stalls (And never shows channel 2)

My recordings are working fine - so it's only a issue with LiveTV.
As a workaround, I restart mythfrontend - and everything is back to
normal. (Not very wife friendly though!)

Has anyone found a more reliable workaround for this ?


Facts about my setup:
* Split frontend and backend - connected using ipv4.
* frontend always streaming from backend (recording directory NOT
shared on frontend)
* DVB-C setup - mostly with unencryptedchannels.

mythfrontend --version
Please attach all output as a file in bug reports.
MythTV Version   : v0.24.1-27-g30993d6-dirty
MythTV Branch    : branch-fixes/0.24
Network Protocol : 63
Library API      : 0.24.20110505-1
QT Version       : 4.7.2
Options compiled in:
 linux release using_alsa using_backend using_bindings_python
using_frontend using_lirc using_mheg using_opengl_video
using_opengl_vsync using_qtdbus using_qtwebkit using_v4l using_x11
using_xrandr using_xv using_bindings_python using_mythtranscode
using_opengl using_vdpau using_ffmpeg_threads using_mheg


mythbackend --version
Please attach all output as a file in bug reports.
MythTV Version   : v0.24.1-14-g5aa5e48-dirty
MythTV Branch    : branch-fixes/0.24
Network Protocol : 63
Library API      : 0.24.20110505-1
QT Version       : 4.7.2
Options compiled in:
 linux release using_alsa using_oss using_backend using_bindings_perl
using_bindings_python using_dvb using_frontend using_mheg
using_opengl_video using_opengl_vsync using_qtdbus using_qtwebkit
using_v4l using_x11 using_xrandr using_bindings_perl
using_bindings_python using_mythtranscode using_opengl using_vdpau
using_ffmpeg_threads using_mheg


In the mythfrontend log, I don't really see anything odd:

---- SPAM START ---
2011-06-28 07:59:56.576 TV: StartTV() -- begin
2011-06-28 07:59:56.576 TV: ctor -- begin
2011-06-28 07:59:56.576 TV: ctor -- end
2011-06-28 07:59:56.577 TV: Init -- begin
2011-06-28 07:59:56.580 TV: DrawUnusedRects() -- begin
2011-06-28 07:59:56.580 TV: DrawUnusedRects() -- end
2011-06-28 07:59:56.669 TV: Init -- end
2011-06-28 07:59:56.673 TV: tv->LiveTV() -- begin
2011-06-28 07:59:56.680 TV: HandleStateChange(0) -- begin
2011-06-28 07:59:56.680 TV: Attempting to change from None to WatchingLiveTV
2011-06-28 07:59:56.680 MythCoreContext: Connecting to backend server:
mediecenter:6543 (try 1 of 1)
2011-06-28 07:59:56.681 Using protocol version 63
2011-06-28 07:59:56.684 IsTunable(1016)
2011-06-28 07:59:56.688 IsTunable(1016) -> true
2011-06-28 07:59:56.690 Spawning LiveTV Recorder -- begin
2011-06-28 07:59:56.733 Spawning LiveTV Recorder -- end
2011-06-28 07:59:56.735
LiveTVChain(live-frontend-2011-06-28T07:59:56): ReloadAll(): Added new
recording
2011-06-28 07:59:56.744 We have a
playbackURL(myth://mediecenter:6543/1016_20110628075820.mpg) &
cardtype(DUMMY)
2011-06-28 07:59:56.744 We have a RingBuffer
2011-06-28 07:59:56.745 TV: StartRecorder(): took 1 ms to start recorder.
2011-06-28 07:59:56.745 TV: StartPlayer(0, WatchingLiveTV, main) -- begin
2011-06-28 07:59:56.745 TV: Elapsed time since TV constructor was called: 169 ms
2011-06-28 07:59:56.757 playCtx: Output filters for this channel are: ''
2011-06-28 07:59:56.908 Player(i): detectInterlace(Ignore Scan,
Interlaced Scan, 25, 576) ->Interlaced Scan
2011-06-28 07:59:56.910 VideoOutput: Allowed renderers:
xv-blit,xshm,xlib,opengl,vdpau
2011-06-28 07:59:56.910 VideoOutput: Allowed renderers (filt: dummy):
xlib,xshm,xv-blit,opengl,vdpau
2011-06-28 07:59:56.914 VDP: Accepting: cmp(> 0 0,<= 720 0) dec(vdpau)
cpus(2) skiploop(enabled) rend(vdpau) osd(vdpau) osdfade(enabled)
deint(vdpauadvanceddoublerate,vdpauadvanced)
filt(vdpaucolorspace=auto,vdpaustudio,vdpauhqscaling)
2011-06-28 07:59:56.914 VDP: Accepting: cmp(> 720 0) dec(vdpau)
cpus(2) skiploop(enabled) rend(vdpau) osd(vdpau) osdfade(enabled)
deint(vdpaubasicdoublerate,vdpaubasic)
filt(vdpaucolorspace=auto,vdpaustudio)
2011-06-28 07:59:56.914 VDP: LoadBestPreferences(2048x2048, 0)
2011-06-28 07:59:56.914 VDP: LoadBestPreferences(2048x2048, 60)
2011-06-28 07:59:56.915 VDP: LoadBestPreferences(720x576, 60)
2011-06-28 07:59:56.915 VideoOutput: Preferred renderer: vdpau
2011-06-28 07:59:56.915 VideoOutput: Trying video renderer: 'vdpau'
2011-06-28 07:59:56.925 VDP: Accepting: cmp(> 0 0,<= 720 0) dec(vdpau)
cpus(2) skiploop(enabled) rend(vdpau) osd(vdpau) osdfade(enabled)
deint(vdpauadvanceddoublerate,vdpauadvanced)
filt(vdpaucolorspace=auto,vdpaustudio,vdpauhqscaling)
2011-06-28 07:59:56.925 VDP: Accepting: cmp(> 720 0) dec(vdpau)
cpus(2) skiploop(enabled) rend(vdpau) osd(vdpau) osdfade(enabled)
deint(vdpaubasicdoublerate,vdpaubasic)
filt(vdpaucolorspace=auto,vdpaustudio)
2011-06-28 07:59:56.926 VDP: LoadBestPreferences(2048x2048, 0)
2011-06-28 07:59:56.926 VDP: LoadBestPreferences(2048x2048, 60)
2011-06-28 07:59:56.926 VideoOutWindow::SetPIPState. pip_state: 0]
2011-06-28 07:59:56.926 VDP: LoadBestPreferences(2048x2048, 25)
2011-06-28 07:59:56.926 Clearing OpenGL painter cache.
2011-06-28 07:59:56.935 Display Rect  left: 0, top: 0, width: 1920,
height: 1080, aspect: 1.33333
2011-06-28 07:59:56.935 Video Rect    left: 0, top: 0, width: 720,
height: 576, aspect: 1.3333
2011-06-28 07:59:56.935 VDP: LoadBestPreferences(720x576, 25)
2011-06-28 07:59:56.935 Display Rect  left: 0, top: 0, width: 1920,
height: 1080, aspect: 1.33333
2011-06-28 07:59:56.935 Video Rect    left: 0, top: 0, width: 720,
height: 576, aspect: 1.3333
2011-06-28 07:59:56.936 VDP: SetVideoRenderer(vdpau)
2011-06-28 07:59:56.936 VDP: SetVideoRender(vdpau) == GetVideoRenderer()
2011-06-28 07:59:56.937 Trying to match best refresh rate 25.000Hz
2011-06-28 07:59:56.937 Trying 1920x1080 50.000 Hz
2011-06-28 07:59:56.939 Dynamic TwinView rate found, set 50Hz as XRandR 50
2011-06-28 07:59:56.939 SwitchToVideo: Video size 720 x 576:
    Switched to displaying resolution 1920 x 1080, 325mm x 183mm
2011-06-28 07:59:56.942 Display Rect  left: 240, top: 0, width: 1440,
height: 1080, aspect: 1.77778
2011-06-28 07:59:56.942 Video Rect    left: 0, top: 0, width: 720,
height: 576, aspect: 1.3333
2011-06-28 07:59:56.942 VideoOutput: Pixel dimensions: Screen
1920x1080, window 1920x1080
2011-06-28 07:59:56.942 VideoOutput: Actual display dimensions:
325x183 mm  Aspect: 1.77596
2011-06-28 07:59:56.942 VideoOutput: Estimated window dimensions:
325x183 mm  Aspect: 1.77596
2011-06-28 07:59:56.942 VidOutVDPAU: Enabling Studio Levels [16-235].
2011-06-28 07:59:57.028 VDPAU: Created 2 output surfaces.
2011-06-28 07:59:57.028 VDPAU: Set colorkey to 0x20202
2011-06-28 07:59:57.028 VDPAU: Created VDPAU render device 1920x1080
2011-06-28 07:59:57.028 VidOutVDPAU: Created VDPAU osd (1920x1080)
2011-06-28 07:59:57.051 VidOutVDPAU: PictureAttributes: Brightness,
Contrast, Colour, Hue,
2011-06-28 07:59:57.059 VidOutVDPAU: Using ITU BT.601 colorspace
2011-06-28 07:59:57.059 Display Rect  left: 240, top: 0, width: 1440,
height: 1080, aspect: 1.77778
2011-06-28 07:59:57.059 Video Rect    left: 0, top: 0, width: 720,
height: 576, aspect: 1.3333
2011-06-28 07:59:57.059 VidOutVDPAU: Created VDPAU context (software decode)
2011-06-28 07:59:57.059 Over/underscan. V: 0.01, H: 0.01
2011-06-28 07:59:57.059 Display Rect  left: 240, top: 0, width: 1440,
height: 1080, aspect: 1.77778
2011-06-28 07:59:57.059 Video Rect    left: 7, top: 6, width: 706,
height: 564, aspect: 1.3333
2011-06-28 07:59:57.059 FilterManager: GetFilterInfo(convert) returning: 0x0
2011-06-28 07:59:57.059 Player(i):
LoadFilters('vdpaucolorspace=auto,vdpaustudio'..) -> 0x0
2011-06-28 07:59:57.062 Player(i): Decoder thread starting.
2011-06-28 07:59:57.075 OSD: Loaded window osd_message
2011-06-28 07:59:57.087 OSD: Loaded window osd_input
2011-06-28 07:59:57.112 OSD: Loaded window program_info
2011-06-28 07:59:57.128 OSD: Loaded window browse_info
2011-06-28 07:59:57.144 OSD: Loaded window osd_status
2011-06-28 07:59:57.161 OSD: Loaded window osd_program_editor
2011-06-28 07:59:57.161 OSD: Loaded OSD: size 1920x1080 offset 0+0
2011-06-28 07:59:57.161 OSD: Created window 00_OSD_SUBTITLES
2011-06-28 07:59:57.162 Player(i): ClearAfterSeek(0)
2011-06-28 07:59:57.165 VDP: GetFilteredDeint() : vdpau ->
'vdpaubasicdoublerate'
2011-06-28 07:59:57.166 VidOutVDPAU: Enabled deinterlacing.
2011-06-28 07:59:57.166 VSYNC: DRMVideoSync: Could not open device
/dev/dri/card0, No such file or directory
2011-06-28 07:59:57.166 VSYNC: RTCVideoSync: Could not set RTC
frequency, Inappropriate ioctl for device.
2011-06-28 07:59:57.166 Player(i): Play speed: rate: 25 speed: 1 skip:
1 => new interval 40000
2011-06-28 07:59:57.168 Player(i): Video timing method: USleep with busy wait
2011-06-28 07:59:57.168 Player(i): Display Refresh Rate: 50.000 Video
Frame Rate: 25.000
2011-06-28 07:59:57.168 playCtx: StartPlaying(): took 0 ms to start player.
2011-06-28 07:59:57.168 TV: StartPlayer(0, WatchingLiveTV, main) -- end ok
2011-06-28 07:59:57.169 TV: Changing from None to WatchingLiveTV
2011-06-28 07:59:57.169 TV: State is LiveTV & mctx == ctx
2011-06-28 07:59:57.171 TV: UpdateOSDInput done
2011-06-28 07:59:57.171 TV: UpdateLCD done
2011-06-28 07:59:57.172 TV: ITVRestart done
2011-06-28 07:59:57.283 TV: DrawUnusedRects() -- begin
2011-06-28 07:59:57.283 TV: DrawUnusedRects() -- end
2011-06-28 07:59:57.283 TV: HandleStateChange(0) -- end
2011-06-28 07:59:57.284 TV: tv->LiveTV() -- end
2011-06-28 07:59:57.284 TV: StartTV -- process events begin
2011-06-28 07:59:57.330 VDPAU: Added 2 output surfaces (total 4, max 4)

 --- SPAM STOP ---


More information about the mythtv-users mailing list