[mythtv-users] More HD stuttering
Chris Trown
ctrown at safe-mail.net
Wed Nov 23 14:54:57 EST 2005
Todd Ignasiak wrote:
> I have been playing around with this a bit lately. I'm running in
> x86-64 mode, but the behavior may be similar. Also, I'm using the SVN
> from last night, 7996.
>
> - With OpenGL Sync 'ON', I get stuttering whenever XvMC is enabled. The
> Standard decoder works fine with OpenGL Sync, but not XvMC.
>
> - With OpenGL Sync 'OFF', and XvMC 'ON'; 1080i playback works great.
> No stuttering at all.
>
> - With OpenGL Sync 'OFF' and XvMC 'ON'; 720p playback is great, until
> the OSD comes up. Then, my audio/video stutters until a second or two
> after the OSD goes away.
>
I can't remember what I have set for OpenGL at the moment. I'll
check it out when I get home.
I guess another question I have, is how can I tell if myth is
trying, successfully or not, to use XvMC? I see "Using XV port 240" but
that's it. No mention of XvMC anywhere. Other than compiling support
for it in MythTV, is that all that needs to be done?
Thanks!
Chris...
>
> On 11/23/05, *Chris Trown* < ctrown at safe-mail.net
> <mailto:ctrown at safe-mail.net>> wrote:
>
>
> And combing, for that matter.
>
> I posted yesterday asking some questions. I looked into the
> suggestions, but I don't think they apply. I didn't supply enough info.
> So, here we go. As much detail as I know. Hopefully, somebody can
> point me in the right direction. I'm a bit at a loss as to where to go
> next.
>
> The system is a 3.06 GHz P4 running Fedora Core 3. The video Card
> is a NVidia 5200FX. For capture, all I have is a HD3000. I've checked
> that DMA is working on all the drives. I built mythtv from stable
> source, 0.18.1. I used the following configure options:
>
> --enable-xvmc --enable-opengl-vsync --enable-dvb
> --dvb-path=/lib/modules/2.6.12-1.1381_FC3smp/build/include
> --disable-firewire --disable-joystick --disable-ivtv --enable-proc-opt
> --disable-xvmc-vld --enable-opengl-vsync
>
> I'm getting stuttering and combing when playing HD. The CPU is
> maxing out at 99% when playing. The clips I am testing with are
> 1080i(CSI). I've tried using XvMC with BOB Deinterlacing filter. I've
> also tried using libmpeg2 with the kernel and linear blend filter.
> Nothing seems to help and the CPU always goes through the roof.
>
> Here is the output from "mythfrontend -v playback". I have "Use
> XvMC for playback" checked and bobdeint filter selected.
>
> 2005-11-22 21:46:49.885 New DB connection, total: 1
> Total desktop width=1280, height=720, numscreens=1
> 2005-11-22 21:46:49.891 Using screen 0, 1280x720 at 0,0
> 2005-11-22 21:46:49.895 mythfrontend version: 0.18.1.20050510-1
> www.mythtv.org <http://www.mythtv.org>
> 2005-11-22 21:46:49.896 Enabled verbose msgs : important general
> playback
> 2005-11-22 21:46:50.016 max_width: 1280 max_height: 720
> 2005-11-22 21:46:50.066 Switching to square mode (blue)
> 2005-11-22 21:46:50.630 Joystick disabled.
> 2005-11-22 21:46:50.688 Registering Internal as a media playback plugin.
> 2005-11-22 21:46: 50.976 Connecting to backend server: localhost:6543
> (try 1 of 5)
> 2005-11-22 21:46:50.986 Using protocol version 15
> 2005-11-22 21:46:50.997 Starting media monitor.
> 2005-11-22 21:47:10.304 All Programs
> 2005-11-22 21:47: 12.199 detectInterlace(Detect Scan, Detect Scan,
> 29.97,
> 1088) ->Interlaced Scan
> 2005-11-22 21:47:12.199 Interlaced: Interlaced Scan video_height: 1088
> fps: 29.97
> 2005-11-22 21:47:12.200 Estimated bitrate = 0
> 2005-11-22 21:47:12.431 Image size. dispxoff 0, dispyoff: 0, dispwoff:
> 0, disphoff: 0
> 2005-11-22 21:47:12.431 Image size. imgx 0, imgy: 0, imgw: 1920,
> imgh: 1080
> 2005-11-22 21:47:12.435 waiting for prebuffer...
> 2005-11-22 21:47:12.571 prebuffer wait timed out..
> 2005-11-22 21:47:12.571 waiting for prebuffer...
> 2005-11-22 21:47:12.719 prebuffer wait timed out..
> 2005-11-22 21:47:12.719 waiting for prebuffer...
> 2005-11-22 21:47: 13.155 New DB connection, total: 2
> 2005-11-22 21:47:13.217 detectInterlace(Detect Scan, Detect Scan, 29.97,
> 1088) ->Interlaced Scan
> 2005-11-22 21:47:13.217 Interlaced: Interlaced Scan video_height: 1088
> fps: 29.97
> 2005-11-22 21:47:13.288 Estimated bitrate = 0
> 2005-11-22 21:47:13.296 Opening audio device '/dev/dsp'.
> 2005-11-22 21:47:13.297 Opening OSS audio device '/dev/dsp'.
> 2005-11-22 21:47:13.307 Over/underscan. V: 0, H: 0, XOff: 0, YOff: 0
> 2005-11-22 21:47:13.316 Using XV port 240
> 2005-11-22 21:47:13.321 Image size. dispxoff 0, dispyoff: 0, dispwoff:
> 1280, disphoff: 720
> 2005-11-22 21:47:13.321 Image size. imgx 0, imgy: 0, imgw: 1920,
> imgh: 1080
> 2005-11-22 21:47:13.931 Changing from None to WatchingPreRecorded
> 2005-11-22 21:47:13.933 Using deinterlace method bobdeint
> 2005-11-22 21:47:13.934 Using realtime priority.
> 2005-11-22 21:47:14.035 nVidiaVideoSync: VBlank ioctl did not work,
> unimplemented in this driver?
> 2005-11-22 21:47:14.035 DRMVideoSync: Could not open device
> /dev/dri/card0, No such file or directory
> 2005-11-22 21:47:14.036 Set video sync frame interval to 33366
> 2005-11-22 21:47: 14.036 Using audio as timebase
> 2005-11-22 21:47:14.036 Video timing method: RTC
> 2005-11-22 21:47:14.036 Refresh rate: 16882, frame interval: 33366
> 2005-11-22 21:47:14.036 waiting for prebuffer...
> 2005-11-22 21:47: 14.172 prebuffer wait timed out..
> 2005-11-22 21:47:14.172 waiting for prebuffer...
> 2005-11-22 21:47:14.857 waiting for prebuffer...
> 2005-11-22 21:47:14.992 prebuffer wait timed out..
> 2005-11-22 21:47:15.063 waiting for prebuffer...
> 2005-11-22 21:47:15.199 prebuffer wait timed out..
> 2005-11-22 21:47:15.270 waiting for prebuffer...
> 2005-11-22 21:47:15.406 prebuffer wait timed out..
> 2005-11-22 21:47:15.477 waiting for prebuffer...
> 2005-11-22 21:47: 15.612 prebuffer wait timed out..
> 2005-11-22 21:47:15.683 waiting for prebuffer...
> 2005-11-22 21:47:15.819 prebuffer wait timed out..
> 2005-11-22 21:47:15.819 waiting for prebuffer...
> 2005-11-22 21:47:15.953 prebuffer wait timed out..
> 2005-11-22 21:47:15.954 waiting for prebuffer...
> 2005-11-22 21:47:17.801 prebuffering pause
> 2005-11-22 21:47:17.802 waiting for prebuffer...
> 2005-11-22 21:47:17.937 prebuffer wait timed out..
> 2005-11-22 21:47: 17.937 waiting for prebuffer...
> 'video_output' mean = '44733.67', std. dev. = '122733.32', fps = '22.35'
> 'video_output' mean = '33365.88', std. dev. = '1089.85', fps = '29.97'
> 'video_output' mean = '33357.06', std. dev. = ' 2142.64', fps = '29.98'
> 'video_output' mean = '33344.99', std. dev. = '723.52', fps = '29.99'
> 'video_output' mean = '33347.45', std. dev. = '1410.13', fps = '29.99'
> 2005-11-22 21:47:34.562 Changing from WatchingPreRecorded to None
> 2005-11-22 21:47:34.569 Changing from None to None
> 2005-11-22 21:47:35.146 detectInterlace(Detect Scan, Detect Scan, 29.97,
> 1088) ->Interlaced Scan
> 2005-11-22 21:47:35.146 Interlaced: Interlaced Scan video_height: 1088
> fps: 29.97
> 2005-11-22 21:47:35.146 Estimated bitrate = 0
> 2005-11-22 21:47:35.377 Image size. dispxoff 0, dispyoff: 0, dispwoff:
> 0, disphoff: 0
> 2005-11-22 21:47:35.378 Image size. imgx 0, imgy: 0, imgw: 1920,
> imgh: 1080
> 2005-11-22 21:47:35.381 waiting for prebuffer...
> 2005-11-22 21:47:35.516 prebuffer wait timed out..
> 2005-11-22 21:47:35.517 waiting for prebuffer...
> 2005-11-22 21:47:35.652 prebuffer wait timed out..
>
>
> Can anybody point me in the right direction? I don't think it's
> hard drive issues, as the CPU is pegged. It can't keep up.
>
> Thanks!!!
>
> Chris...
>
--
"Those who would give up essential liberty to purchase a little
temporary safety deserve neither liberty nor safety" -- Benjamin
Franklin
More information about the mythtv-users
mailing list