I'm on Arch Linux (EndeavourOS), using Gnome. System up to date. Nvidia graphics, using Wayland. Installed the latest version of Krita using pacman (i.e. from the Arch repositories). The application opens fine, but when I try to create a new document nothing happens after I press the Create button (the dialog just closes with nothing happening). This is what I'm seeing in the terminal (the 4 statements at the end about "QOpenGLWidget" show up after I press the Create button): [assaf@assaf-endeavour ~]$ krita Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway. Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway. Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway. Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway. (process:15074): Gtk-WARNING **: 17:54:49.524: Locale not supported by C library. Using the fallback 'C' locale. Invalid profile : "/usr/share/color/icc/colord/Crayons.icc" "Crayon Colors" Invalid profile : "/usr/share/color/icc/colord/x11-colors.icc" "X11 Colors" Loading plugin "/usr/lib/kritaplugins/kritaseexprgenerator.so" failed, "Cannot load library /usr/lib/kritaplugins/kritaseexprgenerator.so: (libKSeExprUI.so.4: cannot open shared object file: No such file or directory)" Loading plugin "/usr/lib/kritaplugins/kritamypaintop.so" failed, "Cannot load library /usr/lib/kritaplugins/kritamypaintop.so: (libmypaint.so.0: cannot open shared object file: No such file or directory)" QObject::startTimer: Timers cannot have negative intervals krita.scripting: "Traceback (most recent call last):" krita.scripting: " File \"/usr/lib/krita-python-libs/krita/__init__.py\", line 11, in <module>" krita.scripting: " from .api import *" krita.scripting: " File \"/usr/lib/krita-python-libs/krita/api.py\", line 15, in <module>" krita.scripting: " from PyKrita.krita import *" krita.scripting: "ModuleNotFoundError: No module named 'PyQt5'" krita.scripting: "Could not import krita" QOpenGLWidget: Failed to make context current QOpenGLWidget: Failed to make context current QOpenGLWidget: Failed to make context current QOpenGLWidget: Failed to make context current
Also tried with the latest appimage (downloaded from the Krita website). Application crashed completely after pressing the "Create" button (File => New => Create). This is what I see in the terminal: [assaf@assaf-endeavour Downloads]$ ./krita-5.0.0-x86_64.appimage Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway. Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway. Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway. Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway. QObject::startTimer: Timers cannot have negative intervals Could not find platform independent libraries <prefix> Could not find platform dependent libraries <exec_prefix> Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] /tmp/.mount_krita-ozhZ8z/usr/lib/krita-python-libs/krita added to PYTHONPATH The X11 connection broke: No error (code 0) X connection to :0 broken (explicit kill or server shutdown). Segmentation fault (core dumped)
Krita simply does not support Wayland at this moment. We're also not working on it yet; versions of Qt that work with Wayland and tablets are too broken to use, and Qt 5.12 doesn''t support it. Apparently there's a workaround or a patch in Arch that disables our warning dialog about that.
Thanks Halla. Sad to hear, as I have to use Wayland (to get fractional scaling) and would love to be able to use Krita. Keeping my fingers crossed for it in the future.
Just wondering - is there a way to run Krita on XWayland?