[mythtv-users] How do I get full frame rate?

Douglas Peale Douglas_Peale at comcast.net
Sun Oct 13 07:07:31 UTC 2013


On 10/12/2013 11:37 PM, Stephen Worthington wrote:
> On Sun, 13 Oct 2013 16:17:21 +1300, you wrote:
>
>> On Sat, 12 Oct 2013 18:48:34 -0700, you wrote:
>>
>>> On 10/12/2013 06:41 PM, Stephen Worthington wrote:
>>>> On Sat, 12 Oct 2013 18:28:49 -0700, you wrote:
>>>>
>>>>> I had an ATI HD4850 that I was having trouble with dropped frames on (and other issues) that I just replaced with an NVIDIA
>>>>> GeForce GTX 760.
>>>>>
>>>>> I have just tried all combinations of decoders & renderer with no de-interlacer enabled on a 720P live auto race (it had a
>>>>> scrolling leader board that allowed me to tell if it was dropping frames) I had a second monitor tuned to the same channel
>>>>> driven by a Centronics ZAT502HD digital tuner that does not drop frames for comparison.
>>>>> The best I got was with the Nvidia decoder, and that appears to be 15 frames per second. I even went so far as to connect the
>>>>> Centronics tuner to the computers monitor, and proved that the problem was not the monitor.
>>>>>
>>>>> The system is an Intel Core I7 CPU 920 running at 2.67 GHz, 6 GB RAM doing nothing else.
>>>>> The display is a Dell 3008WFP 2560x1600/60 monitor connected by dual link DVI.
>>>>> I'm running the 325.8 64 bit NVIDIA driver.
>>>>>
>>>>> What am I missing?
>>>> Until you said you were using a 2560x1600 monitor, I could see no
>>>> reason for any problems.  What mode are you running the monitor in -
>>>> are you having the Nvidia drivers upscale 720p to 2560x1600, or are
>>>> you getting the monitor to do that (by having MythTV change the screen
>>>> mode to match the content being played)?  I would think the latter
>>>> would work.  Is that what the Centronics tuner does?  Get your monitor
>>>> to tell you what mode it is in while using both sources.  There is
>>>> usually a monitor menu somewhere that does that.
>>>> _______________________________________________
>>>> mythtv-users mailing list
>>>> mythtv-users at mythtv.org
>>>> http://www.mythtv.org/mailman/listinfo/mythtv-users
>>>>
>>> I tried both, neither worked. Having MythTV change resolutions really screwed up my display settings since it did not change the
>>> resolution back when it exited, and the video was the wrong aspect ratio (tall & skinny, taller than it was wide).
>> A GTX 760 should be easily capable of doing what you want, even with
>> 2560x1600.  Your i7-900 CPU is probably a little old to do it all in
>> CPU alone though - but you could try that and see what happens.
>>
>> I am going to make some suggestions of things to check - you may well
>> have found all these already, but they are things I have met in the
>> past that have caused problems.
>>
>> Do have the option set for "Separate modes for GUI and TV playback"
>> (Setup > Appearance > Page 2: Video Mode Settings)?  It should have
>> given you back the right aspect ratio for the GUI at the end of
>> playback if you have.  If not, it sounds like there may be a bug
>> somewhere.
>>
>> Do you have the Paint engine setting on Auto (Settings > Appearance >
>> Page 1: Theme / Screen Settings)?  If you have been using older
>> versions of MythTV, that may still be some other value as the database
>> upgrades do not change it.  Auto seems to be the best setting for it
>> now.
>>
>> Are your settings actually using VDPAU properly?  Check the CPU usage
>> while playing back your 720p recording - CPU use should be low.  If
>> not, it is not actually using VDPAU.
>>
>> In your VDPAU settings, how many CPU cores is VDPAU set to use (Setup
>>> Video > Playback > Page 3: Playback Profiles > Edit > Max CPUs)?  On
>> that same screen, is the Video Renderer set to vdpau?  In the next
>> screen, do you have vdpauhqscaling in the Custom filters setting?
>>
>> Is your dual-link DVI cable actually working in dual-link?  Is it
>> possible to swap it with the (presumably HDMI) cable that is known to
>> work on the Centronics tuner?
>>
>>
>> Some pages to look at for more ideas:
>>
>> http://www.mythtv.org/wiki/VDPAU
>> http://www.mythtv.org/wiki/Frame_display_timing
> And the next thing to do is to get some logs.  The best way to do that
> is to use mythavtest - it will just give the logs for playing a file,
> without any other extraneous stuff.  I am not sure of what your
> experience level with using a command prompt is, so let me know if you
> need more (or less) detail.  You need to run mythavtest from a
> terminal on the X desktop, so it will be able to find the X screen to
> display on.  You should be logged in as the same user as mythfrontend.
> First find the file for the 720p recording you want to play.  In
> Mythfrontend, go to the recording and use the I key twice, and scroll
> down if necessary, until you can see the Recorded File Name.  Then use
> the cd command to go to each of your storage group directories and use
> the ls command to see if that file is in that directory.  Once you
> find the file, you run mythavtest from that directory.
>
> Try this command:
>
>   mythavtest <your reccording file name> | tee mythavtest.log
>
> Play the file until you have seen the things that are causing problems
> happening.  Then exit mythavtest and take a look at mythavtest.log.
> See if there is anything that stands out.  You can also try setting
> some logging options.  Run
>
>   mythavtest --help
>   mythavtest -v help
>
> for the options.  Setting --loglevel to show more or setting a -v
> option such as -v playback might provide some more useful information.
> Then you can post a copy of your mythavtest.log here, or if it is too
> large, post it on somewhere like pastebin.com and post a URL here.
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users
>
I hope you can get more out of this than I did:

$ ls -l mythavtest.log
-rw-rw-r-- 1 dpeale mythtv 6119 Oct 13 00:01 mythavtest.log
$ cat mythavtest.log
2013-10-12 23:59:48.538813 C  mythavtest version: fixes/0.27 [v0.27-41-g1224f05] www.mythtv.org
2013-10-12 23:59:48.538829 C  Qt version: compile: 4.8.4, runtime: 4.8.4
2013-10-12 23:59:48.538834 N  Enabled verbose msgs:  general
2013-10-12 23:59:48.538843 N  Setting Log Level to LOG_INFO
2013-10-12 23:59:48.549377 N  Using runtime prefix = /usr
2013-10-12 23:59:48.549386 I  Added logging to the console
2013-10-12 23:59:48.549386 N  Using configuration directory = /home/dpeale/.mythtv
2013-10-12 23:59:48.549452 I  Assumed character encoding: en_US.UTF-8
2013-10-12 23:59:48.549748 N  Empty LocalHostName.
2013-10-12 23:59:48.549753 I  Using localhost value of Compromise
2013-10-12 23:59:48.575298 N  Setting QT default locale to en_US
2013-10-12 23:59:48.575346 I  Current locale en_US
2013-10-12 23:59:48.575377 N  Reading locale defaults from /usr/share/mythtv//locales/en_us.xml
2013-10-12 23:59:48.579139 I  Starting process manager
2013-10-12 23:59:48.579168 I  Starting process signal handler
2013-10-12 23:59:48.579215 I  Starting IO manager (read)
2013-10-12 23:59:48.580221 I  Starting IO manager (write)
2013-10-12 23:59:48.651179 I  New Client:  (#1)
libcec.so.1: cannot open shared object file: No such file or directory
2013-10-12 23:59:48.680592 I  ScreenSaverX11Private: DPMS is active.
2013-10-12 23:59:48.702109 N  Desktop video mode: 4480x1600 59.860 Hz
2013-10-12 23:59:48.745545 E  LIRC: Failed to connect to Unix socket '/var/run/lirc/lircd'
            eno: No such file or directory (2)
2013-10-12 23:59:48.745595 E  JoystickMenuThread: Joystick disabled - Failed to read /home/dpeale/.mythtv/joystickmenurc
2013-10-12 23:59:48.749556 E  CECAdapter: Failed to load libcec.
2013-10-12 23:59:48.749581 I  UDPListener: Enabling
2013-10-12 23:59:48.751778 I  Binding to UDP 127.0.0.1:6948
2013-10-12 23:59:48.751847 I  Binding to UDP 192.168.63.3:6948
2013-10-12 23:59:48.751933 I  Binding to UDP [::1]:6948
2013-10-12 23:59:48.752030 I  Binding to UDP [fe80::223:54ff:fe91:5f4%eth0]:6948
2013-10-12 23:59:48.752107 I  Binding to UDP 192.168.63.255:6948
2013-10-12 23:59:48.778478 I  Using Frameless Window
2013-10-12 23:59:48.894881 I  Trying the OpenGL painter
2013-10-12 23:59:48.895479 I  OpenGL: Sync to VBlank is enabled (good!)
2013-10-12 23:59:48.980880 I  OpenGL1: Fragment program support available
2013-10-12 23:59:48.980934 I  OpenGL: OpenGL vendor  : NVIDIA Corporation
2013-10-12 23:59:48.980939 I  OpenGL: OpenGL renderer: GeForce GTX 760/PCIe/SSE2
2013-10-12 23:59:48.980942 I  OpenGL: OpenGL version : 4.3.0 NVIDIA 325.08
2013-10-12 23:59:48.980947 I  OpenGL: Max texture size: 16384 x 16384
2013-10-12 23:59:48.980951 I  OpenGL: Max texture units: 4
2013-10-12 23:59:48.980954 I  OpenGL: Direct rendering: Yes
2013-10-12 23:59:48.980956 I  OpenGL: PixelBufferObject support available
2013-10-12 23:59:48.980959 I  OpenGL: Initialised MythRenderOpenGL
2013-10-12 23:59:49.135988 I  MythUIWebBrowser: Loading css from - file:///usr/share/mythtv/themes/default/htmls/mythbrowser.css
2013-10-12 23:59:49.136374 E  MythUIWebBrowser: failed to find our parent screen
2013-10-12 23:59:49.137370 I  MythUIWebBrowser: enabling plugins
2013-10-12 23:59:49.179744 I  Setup Interrupt handler
2013-10-12 23:59:49.179750 I  Setup Terminated handler
2013-10-12 23:59:49.179756 I  Setup Segmentation fault handler
2013-10-12 23:59:49.179761 I  Setup Aborted handler
2013-10-12 23:59:49.179766 I  Setup Bus error handler
2013-10-12 23:59:49.179772 I  Setup Floating point exception handler
2013-10-12 23:59:49.179777 I  Setup Illegal instruction handler
2013-10-12 23:59:49.179783 I  Setup Real-time signal 0 handler
2013-10-12 23:59:49.202838 I  Current MythTV Schema Version (DBSchemaVer): 1317
2013-10-12 23:59:49.203664 I  TV: Creating TV object
2013-10-12 23:59:49.217841 N  Suspending idle timer
2013-10-12 23:59:49.218284 I  TV: Created TvPlayWindow.
2013-10-12 23:59:49.430133 I  TV: Attempting to change from None to WatchingPreRecorded
2013-10-12 23:59:49.482035 I  MythCoreContext: Connecting to backend server: 192.168.63.3:6543 (try 1 of 1)
2013-10-12 23:59:49.482862 I  Using protocol version 77
2013-10-12 23:59:49.501049 E  ALSA: snd_pcm_info_get_card: Operation not permitted
2013-10-12 23:59:49.523075 N  AudioPlayer: Enabling Audio
2013-10-12 23:59:49.559592 I  AFD: codec AC3 has 6 channels
2013-10-12 23:59:49.559848 I  AFD: Opened codec 0x1fe9fa0, id(AC3) type(Audio)
2013-10-12 23:59:49.559991 I  AFD: codec AC3 has 2 channels
2013-10-12 23:59:49.560207 I  AFD: Opened codec 0x1fd1120, id(AC3) type(Audio)
2013-10-12 23:59:49.561685 I  AFD: Opened codec 0x1fe9540, id(MPEG2VIDEO) type(Video)
2013-10-12 23:59:49.562051 I  AOBase: Opening audio device 'pulse' ch 6(6) sr 48000 sf 32 bit floating point reenc 0
2013-10-12 23:59:49.787982 I  Clearing OpenGL painter cache.
2013-10-12 23:59:49.883837 I  VDPAU: Created 2 output surfaces.
2013-10-12 23:59:49.883862 I  VDPAU: Version 1
2013-10-12 23:59:49.883869 I  VDPAU: Information NVIDIA VDPAU Driver Shared Library  325.08  Wed Jun 26 17:54:15 PDT 2013
2013-10-12 23:59:49.883886 I  VDPAU: Created VDPAU render device 2560x1600
2013-10-12 23:59:49.898592 N  Player(0): Forcing decode extra audio option on (Video method requires it).
2013-10-12 23:59:49.899762 I  OSD: Base theme size: 1280x720
2013-10-12 23:59:49.899778 I  OSD: Scaling factors: 2x2.22222
2013-10-12 23:59:49.933460 I  OSD: Base theme size: 1280x720
2013-10-12 23:59:49.933470 I  OSD: Scaling factors: 2x2.22222
2013-10-12 23:59:49.935548 I  Player(0): Video timing method: USleep with busy wait
2013-10-12 23:59:49.936364 I  TV: Created player.
2013-10-12 23:59:49.936401 I  TV: Changing from None to WatchingPreRecorded
2013-10-12 23:59:49.962459 I  TV: Main UI disabled.
2013-10-12 23:59:49.962513 I  TV: Entering main playback loop.
2013-10-12 23:59:49.966514 I  ScreenSaverX11Private: DPMS Deactivated 1
2013-10-12 23:59:49.978314 I  VDPAU: Added 2 output surfaces (total 4, max 4)
2013-10-13 00:01:19.896304 I  AFD: Audio stream changed
2013-10-13 00:01:19.902781 I  AOBase: Opening audio device 'pulse' ch 2(2) sr 48000 sf 32 bit floating point reenc 0


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20131013/5cb25714/attachment.sig>


More information about the mythtv-users mailing list