Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 11-09-2017, 01:52 PM   #1
inte
Member
inte began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Nov 2017
Device: Kindle Oasis
Exclamation Calibre does not start in Wayland (Linux)

I've installed the latest release:
$ calibre --version
calibre (calibre 3.11.1)

I'm running KDE on Wayland (instead of X11). I have Xwayland installed in order to run X11-only programs like e.g. Firefox.
Starting calibre results in a failure:
$ calibre
This application failed to start because it could not find or load the Qt platform plugin "wayland"
in "".

Available platform plugins are: linuxfb, minimal, offscreen, xcb.

Reinstalling the application may fix this problem.


Normally, Calibre should come up in its own Xwayland instance if Wayland ist not supported. In this case, as Qt-app, it should support wayland out of the box if the appropriate platform plugin was installed.
However, as the plugin appears to be missing, I have no idea why it wouldn't come up in Xwayland then (or how to configure that). Is this a misconfiguration?
Thank you in advance.
inte is offline   Reply With Quote
Old 11-09-2017, 05:52 PM   #2
sjfan
Addict
sjfan ought to be getting tired of karma fortunes by now.sjfan ought to be getting tired of karma fortunes by now.sjfan ought to be getting tired of karma fortunes by now.sjfan ought to be getting tired of karma fortunes by now.sjfan ought to be getting tired of karma fortunes by now.sjfan ought to be getting tired of karma fortunes by now.sjfan ought to be getting tired of karma fortunes by now.sjfan ought to be getting tired of karma fortunes by now.sjfan ought to be getting tired of karma fortunes by now.sjfan ought to be getting tired of karma fortunes by now.sjfan ought to be getting tired of karma fortunes by now.
 
Posts: 281
Karma: 7724454
Join Date: Sep 2017
Location: Bethesda, MD, USA
Device: Kobo Aura H20, Kobo Clara HD
Quote:
Originally Posted by inte View Post
I've installed the latest release:
$ calibre --version
calibre (calibre 3.11.1)

I'm running KDE on Wayland (instead of X11). I have Xwayland installed in order to run X11-only programs like e.g. Firefox.
Starting calibre results in a failure:
$ calibre
This application failed to start because it could not find or load the Qt platform plugin "wayland"
in "".

Available platform plugins are: linuxfb, minimal, offscreen, xcb.

Reinstalling the application may fix this problem.


Normally, Calibre should come up in its own Xwayland instance if Wayland ist not supported. In this case, as Qt-app, it should support wayland out of the box if the appropriate platform plugin was installed.
However, as the plugin appears to be missing, I have no idea why it wouldn't come up in Xwayland then (or how to configure that). Is this a misconfiguration?
Thank you in advance.

Try setting the QT_QPA_PLATFORM="xcb" environment variable. For instance, run this from the command-line (all one line):

QT_QPA_PLATFORM="xcb" calibre
sjfan is offline   Reply With Quote
Advert
Old 11-11-2017, 05:07 AM   #3
inte
Member
inte began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Nov 2017
Device: Kindle Oasis
That worked, thank you. Calibre does now start in Xwayland. It would be nice if it was possible to include wayland-support in the official build to allow calibre to run under wayland natively (since most distros are implementing wayland now).
Thanks,
-inte-
inte is offline   Reply With Quote
Old 11-11-2017, 06:19 AM   #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: 43,966
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Currently the official build is restricted to Qt 5.6 to allow it to work on older distros. When it is bumped up, I will include the Qt wayland plugin. But, IIRC the wayland support in 5.6 was very buggy. Basic things like popup menus did not work correctly.
kovidgoyal is offline   Reply With Quote
Old 11-11-2017, 07:36 AM   #5
inte
Member
inte began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Nov 2017
Device: Kindle Oasis
Quote:
Originally Posted by kovidgoyal View Post
Currently the official build is restricted to Qt 5.6 to allow it to work on older distros. When it is bumped up, I will include the Qt wayland plugin. But, IIRC the wayland support in 5.6 was very buggy. Basic things like popup menus did not work correctly.
Thank you for the explanation!
No hurries, it is eventually working with this workaround and when it's ready, it' will be ready :-)
inte is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't start calibre-server on Linux (ubuntu) Awfki Calibre 5 08-19-2015 10:54 PM
Calibre on Linux taking 2 minutes to start mightymouse2045 Calibre 9 08-14-2011 12:55 AM
A Problem [Python errors and failing to start in Linux] Newby Calibre 21 01-27-2011 06:08 AM
Calibre won't start: Linux JeffElkins Calibre 16 08-30-2008 11:33 AM


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


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