Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 02-26-2022, 07:55 PM   #1
vepxistqaosani
Junior Member
vepxistqaosani began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jun 2021
Device: Fire HD 10
Flaky barely usable install on Fedora Linux (Qt, Wayland, X11)

I’m running Fedora 35 (5.16.11-200.fc35.x86_64) with Gnome 41.3 on an AMD CPU 1950x, with two Nvidia cards and > 100GB RAM.

For about six weeks, I’ve been unable to use Calibre.

The problem was that (somehow) Qt thought my system was using Wayland when it was actually using X11. So Calibre didn’t launch at all; the debug just gave misleading messages. Once I managed to install Wayland (tricky, because of Nvidia issues), I got my library back.

Alas, I can’t do much with it: The two parts I use most (ebook-viewer and ebook-edit) produce unreadably mangled windows, even though the main library window looks just fine.

I had exactly the same problem with the Chrome browser (though not Firefox), which I could fix by passing it a couple of command-line arguments (--enable-features=UseOzonePlatform --ozone-platform=wayland).

Is there a similar workaround for the satellite apps? Is there any difference in the way the main window, on the one hand, and the viewer and editor, on the other, interact with Qt, the OS, and/or the windowing system?

I doubt this has anything to do with the desktop environment, but I suppose I could switch from Gnome to KDE and see if that helps … Any thoughts?

Thanks!
Fred
vepxistqaosani is offline   Reply With Quote
Old 02-26-2022, 08:03 PM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,001
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
What version of Calibre? (Hint:The repository versions are usually far behind on many distros). Use the Commandline installer on the Linux download page
theducks is offline   Reply With Quote
Advert
Old 02-26-2022, 09:00 PM   #3
vepxistqaosani
Junior Member
vepxistqaosani began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jun 2021
Device: Fire HD 10
Thanks for the reply.

Yes, I update whenever I get a push. I'm currently at 5.37.
vepxistqaosani is offline   Reply With Quote
Old 02-26-2022, 09:26 PM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,299
Karma: 27111240
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
the viewer and editor use qt webengine, which is based on chromium. If you want to pass flags to it, use https://doc.qt.io/qt-5/qtwebengine-debugging.html
kovidgoyal is offline   Reply With Quote
Old 02-26-2022, 09:46 PM   #5
vepxistqaosani
Junior Member
vepxistqaosani began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jun 2021
Device: Fire HD 10
Thanks! That looks like a great clue.

I guess I’ll have to learn a bit of Qt development. But learning is good for the soul!
vepxistqaosani is offline   Reply With Quote
Advert
Reply

Tags
linux, mangled, unreadable, wayland


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting Calibre to see Fire on Fedora Linux (KDE) vepxistqaosani Devices 0 06-28-2021 09:34 PM
Calibre on Fedora Linux, cannot upload books to Kobo ZodWallop Calibre 2 04-26-2021 07:15 PM
Calibre does not start in Wayland (Linux) inte Calibre 4 11-11-2017 07:36 AM
Kindle Previewer 2.3 crashes when opening files under Wine/Fedora 15 Linux amoroso Amazon Kindle 7 01-16-2012 10:37 AM
Tried to install calibre to fedora 10 64 failed dschiri1 Calibre 8 06-17-2009 01:31 PM


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


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