You are not logged in.

#1 2022-01-20 13:20:47

joanmanel
Member
Registered: 2012-11-06
Posts: 234

Inkscape - very bad performance and constant crashes

Hi, I have been using inkscape for years, and since its update to 1.x, it's been sort of unusable on my archlinux computer (on windows it is fine).

Sometimes it works, sometimes it does not. It takes a lot to load, it freezes constantly, "force quit" "wait". I don't really know how to check what's going on, launching it from the term returns no errors or anything. It doesn't matter if the file I am working with is big, or just a blank document. I don't really know how to debug this, or if someone else is having a similar problem.

For perspective, my computer is good (i5-11600K with 32gb of ram) so it's not a situation where my computer is struggling to go with inkscape.

I have tried to uninstall it and reinstall it and all of that, but problems persist. I am using the version in "extra", installed with Pacman.

Offline

#2 2022-01-20 13:27:51

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,729

Re: Inkscape - very bad performance and constant crashes

Do you get coredumps? What are their contents? https://wiki.archlinux.org/title/Core_d … _core_dump

Online

#3 2022-01-20 13:30:09

joanmanel
Member
Registered: 2012-11-06
Posts: 234

Re: Inkscape - very bad performance and constant crashes

V1del wrote:

Do you get coredumps? What are their contents? https://wiki.archlinux.org/title/Core_d … _core_dump

There is nothing there. Thanks for your answer

Offline

#4 2022-01-20 13:36:06

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,729

Re: Inkscape - very bad performance and constant crashes

If you have xf86-video-intel installed make sure it's removed.

Other than that what happens exactly? When it freezes, can you just not interact with it/are clicks going through, how does "force quit" show itself? Do you manually run a kill -9 ? Are you on a Wayland or a Xorg session, have you tried the other, what's your general environment, do you use a compositor?

Online

#5 2022-01-20 14:18:28

joanmanel
Member
Registered: 2012-11-06
Posts: 234

Re: Inkscape - very bad performance and constant crashes

V1del wrote:

If you have xf86-video-intel installed make sure it's removed.

Other than that what happens exactly? When it freezes, can you just not interact with it/are clicks going through, how does "force quit" show itself? Do you manually run a kill -9 ? Are you on a Wayland or a Xorg session, have you tried the other, what's your general environment, do you use a compositor?

I am using gnome, as it comes from default. It goes gray and it says a window saying it is not responding and asking me to force quit or wait. Wait does nothing, so I kill it using force quit. I don't use a compositor. I am using x11. Every other application works fine. only inkscape gives me problems.

Offline

#6 2022-01-20 14:39:18

seth
Member
Registered: 2012-09-03
Posts: 51,206

Re: Inkscape - very bad performance and constant crashes

as it comes from default

Nope.

goes gray and it says a window saying it is not responding and asking me to force quit or wait

That's from the gnome WM because inkscape doesn't respond to _NET_WM_PING, https://specifications.freedesktop.org/ … 7187993632

Check "top" on whether inkscape is hogging the CPU (at least one core) and "ps aux | grep -i inkscape" to see the process state (D,S,T - "D" means it's waiting for IO, "T" means it's stopped)
You can attach "strace -p <inkscape PID here>" to the inkscape PID, but will have to "echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope" to be allowed to do so.

Offline

#7 2022-01-25 15:51:32

joanmanel
Member
Registered: 2012-11-06
Posts: 234

Re: Inkscape - very bad performance and constant crashes

seth wrote:

as it comes from default

Nope.

goes gray and it says a window saying it is not responding and asking me to force quit or wait

That's from the gnome WM because inkscape doesn't respond to _NET_WM_PING, https://specifications.freedesktop.org/ … 7187993632

Check "top" on whether inkscape is hogging the CPU (at least one core) and "ps aux | grep -i inkscape" to see the process state (D,S,T - "D" means it's waiting for IO, "T" means it's stopped)
You can attach "strace -p <inkscape PID here>" to the inkscape PID, but will have to "echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope" to be allowed to do so.

It doesnt seem to be hogging the cpu. This is the result from your ps command:

juanma     12139  1.3  0.9 995584 302116 ?       Sl   15:36   0:10 inkscape

Offline

#8 2022-01-25 16:13:09

seth
Member
Registered: 2012-09-03
Posts: 51,206

Re: Inkscape - very bad performance and constant crashes

Are we sure about the X11 situation?

loginctl session-status

Offline

#9 2022-01-25 16:41:26

joanmanel
Member
Registered: 2012-11-06
Posts: 234

Re: Inkscape - very bad performance and constant crashes

seth wrote:

Are we sure about the X11 situation?

loginctl session-status
3 - juanma (1000)
           Since: Tue 2022-01-25 15:59:14 GMT; 38min ago
          Leader: 975 (gdm-session-wor)
            Seat: seat0; vc2
             TTY: tty2
         Service: gdm-password; type x11; class user
           State: active
            Unit: session-3.scope
                  ├─ 975 "gdm-session-worker [pam/gdm-password]"
                  ├─ 998 /usr/bin/gnome-keyring-daemon --daemonize --login
                  ├─1002 /usr/lib/gdm-x-session --run-script /usr/bin/gnome-session
                  ├─1004 /usr/lib/Xorg vt2 -displayfd 3 -auth /run/user/1000/gdm/Xauthority -nolisten tcp -background none -noreset -keeptty -novtswitch -verbose 3
                  ├─1010 /usr/lib/gnome-session-binary
                  └─4197 /usr/bin/ssh-agent -D -a /run/user/1000/keyring/.ssh

Jan 25 15:59:17 housepc /usr/lib/gdm-x-session[1004]: (--) NVIDIA(GPU-0): BenQ GL2460 (DFP-6): Internal TMDS
Jan 25 15:59:17 housepc /usr/lib/gdm-x-session[1004]: (--) NVIDIA(GPU-0): BenQ GL2460 (DFP-6): 165.0 MHz maximum pixel clock
Jan 25 15:59:17 housepc /usr/lib/gdm-x-session[1004]: (--) NVIDIA(GPU-0):
Jan 25 16:12:08 housepc /usr/lib/gdm-x-session[1004]: (EE) event6  - Logitech K270: client bug: event processing lagging behind by 19ms, your system is too slow
Jan 25 16:18:15 housepc /usr/lib/gdm-x-session[1004]: (EE) event6  - Logitech K270: client bug: event processing lagging behind by 34ms, your system is too slow
Jan 25 16:19:15 housepc /usr/lib/gdm-x-session[1004]: (EE) event6  - Logitech K270: client bug: event processing lagging behind by 16ms, your system is too slow
Jan 25 16:19:22 housepc /usr/lib/gdm-x-session[1004]: (EE) event6  - Logitech K270: client bug: event processing lagging behind by 11ms, your system is too slow
Jan 25 16:22:44 housepc gnome-keyring-daemon[998]: asked to register item /org/freedesktop/secrets/collection/login/5, but it's already registered
Jan 25 16:25:02 housepc /usr/lib/gdm-x-session[1004]: (EE) event6  - Logitech K270: client bug: event processing lagging behind by 33ms, your system is too slow
Jan 25 16:25:02 housepc /usr/lib/gdm-x-session[1004]: (EE) event6  - Logitech K270: WARNING: log rate limit exceeded (5 msgs per 60min). Discarding future messages.

Offline

#10 2022-01-27 08:13:13

seth
Member
Registered: 2012-09-03
Posts: 51,206

Re: Inkscape - very bad performance and constant crashes

What does the render tab in the settings look like and do you get the same hags when using inkscape in the outline mode? (ctrl+5 toggles the modes)

Offline

Board footer

Powered by FluxBB