Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 08-07-2022, 05:23 PM   #1
dgermann
Junior Member
dgermann began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Aug 2022
Location: South Bend, IN
Device: kindle paper
Question viewer not viewing

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
It looks as though there might be some unsatisfied dependency there, but I don't know how to interpret it, or what to do next.

Anybody got any ideas?

Thanks!

:- Doug.
dgermann is offline   Reply With Quote
Old 08-07-2022, 10:11 PM   #2
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: 45,345
Karma: 27182818
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
kovidgoyal is offline   Reply With Quote
Advert
Old 08-08-2022, 12:10 PM   #3
dgermann
Junior Member
dgermann began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Aug 2022
Location: South Bend, IN
Device: kindle paper
Question

@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:
--disable-gpu disables GPU hardware acceleration. This is useful when diagnosing OpenGL problems.
Am I correct? If so, it seems there must be some first part to the command, or at least I have not before seen a linux command that starts with a double dash.

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.
dgermann is offline   Reply With Quote
Old 08-08-2022, 12:42 PM   #4
dgermann
Junior Member
dgermann began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Aug 2022
Location: South Bend, IN
Device: kindle paper
Question Further details

@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
Thanks!

:- Doug.
dgermann is offline   Reply With Quote
Old 08-08-2022, 01:05 PM   #5
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: 45,345
Karma: 27182818
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.
kovidgoyal is offline   Reply With Quote
Advert
Old 08-09-2022, 01:11 PM   #6
gbm
Wizard
gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.
 
Posts: 2,183
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:
Originally Posted by dgermann View Post
@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


Am I correct? If so, it seems there must be some first part to the command, or at least I have not before seen a linux command that starts with a double dash.

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.
gbm is offline   Reply With Quote
Old 08-09-2022, 02:20 PM   #7
dgermann
Junior Member
dgermann began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Aug 2022
Location: South Bend, IN
Device: kindle paper
Question

@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.
dgermann is offline   Reply With Quote
Old 08-11-2022, 02:14 PM   #8
dgermann
Junior Member
dgermann began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Aug 2022
Location: South Bend, IN
Device: kindle paper
Smile

@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.
dgermann is offline   Reply With Quote
Old 08-11-2022, 06:29 PM   #9
gbm
Wizard
gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.
 
Posts: 2,183
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........
Quote:
Originally Posted by dgermann View Post
@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.
gbm is offline   Reply With Quote
Old 08-11-2022, 08:17 PM   #10
dgermann
Junior Member
dgermann began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Aug 2022
Location: South Bend, IN
Device: kindle paper
@gbm--



Thanks Bernie!

:- Doug.
dgermann is offline   Reply With Quote
Reply

Tags
solved


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Viewing images in calibre ebook viewer jschaik Calibre 7 08-10-2018 02:04 AM
E-book viewer: Viewing images and text BrainDeadZero Calibre 1 03-07-2018 10:06 PM
Viewing azw3 files with calibre viewer AlexBell Calibre 3 02-04-2013 08:05 PM
Searching in the e-book viewer - viewing all results michellepace Library Management 0 05-19-2011 03:12 PM
Viewing screenshots through image viewer omk Kindle Developer's Corner 1 02-18-2011 01:14 AM


All times are GMT -4. The time now is 12:27 PM.


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