3

The message that appears in the terminal:

(my PC: Dell 5482)

Qt: Session management error: Could not open network socket
libGL error: DRI driver not from this Mesa build ('23.0.4-0ubuntu1~22.04.1' vs '23.2.1-1ubuntu3.1~22.04.2')
libGL error: failed to load driver: iris
libGL error: DRI driver not from this Mesa build ('23.0.4-0ubuntu1~22.04.1' vs '23.2.1-1ubuntu3.1~22.04.2')
libGL error: failed to load driver: iris
libGL error: DRI driver not from this Mesa build ('23.0.4-0ubuntu1~22.04.1' vs '23.2.1-1ubuntu3.1~22.04.2')
libGL error: failed to load driver: swrast
libGL error: DRI driver not from this Mesa build ('23.0.4-0ubuntu1~22.04.1' vs '23.2.1-1ubuntu3.1~22.04.2')
libGL error: failed to load driver: iris
libGL error: DRI driver not from this Mesa build ('23.0.4-0ubuntu1~22.04.1' vs '23.2.1-1ubuntu3.1~22.04.2')
libGL error: failed to load driver: iris
libGL error: DRI driver not from this Mesa build ('23.0.4-0ubuntu1~22.04.1' vs '23.2.1-1ubuntu3.1~22.04.2')
libGL error: failed to load driver: swrast
Qt: Session management error: Could not open network socket
Invalid profile :  "/snap/krita/100/usr/share/color/icc/colord/Crayons.icc"
Invalid profile :  "/snap/krita/100/usr/share/color/icc/colord/x11-colors.icc"
Cannot mix incompatible Qt library (5.15.11) with this library (5.15.12)
Abortado (imagem do núcleo gravada)
user68186
  • 37,795

3 Answers3

1

I have the same issue today after some Ubuntu updates. I had the Krita installed via snap (5.2.2). When I tried to install it via apt (5.0.2) it works. Unfortunately, I didn't preserve the user settings, so I have to set the layout and other thinks back manually.

Dan
  • 11
  • You can copy the configuration files from the snap version (usually ~/snap/krita/current/config) to ~/.config/ and the stuff found in ~/snap/krita/current/local/krita (?) to ~/.local/share/(krita). The appimage version (if you managed to get it work on Ubuntu 22.04) should also use those. For the Flatpak version, it should be ~/.var/app/org.kde.krita/config and ~/.var/app/org.kde.krita/data/krita. Just check the file names on both sides. – Negirno Mar 30 '24 at 14:30
0

I had the same issue, it seems to be an issue in the last revision of the version 5.2.2 (revision 100).

I check in my local and a previous revision was available (revision 98), I switch to it and now it's working again!

$ snap list krita --all
Name   Version  Rev  Tracking       Publisher  Notes
krita  5.2.2    98   latest/stable  krita✓     disabled
krita  5.2.2    100  latest/stable  krita✓     -

$ sudo snap revert krita --revision 98 krita reverted to 5.2.2

-1

Move or delete /home/<your-user-name>/.config/kritarc.

NotTheDr01ds
  • 22,381