Recently I changed to a Win 11 Pro Laptop (Windows 22H2). While the hardware should be more than fine for handling Inkscape (i7-1365U, 32 GB RAM, 2 GB SSD), I am experience severe lags when operating Inkscape (Version 1.3.2) which makes working like visiting hell. In particular, I am making heavy use of the pdflatex rendering for typesetting math. equations into my figures. After prompting the rendering command, Inkscape completely freezes for approx. 20 seconds while the resulting rendering output is fine. This lag seems independent of the pdflatex prompt length, that is, even for tiny single letter LaTeX commands the experienced freeze time remains unchanged.
Beyond that, opening and saving Inkscape files also takes exceptionally long - also around 20-30 seconds per process. These lags during saving/loading as well as during pdflatex render are also present on a nearly empty canvas, i.e., they are not originating from overly complex files. Also, the CPU load from Inkscape is absolutely minimal (max 1-2 %) during the freeze intervals.
On the other hand, editing / adding objects to the canvas works smooth as usual (even for complex figures with many objects).
As I am currently producing 5...10 figures per day (at least I was able to do so before this lag issue...), the described problem is critical to me and brakes my usual Inkscape workflow. Any help is therefore highly appreciated!
Hello. I made a community account EXCLUSIVELY to respond to this post, because it has been driving me nuts. I tried everything you did, including rolling back to 0.92.5.
I, like you, am making shit tons of figures for academic pubs. I basically was creating a Figure1.svg inkscape svg file, and copying in .svg files of my graphs exported from R. Here is where I fucked up. Whenever I completed a figure, I would copy and paste the Figure1.svg file, rename it Figure2.svg, then just delete the old graphs and adding new ones. It appears that by doing this, I was saving massive amounts of other data that was slowly accumulating in the background (idk what, im a new user). At some point, all of my figure.svg files were taking nearly 90s to actually open. Once it was open, I could work with them at fairly normal speed.
My solution: Open a brand new inkscape file, and copy and paste my figs into it. Save. Now this new file opens extremely fast, no problems. This is user error on my end, thinking I could use the last file as a template for a new figure file (which makes sense on paper). Anyway, I really hope this helps you and anyone else! This was pissing me off so much I started looking back at adobe illustrator sub prices... jesus.
@AffectiveApe: I am starting nearly every figure from scratch, i.e., open a new Inkscape canvas fresh from the menu. Hence, the issue you are describing does not fit to my use case and I do also not observe any impact in terms of the observed freezes if I am working on an old or new file.
@Tyler: Is that bug reported via the Inkscape gitlab?
Moreover, I have tried out Inkscape versions 1.4 (beta), 1.3.2 as well as 1.2.2 while all showing the same problematic behavior without any noticable difference. Interestingly, version 1.1.2 seems much better and did not show the lag / freeze issue both when applying pdflatex as well as saving / loading files. Unfortunately, in this version the pdflatex command lacks the font sizing options which is very helpful for an equal scaling of all pdflatex printouts.
Recently I changed to a Win 11 Pro Laptop (Windows 22H2). While the hardware should be more than fine for handling Inkscape (i7-1365U, 32 GB RAM, 2 GB SSD), I am experience severe lags when operating Inkscape (Version 1.3.2) which makes working like visiting hell. In particular, I am making heavy use of the pdflatex rendering for typesetting math. equations into my figures. After prompting the rendering command, Inkscape completely freezes for approx. 20 seconds while the resulting rendering output is fine. This lag seems independent of the pdflatex prompt length, that is, even for tiny single letter LaTeX commands the experienced freeze time remains unchanged.
Beyond that, opening and saving Inkscape files also takes exceptionally long - also around 20-30 seconds per process. These lags during saving/loading as well as during pdflatex render are also present on a nearly empty canvas, i.e., they are not originating from overly complex files. Also, the CPU load from Inkscape is absolutely minimal (max 1-2 %) during the freeze intervals.
On the other hand, editing / adding objects to the canvas works smooth as usual (even for complex figures with many objects).
I have tried out different performance tweaks, e.g., as suggested here https://inkscape.org/de/learn/tutorials/avoid-performance-issues/.
However, that did not had any effect on the issue.
As I am currently producing 5...10 figures per day (at least I was able to do so before this lag issue...), the described problem is critical to me and brakes my usual Inkscape workflow. Any help is therefore highly appreciated!
I'd file a bug report and maybe roll back to an earlier version.
I didn't find any open bug reports in the Inbox for latex / pdflatex and performance.
Hello. I made a community account EXCLUSIVELY to respond to this post, because it has been driving me nuts. I tried everything you did, including rolling back to 0.92.5.
I, like you, am making shit tons of figures for academic pubs. I basically was creating a Figure1.svg inkscape svg file, and copying in .svg files of my graphs exported from R. Here is where I fucked up. Whenever I completed a figure, I would copy and paste the Figure1.svg file, rename it Figure2.svg, then just delete the old graphs and adding new ones. It appears that by doing this, I was saving massive amounts of other data that was slowly accumulating in the background (idk what, im a new user). At some point, all of my figure.svg files were taking nearly 90s to actually open. Once it was open, I could work with them at fairly normal speed.
My solution: Open a brand new inkscape file, and copy and paste my figs into it. Save. Now this new file opens extremely fast, no problems. This is user error on my end, thinking I could use the last file as a template for a new figure file (which makes sense on paper). Anyway, I really hope this helps you and anyone else! This was pissing me off so much I started looking back at adobe illustrator sub prices... jesus.
(Mildly edited for profanity by moderator.)
@AffectiveApe: I am starting nearly every figure from scratch, i.e., open a new Inkscape canvas fresh from the menu. Hence, the issue you are describing does not fit to my use case and I do also not observe any impact in terms of the observed freezes if I am working on an old or new file.
@Tyler: Is that bug reported via the Inkscape gitlab?
Moreover, I have tried out Inkscape versions 1.4 (beta), 1.3.2 as well as 1.2.2 while all showing the same problematic behavior without any noticable difference. Interestingly, version 1.1.2 seems much better and did not show the lag / freeze issue both when applying pdflatex as well as saving / loading files. Unfortunately, in this version the pdflatex command lacks the font sizing options which is very helpful for an equal scaling of all pdflatex printouts.
Correct.