Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 01-17-2025, 09:08 PM   #16
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,807
Karma: 6000000
Join Date: Nov 2009
Device: many
Yes the fix to remove the need for AVX and SSE4 did not make it into Qt 6.7.3, so Sigil 2.4.0 will not help if your processor is too old to have those register sets.

Have you tried with the older Sigil 2.2.0 to see if the same issue happens?

Last edited by KevinH; 01-17-2025 at 09:11 PM.
KevinH is offline   Reply With Quote
Old 01-18-2025, 08:09 AM   #17
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,731
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by Horus01 View Post
The preview problem remains even in the latest version.
If you ever installed a Windows game on your machine, the game might have installed the dxdiag.exe utility, which can be used to display hardware information.

Try the following:
  • Press WIN+R or right-click the Start menu icon and select Run.
  • In the Run dialog box, paste or enter dxdiag and hit Enter.
    (On my machine, it takes a minute or so to open dxdiag.)
  • If you don't see the app, look for new blue icon with a yellow X in it in the task bar and click on it.
  • Click Save All Information... and attach DxDiag.txt to your next post.
Doitsu is offline   Reply With Quote
Advert
Old 01-27-2025, 08:56 PM   #18
guhangsong
Junior Member
guhangsong began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Sep 2024
Device: kindle, boox, andriod, ipad
Intel MacOS has the same blank preview problem

I have the same blank preview problem on MacOS.

My CPU is 2.5 GHz Quad-Core Intel Core i7, it supports AVX and SSE4.

Does anyone have some idea about it?
guhangsong is offline   Reply With Quote
Old 01-27-2025, 09:56 PM   #19
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,807
Karma: 6000000
Join Date: Nov 2009
Device: many
Well I have a I7 based MacOS and it works just fine.

An I7 definitely has AVX and SSE4 registers then this is a different issue completely.

I need more info:

What exact version of Sigil are you using (see the About Sigil dialog)

What exact version of MacOS are you using? (see MacOS System Information)

What graphics card or cards are you using?

The issue is typically that your graphics card or driver software is too old to be supported by the Chrome backend used by Qt's WebEngine

So try the following first:

1. Go to Sigil Preferences and under General Settings on one of the tabs try checking the box: "Disable GPU Acceleration in QtWebEngine/Preview" and saving the exiting Preferences. Then completely exit out of Sigil and launch Sigil again.

Did that help?

2. Try to update your graphics card driver.
If you are running the very latest driver for your graphics card, try updating it direct from Apple first and then directly from or the card manufacturer's website next.

Did that help?

Last edited by KevinH; 01-27-2025 at 10:06 PM.
KevinH is offline   Reply With Quote
Old 01-28-2025, 07:35 AM   #20
guhangsong
Junior Member
guhangsong began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Sep 2024
Device: kindle, boox, andriod, ipad
Thanks for your help, following is my computer info

Thanks a lot for the help

I use the latest 2.4.0 sigil
My MacOS has updated to Sequoia 15.3 (I install OpenCore-Patcher for the latest system, I'm wonder if it can cause my problem)
The Graphics cards are AMD Radeon R9 M370X 2 GB and Intel Iris Pro 1536 MB

I have checked the box: "Disable GPU Acceleration in QtWebEngine/Preview" and updated the operation system, but it still show blank.
guhangsong is offline   Reply With Quote
Advert
Old 01-28-2025, 09:16 AM   #21
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,617
Karma: 204624552
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
I've not yet seen anyone respond as to whether my previous post has any effect.

https://www.mobileread.com/forums/sh...82#post4447882

Last edited by DiapDealer; 01-28-2025 at 09:18 AM.
DiapDealer is offline   Reply With Quote
Old 01-28-2025, 09:27 AM   #22
guhangsong
Junior Member
guhangsong began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Sep 2024
Device: kindle, boox, andriod, ipad
How to set env for MacOS Application

Hi I see your post, but I can't find the way to set env for Sigil in MacOS~~
guhangsong is offline   Reply With Quote
Old 01-28-2025, 09:37 AM   #23
guhangsong
Junior Member
guhangsong began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Sep 2024
Device: kindle, boox, andriod, ipad
Thanks guy, QSG_RHI_BACKEND env works

Quote:
Originally Posted by DiapDealer View Post
I've not yet seen anyone respond as to whether my previous post has any effect.

https://www.mobileread.com/forums/sh...82#post4447882
Thanks for your advice, I use https://github.com/yuezk/macenv to set the env for GUI app, and now the preview works normally, though there is no margin in the view.
guhangsong is offline   Reply With Quote
Old 01-28-2025, 09:49 AM   #24
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,807
Karma: 6000000
Join Date: Nov 2009
Device: many
Given you are on a Mac, there really only is one internal driver for QtWebEngine anymore.
But for the record to launch Sigil with an environment variable set for testing purposes you use Terminal.app and use:

export ENVIRONMENT_VARIABLE_NAME=VALUE
cd /Applications
open ./Sigil.app

My guess is it the OpenCore Patcher you are using to run a version of MacOS that is not supported by your hardware. It constantly patches drivers for gpu/graphics.

Is there some reason you feel the need to run Sequoia via a patcher and not the latest supported Mac OS for your system?

Also If you are using any type of MacOS anti-virus checker, please disable it by rebooting into safe mode and testing.

I tried the OpenCore patcher for a few months but it generated enough issues on my old iMac that I finally gave up and just installed Linux on that machine and now that machine is running the latest version of KDE 6 Desktop, Manjaro Linux, and Sigil 2.4.0 with no issues and still getting security updates.

Last edited by KevinH; 01-28-2025 at 10:35 AM.
KevinH is offline   Reply With Quote
Old 01-28-2025, 09:59 AM   #25
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,807
Karma: 6000000
Join Date: Nov 2009
Device: many
Quote:
Originally Posted by guhangsong View Post
Thanks for your advice, I use https://github.com/yuezk/macenv to set the env for GUI app, and now the preview works normally, though there is no margin in the view.
Well it is good to know that the old opengl interface/backend still works on MacOS.

Last edited by KevinH; 01-28-2025 at 10:36 AM.
KevinH is offline   Reply With Quote
Old 01-28-2025, 12:01 PM   #26
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,617
Karma: 204624552
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by guhangsong View Post
Thanks for your advice, I use https://github.com/yuezk/macenv to set the env for GUI app, and now the preview works normally, though there is no margin in the view.
Thanks for reporting back. That it worked would imply that there's something wrong with the default "Metal" implementation on your Mac.

The default for that backend is metal on macOS, d3d11 on Windows, and opengl elsewhere. I'd love to hear if the same issue on the earlier Windows report could be fixed this same way.

There's more environment variables (many for debugging purposes) that can be found here: https://doc.qt.io/qt-6/qtquick-visua...ware-interface

Last edited by DiapDealer; 01-28-2025 at 12:04 PM.
DiapDealer is offline   Reply With Quote
Old 01-28-2025, 07:19 PM   #27
guhangsong
Junior Member
guhangsong began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Sep 2024
Device: kindle, boox, andriod, ipad
Thumbs up Yes I also believe the cause is OpenCore Patcher

I use OpenCore Patcher because Homebrew stopped support macOS Monterey, which is the last supported OS on MacBook2015~~

And I see it patched graphics drivers.

I don't use any anti-virus checker.

Maybe one day I will switch to Linux either~

Also thanks for the link of the environment, I have learnt a lot
guhangsong is offline   Reply With Quote
Old 04-24-2025, 02:08 PM   #28
ikkethuis
Junior Member
ikkethuis began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jan 2021
Device: kobo glo
preview failure on very old processoes in WINDOWS11

I have 4 'old' computers all updated to Windows 11.
2013: Intel core i7-2600
2011: Intel core i5-2450M
2009: Intel core 2 duo P8600
2007: Intel core 2 duo E7300
On the two "less old" PC's the Preview window of Sigil 2.4.2 works fine. However on the two oldest the Preview window refuses to function in sigil 2.4.2: only a flash and after that the preview window stays blank. After uninstalling version 2.4.2 and reinstalling Sigil 2.2.0 the Preview window was working again. No need to set environment variables named QSG_RHI_BACKEND and/or QT_OPENGL and no need to "Disable GPU Acceleration in QtWebEngine/Preview"in settings.
It seems that the combination of windows 11 and the very old processors prevent the Preview window to work in the most recent versions of Sigil
ikkethuis is offline   Reply With Quote
Old 04-24-2025, 04:40 PM   #29
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,796
Karma: 146391129
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 ikkethuis View Post
I have 4 'old' computers all updated to Windows 11.
2013: Intel core i7-2600
2011: Intel core i5-2450M
2009: Intel core 2 duo P8600
2007: Intel core 2 duo E7300
On the two "less old" PC's the Preview window of Sigil 2.4.2 works fine. However on the two oldest the Preview window refuses to function in sigil 2.4.2: only a flash and after that the preview window stays blank. After uninstalling version 2.4.2 and reinstalling Sigil 2.2.0 the Preview window was working again. No need to set environment variables named QSG_RHI_BACKEND and/or QT_OPENGL and no need to "Disable GPU Acceleration in QtWebEngine/Preview"in settings.
It seems that the combination of windows 11 and the very old processors prevent the Preview window to work in the most recent versions of Sigil
It's probably the graphics drivers used for the old computers. You culd try setting the following environment variable on the old computers and then try the latest Sigil.

Code:
QTWEBENGINE_CHROMIUM_FLAGS="--disable-gpu"
JSWolf is offline   Reply With Quote
Old 04-24-2025, 05:38 PM   #30
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,617
Karma: 204624552
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by JSWolf View Post
It's probably the graphics drivers used for the old computers. You culd try setting the following environment variable on the old computers and then try the latest Sigil.

Code:
QTWEBENGINE_CHROMIUM_FLAGS="--disable-gpu"
No need. Setting that precise variable before launch is EXACTLY what Sigil's "Disable GPU Acceleration in QtWebEngine/Preview" preference setting does.

https://github.com/Sigil-Ebook/Sigil.../main.cpp#L479

In this case, it's entirely possible that the embedded blocklist in Sigil 2.4's Qt6.8.3 has blocked the particular driver version(s) on the two oldest machines.

If setting QSG_RHI_BACKEND to opengl doesn't work, one could try setting QTWEBENGINE_CHROMIUM_FLAGS to --disable-gpu-blocklist, but there's a reason the block list exists.

Last edited by DiapDealer; 04-24-2025 at 05:43 PM.
DiapDealer is offline   Reply With Quote
Reply


Forum Jump

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


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


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