![]() |
#31 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
![]() |
![]() |
![]() |
#32 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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.
|
![]() |
![]() |
Advert | |
|
![]() |
#33 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
![]() |
![]() |
![]() |
#34 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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:
I can verify that it's indeed enabled on my own system with: Code:
sudo cat /sys/module/nvidia_drm/parameters/modeset |
|
![]() |
![]() |
![]() |
#35 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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.
|
![]() |
![]() |
Advert | |
|
![]() |
#36 | ||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,762
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
Quote:
![]() Quote:
|
||
![]() |
![]() |
![]() |
#37 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,564
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
|
![]() |
![]() |
![]() |
#38 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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 |
![]() |
![]() |
![]() |
#39 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,762
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
Quote:
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. |
|
![]() |
![]() |
![]() |
#40 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,762
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
Quote:
|
|
![]() |
![]() |
![]() |
#41 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,564
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
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. |
|
![]() |
![]() |
![]() |
#42 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,564
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
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. |
|
![]() |
![]() |
![]() |
#43 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,762
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
Quote:
|
|
![]() |
![]() |
![]() |
#44 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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.
|
![]() |
![]() |
![]() |
#45 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,762
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
Quote:
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
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 |