[mythtv-commits] Ticket #12977: Improved Frontend Startup in case of connection problems

MythTV noreply at mythtv.org
Mon Feb 13 08:40:49 UTC 2017


#12977: Improved Frontend Startup in case of connection problems
------------------------------+-----------------------------
 Reporter:  pbennett          |          Owner:  pbennett
     Type:  Developer Task    |         Status:  closed
 Priority:  minor             |      Milestone:  29.0
Component:  MythTV - General  |        Version:  Master Head
 Severity:  medium            |     Resolution:  fixed
 Keywords:                    |  Ticket locked:  0
------------------------------+-----------------------------

Comment (by warpme@…):

 Peter, r313 still gives me language selection screen.
 Here is log from starting FE when language screen is displayed:


 {{{
 root at FE-IntelNUC:~ # /usr/bin/mythfrontend.sh
 2017-02-13 09:34:35.037054 I  Setup Interrupt handler
 2017-02-13 09:34:35.037087 I  Setup Terminated handler
 2017-02-13 09:34:35.037094 I  Setup Segmentation fault handler
 2017-02-13 09:34:35.037100 I  Setup Aborted handler
 2017-02-13 09:34:35.037105 I  Setup Bus error handler
 2017-02-13 09:34:35.037110 I  Setup Floating point exception handler
 2017-02-13 09:34:35.037115 I  Setup Illegal instruction handler
 2017-02-13 09:34:35.037122 I  Setup Real-time signal 0 handler
 2017-02-13 09:34:35.037128 I  Setup User defined signal 1 handler
 2017-02-13 09:34:35.037134 I  Setup User defined signal 2 handler
 2017-02-13 09:34:35.037138 I  Setup Hangup handler
 2017-02-13 09:34:35.037290 C  mythfrontend version: master
 [v29-pre-313-ge9daa4e] www.mythtv.org
 2017-02-13 09:34:35.037297 C  Qt version: compile: 5.4.1, runtime: 5.4.1
 2017-02-13 09:34:35.037301 N  Enabled verbose msgs:  general libav
 playback audio
 2017-02-13 09:34:35.037400 N  Setting Log Level to LOG_DEBUG
 2017-02-13 09:34:35.047897 I  Added logging to the console
 2017-02-13 09:34:35.047907 N  Using runtime prefix = /usr
 2017-02-13 09:34:35.047912 N  Using configuration directory =
 /home/minimyth/.mythtv
 2017-02-13 09:34:35.047915 D  appbindir      = /usr/bin/
 2017-02-13 09:34:35.047918 D  sharedir       = /usr/share/mythtv/
 2017-02-13 09:34:35.047920 D  libdir         = /usr/lib/mythtv/
 2017-02-13 09:34:35.047923 D  themedir       = /usr/share/mythtv/themes/
 2017-02-13 09:34:35.047924 D  pluginsdir     = /usr/lib/mythtv/plugins/
 2017-02-13 09:34:35.047940 D  translationsdir= /usr/share/mythtv/i18n/
 2017-02-13 09:34:35.047941 D  filtersdir     = /usr/lib/mythtv/filters/
 2017-02-13 09:34:35.047999 I  Assumed character encoding: en_US.UTF-8
 2017-02-13 09:34:35.048509 N  Empty LocalHostName.
 2017-02-13 09:34:35.048517 I  Using localhost value of FE-IntelNUC
 2017-02-13 09:34:35.048569 I  Start up testing connections. DB
 192.168.1.254, BE , attempt 0, status dbAwake
 2017-02-13 09:34:35.048574 D  host 192.168.1.254 port 3306 timeLimit 1
 2017-02-13 09:34:35.148488 I  Added logging to
 /tmp/mythfrontend.20170213083435.7792.log
 2017-02-13 09:34:35.549054 D  socket state 2
 2017-02-13 09:34:36.049433 D  socket state 3
 2017-02-13 09:34:36.069058 D  host 192.168.1.254 port 6543 timeLimit 1
 2017-02-13 09:34:36.569262 D  socket state 2
 2017-02-13 09:34:37.069476 D  socket state 3
 2017-02-13 09:34:37.085250 D  FindDatabase() - Success!
 2017-02-13 09:34:37.091508 N  Setting QT default locale to pl_PL
 2017-02-13 09:34:37.091523 I  Current locale pl_PL
 2017-02-13 09:34:37.091572 E  No locale defaults file for pl_PL, skipping
 2017-02-13 09:34:37.091680 I  Loading en_us translation for module
 mythfrontend
 2017-02-13 09:34:37.091918 I  Starting process manager
 2017-02-13 09:34:37.091941 I  Starting process signal handler
 2017-02-13 09:34:37.091965 I  Starting IO manager (read)
 2017-02-13 09:34:37.091983 I  Starting IO manager (write)
 2017-02-13 09:34:37.142297 I  ScreenSaverX11Private: XScreenSaver support
 enabled
 2017-02-13 09:34:37.143203 I  ScreenSaverX11Private: DPMS is disabled.
 2017-02-13 09:34:37.150994 N  Desktop video mode: 1280x1024 60.020 Hz
 2017-02-13 09:34:37.152267 I  max_width: 1280 max_height: 1024
 2017-02-13 09:34:37.177687 D  Adding IPv4 loopback to address list.
 2017-02-13 09:34:37.177726 D  Adding '192.168.1.133' to address list.
 2017-02-13 09:34:37.177820 I  Listening on TCP 127.0.0.1:6547
 2017-02-13 09:34:37.177848 I  Listening on TCP 192.168.1.133:6547
 2017-02-13 09:34:37.179377 D  MMulticastSocketDevice(:24): setsockopt -
 IP_MULTICAST_IF
                         eno: Cannot assign requested address (99)
 2017-02-13 09:34:37.320731 D  MMulticastSocketDevice(:24): setsockopt -
 IP_MULTICAST_IF
                         eno: Cannot assign requested address (99)
 2017-02-13 09:34:37.339426 I  Loading en_us translation for module
 mythfrontend
 2017-02-13 09:34:37.339860 N  Desktop video mode: 1280x1024 60.020 Hz
 2017-02-13 09:34:37.339918 I  max_width: 1280 max_height: 1024
 2017-02-13 09:34:37.339951 I  Changing to 1920x1080 0.000 Hz
 2017-02-13 09:34:37.339956 E  Desired Resolution and FrameRate not found.
 2017-02-13 09:34:37.339961 E  SwitchToGUI: xrandr failed for 1920x1080
 0.000  Hz
 2017-02-13 09:34:37.343308 I  LIRC: Successfully initialized '/dev/lircd'
 using '/home/minimyth/.mythtv/lircrc' config
 2017-02-13 09:34:37.343340 I  UDPListener: Enabling
 2017-02-13 09:34:37.343470 I  Binding to UDP 127.0.0.1:6948
 2017-02-13 09:34:37.343498 I  Binding to UDP 192.168.1.133:6948
 2017-02-13 09:34:37.343522 I  Binding to UDP 192.168.1.255:6948
 2017-02-13 09:34:37.356466 I  Using Frameless Window
 2017-02-13 09:34:37.356471 I  Using Full Screen Window
 2017-02-13 09:34:37.367538 I  UI Screen Resolution: 1280 x 1024
 2017-02-13 09:34:37.429023 W  OpenGL: Could not determine whether Sync to
 VBlank is enabled.
 2017-02-13 09:34:37.433315 I  Trying the OpenGL 2.0 render
 2017-02-13 09:34:37.433480 I  OpenGL painter using existing OpenGL
 context.
 2017-02-13 09:34:37.439877 I  OpenGL2: GLSL supported
 2017-02-13 09:34:37.439926 I  OpenGL: OpenGL vendor  : Intel Open Source
 Technology Center
 2017-02-13 09:34:37.439931 I  OpenGL: OpenGL renderer: Mesa DRI Intel(R)
 Ivybridge Mobile
 2017-02-13 09:34:37.439934 I  OpenGL: OpenGL version : 3.0 Mesa 13.0.4
 2017-02-13 09:34:37.439940 I  OpenGL: Max texture size: 8192 x 8192
 2017-02-13 09:34:37.439943 I  OpenGL: Max texture units: 8
 2017-02-13 09:34:37.439948 I  OpenGL: Direct rendering: Yes
 2017-02-13 09:34:37.439953 I  OpenGL: Extensions Supported: 1e1b
 2017-02-13 09:34:37.439956 I  OpenGL: PixelBufferObject support available
 2017-02-13 09:34:37.439976 D
 #version 110
 attribute vec2 a_position;
 attribute vec4 a_color;
 varying   vec4 v_color;
 uniform   mat4 u_projection;
 uniform   mat4 u_transform;
 void main() {
     gl_Position = u_projection * u_transform * vec4(a_position, 0.0, 1.0);
     v_color     = a_color;
 }

 2017-02-13 09:34:37.439982 D
 #version 110
 varying vec4 v_color;
 void main(void)
 {
     gl_FragColor = v_color;
 }

 2017-02-13 09:34:37.441907 D
 #version 110
 attribute vec2 a_position;
 attribute vec4 a_color;
 attribute vec2 a_texcoord0;
 varying   vec4 v_color;
 varying   vec2 v_texcoord0;
 uniform   mat4 u_projection;
 uniform   mat4 u_transform;
 void main() {
     gl_Position = u_projection * u_transform * vec4(a_position, 0.0, 1.0);
     v_texcoord0 = a_texcoord0;
     v_color     = a_color;
 }

 2017-02-13 09:34:37.441916 D
 #version 110
 #extension GL_ARB_texture_rectangle : enable
 uniform sampler2DRect s_texture0;
 varying vec4 v_color;
 varying vec2 v_texcoord0;
 void main(void)
 {
     gl_FragColor = texture2DRect(s_texture0, v_texcoord0) * v_color;
 }

 2017-02-13 09:34:37.447566 D
 #version 110
 attribute vec2 a_position;
 attribute vec4 a_color;
 varying   vec4 v_color;
 varying   vec2 v_position;
 uniform   mat4 u_projection;
 uniform   mat4 u_transform;
 void main() {
     gl_Position = u_projection * u_transform * vec4(a_position, 0.0, 1.0);
     v_color     = a_color;
     v_position  = a_position;
 }

 2017-02-13 09:34:37.447575 D
 #version 110
 varying vec4 v_color;
 varying vec2 v_position;
 uniform mat4 u_parameters;
 void main(void)
 {
     float dis = distance(v_position.xy, u_parameters[0].xy);
     float mult = smoothstep(u_parameters[0].z, u_parameters[0].w, dis);
     gl_FragColor = v_color * vec4(1.0, 1.0, 1.0, mult);
 }

 2017-02-13 09:34:37.450899 D
 #version 110
 attribute vec2 a_position;
 attribute vec4 a_color;
 varying   vec4 v_color;
 varying   vec2 v_position;
 uniform   mat4 u_projection;
 uniform   mat4 u_transform;
 void main() {
     gl_Position = u_projection * u_transform * vec4(a_position, 0.0, 1.0);
     v_color     = a_color;
     v_position  = a_position;
 }

 2017-02-13 09:34:37.450906 D
 #version 110
 varying vec4 v_color;
 varying vec2 v_position;
 uniform mat4 u_parameters;
 void main(void)
 {
     float dis = distance(v_position.xy, u_parameters[0].xy);
     float rad = u_parameters[0].z;
     float wid = u_parameters[0].w;
     float mult = smoothstep(rad + wid, rad + (wid - 1.0), dis) *
 smoothstep(rad - (wid + 1.0), rad - wid, dis);
     gl_FragColor = v_color * vec4(1.0, 1.0, 1.0, mult);
 }

 2017-02-13 09:34:37.455006 D
 #version 110
 attribute vec2 a_position;
 attribute vec4 a_color;
 varying   vec4 v_color;
 varying   vec2 v_position;
 uniform   mat4 u_projection;
 uniform   mat4 u_transform;
 void main() {
     gl_Position = u_projection * u_transform * vec4(a_position, 0.0, 1.0);
     v_color     = a_color;
     v_position  = a_position;
 }

 2017-02-13 09:34:37.455013 D
 #version 110
 varying vec4 v_color;
 varying vec2 v_position;
 uniform mat4 u_parameters;
 void main(void)
 {
     float dis = abs(u_parameters[0].x - v_position.x);
     float y = u_parameters[0].y * 2.0;
     float mult = smoothstep(y, y - 0.1, dis) * smoothstep(-0.1, 0.0, dis);
     gl_FragColor = v_color * vec4(1.0, 1.0, 1.0, mult);
 }

 2017-02-13 09:34:37.459189 D
 #version 110
 attribute vec2 a_position;
 attribute vec4 a_color;
 varying   vec4 v_color;
 varying   vec2 v_position;
 uniform   mat4 u_projection;
 uniform   mat4 u_transform;
 void main() {
     gl_Position = u_projection * u_transform * vec4(a_position, 0.0, 1.0);
     v_color     = a_color;
     v_position  = a_position;
 }

 2017-02-13 09:34:37.459201 D
 #version 110
 varying vec4 v_color;
 varying vec2 v_position;
 uniform mat4 u_parameters;
 void main(void)
 {
     float dis = abs(u_parameters[0].x - v_position.y);
     float x = u_parameters[0].y * 2.0;
     float mult = smoothstep(x, x - 0.1, dis) * smoothstep(-0.1, 0.0, dis);
     gl_FragColor = v_color * vec4(1.0, 1.0, 1.0, mult);
 }

 2017-02-13 09:34:37.462839 I  OpenGL: Initialised MythRenderOpenGL
 2017-02-13 09:34:38.256100 D  Copying DLManager's Cookie Jar
 2017-02-13 09:34:38.316628 D  MythCookieJar: loading cookies from:
 /home/minimyth/.mythtv/MythBrowser/cookiejar.txt
 2017-02-13 09:34:38.318284 I  MythUIWebBrowser: Loading css from -
 file:///usr/share/mythtv/themes/default/htmls/mythbrowser.css
 2017-02-13 09:34:38.319180 I  MythUIWebBrowser: enabling plugins
 2017-02-13 09:34:38.328630 I  MythCoreContext::ConnectCommandSocket():
 Connecting to backend server: 192.168.1.254:6543 (try 1 of 1)
 2017-02-13 09:34:38.330294 I  MythCoreContext::CheckProtoVersion(): Using
 protocol version 91 BuzzOff
 2017-02-13 09:34:38.384687 D  RAOP Conn: Loaded RSA private key (1)
 2017-02-13 09:34:38.384926 I  RAOP Device: Created RAOP device objects.
 2017-02-13 09:34:38.384979 I  AirPlay: Created airplay objects.
 2017-02-13 09:34:38.394136 I  Listening on TCP 127.0.0.1:5100
 2017-02-13 09:34:38.394178 I  Listening on TCP 192.168.1.133:5100
 2017-02-13 09:34:38.406028 I  Listening on TCP 127.0.0.1:5000
 2017-02-13 09:34:38.406075 I  Listening on TCP 192.168.1.133:5000
 2017-02-13 09:34:38.406086 I  RAOP Device: Listening for connections on
 port 5000
 2017-02-13 09:34:38.406151 I  Registering service 6d216c41595a at MythTV on
 FE-IntelNUC._raop._tcp port 5000 TXT
 tp=UDsm=falssv=falseek=1et=0,1cn=0,1ch=2ss=1sr=4410pw=falsevn=3
 txtvers=md=0,1,vs=115.2da=true
 am=MythTV,1
 2017-02-13 09:34:38.417068 I  Bonjour: Service registration complete: name
 'Mythfrontend on FE-IntelNUC' type '_mythfrontend._tcp.' domain: 'local.'
 2017-02-13 09:34:38.494198 I  System Locale (pl_PL), Country (PL),
 Language (pl)
 2017-02-13 09:34:39.343080 I  Bonjour: Service registration complete: name
 'MythTV on FE-IntelNUC' type '_airplay._tcp.' domain: 'local.'
 2017-02-13 09:34:39.352640 I  Bonjour: Service registration complete: name
 '6d216c41595a at MythTV on FE-IntelNUC' type '_raop._tcp.' domain: 'local.'
 }}}

--
Ticket URL: <https://code.mythtv.org/trac/ticket/12977#comment:11>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list