Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 08-04-2023, 01:25 PM   #1
jwes
Enthusiast
jwes began at the beginning.
 
Posts: 39
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:efaultSwapBehavior, swapInterval 1, colorSpace QSurfaceFormat:efaultColorSpace, profile QSurfaceFormat::NoProfile), shared context: 0x30000 (The operation completed successfully.)
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:efaultSwapBehavior, swapInterval 1, colorSpace QSurfaceFormat:efaultColorSpace, profile QSurfaceFormat::NoProfile) .
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.
jwes is offline   Reply With Quote
Old 08-04-2023, 01:38 PM   #2
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 27,588
Karma: 193191846
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.
DiapDealer is offline   Reply With Quote
Old 08-04-2023, 01:43 PM   #3
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 7,714
Karma: 5444398
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.
KevinH is offline   Reply With Quote
Old 08-05-2023, 10:22 AM   #4
jwes
Enthusiast
jwes began at the beginning.
 
Posts: 39
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.
jwes is offline   Reply With Quote
Old 08-05-2023, 10:43 AM   #5
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 7,714
Karma: 5444398
Join Date: Nov 2009
Device: many
Thanks for reporting that back. Hopefully it will help others who find this thread who have similar issues.
KevinH is offline   Reply With Quote
Old 08-05-2023, 10:45 AM   #6
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,117
Karma: 18727091
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
Quote:
Originally Posted by jwes View Post
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.
Did you try that before, or after, setting the GPU acceleration in Sigil preferences?
Attached Thumbnails
Click image for larger version

Name:	Screenshot 2023-08-05 104454.png
Views:	55
Size:	24.7 KB
ID:	202993  
Turtle91 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 11:50 AM.


MobileRead.com is a privately owned, operated and funded community.