Jump to content
Paint.NET 5.1 is now available! ×

Recommended Posts

Posted

This build contains some more fixes and troubleshooting settings.

 

Change Log

Changes since 5.1.1 Beta (build 9087):

  • Fixed more cases of pasting transparent images from Firefox
  • Fixed the titlebar text being drawn in the active text color when the window is not active when using Light or Blue themes
  • Improved error handling for Direct2D code, should reduce crashes
  • Disabled CET and CFG because they may be causing various crashes due to other software on the system
  • Fixed a race condition in resource loading that sometimes caused the zoom level in the status bar to display as "ScaleFactor.Percentage.Format"

 

Download and Install

This build is available via the built-in updater as long as you have opted-in to pre-release updates. From within Settings -> Updates, enable "Also check for pre-release (beta) versions of paint.net" and then click on the Check Now button. You can also use the links below to download an offline installer or portable ZIP.
 

image.png

 

You can also download the installer here (for any supported CPU and OS), which is also where you can find downloads for offline installers, portable ZIPs, and deployable MSIs.

 

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

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

forumSig_bmwE60.jpg

Posted

For those who are still experiencing crashes or weird visual glitches, I have added some command-line parameters to help troubleshoot what's going on here. This will hopefully lead me to a fix that does not require any intervention on your part, or maybe I'll have to add a checkbox into Settings somewhere.

 

Testing these out is slightly different depending on if you're using the installer or the portable version.

  • For the installer (most users), you want to open the "Run" dialog (right-click Start, then click Run, or press Windows Key + R) and then start the command with paintdotnet: (example will be listed below)
  • For the portable version, you need to open a command prompt (cmd.exe or PowerShell). Then change directory (CD) to where you have the portable version unzipped to. Then you will want to start the command with just paintdotnet followed by a space (example will be listed below)

Here are the options:

  • /disableAsyncPresent
    • This disables Async Present, which improves input latency/lag quite a bit. However, maybe some systems or other software that does graphics stuff, can't handle it.
  • /defaultSwapChainType=Flip
    • This disables the use of Windows.UI.Composition (aka "WUC" or just "composition"), along with the swapchain pooling optimization (which depends on WUC).
    • The thumbnail strip at the top of the main window may not blend correctly in this case.
    • Cannot be used in conjunction with /defaultSwapChainType=LegacyBlt
  • /defaultSwapChainType=LegacyBlt
    • This disables Windows.UI.Composition, and DXGI Flip Model, and Windows Advanced Color.
    • The thumbnail strip at the top of the main window may not blend correctly in this case.
    • Cannot be used in conjunction with /defaultSwapChainType=Flip
  • /disablePresentOptionsRetainContents
    • This will force the canvas to fully redraw itself on every frame, instead of doing incremental redraws.
  • /disableSwapChainValidRectPropagation
    • This will disable an optimization that copies valid regions from the front buffer to the back buffer. It's not a big optimization though, except maybe on very low-end GPUs.

Other than the two exceptions noted above, these can be combined. So maybe you need /defaultSwapChainType=LegacyBlt and /disablePresentOptionsRetainContents. Just put a space between them.

 

Let's run through an example with using /defaultSwapChainType=Flip

 

If you've installed the app, you would open up Run (either right-click Start and then click on Run, or press Windows Key + R), and type something like this:

 

image.png

For the portable app, you still want to open up Run, but then you would type cmd and then press enter, and then do something like this. This assumes you downloaded the ZIP to your Downloads directory and then extracted it to a same-named folder there (which is the default if you right click on the ZIP and "Extract All...")

 

image.png

  • Upvote 1

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

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

forumSig_bmwE60.jpg

Posted

Here's my recommended order for trying out those troubleshooting options:

  1. /disableAsyncPresent
  2. /disableSwapChainValidRectPropagation
  3. /disablePresentOptionsRetainContents
  4. /defaultSwapChainType=Flip
  5. /defaultSwapChainType=LegacyBlt

 

If none of those work, start trying out combinations of them. Just remember you can't specify both /defaultSwapChainType=Flip and /defaultSwapChainType=LegacyBlt. You can only use 1 of those (but you can still combine with the other options, e.g. /defaultSwapChainType=Flip /disableAsyncPresent is valid).

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

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

forumSig_bmwE60.jpg

Posted

Not related to this build per se, can I ask why is there such a large difference in text size steps from 48 to 72?

 

Below 48 we have 36 = 12 points difference. Above 72 we have 84, again a 12 point difference. Are we missing 60?

 

(I ask this because I frequently want a 60,62 or 64 point text size)

 

60px-text.png

Posted
12 minutes ago, vyrelis said:

I'll just keep editing this reply as I go if that's okay.

 

It would be much more helpful if you did your testing, kept notes, and only when you have reached a conclusion about what does or doesn't work, post a summary of the results in a new comment here.

 

 

 

 

Posted

Is this going to be safe to continue doing? A little backstory, I was running into some kind of memory issue launching a game modded. I did a DDU and it was fixed. Now today after letting PDN crash my GPU a bunch of times, it seems I need to do another DDU to run modded again. Should I just stop using PDN until this is fixed? Or is it technically safe to keep doing this

Posted
1 hour ago, vyrelis said:

I did a DDU and it was fixed.


The fact you are having to do a DDU, by which I assume you mean Display Driver Uninstaller, to uninstall and then re-install your driver, points to some other problem with your PC.
 

 

1 hour ago, vyrelis said:

Should I just stop using PDN until this is fixed? Or is it technically safe to keep doing this


Paint.NET does not (indeed cannot) mess with your GPU driver or its settings.


---

BTW, it would be preferable if, instead of than splitting this discussion between this topic and the one you started here...

...you just used your Crashing GPU topic.

 

 

Posted
On 11/23/2024 at 2:58 PM, Rick Brewster said:

Here's my recommended order for trying out those troubleshooting options:

None of single commands have helped so far.  This is what it looks like when it crashes.  And yes, we do run Sentinelone.image.thumb.png.fe8eac60244e2be13f585455c604a72b.png

Posted

Upon closer investigation, /disableAsyncPresent was better, it allowed the center window to render, and I could move those windows around and interact with them.  But the menu bar still wasn't clickable and neither was the status bar or window resize or window kill or minimize.  But I have not found a combination of commands that improves it beyond this point. 

 

image.thumb.png.38beda6302dd139f30cf11a27ceb97eb.png

Posted

Combining \disableAsyncPresent and \disablePresentOptionsRetainContents produces this popup.  Beyond, that I tried as many combinations as I could and could not make further progress on functionality. 

image.png.3391402f7c4470d69417fe22fac749ed.png

Posted
1 hour ago, ParanoidPanda said:

None of single commands have helped so far.  This is what it looks like when it crashes.  And yes, we do run Sentinelone.

 

Sorry -- to be clear, those commands are not for the SentinelOne issue. That will only be fixed when SentinelOne pushes out their fix.

 

There are others experiencing weird graphical glitches, GPU resets, whole system weirdness. That's what these are intended for. I'll be pointing people here when I see the relevant problems being reported.

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

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

forumSig_bmwE60.jpg

  • Rick Brewster locked, unfeatured and unpinned this topic
Guest
This topic is now closed to further replies.
×
×
  • Create New...