![]() |
#1 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Jan 2021
Device: none
|
Viewer will not launch,
Calibre's epub viewer refuses to run, and always gives the same error. From the command line on Linux:
ebook-viewer QGLXContext: Failed to create dummy context WebEngineContext used before QtWebEngine::initialize() or OpenGL context creation failed. 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: ![]() ![]() Aborted (core dumped) If I can get the GUI to run, it gives the same output, without the core dump or the Abort. Not an expert, so suggestions? It worked fine until about a week ago. Ubuntu 18.04. Looks like Calibre 4.99.12. Now, I'm hoping that updating will take care of the problem, doing that as I type, and I'm guessing that something updated that it was depending on. Except that the update didn't fix the issue; I still get the errors in 5.10.1. After clicking "View" from the Calibre GUI, I see this in terminal: WebEngineContext used before QtWebEngine::initialize() or OpenGL context creation failed. QGLXContext: Failed to create dummy context 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: ![]() ![]() How do I fix this? Not even sure what the issue is. |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,251
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
It means your GPU driver is incompatible with Qt WebEngine with the viewer uses. You can try turning off hardware acceleration, as described here: https://doc.qt.io/qt-5/qtwebengine-debugging.html
|
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Jan 2021
Device: none
|
Quote:
ebook-viewer: error: no such option: --disable-gpu |
|
![]() |
![]() |
![]() |
#4 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,368
Karma: 78877538
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
0.9.7: Anomaly viewer, start viewer in full screen mode | DrChiper | Calibre | 2 | 11-23-2012 06:33 AM |
[Kindle Touch] No Image viewer and pdf viewer with white margins | MaxPowerITA | Kindle Developer's Corner | 7 | 04-24-2012 05:27 AM |
[old-topic]ebook-viewer: Open source, crossplatform viewer for EPUB, LIT, MOBI, etc | kovidgoyal | Calibre | 68 | 05-30-2011 08:46 PM |
E-Book Viewer as standalone viewer | Peter Swallow | Library Management | 3 | 05-15-2011 12:06 PM |
# user css for viewer.py/ ebook-viewer/ prs-650 | tscamera | Calibre | 0 | 01-02-2011 06:28 PM |