08-21-2024, 01:57 AM | #1 |
Junior Member
Posts: 4
Karma: 10
Join Date: Aug 2024
Device: None
|
Preview failure
Running Sigil 2.3.0 on an old, but up to date Windows 10 PC, and when I try to open the Sigil User Guide (for example; I assume this will run in Sigil…seems like a reasonable assumption/test case) the Preview window will very briefly display an item, like the cover, when the Update Preview Window button is pressed, but only for a single second. Same goes for any other content from the User Guide: appears for a second in the Preview window, and then vanishes.
Any other doc I’ve loaded (like the book I’m working on, which displays a TOC just fine) I have no preview at all of. I’ve searched high and low for a clue about what’s going on, but no joy. Am I simply doing something dumb that’s causing this? |
08-21-2024, 04:44 AM | #2 |
null operator (he/him)
Posts: 20,985
Karma: 27620706
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Working fine here: Sigil 2.3.0 Win 10.
Which version of the User Guide? Latest is here ==> Sigil User Guide - Sigil-Ebook BR |
Advert | |
|
08-21-2024, 06:38 AM | #3 |
Grand Sorcerer
Posts: 28,036
Karma: 199464182
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Try ticking the box in Sigil's preferences to disable hardware acceleration in Qt/WebEngine. The guide has tons of images and has embedded fonts. Aging hardware and the newer Qt6 in Sigil 2.3.0 are likely combining to cause problems.
Last edited by DiapDealer; 08-21-2024 at 10:07 AM. |
08-21-2024, 07:17 PM | #4 |
Junior Member
Posts: 4
Karma: 10
Join Date: Aug 2024
Device: None
|
Preview failure
Thanks. Made the preferences change, but the problem persists after restart. I would prefer that “aging hardware,” much as it makes sense, not be the only remaining diagnosis; any other ideas?
|
08-21-2024, 07:32 PM | #5 |
Sigil Developer
Posts: 8,156
Karma: 5450818
Join Date: Nov 2009
Device: many
|
You may have an anti-virus program that is interfering with the QWebEngineProcess application that runs behind the scenes.
You may have a firewall setting that interferes with even local sockets to prevent inter-process communications. You may have an unsupported graphics driver. Have you tried updating to the very latest driver for your graphics card? Fire up Sigil and load the Users Guide and navigate to any page. Even if Preview is blank, try hitting the Inspector button on the Preview Toolbar. Does the Inspector open? Can you see anything? If so, look at the source code via Preview's Inspector, Does it look similar to what CodeView is showing (after uncollapsing the code whereneeded). It you see it just for a flash and it goes away, then something is interfering with Qt's QWebEngine, most probably really misguided anti-virus software. Perhaps your aging processor does not support AVX or other advanced registers required? Last edited by KevinH; 08-21-2024 at 07:38 PM. |
Advert | |
|
08-21-2024, 08:51 PM | #6 |
Grand Sorcerer
Posts: 28,036
Karma: 199464182
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
After eliminating anti-virus as the culprit, try creating an environment variable named QSG_RHI_BACKEND and setting its value to "opengl" (no quotes), and then launch Sigil. This should eliminate the possibility that your d3d11 (now the default) implementation is not quite up to snuff by forcing all QtQuick stuff to use opengl instead.
Last edited by DiapDealer; 08-21-2024 at 08:55 PM. |
08-21-2024, 09:41 PM | #7 |
Sigil Developer
Posts: 8,156
Karma: 5450818
Join Date: Nov 2009
Device: many
|
And then there is this bug related to CPUs without AVX and SSE4 which causes the QtWebEngine render process to crash.
https://bugreports.qt.io/browse/QTBUG-123811 So does your older hardware cpu support AVX and SSE4? Last edited by KevinH; 08-22-2024 at 07:31 AM. |
08-22-2024, 06:31 PM | #8 |
Grand Sorcerer
Posts: 28,036
Karma: 199464182
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Anything new on this front?
|
08-22-2024, 06:57 PM | #9 |
Resident Curmudgeon
Posts: 76,316
Karma: 136006010
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Could the preview problem maybe be related to the graphics driver?
|
08-22-2024, 07:12 PM | #10 |
Bibliophagist
Posts: 40,383
Karma: 156982136
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
|
08-23-2024, 04:38 PM | #11 |
Junior Member
Posts: 4
Karma: 10
Join Date: Aug 2024
Device: None
|
Preview failure
Thanks for your help, everybody: much appreciated. systeminfo tells me my processor is from 2008, so I imagine it lacks lots of bells and whistles. Graphics driver duly updated. I run standard Windows Security, with Defender Firewall standard-issue, but as far as I can tell (which is not very far...) anything like "Sigil" has not been blocked. Even looking for that is the far edge of my tech skills, so the more advanced suggestion from DD is beyond my pay grade, so to speak. I might have to await a newer machine before I can do more with this installation: I don't know what I don't know, so questions about the capability (or not) of my hardware are a bit beyond me. And, I'm grateful for the help.
|
08-23-2024, 04:51 PM | #12 |
Grand Sorcerer
Posts: 28,036
Karma: 199464182
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Definitely give that environment variable I mentioned in post #6 a shot. You may want to reboot after setting it to make sure it's "live". If you need help setting an environment variable, just ask.
EDIT: Sorry. Just noticed the part where you said my suggestion might be above your tech pay grade. I'll leave some instructions just in case you're ever feeling adventurous. 1) type "env" (without the quotes) in your search box on your taskbar. 2) click the "Edit the system environment variables" link that appears in the right hand column of the popup window. 3) look for the "Environment Variables" button near the bottom of the ensuing dialog and click it. 4) in the top half of the next dialog (User variables), click the "New" button. 5) in the "Variable name" box, type: QSG_RHI_BACKEND 6) in the "Variable value" box, type: "opengl" (without the quotes); and then click the "OK" button. 7) click the OK button on the Environment Variables dialog. 8) and finally click the OK button on the System Properties dialog. 9) reboot to be safe and try running Sigil again. Last edited by DiapDealer; 08-23-2024 at 05:08 PM. |
08-23-2024, 08:39 PM | #13 |
Sigil Developer
Posts: 8,156
Karma: 5450818
Join Date: Nov 2009
Device: many
|
Most Intel cpus from 2008 were core2-duos. I do not think it supports AVX and SSE4.
That change to use those happened after Qt 6.6.3, so you could try installing and running Sigil 2.2.0 and see if that has the same issue. Qt6 is now testing a patch to remove the need for AVX and SSE4 support which they will hopefully integrat for Qt 6.8 final and Qt 6.7.3 when they are teleased. |
08-23-2024, 11:20 PM | #14 |
Junior Member
Posts: 4
Karma: 10
Join Date: Aug 2024
Device: None
|
Thank you, again, much appreciated. I'll see what I can get up to this weekend.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kt4 JB(failure) | fuscoust | Kindle Developer's Corner | 4 | 02-20-2023 06:19 PM |
Failure | EterMax | Conversion | 3 | 12-01-2020 07:53 PM |
preview vs print preview | isalherbo | Sigil | 7 | 04-23-2013 03:52 PM |
Failure | Polyhive | Library Management | 1 | 11-04-2012 10:34 PM |
Database Failure | RichardGH | Library Management | 9 | 07-25-2012 05:59 AM |