View Single Post
Old 04-24-09, 07:43 AM   #13
Quantumstate
Registered User
 
Join Date: May 2008
Posts: 166
Default Re: Video Haltiness Multiple Times/Second

Ya, for some reason VDPAU was getting kicked off Myth for me, which was the source of these problems. I've just recompiled with mythtv-fixes.20445 and glvdpau.20405:

Code:
 # ./configure --enable-proc-opt --enable-vdpau --enable-xvmc-opengl --enable-opengl-video --enable-opengl-vsync --disable-xvmcw --disable-directfb --disable-joystick-menu --disable-ivtv --disable-firewire --disable-dbox2 --disable-hdhomerun --disable-audio-oss
Disabling XvMC-opengl. It is only available when linking against libXvMCNVIDIA
# Basic Settings
Compile type              release
Compiler cache            yes
DistCC                    no
install prefix            /usr/local
runtime prefix            /usr/local
CPU                       x86_64 (model name    : Intel(R) Core(TM)2 Duo CPU     T7300  @ 2.00GHz)
big-endian                no
MMX enabled               yes
CMOV enabled              yes
CMOV is fast              yes

# Input Support
Joystick menu             no
lirc support              yes
Video4Linux sup.          yes
ivtv support              no
FireWire support          no
DVB support               yes [/usr/include]
DBox2 support             no
HDHomeRun support         no
IPTV support              yes
R5000 support             yes

# Sound Output Support
PulseAudio support        no
OSS support               no
ALSA support              yes
aRts support              yes
JACK support              yes
libfftw3 support          no

# Video Output Support
x11 support               yes
xrandr support            yes
xv support                yes
XvMC support              yes
XvMC VLD support          yes
XvMC pro support          no
XvMC OpenGL sup.          no
XvMC libs                 -lviaXvMC
VDPAU support             yes
OpenGL video              yes
OpenGL vsync              yes
DirectFB                  no
Fribidi formatting        no

# Misc Features
multi threaded libavcodec yes
Frontend                  yes
Backend                   yes

# Bindings
bindings_perl             yes
bindings_python           yes

Creating libs/libmyth/mythconfig.h and libs/libmyth/mythconfig.mak

WARNING: When using --enable-proc-opt you must include the
         output of ./configure along with any bug report.
Code:
 $ mythfrontend
2009-04-24 08:18:35.776 Using runtime prefix = /usr/local
2009-04-24 08:18:36.612 DPMS is active.
2009-04-24 08:18:36.648 Empty LocalHostName.
2009-04-24 08:18:36.649 Using localhost value of Hex
2009-04-24 08:18:36.719 New DB connection, total: 1
2009-04-24 08:18:36.746 Connected to database 'mythconverg' at host: 127.0.0.1
2009-04-24 08:18:36.767 Closing DB connection named 'DBManager0'
2009-04-24 08:18:36.769 Primary screen 0.
2009-04-24 08:18:36.783 Connected to database 'mythconverg' at host: 127.0.0.1
2009-04-24 08:18:36.802 Using screen 0, 1680x1050 at 0,0
2009-04-24 08:18:36.857 New DB connection, total: 2
2009-04-24 08:18:36.861 Connected to database 'mythconverg' at host: 127.0.0.1
2009-04-24 08:18:36.867 mythfrontend version: 0.21.20080304-1 www.mythtv.org
2009-04-24 08:18:36.867 Enabled verbose msgs:  important general
2009-04-24 08:18:36.902 Connecting to lcd server: localhost:6545 (try 1 of 10)
2009-04-24 08:18:40.040 No theme dir: /home/bill/.mythtv/themes/neon-wide
2009-04-24 08:18:40.045 Primary screen 0.
2009-04-24 08:18:40.046 Using screen 0, 1680x1050 at 0,0
2009-04-24 08:18:40.047 No theme dir: /home/bill/.mythtv/themes/neon-wide
2009-04-24 08:18:40.048 Switching to wide mode (neon-wide)
2009-04-24 08:18:40.344 Using the Qt painter
mythtv: could not connect to socket
mythtv: No such file or directory
2009-04-24 08:18:40.345 lirc_init failed for mythtv, see preceding messages
2009-04-24 08:19:10.669 Loading from: /usr/local/share/mythtv/themes/neon-wide/base.xml
2009-04-24 08:19:10.756 Loading from: /usr/local/share/mythtv/themes/default/base.xml
2009-04-24 08:19:10.954 Registering Internal as a media playback plugin.
2009-04-24 08:19:11.412 MonitorRegisterExtensions(0x100, gif,jpg,png)
2009-04-24 08:19:11.915 No theme dir: /home/bill/.mythtv/themes/neon-wide
2009-04-24 08:19:19.676 XMLParse::LoadTheme using /usr/local/share/mythtv/themes/neon-wide/ui.xml
2009-04-24 08:19:20.013 Connecting to backend server: 127.0.0.1:6543 (try 1 of 5)
2009-04-24 08:19:20.378 Using protocol version 40
2009-04-24 08:19:28.214 TV: Attempting to change from None to WatchingPreRecorded
2009-04-24 08:19:28.722 DPMS Deactivated 
2009-04-24 08:19:31.037 AFD: Opened codec 0xf0b920, id(MPEGVIDEO_VDPAU) type(Video)
2009-04-24 08:19:31.037 AFD: codec AC3 has 6 channels
2009-04-24 08:19:31.064 AFD: Opened codec 0x161f9b0, id(AC3) type(Audio)
2009-04-24 08:19:31.094 Opening audio device 'default'. ch 2(2) sr 48000
2009-04-24 08:19:31.094 Opening ALSA audio device 'default'.
2009-04-24 08:19:33.301 OSD Theme Dimensions W: 640 H: 480
2009-04-24 08:19:34.972 TV: Changing from None to WatchingPreRecorded
2009-04-24 08:19:34.974 New DB connection, total: 3
2009-04-24 08:19:34.974 Using realtime priority.
2009-04-24 08:19:35.225 Connected to database 'mythconverg' at host: 127.0.0.1
2009-04-24 08:19:35.323 OpenGLVideoSync()
2009-04-24 08:19:35.432 Video timing method: SGI OpenGL
2009-04-24 08:19:36.994 NVP: prebuffering pause
2009-04-24 08:19:40.090 Marking recording as unwatched
2009-04-24 08:19:40.090 TV: Attempting to change from WatchingPreRecorded to None
2009-04-24 08:19:40.100 ~OpenGLVideoSync() -- begin
2009-04-24 08:19:40.100 ~OpenGLVideoSync() -- middle
2009-04-24 08:19:40.230 ~OpenGLVideoSync() -- end
2009-04-24 08:19:40.320 TV: Changing from WatchingPreRecorded to None
2009-04-24 08:19:40.440 DPMS Reactivated.
So it is in fact now engaging VDPAU for H.264/AVC high-def on this Quadro 1600, and mythfrontend is only using 8% CPU! I can't believe it. I didn't know this video card has hardware H.264 decode. Video is running beautifully now. There must have been something wrong with the earlier patch to mythtv-fixes or something.

Oddly, ATSC mpeg2 SD take more CPU (12%) than DishNetwork H.264/AVC HD. I don't understand this. But I now have a combination that works, thankfully.
Quantumstate is offline   Reply With Quote