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

Douglas Peale Douglas_Peale at comcast.net
Sun Oct 13 17:47:17 UTC 2013


On 10/13/2013 02:10 AM, Stephen Worthington wrote:
> On Sun, 13 Oct 2013 00:07:31 -0700, you wrote:
>
> [snip]
>> 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
> This does not look right - 4480x1600 instead of 2560x1600.  Is your
> desktop set to 2560x1600?  If the GTX 760 is really having to render
> that many pixels, that could be the cause of the problem.
There is a second smaller 1920x1080 monitor to the right of the main screen. It does not get used my MythTV.
>> 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
> This is all good - it means that the OpenGL painter is being used and
> OpenGL is using the Nvidia OpenGL libraries.
>
>> 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
> I think this is right.  I have a 1920x1080 TV screen, so I tried
> playing an SD 720x576 recording and it still created the render device
> at 1920x1080.
>
>> 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
> I am getting the same video timing method.
>
>> 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)
> This is the same as what I get.
>
>> 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
> Looks like you missed posting the end of the file after mythavtest
> stopped playing.  There is useful information there about what happens
> when the display switches back to GUI mode (it you are using separate
> GUI and playback modes, which is recommended).
>
> There are three video modes involved in all of this:
>
> 1) The mode used by your X desktop.
> 2) The mode used by the mythfrontend (and mythavtest) GUI.
> 3) The mode used to play the video file.
>
> It looks like your X desktop may be in 4480x1600 mode, which is
> probably not good.  The mode you are using for the mythfrontend GUI is
> not showing up in the log for some reason.  In my logs, I get this:
>
> 2013-10-13 21:23:43.383456 N  Desktop video mode: 1920x1080 59.939 Hz
> 2013-10-13 21:23:43.616244 N  Desktop video mode: 1920x1080 59.939 Hz
> 2013-10-13 21:23:43.621566 I  Using 1920x1080 59.939 Hz
> 2013-10-13 21:23:43.621583 I  SwitchToGUI: Switched to 1920x1080
> 59.939 Hz
>
> where you get just one "Desktop video mode" line.  The mode for the
> 720p playback is also not showing up, so I think you will need to try
> running mythavtest again, but add the -v playback option to see more
> information.  It might also be useful to know what mode the monitor
> says it is in when on the desktop (no mythfrontend or mythavtest
> running), when the mythfrontend GUI is running, and when it is playing
> back your 720p file.
>
> Bear in mind in all of this that Nvidia proprietary drivers are far
> from bug free. I have twice had periods where all the new Nvidia
> drivers that installed as updates did not work with my GT 220 card and
> I had to revert to an older working version.  Then suddenly a version
> would arrive which worked again, and all the new versions worked for
> some time until a new bug came along.  So it is entirely possible that
> you are encountering a bug, and at some point it would probably be a
> good idea to try different versions, both older and, if available,
> newer.  I presume you need a recent version for GTX 760 support.  I am
> currently using what comes with my Mythbuntu 12.04 install, which is
> 304.88.
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users
>
I think I have solved the problem.
Somehow in the ordeal (and it was an ordeal) of getting the NVIDIA proprietary drivers installed, my default desktop got changed
from "Gnome fall-back no effects" to "Gnome fall-back". Going back to no effects has restored smooth playback.
I did some more video captures, and verified no doubled frames, and no skipped frames on 720P or 1080i. I have also turned on
Temporal 2x deinterlacing. From my brief test it looked better than Advanced when single framing the cameras video.

-------------- 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/747f044f/attachment.sig>


More information about the mythtv-users mailing list