Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Devices

Notices

Reply
 
Thread Tools Search this Thread
Old 06-27-2020, 12:01 AM   #1
martinf
Junior Member
martinf began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jun 2020
Device: Kindle
eBook viewer not opening in Ubuntu 20

Hi, have been looking for a post about this, but apparently I'm the first. Yesterday I was tweaking with folders at /etc/apt and some other stuff to solve an epson printer problem. Today calibre's eBook viewer doesn't work

I reinstalled the viewer, but still. Calibre does open all formats that I haven't selected to be opened by eBook viewer, but those that have been don't. For example pdfs are opened by the document viewer, but mobis and epubs don't open. No error message appears.

Any ideas? any libraries that I might have accidentally uninstalled that made it work?

Thanks
martinf is offline   Reply With Quote
Old 06-27-2020, 12:10 AM   #2
martinf
Junior Member
martinf began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jun 2020
Device: Kindle
Run the calibre-debug --viewer this is what I got...

calibre-debug --viewer
Turning on automatic hidpi scaling
devicePixelRatio: 1.0
logicalDpi: 96.0 x 96.0
physicalDpi: 141.7674418604651 x 141.4020618556701
Using calibre Qt style: True
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:efaultSwapBehavior, swapInterval 1, colorSpace QSurfaceFormat:efaultColorSpace, profile QSurfaceFormat::NoProfile)
Aborted (core dumped)

Hope this helps in helping me

Thanks
martinf is offline   Reply With Quote
Advert
Old 06-27-2020, 12:45 AM   #3
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 44,557
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
That's an issue with your opengl drivers, basically Qt is usable to create an OpenGL context.
kovidgoyal is online now   Reply With Quote
Old 06-27-2020, 01:41 AM   #4
martinf
Junior Member
martinf began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jun 2020
Device: Kindle
ok, i'll check into that. Thanks for the quick reply and congratulations for the amazing work. Calibre is great!
martinf is offline   Reply With Quote
Old 03-01-2023, 05:32 AM   #5
akikara
Enthusiast
akikara began at the beginning.
 
Posts: 31
Karma: 10
Join Date: May 2013
Device: Kindle Touch
Hello threre. I am using Ubuntu 22.04 latest version of Calibre 6.13

Here is my output of calibre-debug --viewer


da@ffof:~$ calibre-debug --viewer
QPA platform: xcb
devicePixelRatio: 1.0
logicalDpi: 96.0 x 96.0
physicalDpi: 92.53889943074003 x 92.67567567567568
Using calibre Qt style: True
qt.webenginecontext:

GL Type: desktop
Surface Type: OpenGL
Surface Profile: CompatibilityProfile
Surface Version: 4.3
QSG RHI Backend: OpenGL
Using Supported QSG Backend: yes
Using Software Dynamic GL: no
Using Multithreaded OpenGL: no

Init Parameters:
* application-name calibre
* browser-subprocess-path /opt/calibre/libexec/QtWebEngineProcess
* create-default-gl-context
* disable-features ConsolidatedMovementXY,InstalledApp,BackgroundFetc h,WebOTP,WebPayments,WebUSB,PictureInPicture
* disable-setuid-sandbox
* disable-speech-api
* enable-features NetworkServiceInProcess,TracingServiceInProcess
* enable-threaded-compositing
* in-process-gpu
* use-gl desktop

Problem is E-book viewer is not responding.

Here is ss:

Last edited by akikara; 03-01-2023 at 08:25 AM. Reason: ss added
akikara is offline   Reply With Quote
Advert
Old 03-01-2023, 11:02 AM   #6
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 44,557
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Update your GPU drivers or Turn off hardware acceleration as described here: https://doc.qt.io/qt-6/qtwebengine-debugging.html
kovidgoyal is online now   Reply With Quote
Reply

Tags
calibre, viewer


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem opening books in E-book viewer furms Library Management 1 07-07-2018 07:47 AM
Can I use the ebook viewer without opening Calibre database? iridius Library Management 41 06-26-2018 09:24 PM
Calibre opening epub in editor rather than viewer harpergriffin Library Management 4 02-18-2016 11:56 PM
Ebook-viewer: fail when opening an ePub from Firefox Jellby Calibre 9 05-17-2015 01:41 AM
LRF viewer not opening mazzeltjes Calibre 4 08-04-2008 04:57 PM


All times are GMT -4. The time now is 01:21 AM.


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