Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 01-03-2024, 01:22 AM   #1
legato
Junior Member
legato began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jan 2024
Device: Nook
Calibre 7 crashes on Wayland

I have Ubuntu Linux 22.04.3 LTS and Calibre 7.2, and I cannot open the app without it segfaulting almost immediately:

Code:
$ calibre
qt.qpa.theme.dbus: Session DBus not running.
qt.qpa.theme.dbus: Application will not react to setting changes.
 Check your DBus installation.
Segmentation fault (core dumped)
Code:
calibre[2846607]: segfault at 0 ip 00007fa182a9010b sp 00007ffc1fcf74e8 error 4 in libX11-xcb.so.1.0.0[7fa182a90000+1000] likely on CPU 17 (core 1, socket 0)
Code: 00 01 5d c3 0f 1f 00 c3 0f 1f 80 00 00 00 00 f3 0f 1e fa e9 77 ff ff ff 0f 1f 80 00 00 00 00 f3 0f 1e fa 48 8b 87 30 0a 00 00 <48> 8b 00 c3 90 f3 0f 1e fa 48 8b 87 30 0a 00 00 89 70 48 c3 00 f3
Searching the forums found me some debugging options. calibre-debug didn't show anything useful, so I tried this:

Code:
$ QT_DEBUG_PLUGINS=1 calibre
[...]
qt.core.plugin.factoryloader: Got keys from plugin meta data QList()
qt.core.plugin.factoryloader: checking directory path "/opt/calibre/bin/wayland-graphics-integration-client" ...
qt.core.library: "/opt/calibre/plugins/wayland-graphics-integration-client/libqt-plugin-wayland-egl.so" loaded library
Segmentation fault (core dumped)
Full output is attached if you need that.

My QT_QPA_PLATFORM variable is set to "wayland-egl". I tried launching it with
Code:
QT_QPA_PLATFORM=xcb calibre
and that worked. What can I do to make Calibre launch normally?

I have been using the binary downloads but I wouldn't mind switching to source.
Attached Files
File Type: txt QT_DEBUG_PLUGINS.txt (15.1 KB, 116 views)
legato is offline   Reply With Quote
Old 01-03-2024, 01:26 AM   #2
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: 44,526
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Dont use wayland, its not ready.
kovidgoyal is offline   Reply With Quote
Advert
Old 01-03-2024, 11:35 AM   #3
retiredbiker
Evangelist
retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.
 
retiredbiker's Avatar
 
Posts: 420
Karma: 2737916
Join Date: May 2013
Location: Ontario, Canada
Device: Kindle KB, Oasis, Pop_Os!, Jutoh, Kobo Forma
I recently got a new PC, a Thelio from System76, running Pop!_os 22.04 with AMD CPU and GPU. I tried Wayland, and it actually worked well enough to do some extensive book editing. Not well enough to run full time...but surprisingly well. Maybe one day soon?
retiredbiker is offline   Reply With Quote
Old 01-03-2024, 11:43 AM   #4
Quoth
the rook, bossing Never.
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 12,342
Karma: 92073397
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
Quote:
Originally Posted by retiredbiker View Post
I recently got a new PC, a Thelio from System76, running Pop!_os 22.04 with AMD CPU and GPU. I tried Wayland, and it actually worked well enough to do some extensive book editing. Not well enough to run full time...but surprisingly well. Maybe one day soon?
I doubt it.
Quoth is offline   Reply With Quote
Old 01-03-2024, 11:49 AM   #5
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: 44,526
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by retiredbiker View Post
I recently got a new PC, a Thelio from System76, running Pop!_os 22.04 with AMD CPU and GPU. I tried Wayland, and it actually worked well enough to do some extensive book editing. Not well enough to run full time...but surprisingly well. Maybe one day soon?
Well if it works for whatever subset of software/workflows you use it for, I guess its ready *for you*. But in general, it has a loooooooong way to go and its design means it is particularly susceptible to politics which means it moves verrrrrrry slowly.
kovidgoyal is offline   Reply With Quote
Advert
Reply

Tags
crash, linux, segfault, ubuntu, wayland


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ebook-viewer does not work with Ubuntu 22.04 Wayland [6.13] noodler Viewer 27 03-05-2024 05:29 AM
plugins on linux with wayland cant build gui kaza Plugins 2 10-23-2023 02:10 AM
Calibre does not start in Wayland (Linux) inte Calibre 4 11-11-2017 08:36 AM
Western Bowman, Earl Wayland: The Ramblin' Kid. V2. 8 June 2012 GeorgeH ePub Books 0 06-05-2012 10:30 PM
Western Bowman, Earl Wayland: The Ramblin' Kid. V2. 8 June 2012 GeorgeH Kindle Books 0 06-05-2012 10:29 PM


All times are GMT -4. The time now is 04:34 PM.


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