Open Emilprivate opened 3 months ago
What have I tried? yay -S qt5-wayland
Installing system packages won't help you much if you are using a appimage. The whole point of Appimage is it's mostly selfcontained and uses bundled libraries (with few exceptions).
Do you have an environment variable forcing Qt to attempt using wayland backend QT_QPA_PLATFORM=wayland
? If you have you will have to unset it while running cutter Appimage or change value to QT_QPA_PLATFORM=xcb
. Current cutter .Appimage release does not include Qt wayland backend, so forcing Qt to attempt using it will result in a failure similar to one you observed.
Alternatively since you are on Manjaro, it should have a reasonable up date version of cutter available in it's main repository. No need to use Appimage.
2.4 release should include the Qt wayland backend , you can download a development build here https://github.com/rizinorg/cutter/actions/runs/10125729318 . Download the Linux-x86_64.AppImage only qt6 build includes the wayland backend.
I was just about to open an issue for something very similar on Arch Linux where I didn't see the rz-cutter package only cutter which was a tool for TCP/IP.
I've been trying to compile from source and running into build issues. If anyone else is coming here for similar issues you can use the following commands to locate the package:
sudo pacman -Ss cutter
OUTPUT: core/b43-fwcutter 019-5 firmware extractor for the b43 kernel module extra/cutter 1.04-3 TCP/IP Connection cutting on Linux Firewalls and Routers extra/python-cookiecutter 2.6.0-2 A command-line utility that creates projects from project templates extra/rz-cutter 2.3.4-7 Qt and C++ GUI for rizin reverse engineering framework extra/rz-ghidra 0.7.0-2 Deep ghidra decompiler integration for rizin and rz-cutter extra/vidcutter 6.0.5.2-1 Modern, simple to use, constantly evolving and hella fast media cutter + joiner with frame-accurate SmartCut technology
Showing this because you'll probably want rz-ghidra as well
sudo pacman -S rz-ghidra rz-cutter
Environment information
Describe the bug
When attempting to run the Cutter AppImage (version 2.3.4) on my Linux system, the application fails to start. The error messages indicate missing platform plugins, specifically the "wayland" plugin, and rendering issues related to
InvalidMatrix
.To Reproduce
Steps to reproduce the behavior:
chmod +x Cutter-v2.3.4-Linux-x86_64.AppImage
../Cutter-v2.3.4-Linux-x86_64.AppImage
.(process:41710): librsvg-WARNING **: 00:12:35.915: cannot render on a cairo_t with a failure status (status=InvalidMatrix)
(process:41710): librsvg-WARNING **: 00:12:35.915: rendering error: InvalidMatrix
(process:41710): librsvg-WARNING **: 00:12:35.916: cannot render on a cairo_t with a failure status (status=InvalidMatrix)
(process:41710): librsvg-WARNING **: 00:12:35.916: rendering error: InvalidMatrix gtk-update-icon-cache: Cache file created successfully. which: no gtk-update-icon-cache-3.0 in (/home/esd/.local/bin:/usr/local/bin:/usr/bin:/var/lib/snapd/snap/bin:/usr/local/sbin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl) which: no update-icon-caches in (/home/esd/.local/bin:/usr/local/bin:/usr/bin:/var/lib/snapd/snap/bin:/usr/local/sbin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl) qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in "" This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.