Krita container fails to start in default configuration

Moderator: BarryK

Post Reply
Caramel
Posts: 532
Joined: Sun Oct 02, 2022 6:25 pm
Location: France
Has thanked: 106 times
Been thanked: 97 times

Krita container fails to start in default configuration

Post by Caramel »

If Krita is installed in new container with default option xorg server, the windows of the applaction don't succed to start. The screen is black (with some luminosity, not black like when the monitor is off) with the cursor of the mouse (always responsive) during more than thirty seconds, then the desktop comes back

# ec-chroot krita
forked to background, child pid 14759
Executing: DISPLAY=:0 ip netns exec krita1ns pflask --keepenv --mount=bind:/tmp/.X11-unix/X0:/tmp/.X11-unix/X0 --no-ipcns --no-netns --mount=bind:/dev/snd:/dev/snd --mount=bind:/tmp/pulse-socket:/tmp/pulse-socket --caps=all,-sys_mount,-sys_admin,-sys_boot,-sys_chroot,-sys_ptrace,-sys_time,-sys_tty_config,-chown,-kill,-dac_override,-dac_read_search,-fowner,-setfcap,-setpcap,-net_admin,-mknod,-sys_module,-sys_nice,-sys_resource --no-userns --chroot=/mnt/sda21/easyos2/containers/krita/container -- /.control/ec-run krita
/.control/ec-run : ligne 50 : 35 Floating point exception${xEXE} ${@} > /tmp/xerrors-${EXE}.log 2>&1
[✘] Child failed with code '136'
sending signal ALRM to pid 14759
waiting for pid 14759 to exit
Unmounting: /mnt/sda21/easyos2/containers/krita/container
Unmounting: krita.sfs
Unmounting: buster.sfs
Container krita stopped

file /tmp/xerrs.log

X.Org X Server 1.21.1.3
X Protocol Version 11, Revision 0
Current Operating System: Linux EASYPC29461 5.15.86 #1 SMP Mon Jan 2 21:45:49 +08 2023 x86_64
Kernel command line: BOOT_IMAGE=/easyos2/vmlinuz rw wkg_dev=sda21 wkg_dir=easyos2/

Current version of pixman: 0.40.0
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Fri Jan 20 13:37:20 2023
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
resize called 1920 1080
xset: unknown option rate

usage: xset [-display host:dpy] option ...
To turn bell off:
-b b off b 0
To set bell volume, pitch and duration:
b [vol [pitch [dur]]] b on
To disable bug compatibility mode:
-bc
To enable bug compatibility mode:
bc
To turn keyclick off:
-c c off c 0
To set keyclick volume:
c [0-100] c on
To control Energy Star (DPMS) features:
-dpms Energy Star features off
+dpms Energy Star features on
dpms [standby [suspend [off]]]
force standby
force suspend
force off
force on
(also implicitly enables DPMS features)
a timeout value of zero disables the mode
To set the font path:
fp= path[,path...]
To restore the default font path:
fp default
To have the server reread font databases:
fp rehash
To remove elements from font path:
-fp path[,path...] fp- path[,path...]
To prepend or append elements to font path:
+fp path[,path...] fp+ path[,path...]
To set LED states off or on:
-led [1-32] led off
led [1-32] led on
To set mouse acceleration and threshold:
m [acc_mult[/acc_div] [thr]] m default
To set pixel colors:
p pixel_value color_name
To turn auto-repeat off or on:
-r [keycode] r off
r [keycode] r on
For screen-saver control:
s [timeout [cycle]] s default s on
s blank s noblank s off
s expose s noexpose
s activate s reset
For status information: q
To print version: -version
/usr/bin/jwm
JWM: warning: $HOME/.jwmrc[358]: could not open included file: /root/.jwmrc-drives
JWM: warning: $HOME/.jwmrc[359]: could not open included file: /root/.jwmrc-containers
JWM: warning: key binding: root menu "4" not defined
JWM: warning: key binding: root menu "2" not defined
libpng warning: Interlace handling should be turned on when using png_read_image
/root/Startup/cups_spot_fix:
/root/Startup/pa-applet_tray: waited 6 seconds for pulseaudio daemon.

(ROX-Filer:26492): GLib-GObject-WARNING **: 13:37:55.462: value "-1700081565" of type 'gint' is invalid or out of range for property 'weight' of type 'gint'
/usr/local/pup_event/netchg: entered, param=20
libpng warning: Interlace handling should be turned on when using png_read_image
JWM: warning: $HOME/.jwmrc[359]: could not open included file: /root/.jwmrc-drives
JWM: warning: $HOME/.jwmrc[360]: could not open included file: /root/.jwmrc-containers
JWM: warning: key binding: root menu "4" not defined
JWM: warning: key binding: root menu "2" not defined
libpng warning: Interlace handling should be turned on when using png_read_image
/usr/local/pup_event/netchg: entered, param=17
/usr/local/pup_event/netchg: entered, param=20

Considering the phrase in xerrs.log

libpng warning: Interlace handling should be turned on when using png_read_image

and the pages

it's possible that the problem is a bug in old package python

NB
Krita starts if the option xephyr is choosen. It starts also when installed in sfs in buster.
Scribus who depends also on buster starts with xorg server

Caramel
Posts: 532
Joined: Sun Oct 02, 2022 6:25 pm
Location: France
Has thanked: 106 times
Been thanked: 97 times

Re: Krita container fails to start in default configuration

Post by Caramel »

I found a xerrors-krita.log in /mnt/wkg/containers/krita/.session/tmp

QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'

(process:35): Gtk-WARNING **: 15:22:01.551: Locale not supported by C library.
Using the fallback 'C' locale.
libGL error: failed to open drm device: No such file or directory
libGL error: failed to load driver: nouveau
No "breeze" available.
Set style "fusion"

Caramel
Posts: 532
Joined: Sun Oct 02, 2022 6:25 pm
Location: France
Has thanked: 106 times
Been thanked: 97 times

Krita fails also in sfs in EasyOS Buster

Post by Caramel »

Krita tested in EasyOS 2.6.2 (fr), fresh install

Container (sever xorg) failure

file /tmp/xerrs.log

X.Org X Server 1.20.4
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.19.0-10-amd64 x86_64 Debian
Current Operating System: Linux EASYPC23886 5.4.128 #1 SMP Mon Jun 28 20:37:29 +08 2021 x86_64
Kernel command line: BOOT_IMAGE=/easyosbuster/boot/vmlinuz rw
Build Date: 27 August 2020 08:51:48AM
xorg-server 2:1.20.4-1+deb10u1 (https://www.debian.org/support)
Current version of pixman: 0.36.0
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sun Jan 22 19:47:48 2023
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(II) modeset(0): Initializing kms color map for depth 24, 8 bpc.
/usr/bin/jwm
/usr/local/pup_event/netchg: entered, param=17
/usr/local/pup_event/netchg: entered, param=20

file xerrors-krita.log

QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'

(process:32): Gtk-WARNING **: 19:50:37.860: Locale not supported by C library.
Using the fallback 'C' locale.
libGL error: MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to retrieve device information
No "breeze" available.
Set style "fusion"

SFS layered Failure

# krita
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'

(process:13880): Gtk-WARNING **: 08:47:02.266: Locale not supported by C library.
Using the fallback 'C' locale.
No "breeze" available.
Set style "fusion"
Floating point exception

Caramel
Posts: 532
Joined: Sun Oct 02, 2022 6:25 pm
Location: France
Has thanked: 106 times
Been thanked: 97 times

Re: Krita container fails to start in default configuration

Post by Caramel »

To conclude my tests,

in EasyOS Buster (2.6.2) Krita starts in a non-resizable windows with

Xephyr -br -ac -noreset -screen 800x600 :1 & DISPLAY=:1 krita

,

in EasyOS Dunfell (4.5.5) the appimage krita-5.1.5-x86_64.appimage starts. (But its size is 334 MB against 117MB for the sfs)
(NB : The appimage version 4.1.7 (that is the version of the container sfs) don't start)

Download link for the appimage 5.1.5 : https://download.kde.org/stable/krita/5 ... 4.appimage .

Post Reply

Return to “EasyOS”