|
|
#1 |
|
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Aug 2022
Location: South Bend, IN
Device: kindle paper
|
Friends--
Amazon books, and epub books among others will not open in calibre reader. PDF books and text books will open. txt books, like my clippings also open. If I download the books that fail in the calibre reader to my kindle, the kindle is able to open them, so it seems dedrm is working. History: In moving calibre to a new ubuntu box (20.04), I downloaded version 6.2.1 of calibre from the Website, copied all my books over from my old computer, and installed the latest DeDRM. After problems appeared I reinstalled calibre and dedrm. Results of debug (I attempted to open a pdf book, then opened another pdf, then attempted an epub book, and maybe a kindle book): Code:
Using calibre Qt style: True
calibre Debug log
calibre 6.2.1 embedded-python: True
Linux-5.4.0-122-generic-x86_64-with-glibc2.31 Linux ('64bit', 'ELF')
('Linux', '5.4.0-122-generic', '#138-Ubuntu SMP Wed Jun 22 15:00:31 UTC 2022')
Python 3.10.1
Interface language: None
Successfully initialized third party plugins: DeDRM (7, 2, 1)
calibre 6.2.1 embedded-python: True
Linux-5.4.0-122-generic-x86_64-with-glibc2.31 Linux ('64bit', 'ELF')
('Linux', '5.4.0-122-generic', '#138-Ubuntu SMP Wed Jun 22 15:00:31 UTC 2022')
Python 3.10.1
Interface language: None
Successfully initialized third party plugins: DeDRM (7, 2, 1)
QPA platform: xcb
devicePixelRatio: 1.2916666666666667
logicalDpi: 96.0 x 96.0
physicalDpi: 74.00862745098038 x 73.98745644599303
[0.00] Starting up...
[0.00] Showing splash screen...
[0.11] splash screen shown
[0.11] Initializing db...
[0.16] db initialized
[0.16] Constructing main UI...
[0.75] main UI initialized...
[0.75] Hiding splash screen
Starting QuickView
WebEngineContext used before QtWebEngineCore::initialize() or OpenGL context creation failed.
QGLXContext: Failed to create dummy context
Failed to initialize graphics backend for OpenGL.
(evince:364266): Gtk-WARNING **: 17:04:25.961: Could not load a pixbuf from icon theme.
This may indicate that pixbuf loaders or the mime database could not be found.
WebEngineContext used before QtWebEngineCore::initialize() or OpenGL context creation failed.
QGLXContext: Failed to create dummy context
Failed to initialize graphics backend for OpenGL.
WebEngineContext used before QtWebEngineCore::initialize() or OpenGL context creation failed.
QGLXContext: Failed to create dummy context
Failed to initialize graphics backend for OpenGL.
[52.59] splash screen hidden
[52.59] Started up in 52.59 seconds with 624 books
Worker Launch took: 0.00 seconds
Worker Launch took: 0.00 seconds
Worker Launch took: 0.00 seconds
Anybody got any ideas? Thanks! :- Doug. |
|
|
|
|
|
#2 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,610
Karma: 28549044
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You are missing GPU drivers. The viewer needs to be able to use OpenGL. Either install/update/unbreak your GPU drivers or try turning off hardware rendering as described here: https://doc.qt.io/qt-6/qtwebengine-debugging.html
|
|
|
|
| Advert | |
|
|
|
|
#3 | |
|
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Aug 2022
Location: South Bend, IN
Device: kindle paper
|
@kovidgoyal--
Thank you for getting back to me so quickly! This is a wonderful clue. It leads me to a new stage of being lost! 1. On the site you linked, I think what I need to use is Quote:
2. I checked in synaptic and found no openGL drivers. I did find a driver here: https://www.nvidia.com/en-us/drivers/unix/. I am nervous to install it for fear it might break my nvidia install. 3. I have run nvida-settings and found these OpenGL Settings: should I perhaps change any of them? Sync to VBlank (checked) Allow Flipping (checked) Image Settings (set to Quality--other choice are High Quality, Performance, High Performance) Use Conformant Texture Clamping (checked) Enable Graphics API Visual Indicator (not checked) So you can see I am a babe in the jungle with all this. What do I test next? Thanks, kovidgoyal! :- Doug. |
|
|
|
|
|
|
#4 |
|
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Aug 2022
Location: South Bend, IN
Device: kindle paper
|
@kovidgoyal
Here are some additional details which I hope are of value: Code:
doug@wind:~$ sudo lshw -c video
*-display
description: VGA compatible controller
product: GP106 [GeForce GTX 1060 3GB]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:01:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
configuration: driver=nvidia latency=0
resources: irq:39 memory:f6000000-f6ffffff memory:e0000000-efffffff memory:f0000000-f1ffffff ioport:e000(size=128) memory:c0000-dffff
*-display
description: VGA compatible controller
product: Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 06
width: 64 bits
clock: 33MHz
capabilities: msi pm vga_controller bus_master cap_list
configuration: driver=i915 latency=0
resources: irq:35 memory:f7400000-f77fffff memory:d0000000-dfffffff ioport:f000(size=64)
doug@wind:~$ sudo glxinfo | grep OpenGL
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 152 (GLX)
Minor opcode of failed request: 24 (X_GLXCreateNewContext)
Value in failed request: 0x0
Serial number of failed request: 110
Current serial number in output stream: 111
doug@wind:~$ sudo nvidia-smi
Failed to initialize NVML: Driver/library version mismatch
doug@wind:~$ prime-select query
on-demand
:- Doug. |
|
|
|
|
|
#5 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,610
Karma: 28549044
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Sorry I dont use nvidia cards so cant help you with them. As for disabling hardware acceleration you set the QTWEBENGINE_CHROMIUM_FLAGS="--disable-gpu" environment variable.
|
|
|
|
| Advert | |
|
|
|
|
#6 | |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,215
Karma: 8888888
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
|
You need to install the proprietary Nvida drivers.
https://phoenixnap.com/kb/install-nvidia-drivers-ubuntu bernie Quote:
|
|
|
|
|
|
|
#7 |
|
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Aug 2022
Location: South Bend, IN
Device: kindle paper
|
@gbm--
Thank you. Actually I did that a week or so ago, but I am not sure if I rebooted my machine as those instructions you pointed me to say. I will try that a bit later--I am running late for an appointment at the moment. Thanks, gbm! :- Doug. |
|
|
|
|
|
#8 |
|
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Aug 2022
Location: South Bend, IN
Device: kindle paper
|
@gbm--
Well it was what I guessed! Rebooted and I now can open these books. Thanks for waiting for a reply, Bernie and especially for giving me the clue I needed. Sign me... No longer quite as clueless, :- Doug. |
|
|
|
|
|
#9 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,215
Karma: 8888888
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
|
Two things I know of that require a reboot in Linux, a new kernel and installing the proprietary Nvidia drivers
bernie I do a complete power down on my system every night--keeps the cats off the internet........ |
|
|
|
|
|
#10 |
|
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Aug 2022
Location: South Bend, IN
Device: kindle paper
|
@gbm--
Thanks Bernie! ![]() :- Doug. |
|
|
|
![]() |
| Tags |
| solved |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Viewing images in calibre ebook viewer | jschaik | Calibre | 7 | 08-10-2018 03:04 AM |
| E-book viewer: Viewing images and text | BrainDeadZero | Calibre | 1 | 03-07-2018 11:06 PM |
| Viewing azw3 files with calibre viewer | AlexBell | Calibre | 3 | 02-04-2013 09:05 PM |
| Searching in the e-book viewer - viewing all results | michellepace | Library Management | 0 | 05-19-2011 04:12 PM |
| Viewing screenshots through image viewer | omk | Kindle Developer's Corner | 1 | 02-18-2011 02:14 AM |