![]() |
#1 |
Connoisseur
![]() Posts: 67
Karma: 10
Join Date: Jul 2023
Device: none
|
Sigil crashing
If I have Sigil open, but don't use it for a few hours, I regularly get a message 'Sigil has encountered a problem. Sigil may need to close.
Error info: Critical: ARB::createContext: wglCreateContextAttribsARB() failed (GL error code: 0x502) for format: QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples 0, swapBehavior QSurfaceFormat: ![]() ![]() Sigil version: 1.9.30 Runtime Qt: 5.12.9 Compiled Qt: 5.12.9 System: Windows 10 (10.0) Architecture: x86_64 and another error box: Error info: Critical: GDI::createContext: wglCreateContext failed. (Unknown error 0xc007001f.) Sigil version: 1.9.30 Runtime Qt: 5.12.9 Compiled Qt: 5.12.9 System: Windows 10 (10.0) Architecture: x86_64 and a third box: Error info: Fatal: Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples 0, swapBehavior QSurfaceFormat: ![]() ![]() This is most likely caused by not having the necessary graphics drivers installed. Install a driver providing OpenGL 2.0 or higher, or, if this is not possible, make sure the ANGLE Open GL ES 2.0 emulation libraries (libEGL.dll, libGLESv2.dll and d3dcompiler_*.dll) are available in the application executable's directory or in a location listed in PATH. Sigil version: 1.9.30 Runtime Qt: 5.12.9 Compiled Qt: 5.12.9 System: Windows 10 (10.0) Architecture: x86_64 If I am using Sigil, I have no such problems. I am accessing the machine through Remote desktop, so there is no user activity whatever for a few hours. AFAIK my system and drivers are up to date. |
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,341
Karma: 203719142
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
The internet is full of "Failed to create OpenGL context for format" errors with programs run via Remote Desktop.
Here are just a couple: https://learn.microsoft.com/en-us/an...-reconnect-you https://github.com/plexinc/plex-media-player/issues/742 https://community.rstudio.com/t/rstu...-failing/77559 https://stackoverflow.com/questions/...windows-remote Last edited by DiapDealer; 08-04-2023 at 01:44 PM. |
![]() |
![]() |
![]() |
#3 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,439
Karma: 5702578
Join Date: Nov 2009
Device: many
|
Meaning that the bug is not in Sigil but in how OpenGL interacts with Remote Desktop. So we cannot unfortunately do anything about it.
In fact it is a well-known and longstanding problem: See for example: https://stackoverflow.com/questions/...windows-remote That said, does turning off Graphics Acceleration in Sigil Preferences help at all? Last edited by KevinH; 08-04-2023 at 03:51 PM. |
![]() |
![]() |
![]() |
#4 |
Connoisseur
![]() Posts: 67
Karma: 10
Join Date: Jul 2023
Device: none
|
This seems to have fixed it
Browse to: Local Computer Policy\Computer Configuration\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Remote Session Environment Find the item “Use WDDM graphics display driver for Remote Desktop Connections” and disable it. |
![]() |
![]() |
![]() |
#5 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,439
Karma: 5702578
Join Date: Nov 2009
Device: many
|
Thanks for reporting that back. Hopefully it will help others who find this thread who have similar issues.
|
![]() |
![]() |
![]() |
#6 | |
A Hairy Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,295
Karma: 20171067
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
Quote:
|
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Read only files - Sigil is crashing (not really) | Maui | Sigil | 1 | 04-18-2018 11:19 AM |
Sigil keeps crashing.. any ideas | rosshalde | Sigil | 33 | 12-08-2014 08:45 AM |
sigil 7.4 and maverick crashing crashing crashing | Carrigboy | Sigil | 103 | 09-04-2014 11:47 AM |
Sigil keeps crashing | kksdragons | Sigil | 18 | 11-14-2013 06:20 AM |
Sigil is crashing in Windows | lindaw2396 | Sigil | 4 | 04-22-2013 05:42 PM |