![]() |
#1 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Oct 2024
Device: Kobo Glo
|
Viewer just opens a black screen.
Since updating graphic drivers to AMD Adrenalin 24.9.1 (WHQL), the Calibre book viewer simply shows a black window. No UI elements are drawn. The book is still there (it can be copy/pasted, things can be dragged, and even the button strip can be pulled out where it becomes visible). This happens with all versions of Calibre back to version 7.12, and affects the book editor, pointing to an issue with the QT Webengine and graphics driver.
I've tried adding the "QTWEBENGINE_CHROMIUM_FLAGS=--disable-gpu" environment variable, but it simply does nothing to calibre's GPU usage, so presumably is not disabling GPU acceleration on the QT Webengine and the black window persists. The only thing that seems to fix the issue is going back to an older video driver 24.7.1, or booting into safe mode (which would also disable the driver's acceleration. Does anyone have any fixes to disable GPU acceleration in calibre's QT Webengine, or any way to get things working again with the current drivers? Any settings in Calibre that I can use? |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,318
Karma: 27111242
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
That environemnt variable is the only setting and it works fine, reboot after setting it to make sure it applies.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Oct 2024
Device: Kobo Glo
|
Is this the environment setting you are talking about? Because this gives me a black screen as shown (I've managed to blindly pull out the control strip, if I drag it back into the window it will disappear).
The window itself resizes slowly as if the window is not accelerated, but if I put the mouse where the text should be and scroll, I can see GPU activity spike. Is the contents of the window still using GPU acceleration where the window itself if not? Should the system variable set be a user variable? Does the variable only work if QT Webeingine is set into debug mode? Thanks for any help or ideas you can suggest. |
![]() |
![]() |
![]() |
#4 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,667
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
![]() |
#5 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,318
Karma: 27111242
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
That's correct and it works in all Qt modes, not just debug. As for its effects only the Qt developers can tell you in detail what it does. If it isn't resolving the issue for you then stick with the downgraded video drivers. You might also get some useful debug output from qt by running the viewer in a command prompt as
calibre-debug -w |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Oct 2024
Device: Kobo Glo
|
Yes, hence my confusion as to why it isn't working. I did some googling before posting and this seems to have been an ongoing issue going back years that people have experienced in many different configurations. For some reason QT wbengine sometimes just doesn't play nice with GPUs.
|
![]() |
![]() |
![]() |
#7 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,667
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
![]() |
#8 | ||
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Oct 2024
Device: Kobo Glo
|
Quote:
Quote:
|
||
![]() |
![]() |
![]() |
#9 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Oct 2024
Device: Kobo Glo
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre Viewer opens withy black screen | mjan | Viewer | 2 | 03-03-2025 02:36 AM |
Viewer opens with white screen on Ubuntu 21.10 and otherwise doesn't work | Constancies | Viewer | 1 | 02-24-2022 06:18 PM |
Viewer is slow - sometimes never opens book | jecilop | Viewer | 6 | 02-03-2022 03:42 PM |
Viewer in 4.2 opens with only blank white page | AlaBill | Viewer | 4 | 08-01-2020 07:44 PM |
External viewer opens temp file | Aiwass | Library Management | 4 | 04-29-2013 04:44 AM |