[mythtv-users] Getting slower

DaveD mythtv at guiplot.com
Mon Aug 3 01:41:58 UTC 2020


I, too, have noticed some very long startup times, but it seems to vary 
a LOT:  anywhere from a couple of seconds to what seems like 45-50 
seconds.  The first startup of the day seems to be doing something; 
generating thumbnails?  Looking for icons? Optimizing the database?  But 
it's not like there's one slow startup and all others are equally 
quick.  Startup time seems to vary unpredictably, and the long ones 
adversely affect the WAF (which is unacceptable! :).  Exit is never slow.

Dave D.

On 8/2/20 4:00 PM, jam at tigger.ws wrote:
> Over the last few releases mythtv has got slower to start and stop.
> What is the delay looking for ipv6 dtuff?
>
> This trace is from my mac frontrnd, my linux frontend start is similar, the stop takes 3 sec.
>
> If the issue is not my config should we not gently think about start and stop times from a dev point of view?
>
> James
>
> 00.730068 I  Setup Interrupt: 2 handler
> 00.730091 I  Setup Terminated: 15 handler
> 00.730098 I  Setup Segmentation fault: 11 handler
> 00.730104 I  Setup Abort trap: 6 handler
> 00.730109 I  Setup Bus error: 10 handler
> 00.730115 I  Setup Floating point exception: 8 handler
> 00.730123 I  Setup Illegal instruction: 4 handler
> 00.730130 I  Setup User defined signal 1: 30 handler
> 00.730137 I  Setup User defined signal 2: 31 handler
> 00.730144 I  Setup Hangup: 1 handler
> 00.730215 C  mythfrontend version: fixes/31 [v31.0-81-g05a613f9fa] www.mythtv.org
> 00.730224 C  Qt version: compile: 5.14.2, runtime: 5.14.2
> 00.730243 I  macOS 10.15 (x86_64)
> 00.730249 N  Enabled verbose msgs:  general
> 00.730266 N  Setting Log Level to LOG_INFO
> 00.741674 I  Added logging to the console
> 00.742843 N  Using runtime prefix = /Applications/Mythfrontend.app/Contents/Resources
> 00.742867 N  Using configuration directory = /Users/jam/.mythtv
> 00.743495 I  Assumed character encoding: en_AU.UTF-8
> 00.747012 I  Loading en_us translation for module mythfrontend
> 00.747443 I  Empty LocalHostName. This is typical.
> 00.747457 I  Using a profile name of: 'plasma.home' (Usually the same as this host's name.)
> 00.747563 I  Start up testing connections. DB 192.168.5.33, BE , attempt 0, status dbAwake, Delay: 2000
> 02.562399 N  Setting QT default locale to en_AU
> 02.562434 I  Current locale en_AU
> 02.562575 E  No locale defaults file for en_AU, skipping
> 02.621197 I  Display: Found screen 'Colour LCD'
> 02.621234 I  Display: Using screen 'Colour LCD' (Make: Unknown Model: Unknown)
> 02.621253 I  Display: Qt screen pixel ratio: 1.00
> 02.621283 I  Display: Geometry: 1792x1120+0+0 Size(Qt): 344.824mmx214.702mm
> 02.629084 N  Display: Desktop video mode: 1792x1120 60.000Hz
> ic session lookup supported but failed: launchd did not provide a socket path, verify that org.freedesktop.dbus-session.plist is loaded!
> 03.250188 I  Power: Battery at 100%
> 03.250310 I  Power: Supported actions: Suspend,Restart,Shutdown
> 03.641367 I  Listening on TCP 0.0.0.0:6547
> 03.661254 I  Listening on TCP [::]:6547
>
> ----------------------------------------
> What is this
> ---------------------------------------
>
> 11.012437 I  Loading en_us translation for module mythfrontend
> 11.122577 E  LIRC: Failed to connect to Unix socket '/var/run/lirc/lircd'
> ile or directory (2)
> 11.123518 E  AppleRemote::_findAppleRemoteDevice(AppleIRController) failed
> 11.123544 E  AppleRemote::_findAppleRemoteDevice(AppleTVIRReceiver) failed
> 11.123552 E  AppleRemote::startListening() failed
> 11.123586 I  UDPListener: Enabling
> 11.131896 I  Binding to UDP 0.0.0.0:6948
> 11.131956 I  Binding to UDP [::]:6948
> 12.047050 I  Using Frameless Window
> 12.047063 I  Using Full Screen Window
> 12.057267 I  Display: Have main widget
> 12.057288 I  Display: Have main window
> 12.067090 I  Display: Found screen 'Colour LCD'
> 12.098587 I  UI Screen Resolution: 1792 x 1120
> 12.237759 I  OpenGL: OpenGL vendor        : Intel Inc.
> 12.237770 I  OpenGL: OpenGL renderer      : Intel(R) UHD Graphics 630
> 12.237777 I  OpenGL: OpenGL version       : 2.1 INTEL-14.6.18
> 12.237785 I  OpenGL: Qt platform          : cocoa
> 12.237791 I  OpenGL: Qt OpenGL format     : OpenGL 2.1
> 12.237799 I  OpenGL: Qt OpenGL surface    : RGBA: 888-1 Depth: 0 Stencil: 0
> 12.237805 I  OpenGL: Max texture size     : 16384
> 12.237811 I  OpenGL: Max texture units    : 16
> 12.237819 I  OpenGL: Shaders              : Yes
> 12.237827 I  OpenGL: NPOT textures        : Yes
> 12.237833 I  OpenGL: Multitexturing       : Yes
> 12.237838 I  OpenGL: Rectangular textures : Yes
> 12.237844 I  OpenGL: Buffer mapping       : Yes
> 12.237851 I  OpenGL: Framebuffer objects  : Yes
> 12.237857 I  OpenGL: 16bit framebuffers   : Yes
> 12.237863 I  OpenGL: Unpack Subimage      : Yes
> 12.237869 I  OpenGL: GL_RED/GL_R8         : Yes
> 12.246385 I  OpenGL: Initialised MythRenderOpenGL
> 12.246393 I  OpenGL: Using full range output
> 12.246437 I  High DPI scaling disabled
> 12.269403 I  MythUIHelper: Pruning cache directory: /Users/jam/.mythtv/cache/remotecache
> 12.274189 I  MythUIHelper: Kept 69 files, deleted 0 files, stat error on 0 files
> 12.274244 I  MythUIHelper: Pruning cache directory: /Users/jam/.mythtv/cache/thumbnails
> 12.295615 I  MythUIHelper: Kept 423 files, deleted 0 files, stat error on 0 files
> ylib, 1): no suitable image found.  Did find:
> thfrontend.app/Contents/MacOS/../Frameworks/libcec.4.0.5.dylib/libcec.4.dylib: stat() failed with errno=20
> 13.292341 I  MythCoreContext::ConnectCommandSocket(): Connecting to backend server: 192.168.5.33:6543 (try 1 of 1)
> 13.301605 I  MythCoreContext::CheckProtoVersion(): Using protocol version 91 BuzzOff
> 13.345602 E  CECAdapter: Failed to load libcec.
> 13.354158 E  RAOP Device: Aborting startup - no key found.
> 13.362064 I  AirPlay: Created airplay objects.
> 13.362197 I  Listening on TCP 0.0.0.0:5100
> 13.362260 I  Listening on TCP [::]:5100
> 13.458092 I  Current MythTV Schema Version (DBSchemaVer): 1361
> 13.485082 I  VTBDec: Supported/available VideoToolbox decoders:
> 13.485102 I  VTBDec: H264
> 13.485108 I  VTBDec: HEVC
>
> ---------------------------------------------------
> GUI up and running
> Now exit
> ---------------------------------------------------
>
> 14.061260 I  Bonjour: Service registration complete: name 'MythTV on plasma.home' type '_airplay._tcp.' domain: 'local.'
> 20.879759 N  Registering Internal as a media playback plugin.
> 20.914671 W  No plugins directory /Applications/Mythfrontend.app/Contents/Resources/lib/mythtv/plugins
> 20.974499 I  Using Frameless Window
> 20.974514 I  Using Full Screen Window
> 20.982686 I  Display: Have main widget
> 20.982700 I  Display: Have main window
> 21.026 mythfrontend.real[4207:201300] not in fullscreen state
> 20.997174 I  Display: Found screen 'Colour LCD'
> 20.997209 I  Display: Waiting for new screen
> 21.024347 I  Bonjour: Service registration complete: name 'Mythfrontend on plasma.home' type '_mythfrontend._tcp.' domain: 'local.'
> 21.473519 W  Display: Timed out waiting for new screen
> 21.492106 I  UI Screen Resolution: 1792 x 1120
> 21.559729 I  OpenGL: Initialised MythRenderOpenGL
> 21.559740 I  OpenGL: Using full range output
> 21.559776 I  High DPI scaling disabled
> 21.596433 I  MythUIHelper: Pruning cache directory: /Users/jam/.mythtv/cache/remotecache
> 21.601489 I  MythUIHelper: Kept 69 files, deleted 0 files, stat error on 0 files
> 21.601552 I  MythUIHelper: Pruning cache directory: /Users/jam/.mythtv/cache/thumbnails
> 21.623046 I  MythUIHelper: Kept 423 files, deleted 0 files, stat error on 0 files
> ylib, 1): no suitable image found.  Did find:
> thfrontend.app/Contents/MacOS/../Frameworks/libcec.4.0.5.dylib/libcec.4.dylib: stat() failed with errno=20
> 21.824091 E  CECAdapter: Failed to load libcec.
> 21.824148 W  MythPainter: 1 images not yet de-allocated.
> 21.824167 I  Clearing OpenGL painter cache.
> 21.825898 I  OpenGL: MythRenderOpenGL closing
> 21.951746 N  Found mainmenu.xml for theme 'MythCenter-wide'
> 22.049329 I  Checking for theme updates every hour
> 22.058027 I  Starting HouseKeeper.
> 22.058358 I  Starting process manager
> 22.058390 I  Starting process signal handler
> 22.058634 I  Starting IO manager (read)
> 22.058896 I  Starting IO manager (write)
> 35.124192 I  MythUIHelper: Pruning cache directory: /Users/jam/.mythtv/cache/remotecache
> 35.128853 I  MythUIHelper: Kept 69 files, deleted 0 files, stat error on 0 files
> 35.128910 I  MythUIHelper: Pruning cache directory: /Users/jam/.mythtv/cache/thumbnails
> 35.151154 I  MythUIHelper: Kept 423 files, deleted 0 files, stat error on 0 files
> 35.917695 I  Bonjour: De-registering service '_mythfrontend._tcp.' on 'Mythfrontend on plasma.home'
> 35.937750 W  MythPainter: 61 images not yet de-allocated.
> 35.937793 I  Clearing OpenGL painter cache.
> 35.940032 I  OpenGL: MythRenderOpenGL closing
> 35.942244 I  Display: Deleting
> 35.948702 I  RAOP Device: Cleaning up.
> 35.948722 I  AirPlay: Cleaning up.
> 35.948834 I  Bonjour: De-registering service '_airplay._tcp.' on 'MythTV on plasma.home'
> 35.949171 I  Shutting down UPnP client...
> 42.983810 I  Waiting for threads to exit.
> 49.795710 I  Exiting
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org


More information about the mythtv-users mailing list