Bug 437524 - Crashes when opening or creating a new file Manjaro Arm64
Summary: Crashes when opening or creating a new file Manjaro Arm64
Status: RESOLVED DUPLICATE of bug 436773
Alias: None
Product: krita
Classification: Applications
Component: OpenGL Canvas (show other bugs)
Version: 4.4.3
Platform: Manjaro Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-23 02:02 UTC by Corey bruce
Modified: 2021-05-24 13:09 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Corey bruce 2021-05-23 02:02:23 UTC
SUMMARY
On Manjaro Arm64 using a Raspberry pi 4 Krita will crash as soon as I either create a new file or open a image file, this did not happen on Krita 4.4.2

STEPS TO REPRODUCE
1. Open file or image
2. Krita will freeze look like it's trying to load the file 
3. Krita crashes

OBSERVED RESULT

```
[corey@corey-pi4 ~]$ krita
No "breeze" available.
Set style "fusion"
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.0.1.0: cannot open shared object file: No such file or directory)"
Loading plugin "/usr/lib/kritaplugins/kritalutdocker.so" failed,  "Cannot load library /usr/lib/kritaplugins/kritalutdocker.so: (libOpenColorIO.so.1: cannot open shared object file: No such file or directory)"
qt.gui.icc: fromIccProfile: Invalid ICC profile - invalid white-point
QPngHandler: Failed to parse ICC profile
qt.gui.icc: fromIccProfile: Invalid ICC profile - invalid white-point
QPngHandler: Failed to parse ICC profile
qt.gui.icc: fromIccProfile: Invalid ICC profile - invalid white-point
QPngHandler: Failed to parse ICC profile
qt.gui.icc: fromIccProfile: Invalid ICC profile - invalid white-point
QPngHandler: Failed to parse ICC profile
qt.gui.icc: fromIccProfile: Invalid ICC profile - invalid white-point
QPngHandler: Failed to parse ICC profile
qt.gui.icc: fromIccProfile: Invalid ICC profile - invalid white-point
QPngHandler: Failed to parse ICC profile
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 7, in <module>"
krita.scripting: "    from .api import *"
krita.scripting: "  File \"/usr/lib/krita-python-libs/krita/api.py\", line 28, in <module>"
krita.scripting: "    from PyKrita.krita import *"
krita.scripting: "ModuleNotFoundError: No module named 'PyQt5'"
krita.scripting: "Could not import krita"
QLayout: Attempting to add QLayout "" to QWidget "", which already has a layout
WARNING: Level of Detail functionality is available only with openGL + GLSL 1.3 support
WARNING: Level of Detail functionality is available only with openGL + GLSL 1.3 support
ASSERT (krita): "ASSERT failure in KisOpenGLImageTextures::updateTextureFormat: "Unexpected KisOpenGL::hasOpenGLES returned false" (false)" in file /build/krita/src/krita-4.4.3/libs/ui/opengl/kis_opengl_image_textures.cpp, line 557
Aborted (core dumped)
```

EXPECTED RESULT

Works and is able to open image files or create new files

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Manjaro xfce4 Arm64
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 5.15.2
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 Halla Rempt 2021-05-23 09:01:38 UTC
Two things: 

* your build is simply messed up, since there are plugins that cannot be loaded. That needs to be cleaned up first.
* and the opengl drivers for arm on manjaro are messed up, so the build enables opengl even if the system doesn't properly provide opengl. You might have manually disable canvas acceleration in the kritadisplayrc file.

Note that in any case, a raspberry pi isn't going to be great for actually doing stuff with Krita...
Comment 2 Halla Rempt 2021-05-23 09:04:38 UTC

*** This bug has been marked as a duplicate of bug 436773 ***
Comment 3 Corey bruce 2021-05-23 09:23:57 UTC
Hey there, this is a clean fresh install with no extra plugins other than the default ones that come with Krita and I can confirm that disabling canvas hardware acceleration, other than the possability that the build on Manjaro repos is broken it worked just fine in 4.4.2 so what changed between the versions?
Comment 4 Corey bruce 2021-05-23 09:27:20 UTC
Also wish to add that the opengl driver work fine as I play many games on my pi 4 and use it as a full desktop with compositing.
Comment 5 Corey bruce 2021-05-23 10:16:42 UTC
Oh and the flatpak version does the exact same thing.
Comment 6 Corey bruce 2021-05-24 13:01:31 UTC
Could I please get a update on this, I feel like this issue wasn't properly looked at and not fulled explained nor is it resolved so it shouldn't be marked as such.
Comment 7 Halla Rempt 2021-05-24 13:09:45 UTC
Your report is a duplicate, so it has to be marked as resolved/duplicate.