Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 11-09-2024, 09:03 AM   #1
gavinallen50
Junior Member
gavinallen50 began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Nov 2024
Device: Amazon Fire
Calibre 7.21 won't start on Win 10

I haven't used it for a few weeks but Calibre has suddenly stopped working.

I haven't installed anything new recently, just the usual windows updates. The is no error in the Event Viewer.

I have tested the following:

Normal - doesn't start
Normal (with all services and startup apps disabled) - doesn't start
Safe Mode - works

The only way I've managed to get it to start is if I disable my Display Adapter in Device Manager...then it starts fine.

I've tried updating my graphics driver to the latest version with no effect. I've also tried old version of Calibre with no effect.

Here is the output from calibre-debug:

with display adapter disabled Calibre opens successfully:

C:\WINDOWS\system32>calibre-debug -g
calibre 7.21 embedded-python: True
Windows-10-10.0.19045-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19045')
Python 3.11.5
Windows: ('10', '10.0.19045', 'SP0', 'Multiprocessor Free')
Interface language: None
EXE path: C:\Program Files\Calibre2\calibre-debug.exe
Successfully initialized third party plugins:
QPA platform: windows
devicePixelRatio: 1.0
logicalDpi: 96.0 x 96.0
physicalDpi: 108.91792294807368 x 108.85714285714285
Using calibre Qt style: False
[0.00] Starting up...
[0.00] Showing splash screen...
[1.22] splash screen shown
[1.22] Initializing db...
[2.27] db initialized
[2.27] Constructing main UI...
[4.08] GUI main window shown
[4.17] main UI initialized...
[4.17] Hiding splash screen
[4.17] splash screen hidden
[4.17] Started up in 4.17 seconds with 10826 books


with display adapter enabled I get this output but nothing else:

C:\WINDOWS\system32>calibre-debug -g
calibre 7.21 embedded-python: True
Windows-10-10.0.19045-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19045')
Python 3.11.5
Windows: ('10', '10.0.19045', 'SP0', 'Multiprocessor Free')
Interface language: None
EXE path: C:\Program Files\Calibre2\calibre-debug.exe
Successfully initialized third party plugins:





Thanks.
gavinallen50 is offline   Reply With Quote
Old 11-09-2024, 03:56 PM   #2
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Try the suggestion in this post ==>> https://www.mobileread.com/forums/sh...1&postcount=15

BR
BetterRed is online now   Reply With Quote
Advert
Old 11-09-2024, 05:00 PM   #3
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,750
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Could it be the GUI is off the screen? If that is the case, then try the following to test it out.

Go to the settings directory which is C:\Users\XXXX\AppData\Roaming\Calibre and rename the file gui.json to gui.json.bak. Then run calibre again. If it shows up, that means the gui was off screen. BTW, XXXX is your Windows account directory name.
JSWolf is offline   Reply With Quote
Old 11-09-2024, 09:54 PM   #4
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,347
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Sounds like Qt doesnt like your display driver. Or some other software on your system is interfering since you say it works in safe mode. Try disabling startup services one by one till you find the culprit.
kovidgoyal is offline   Reply With Quote
Old 11-10-2024, 06:48 AM   #5
fireffox
Junior Member
fireffox began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Nov 2024
Device: Kindle PW
I have the same problem. I've tried to change environment variable and disabling startup services. Nothing helps...
fireffox is offline   Reply With Quote
Advert
Old 11-10-2024, 09:57 AM   #6
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,054
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
How about those with this fail mentioning What Display chip/board and what Driver is installed.

To quote my CPO: "broken is not a trouble call out".
It is your system. Only YOU know what is in YOUR systems box.

I have Dell Optiplex 780 With a basic (not a gaming) Radeon card that the Viewer goes into infinite Preparing... . (The toc appears greyed out) The Library loads and the editor (includes preview) works
theducks is offline   Reply With Quote
Old 11-10-2024, 12:51 PM   #7
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,750
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by fireffox View Post
I have the same problem. I've tried to change environment variable and disabling startup services. Nothing helps...
Try safe mode.
JSWolf is offline   Reply With Quote
Old 11-10-2024, 12:57 PM   #8
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by JSWolf View Post
Try safe mode.
The OP said it works in safe mode. That is why Kovid answered as he did in post #4.
chaley is offline   Reply With Quote
Old 11-11-2024, 04:12 AM   #9
gavinallen50
Junior Member
gavinallen50 began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Nov 2024
Device: Amazon Fire
Thanks for all the replies.

I have tried Safe Mode (which worked), but I've also tried disabling all services and startup apps (which didn't).

I had seen the suggestion to set QTWEBENGINE_CHROMIUM_FLAGS before, but I thought that was only for the book viewer so I didn't try...I will try it.

The window is not showing off the screen.

The graphics card is an old Zotac GeForce GTX 1060 and I'm using the following driver (though I have also tried an old one from earlier in the year when Calibre was working):
GeForce Game Ready Driver - WHQL
Driver Version: 566.03 - Release Date: 2024 October 22

So far the only 2 things that have worked for me are Safe Mode and disabling the display adapter (which is my current solution as it can be done with Powershell very quickly).


Thanks again, and thank you Kovid for an excellent application.
gavinallen50 is offline   Reply With Quote
Old 11-11-2024, 03:10 PM   #10
fireffox
Junior Member
fireffox began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Nov 2024
Device: Kindle PW
Quote:
Originally Posted by gavinallen50 View Post

So far the only 2 things that have worked for me are Safe Mode and disabling the display adapter (which is my current solution as it can be done with Powershell very quickly).

When you disabling your display adapter You don't have blank screen?
Where did You get the script?
fireffox is offline   Reply With Quote
Old 11-11-2024, 03:38 PM   #11
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,187
Karma: 8888888
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
https://doc.qt.io/qt-6/qtwebengine-debugging.html


bernie
Quote:
Originally Posted by fireffox View Post
When you disabling your display adapter You don't have blank screen?
Where did You get the script?
gbm is offline   Reply With Quote
Old 11-13-2024, 04:12 PM   #12
gavinallen50
Junior Member
gavinallen50 began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Nov 2024
Device: Amazon Fire
Quote:
Originally Posted by fireffox View Post
When you disabling your display adapter You don't have blank screen?
Where did You get the script?
I run this in Powershell, as Admin....
To open Calibre:

Code:
# Get the display adapter
$adapter = Get-PnpDevice -FriendlyName "NVIDIA GeForce GTX 1060 6GB"

# Disable the display adapter
Disable-PnpDevice -InstanceId $adapter.InstanceId

& "C:\Program Files\Calibre2\Calibre.exe"
To restart the display adapter:

Code:
# Get the display adapter
$adapter = Get-PnpDevice -FriendlyName "NVIDIA GeForce GTX 1060 6GB"

# Enable the display adapter
Enable-PnpDevice -InstanceId $adapter.InstanceId
  • You'll need to update the name of the display adapter with the name you'll find in the Device Manager
  • You'll need to update the path to the Calibre exe if it's not in the standard location
  • Don't forget to run as admin otherwise it won't work
gavinallen50 is offline   Reply With Quote
Old 11-13-2024, 10:23 PM   #13
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Running Windows calibre as administrator has been known to cause problems. The one instance I do recall resulted in drag-drop events being ignored… there may have been others.

Apps Don’t Open Unless Run as Administrator » Winhelponline

Quote:
A third-party tuning program installed on the computer may have blocked the apps from running unelevated. CCleaner Professional, AVG TuneUp, and Avast Cleanup Premium are some examples. These programs have a feature that puts resource-hungry apps into sleep or snooze mode.
IMO - programs such as those mentioned are best avoided.

BR
BetterRed is online now   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot start Calibre (6.22)/Win 10 Morgh Calibre 2 07-01-2023 09:53 PM
Calibre 6.11 won't launch in Win 10 clokeefe Calibre 4 01-30-2023 12:55 AM
Calibre ebook viewer won't open on Win 10 timnz Viewer 14 09-16-2020 05:22 PM
Calibre 0.7.9 won't start HarryC Calibre 4 07-20-2010 04:45 PM
Calibre Won't Start on Win XP and Vista mazzeltjes Calibre 26 10-14-2008 05:03 PM


All times are GMT -4. The time now is 04:46 AM.


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