[mythtv-commits] Ticket #13538: Crash on start of mythfrontend

MythTV noreply at mythtv.org
Tue Dec 31 08:09:47 UTC 2019


#13538: Crash on start of mythfrontend
--------------------------------+------------------------------
 Reporter:  Klaas de Waal       |          Owner:  mark-kendall
     Type:  Bug Report - Crash  |         Status:  accepted
 Priority:  blocker             |      Milestone:  31.0
Component:  MythTV - General    |        Version:  Master Head
 Severity:  high                |     Resolution:
 Keywords:                      |  Ticket locked:  0
--------------------------------+------------------------------

Comment (by Klaas de Waal):

 The missing libGLX is a good point, have added this now and the crash is
 gone but now it hangs.....

 Changed settings.pro to add libGLX:

 {{{
 diff --git a/mythtv/settings.pro b/mythtv/settings.pro
 index 3f49f9943f..dbff360cca 100755
 --- a/mythtv/settings.pro
 +++ b/mythtv/settings.pro
 @@ -229,6 +229,9 @@ win32 {
          EXTRA_LIBS += $$CONFIG_OPENGL_LIBS
      }

 +    # KdW hack
 +    EXTRA_LIBS += -lGLX
 +
      # remove warn_{on|off} from CONFIG since we set it in our CFLAGS
      CONFIG -= warn_on warn_off

 }}}

 The resulting mythfrontend does now link to libGLX and it now goes beyond
 the "create" call in which it crashed previously. This is the log now:

 {{{
 Dec 30 14:03:48 myth3 mythfrontend: mythfrontend[1182]: I CoreContext
 mythmainwindow.cpp:1004 (Init) Using Frameless Window
 Dec 30 14:03:48 myth3 mythfrontend: mythfrontend[1182]: I CoreContext
 mythmainwindow.cpp:1020 (Init) Using Full Screen Window
 Dec 30 14:03:48 myth3 mythfrontend: mythfrontend[1182]: I CoreContext
 mythdisplay.cpp:145 (SetWidget) Display: New main widget
 Dec 30 14:03:48 myth3 mythfrontend: mythfrontend[1182]: I CoreContext
 mythdisplay.cpp:241 (GetDesiredScreen) Display: Found screen number 0
 (HDMI-0)
 Dec 30 14:03:48 myth3 mythfrontend: mythfrontend[1182]: I CoreContext
 mythmainwindow.cpp:1053 (Init) UI Screen Resolution: 1920 x 1080
 Dec 30 14:03:48 myth3 mythfrontend: mythfrontend[1182]: C CoreContext
 opengl/mythrenderopengl.cpp:523 (SetWidget) OpenGL: Failed to create
 OpenGLContext!
 Dec 30 14:03:48 myth3 mythfrontend: mythfrontend[1182]: E CoreContext
 opengl/mythrenderopengl.cpp:217 (Init) OpenGL: MythRenderOpenGL is not a
 valid OpenGL rendering context
 Dec 30 14:03:48 myth3 mythfrontend: mythfrontend[1182]: W CoreContext
 mythmainwindow.cpp:1106 (Init) OpenGL painter not recommended with this
 system's hardware/drivers. Falling back to Qt painter.
 Dec 30 14:03:48 myth3 mythfrontend: mythfrontend[1182]: I CoreContext
 opengl/mythrenderopengl.cpp:142 (~MythRenderOpenGL) OpenGL:
 MythRenderOpenGL closing
 Dec 30 14:03:48 myth3 mythfrontend: mythfrontend[1182]: W CoreContext
 opengl/mythrenderopengl.#003:210 (contextToBeDestroyed) OpenGL: Context
 about to be destroyed
 D

 }}}

 Mythfrontend keeps running but the problem is now that there appears
 nothing on the screen.

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


More information about the mythtv-commits mailing list