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

Bug #1500068 reported by Chris Hill
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenLP
Won't Fix
Undecided
Unassigned
Documentation
Fix Released
Low
Tomas Groth

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

Revision history for this message
Tomas Groth (tomasgroth) wrote :

Hi Chris,

Thank you for bringing this to our attention. We'll include it in our trouble shooting guide.

Revision history for this message
Tomas Groth (tomasgroth) wrote :

This has now been added in the documentation that will be released with OpenLP 2.2. Don't know if we can do much more...

Revision history for this message
Chris Hill (minkus) wrote :

Interestingly enough I had a go with a similar scenario in Windows 10 (using the built-in drivers) and it seemed to be OK.

I guess the Windows 8.1 default OpenGL renderer is different to the Windows 10 one. It may be a Windows 8 only issue (which might mean it goes away pretty quick?!? :)

Thanks for putting it in the docs anyway.

Revision history for this message
Phill (phill-ridout) wrote :

Set to fixed commited as per toamasgroth 's comment

Changed in openlp:
status: New → Fix Committed
Tim Bentley (trb143)
Changed in openlp:
status: Fix Committed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.