Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 06-02-2025, 11:41 AM   #31
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,758
Karma: 5706256
Join Date: Nov 2009
Device: many
I don't know. Perhaps it is crashing for some reason? I did see that one fix I had high hopes for, was committed to dev and the 6.9 tree but for some reason was NOT included in 6.9.1 (according to the qtwebengine github site). It has a good chance of helping across all gpus since the underlying issue was missing share graphics buffer permissions.

See https://bugreports.qt.io/browse/QTBUG-136257

I just noticed that it was omitted from 6.9.1 and asked why? No idea if they will respond. I am hoping Arch maintainers will cherry-pick that fix since it was committed to both dev and the 6.9 branch.

And then someone would have to disable the patch that turns off GBM for nvidia for anything to help.

Sometimes I think one end of Qt has no idea what the other end of Qt is doing. And the Qt people who triage new issues seem to be clueless as well.
KevinH is offline   Reply With Quote
Old 06-02-2025, 01:28 PM   #32
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,564
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
I tried the repo version of Sigil 2.5.1 immediately after a fresh start and noticed no unusual Preview/CodeView behavior when making css edits.
DiapDealer is offline   Reply With Quote
Advert
Old 06-02-2025, 01:47 PM   #33
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,758
Karma: 5706256
Join Date: Nov 2009
Device: many
Here is why gbm mode is disabled on nvidia gpus because of the following (according to Qt sources):

https://download.nvidia.com/XFree86/...EADME/kms.html

Notice the known issues at the end which says nvidia's gbm support does not allow texture buffers to be uploaded to the kernel kms module.

Not sure if those nvidia docs are up to date or not.

See this commit to Qt WebEngine:

https://github.com/qt/qtwebengine/co...bc934cf19b2f07

At least there is a env var QTWEBENGINE_FORCE_USE_GBM you can set to 1 to override things.

It sounds like Vulkan support is the way forward with Qt and nvidia.

Last edited by KevinH; 06-02-2025 at 01:52 PM.
KevinH is offline   Reply With Quote
Old 06-02-2025, 02:16 PM   #34
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,564
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
I saw that, but I worry if that information is still accurate. it also states that:

Quote:
NVIDIA's DRM KMS support is still considered experimental. It is disabled by default, but can be enabled on suitable kernels with the 'modeset' kernel module parameter.
But DRM KMS modesetting has been enabled by default since nvidia-utils 560.35.03-5 according to the following Arch wiki page: https://wiki.archlinux.org/title/NVI...l_mode_setting

I can verify that it's indeed enabled on my own system with:
Code:
sudo cat /sys/module/nvidia_drm/parameters/modeset
(and I don't mess with my kernel parameters)
DiapDealer is offline   Reply With Quote
Old 06-02-2025, 02:20 PM   #35
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,564
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
But in the end... I can't really complain that much. After the cherry-picked updates to qt6-webengine, I don't really experience any significant slowdowns myself. I just worry that even slightly aging nvidia video hardware might not fare as well.
DiapDealer is offline   Reply With Quote
Advert
Old 06-02-2025, 02:42 PM   #36
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,762
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by DiapDealer View Post
sudo ldconfig

Should be enough to refresh the ld cache without a reboot.


Quote:
Quick question for Reuben: are you launching both the AppImage and the system version of Sigil from the command line (using the same terminal), or are you double-clicking on files and/or menu items?
I'm launching Sigil and the appimage by double-clicking in the launcher in my desktop.
RbnJrg is offline   Reply With Quote
Old 06-02-2025, 02:56 PM   #37
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,564
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by RbnJrg View Post
I'm launching Sigil and the appimage by double-clicking in the launcher in my desktop.
Thanks. Can you try running /usr/bin/sigil from a terminal and see if any concerning output is being generated when launching/using Sigil?
DiapDealer is offline   Reply With Quote
Old 06-03-2025, 08:47 AM   #38
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,564
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
For anyone interested, it seems that at least on Linux, the best/easiest way to make sure QtWebEngine's chromium/blink uses 100% software rendering (in Qt6.9.0+) is to set the QT_QUICK_BACKEND environment variable to "software" (without the quotes, of course).

On my system, this bypasses the attempt to use GBM, AND the fallback to Vulkan. There's no noticeable performance degradation for me when running Sigil in this way (but my hardware is pretty beefy).

I would recommend that anyone experiencing Sigil Preview problems/sluggishness on Linux (using Qt6.9.0+) at least try launching Sigil from a terminal with:

Code:
QT_QUICK_BACKEND=software sigil
DiapDealer is offline   Reply With Quote
Old 06-03-2025, 10:03 AM   #39
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,762
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by DiapDealer View Post
Thanks. Can you try running /usr/bin/sigil from a terminal and see if any concerning output is being generated when launching/using Sigil?
I receive the following output:

Code:
Warning: QFSFileEngine:: open: No file name specified
[2949:8:0603/110222.418259:ERROR:command_buffer_proxy_impl.cc(131)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
RbnJrg is offline   Reply With Quote
Old 06-03-2025, 10:08 AM   #40
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,762
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by DiapDealer View Post
For anyone interested, it seems that at least on Linux, the best/easiest way to make sure QtWebEngine's chromium/blink uses 100% software rendering (in Qt6.9.0+) is to set the QT_QUICK_BACKEND environment variable to "software" (without the quotes, of course).

On my system, this bypasses the attempt to use GBM, AND the fallback to Vulkan. There's no noticeable performance degradation for me when running Sigil in this way (but my hardware is pretty beefy).

I would recommend that anyone experiencing Sigil Preview problems/sluggishness on Linux (using Qt6.9.0+) at least try launching Sigil from a terminal with:

Code:
QT_QUICK_BACKEND=software sigil
Great!! With that command line Sigil 2.5.1 works flawlessly. Many thanks!! How can I add that command in my luncher? (to avoid run Sigil from CLI).
RbnJrg is offline   Reply With Quote
Old 06-03-2025, 12:20 PM   #41
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,564
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by RbnJrg View Post
Great!! With that command line Sigil 2.5.1 works flawlessly. Many thanks!! How can I add that command in my luncher? (to avoid run Sigil from CLI).
The easiest way I can think of to keep everything integrated with your Desktop Environment's shortcuts and menu items would be to edit Sigil's /usr/share/applications/sigil.desktop file.

You can add environment variables to .desktop files by prepending "env QT_QUICK_BACKEND=software" to the existing Exec line in Sigil's .desktop file.

The entire new Exec line would be:

Exec=env QT_QUICK_BACKEND=software sigil %F

The only downside is that you'd have to remember to redo it any time you updated Sigil.

You could also modify Sigil's launch script /usr/bin/sigil and export QT_QUICK_BACKEND=software from there. It would work much the same. But it would also be wiped out after a Sigil update.

You might also copy the existing /usr/share/applications/sigil.desktop file to your own ~/.local/share/applications folder and make the edit there. I'm not entirely certain that way would work, but if it did, it _should_ survive Sigil updates.

Hope something there helps.

Last edited by DiapDealer; 06-03-2025 at 12:28 PM.
DiapDealer is offline   Reply With Quote
Old 06-03-2025, 12:38 PM   #42
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,564
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by DiapDealer View Post
You might also copy the existing /usr/share/applications/sigil.desktop file to your own ~/.local/share/applications folder and make the edit there. I'm not entirely certain that way would work, but if it did, it _should_ survive Sigil updates.
This last seems to work on my machine. If it works on yours, it's definitely the way to go. No need to have to worry about redoing it after every Sigil update.

You might need to log out and back in after making the initial change. There's a command you can type to get your desktop to re-read all if its menu caches without logging out, but I'll be damned if I can ever remember what it is. xdg-utils something, I think.
DiapDealer is offline   Reply With Quote
Old 06-03-2025, 01:38 PM   #43
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,762
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by DiapDealer View Post
This last seems to work on my machine. If it works on yours, it's definitely the way to go. No need to have to worry about redoing it after every Sigil update.

You might need to log out and back in after making the initial change. There's a command you can type to get your desktop to re-read all if its menu caches without logging out, but I'll be damned if I can ever remember what it is. xdg-utils something, I think.
Many thanks, it worked! I can launch Sigil with the environment variable from my desktop without problems. And also Sigil works without issues with that "workaround".
RbnJrg is offline   Reply With Quote
Old 06-03-2025, 01:46 PM   #44
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,564
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
I was comparing the performance of my repo supplied Sigil 2.5.1 (with Qt6.9.0-7) and the Sigil 2.5.1 AppImage and not really seeing much difference. But when I compared the repo-supplied 2.5.1 (with QT_QUICK_BACKEND=software) and the repo-supplied 2.5.1 (without QT_QUICK_BACKEND=software) there was a significant difference. The software rendering is better. Go figure.
DiapDealer is offline   Reply With Quote
Old 06-03-2025, 04:17 PM   #45
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,762
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by DiapDealer View Post
I was comparing the performance of my repo supplied Sigil 2.5.1 (with Qt6.9.0-7) and the Sigil 2.5.1 AppImage and not really seeing much difference. But when I compared the repo-supplied 2.5.1 (with QT_QUICK_BACKEND=software) and the repo-supplied 2.5.1 (without QT_QUICK_BACKEND=software) there was a significant difference. The software rendering is better. Go figure.
Indeed! Sigil with the enviroment variable is faster, very curious. Maybe with Qt 6.9.1 things change but for now, the rendering "via" software is better.
RbnJrg is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sigil-2.0.1 Released DiapDealer Sigil 24 10-22-2023 08:00 AM
Sigil-0.8.900 released for testing - Wait for Sigil-0.8.901 KevinH Sigil 106 10-04-2015 10:41 AM
Sigil 0.8.4 Released user_none Sigil 3 02-14-2015 05:38 PM
Sigil V0.7.3 released user_none Sigil 59 09-11-2013 09:45 PM
Sigil 0.4.2 Released user_none Sigil 41 10-26-2011 06:03 AM


All times are GMT -4. The time now is 11:45 PM.


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