← Back to team overview

openlp-core team mailing list archive

[Bug 1500068] [NEW] "OpenLP has stopped working" when OpenGL not installed on Windows 8.1

 

Public bug reported:

I recently upgraded a laptop to Windows 8.1 and experienced problems
starting up OpenLP.

After the initial setup phase, when attempting to start OpenLP. I got
the error "OpenLP has stopped working" and the application crashed. This
worked fine under Windows Vista.

After some investigation, I discovered that OpenLP was crashing after
'Init done for SlideController' in the debug log (see below). I checked
out the log on a working machine and saw that normally after this code
in openlp.core.ui.maindisplay is run, including the following code:

        if not is_macosx():
            self.setViewport(QtOpenGL.QGLWidget())

This rang a bell as I had struggled to get other OpenGL apps working on
the laptop post install. After checking the Intel website, I discovered
that the laptop had an Intel 965 chipset, but the default drivers that
come with Windows 8.1 do not support OpenGL. I downloaded the last
Windows 7 set of drivers available for this device (win7_1512754.exe)
and installed them on the laptopm even though they were 'older' than
those included with Windows 8.1. After rebooting, the problem went away.

If this happens again it is worth people upgrading their graphics
drivers if they are still using the built-in Microsoft ones (if the
device name contains the words 'Microsoft Corporation' in Device
Manager). It would be helpful if OpenLP could detect if the current
drivers support OpenGL properly. If they don't, it probably shouldn't
attempt to initialise the viewport with OpenGL enabled, to avoid the
crash happening for others.

Debug log for crash follows:

2015-09-26 17:50:37,973 openlp.core.utils                                       INFO     Openlp version 2.0.5
2015-09-26 17:50:37,973 openlp.core.utils.languagemanager                       INFO     Language file: '[en]' Loaded from conf file
2015-09-26 17:50:37,980 root                                                    DEBUG    Could not find default_translator.
2015-09-26 17:50:37,983 openlp.core.ui.screen                                   INFO     Screen 0 found with resolution PyQt4.QtCore.QRect(0, 0, 1440, 900)
2015-09-26 17:50:37,983 openlp.core.ui.screen                                   INFO     Screen 1 found with resolution PyQt4.QtCore.QRect(1440, 0, 1024, 768)
2015-09-26 17:50:37,983 openlp.core.ui.screen                                   DEBUG    set_current_display 1
2015-09-26 17:50:37,983 openlp.core.ui.screen                                   DEBUG    reset_current_display
2015-09-26 17:50:37,983 openlp.core.ui.screen                                   DEBUG    set_current_display 1
2015-09-26 17:50:38,056 openlp.core.lib                                         DEBUG    check_directory_exists C:\Users\chris\AppData\Roaming\openlp\data
2015-09-26 17:50:38,069 openlp.core.lib.pluginmanager                           INFO     Plugin manager Initialising
2015-09-26 17:50:38,069 openlp.core.lib.pluginmanager                           DEBUG    Inserting C:\Program Files (x86)\OpenLP\plugins into sys.path
2015-09-26 17:50:38,069 openlp.core.lib.pluginmanager                           DEBUG    Base path C:\Program Files (x86)\OpenLP\plugins 
2015-09-26 17:50:38,069 openlp.core.lib.pluginmanager                           INFO     Plugin manager Initialised
2015-09-26 17:50:38,069 openlp.core.ui.media.mediacontroller                    DEBUG    check_available_media_players
2015-09-26 17:50:38,069 openlp.core.ui.media.mediacontroller                    DEBUG    Importing controller openlp.core.ui.media.phononplayer
2015-09-26 17:50:38,073 openlp.core.ui.media.mediacontroller                    DEBUG    Importing controller openlp.core.ui.media.vlcplayer
2015-09-26 17:50:38,150 openlp.core.ui.media.mediacontroller                    DEBUG    Importing controller openlp.core.ui.media.webkitplayer
2015-09-26 17:50:38,174 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: audio/3gpp extensions: .3gp
2015-09-26 17:50:38,174 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: audio/3gpp2 extensions: .3g2
2015-09-26 17:50:38,174 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: audio/aiff extensions: .aiff
2015-09-26 17:50:38,174 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: audio/basic extensions: .au .snd
2015-09-26 17:50:38,174 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: audio/mid extensions: .mid
2015-09-26 17:50:38,174 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: audio/midi extensions: .mid
2015-09-26 17:50:38,174 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: audio/midi additional extensions: .mid .midi
2015-09-26 17:50:38,174 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: audio/mp3 extensions: .mp3
2015-09-26 17:50:38,174 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: audio/mp4 extensions: .m4a
2015-09-26 17:50:38,174 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: audio/mpeg extensions: .mp3 .mp2
2015-09-26 17:50:38,174 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: audio/mpeg additional extensions: .mp3 .mp2 .mpga .mpega .m4a
2015-09-26 17:50:38,174 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: audio/mpegurl extensions: .m3u
2015-09-26 17:50:38,174 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: audio/mpg extensions: .mp3
2015-09-26 17:50:38,174 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: audio/vnd.dlna.adts extensions: .adts
2015-09-26 17:50:38,174 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: audio/wav extensions: .wav
2015-09-26 17:50:38,174 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: audio/x-aiff extensions: .aif .aiff .aifc
2015-09-26 17:50:38,176 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: audio/x-flac extensions: .flac
2015-09-26 17:50:38,176 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: audio/x-matroska extensions: .mka
2015-09-26 17:50:38,176 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: audio/x-mid extensions: .mid
2015-09-26 17:50:38,176 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: audio/x-midi extensions: .mid
2015-09-26 17:50:38,176 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: audio/x-mp3 extensions: .mp3
2015-09-26 17:50:38,176 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: audio/x-mp3 additional extensions: .mp3
2015-09-26 17:50:38,176 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: audio/x-mpeg extensions: .mp3
2015-09-26 17:50:38,176 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: audio/x-mpegurl extensions: .m3u
2015-09-26 17:50:38,176 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: audio/x-mpg extensions: .mp3
2015-09-26 17:50:38,176 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: audio/x-ms-wax extensions: .wax
2015-09-26 17:50:38,177 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: audio/x-ms-wma extensions: .wma
2015-09-26 17:50:38,177 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: audio/x-ms-wma additional extensions: .wma
2015-09-26 17:50:38,177 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: audio/x-wav extensions: .wav
2015-09-26 17:50:38,177 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: video/3gpp extensions: .3gpp
2015-09-26 17:50:38,177 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: video/3gpp2 extensions: .3g2
2015-09-26 17:50:38,177 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: video/avi extensions: .avi
2015-09-26 17:50:38,177 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: video/mp4 extensions: .mp4
2015-09-26 17:50:38,177 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: video/mpeg extensions: .m1v .mpeg .mpa .mpg .mpe
2015-09-26 17:50:38,177 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: video/mpeg additional extensions: .mp4 .mts .mov
2015-09-26 17:50:38,177 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: video/mpg extensions: .mpeg
2015-09-26 17:50:38,177 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: video/msvideo extensions: .avi
2015-09-26 17:50:38,177 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: video/quicktime extensions: .mov .qt
2015-09-26 17:50:38,177 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: video/vnd.dlna.mpeg-tts extensions: .tts
2015-09-26 17:50:38,177 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: video/x-matroska extensions: .mkv
2015-09-26 17:50:38,177 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: video/x-matroska additional extensions: .mpv .mkv
2015-09-26 17:50:38,177 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: video/x-matroska-3d extensions: 
2015-09-26 17:50:38,177 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: video/x-mpeg extensions: .mpeg
2015-09-26 17:50:38,177 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: video/x-mpeg2a extensions: .mpeg
2015-09-26 17:50:38,177 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: video/x-ms-asf extensions: .asx
2015-09-26 17:50:38,177 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: video/x-ms-asf-plugin extensions: .asx
2015-09-26 17:50:38,177 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: video/x-ms-wm extensions: .wm
2015-09-26 17:50:38,177 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: video/x-ms-wmv extensions: .wmv
2015-09-26 17:50:38,177 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: video/x-ms-wmv additional extensions: .wmv
2015-09-26 17:50:38,177 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: video/x-ms-wmx extensions: .wmx
2015-09-26 17:50:38,177 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: video/x-ms-wvx extensions: .wvx
2015-09-26 17:50:38,177 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: video/x-msvideo extensions: .avi
2015-09-26 17:50:38,177 openlp.core.ui.media                                    DEBUG    get_media_players
2015-09-26 17:50:38,178 openlp.core.ui.media                                    DEBUG    get_media_players
2015-09-26 17:50:38,180 openlp.core.lib.toolbar                                 DEBUG    Init done for SlideController
2015-09-26 17:50:38,183 openlp.core.lib.toolbar                                 DEBUG    Init done for SlideController

** Affects: openlp
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of OpenLP
Core, which is subscribed to OpenLP.
https://bugs.launchpad.net/bugs/1500068

Title:
  "OpenLP has stopped working" when OpenGL not installed on Windows 8.1

Status in OpenLP:
  New

Bug description:
  I recently upgraded a laptop to Windows 8.1 and experienced problems
  starting up OpenLP.

  After the initial setup phase, when attempting to start OpenLP. I got
  the error "OpenLP has stopped working" and the application crashed.
  This worked fine under Windows Vista.

  After some investigation, I discovered that OpenLP was crashing after
  'Init done for SlideController' in the debug log (see below). I
  checked out the log on a working machine and saw that normally after
  this code in openlp.core.ui.maindisplay is run, including the
  following code:

          if not is_macosx():
              self.setViewport(QtOpenGL.QGLWidget())

  This rang a bell as I had struggled to get other OpenGL apps working
  on the laptop post install. After checking the Intel website, I
  discovered that the laptop had an Intel 965 chipset, but the default
  drivers that come with Windows 8.1 do not support OpenGL. I downloaded
  the last Windows 7 set of drivers available for this device
  (win7_1512754.exe) and installed them on the laptopm even though they
  were 'older' than those included with Windows 8.1. After rebooting,
  the problem went away.

  If this happens again it is worth people upgrading their graphics
  drivers if they are still using the built-in Microsoft ones (if the
  device name contains the words 'Microsoft Corporation' in Device
  Manager). It would be helpful if OpenLP could detect if the current
  drivers support OpenGL properly. If they don't, it probably shouldn't
  attempt to initialise the viewport with OpenGL enabled, to avoid the
  crash happening for others.

  Debug log for crash follows:

  2015-09-26 17:50:37,973 openlp.core.utils                                       INFO     Openlp version 2.0.5
  2015-09-26 17:50:37,973 openlp.core.utils.languagemanager                       INFO     Language file: '[en]' Loaded from conf file
  2015-09-26 17:50:37,980 root                                                    DEBUG    Could not find default_translator.
  2015-09-26 17:50:37,983 openlp.core.ui.screen                                   INFO     Screen 0 found with resolution PyQt4.QtCore.QRect(0, 0, 1440, 900)
  2015-09-26 17:50:37,983 openlp.core.ui.screen                                   INFO     Screen 1 found with resolution PyQt4.QtCore.QRect(1440, 0, 1024, 768)
  2015-09-26 17:50:37,983 openlp.core.ui.screen                                   DEBUG    set_current_display 1
  2015-09-26 17:50:37,983 openlp.core.ui.screen                                   DEBUG    reset_current_display
  2015-09-26 17:50:37,983 openlp.core.ui.screen                                   DEBUG    set_current_display 1
  2015-09-26 17:50:38,056 openlp.core.lib                                         DEBUG    check_directory_exists C:\Users\chris\AppData\Roaming\openlp\data
  2015-09-26 17:50:38,069 openlp.core.lib.pluginmanager                           INFO     Plugin manager Initialising
  2015-09-26 17:50:38,069 openlp.core.lib.pluginmanager                           DEBUG    Inserting C:\Program Files (x86)\OpenLP\plugins into sys.path
  2015-09-26 17:50:38,069 openlp.core.lib.pluginmanager                           DEBUG    Base path C:\Program Files (x86)\OpenLP\plugins 
  2015-09-26 17:50:38,069 openlp.core.lib.pluginmanager                           INFO     Plugin manager Initialised
  2015-09-26 17:50:38,069 openlp.core.ui.media.mediacontroller                    DEBUG    check_available_media_players
  2015-09-26 17:50:38,069 openlp.core.ui.media.mediacontroller                    DEBUG    Importing controller openlp.core.ui.media.phononplayer
  2015-09-26 17:50:38,073 openlp.core.ui.media.mediacontroller                    DEBUG    Importing controller openlp.core.ui.media.vlcplayer
  2015-09-26 17:50:38,150 openlp.core.ui.media.mediacontroller                    DEBUG    Importing controller openlp.core.ui.media.webkitplayer
  2015-09-26 17:50:38,174 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: audio/3gpp extensions: .3gp
  2015-09-26 17:50:38,174 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: audio/3gpp2 extensions: .3g2
  2015-09-26 17:50:38,174 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: audio/aiff extensions: .aiff
  2015-09-26 17:50:38,174 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: audio/basic extensions: .au .snd
  2015-09-26 17:50:38,174 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: audio/mid extensions: .mid
  2015-09-26 17:50:38,174 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: audio/midi extensions: .mid
  2015-09-26 17:50:38,174 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: audio/midi additional extensions: .mid .midi
  2015-09-26 17:50:38,174 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: audio/mp3 extensions: .mp3
  2015-09-26 17:50:38,174 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: audio/mp4 extensions: .m4a
  2015-09-26 17:50:38,174 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: audio/mpeg extensions: .mp3 .mp2
  2015-09-26 17:50:38,174 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: audio/mpeg additional extensions: .mp3 .mp2 .mpga .mpega .m4a
  2015-09-26 17:50:38,174 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: audio/mpegurl extensions: .m3u
  2015-09-26 17:50:38,174 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: audio/mpg extensions: .mp3
  2015-09-26 17:50:38,174 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: audio/vnd.dlna.adts extensions: .adts
  2015-09-26 17:50:38,174 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: audio/wav extensions: .wav
  2015-09-26 17:50:38,174 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: audio/x-aiff extensions: .aif .aiff .aifc
  2015-09-26 17:50:38,176 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: audio/x-flac extensions: .flac
  2015-09-26 17:50:38,176 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: audio/x-matroska extensions: .mka
  2015-09-26 17:50:38,176 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: audio/x-mid extensions: .mid
  2015-09-26 17:50:38,176 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: audio/x-midi extensions: .mid
  2015-09-26 17:50:38,176 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: audio/x-mp3 extensions: .mp3
  2015-09-26 17:50:38,176 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: audio/x-mp3 additional extensions: .mp3
  2015-09-26 17:50:38,176 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: audio/x-mpeg extensions: .mp3
  2015-09-26 17:50:38,176 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: audio/x-mpegurl extensions: .m3u
  2015-09-26 17:50:38,176 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: audio/x-mpg extensions: .mp3
  2015-09-26 17:50:38,176 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: audio/x-ms-wax extensions: .wax
  2015-09-26 17:50:38,177 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: audio/x-ms-wma extensions: .wma
  2015-09-26 17:50:38,177 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: audio/x-ms-wma additional extensions: .wma
  2015-09-26 17:50:38,177 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: audio/x-wav extensions: .wav
  2015-09-26 17:50:38,177 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: video/3gpp extensions: .3gpp
  2015-09-26 17:50:38,177 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: video/3gpp2 extensions: .3g2
  2015-09-26 17:50:38,177 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: video/avi extensions: .avi
  2015-09-26 17:50:38,177 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: video/mp4 extensions: .mp4
  2015-09-26 17:50:38,177 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: video/mpeg extensions: .m1v .mpeg .mpa .mpg .mpe
  2015-09-26 17:50:38,177 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: video/mpeg additional extensions: .mp4 .mts .mov
  2015-09-26 17:50:38,177 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: video/mpg extensions: .mpeg
  2015-09-26 17:50:38,177 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: video/msvideo extensions: .avi
  2015-09-26 17:50:38,177 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: video/quicktime extensions: .mov .qt
  2015-09-26 17:50:38,177 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: video/vnd.dlna.mpeg-tts extensions: .tts
  2015-09-26 17:50:38,177 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: video/x-matroska extensions: .mkv
  2015-09-26 17:50:38,177 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: video/x-matroska additional extensions: .mpv .mkv
  2015-09-26 17:50:38,177 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: video/x-matroska-3d extensions: 
  2015-09-26 17:50:38,177 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: video/x-mpeg extensions: .mpeg
  2015-09-26 17:50:38,177 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: video/x-mpeg2a extensions: .mpeg
  2015-09-26 17:50:38,177 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: video/x-ms-asf extensions: .asx
  2015-09-26 17:50:38,177 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: video/x-ms-asf-plugin extensions: .asx
  2015-09-26 17:50:38,177 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: video/x-ms-wm extensions: .wm
  2015-09-26 17:50:38,177 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: video/x-ms-wmv extensions: .wmv
  2015-09-26 17:50:38,177 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: video/x-ms-wmv additional extensions: .wmv
  2015-09-26 17:50:38,177 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: video/x-ms-wmx extensions: .wmx
  2015-09-26 17:50:38,177 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: video/x-ms-wvx extensions: .wvx
  2015-09-26 17:50:38,177 openlp.core.ui.media.phononplayer                       INFO     MediaPlugin: video/x-msvideo extensions: .avi
  2015-09-26 17:50:38,177 openlp.core.ui.media                                    DEBUG    get_media_players
  2015-09-26 17:50:38,178 openlp.core.ui.media                                    DEBUG    get_media_players
  2015-09-26 17:50:38,180 openlp.core.lib.toolbar                                 DEBUG    Init done for SlideController
  2015-09-26 17:50:38,183 openlp.core.lib.toolbar                                 DEBUG    Init done for SlideController

To manage notifications about this bug go to:
https://bugs.launchpad.net/openlp/+bug/1500068/+subscriptions


Follow ups