Jump to content

Why does paint.net take so long to open on my new laptop?


Recommended Posts

I recently made a big jump when it comes to laptop specs. My old laptop was a 2015~ mid-range and my new one is a slightly high-tier 2021 laptop. I downloaded paint.net (non-ms store version), moved my plugins and filetypes from my old laptop to my new one, and put them in their respective folders.

 

However, I've noticed just how long paint.net takes to load in comparison to my old laptop. My old one would load the app within 2-3 seconds at any given time, while my new laptop takes around 8-10 seconds on the first 1-2 times that I open it, and then it's mostly fine afterwards.

 

 

So, what gives?

 

 

-----

 

Here's a spec comparison if needed.

 

Old laptop:

- i5-5200U

- 8GB DDR3 1600MHz

- Intel Integrated Graphics and an AMD Radeon R5 M330

- 200GB SSD for boot (partitioned, 120GB C Drive)

New laptop:

- i7-11370H

- 16GB DDR4 3200MHz

- Intel Integrated Graphics and an RTX 3060 (6GB)

- 1TB SSD (boot + storage)

Link to comment
Share on other sites

How many plugins do you have installed?

Link to comment
Share on other sites

Plugins are loaded in the background. Shouldn't add too much to startup time. Having lots of custom shapes will certainly slow things down.

 

You can dig into this deeper by enabling tracing. Go to Start -> Run, then type in paintdotnet:/enableTracing=c:\pdn.trace (or substitute an appropriate location for the trace file).

 

Then, open up Chrome and navigate to chrome://tracing. Then drag-and-drop the trace file onto the window.

 

You'll see something like this, and you can use W A S D to zoom in/out and move left/right. The segment that marks "startup complete" is MainForm::OnShown (that is, startup is complete at the end of that bar). If there's something taking too long, it will probably show up as a bar that is obviously "way too long."

 

Go ahead and ZIP up the file and attach it to a reply and I can also look at it.

 

image.png

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html

forumSig_bmwE60.jpg

Link to comment
Share on other sites

On 8/9/2021 at 8:02 PM, Rick Brewster said:

Plugins are loaded in the background. Shouldn't add too much to startup time. Having lots of custom shapes will certainly slow things down.

 

You can dig into this deeper by enabling tracing. Go to Start -> Run, then type in paintdotnet:/enableTracing=c:\pdn.trace (or substitute an appropriate location for the trace file).

 

Then, open up Chrome and navigate to chrome://tracing. Then drag-and-drop the trace file onto the window.

 

You'll see something like this, and you can use W A S D to zoom in/out and move left/right. The segment that marks "startup complete" is MainForm::OnShown (that is, startup is complete at the end of that bar). If there's something taking too long, it will probably show up as a bar that is obviously "way too long."

 

Go ahead and ZIP up the file and attach it to a reply and I can also look at it.

 

image.png

hm, i can't find a trace file in my c drive. what exactly should i be looking for?image.png.8bb0ea4b35848ef5383fb47e66ddbd56.png

Link to comment
Share on other sites

I can't see what folder you've got open there. I presume C:\ ? That's where the file should go ... you'd see an error at startup. Make sure you've exited Paint.NET before relaunching it with that command I gave. You'll also need to exit Paint.NET in order to do anything with the trace file.

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html

forumSig_bmwE60.jpg

Link to comment
Share on other sites

2 hours ago, Rick Brewster said:

I can't see what folder you've got open there. I presume C:\ ? That's where the file should go ... you'd see an error at startup. Make sure you've exited Paint.NET before relaunching it with that command I gave. You'll also need to exit Paint.NET in order to do anything with the trace file.

it runs the command successfully and opens an instance of paint.net, but i can't seem to find any trace file in my c drive?

I also tried substituting the c path with some other folder (i.e. the "Files Folder" you saw in the screenshot I sent), but I get an error saying it doesn't recognize the type of image.

Link to comment
Share on other sites

3 hours ago, fylmxd said:

it runs the command successfully and opens an instance of paint.net, but i can't seem to find any trace file in my c drive?

 

The command in @Rick Brewster post has a typo, it should be paintdotnet:/enableTracing:c:\pdn.trace.

  • Like 1

PdnSig.png

Plugin Pack | PSFilterPdn | Content Aware Fill | G'MICPaint Shop Pro Filetype | RAW Filetype | WebP Filetype

The small increase in performance you get coding in C++ over C# is hardly enough to offset the headache of coding in the C++ language. ~BoltBait

 

Link to comment
Share on other sites

OK @Rick Brewster I got it to work. I have administrate privileges' but I don't always get permission. (ITS A WINDOWS THING)

 

 

 

Have a look and see how it performs on this low end machine. BTW - I like the /disablePlugins switch :)

Physical Memory                                              8,143 MB

CPU                                                          Intel(R) Core(TM) i5-4460  CPU @ 3.20GHz

Edited by AndrewDavid
Removed upload
  • Like 1

PaintNetSignature.png.6bca4e07f5d738b2436f83d0ce1b876f.png

Link to comment
Share on other sites

8 hours ago, AndrewDavid said:

OK @Rick Brewster I got it to work. I have administrate privileges' but I don't always get permission. (ITS A WINDOWS THING)

 

pdn.zip 88.74 kB · 2 downloads

 

Have a look and see how it performs on this low end machine. BTW - I like the /disablePlugins switch :)

Physical Memory                                              8,143 MB

CPU                                                          Intel(R) Core(TM) i5-4460  CPU @ 3.20GHz

 

IIRC you also have an HDD, not an SSD? That will definitely hurt startup times with a lot of plugins, especially cold startup (not cached, "first launch" after awhile / after reboot).

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html

forumSig_bmwE60.jpg

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...