03-28-2023, 08:38 AM | #1 |
Member
Posts: 13
Karma: 10
Join Date: Apr 2020
Device: Kindle
|
Opening Epub book takes 30s on external display
I'm currently using Calibre on a MacBook Pro 2018 with an i5 processor, 16GB of RAM, and 1TB of storage. However, every time I open an Epub book, it takes about 20-30 seconds to fully load.
Apparently my external monitor (plugged via USB-C) was responsible for the slow down. Unplugging the external monitor (DELL S2722QC) will decrease startup time to 3 seconds! Plugging in the external monitor and decreasing the resolution of it will decrease the load time to 7 seconds (down from 30s). Still not as fast as on my Macbook screen (3 seconds). I am guessing that the viewer reads the resolution of the screen and calculates the page size for every page to be opened? Anyone can point me to a solution? Thank you very much! |
03-28-2023, 10:52 AM | #2 |
creator of calibre
Posts: 44,336
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
That will be some issue between chromium (which is what the viewer uses to render HTML) and the GPU drivers on your system. You can try turning off hardware acceleration which might help as described here: https://doc.qt.io/qt-6/qtwebengine-debugging.html
|
03-28-2023, 12:16 PM | #3 | |
Member
Posts: 13
Karma: 10
Join Date: Apr 2020
Device: Kindle
|
Quote:
|
|
03-28-2023, 01:18 PM | #4 |
Well trained by Cats
Posts: 30,371
Karma: 58053698
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
|
03-28-2023, 09:53 PM | #5 |
creator of calibre
Posts: 44,336
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
03-29-2023, 02:21 AM | #6 |
Member
Posts: 13
Karma: 10
Join Date: Apr 2020
Device: Kindle
|
Solved!
Thank you very much Kovid,
with the new new environment variables file my problem is fixed! Here's my new environment variables file: CALIBRE_TEMP_DIR=~/.calibre/temp CALIBRE_CACHE_DIRECTORY=~/.calibre/cache QTWEBENGINE_CHROMIUM_FLAGS="--disable-gpu" |
03-29-2023, 02:24 AM | #7 |
Well trained by Cats
Posts: 30,371
Karma: 58053698
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
|
03-30-2023, 05:41 AM | #8 |
Member
Posts: 13
Karma: 10
Join Date: Apr 2020
Device: Kindle
|
The solution worked only a day or so. The problem is back. Several restarts did not help.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre crashes when opening ebooks with external viewer | Chemist1 | Library Management | 13 | 03-01-2020 01:35 PM |
Having difficulty opening EPUB file with E-book Viewer directly | swampwiz | Library Management | 13 | 09-08-2014 12:58 PM |
Opening EPUBs in Sigil takes ages [Windows] | Wasserpulle | Sigil | 4 | 12-13-2013 01:05 PM |
Pixelated font in e-book reader when opening EPUB format | mst | Recipes | 7 | 02-13-2011 10:09 PM |
EPUB Reader: Opening a big file (27 MB) takes 4.5 minutes on Firefox | zdavatz | EPUBReader | 5 | 02-19-2010 02:36 AM |