Jump to content

What is the maximum resulution I can use effects and stuff without my images getting all screwed up?


Go to solution Solved by Rick Brewster,

Recommended Posts

I am attempting to make a composite image of London from google maps data. The resolution is 40000*24000, and if I apply any effect, even as simple as sharpen, the image becomes... this https://imgur.com/a/uIsb3f0

 

It makes the image into giant strips of pixels, and doesnt apply the effect?

 

Only when applying effects to 200 megapixel+ images or so it bugs out.

 

Is there any fix, is it hardware, or software? (using pdn 5.0.3 beta, manual download, 64bit windows 10) (rx 6900xt + ryzen 5 5600x + 64gb ram)

Link to comment
Share on other sites

  • Solution

This sounds like a GPU driver bug. Running Sharpen on a 40K x 24K image works perfectly fine for me on a GeForce 4090.

 

Make sure your GPU drivers are up-to-date. Make sure you are completely caught up on Windows Updates.

 

Also, are you sure you're on 5.0.3 beta? The latest beta is for 5.0.4.

 

In a pinch, you can go into the app settings (gear icon at top right of main window), then Graphics, and then change the "rendering device" to the CPU. In general this is a very bad thing to do because the CPU is extremely slow for rendering many effects (esp. distortion effects). So you should only do this temporarily when/if you need 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

Ah thanks, the usual... Just amd things. The only thing stopping me from doing anything complicated just <No cursing.>ing amd things. No stable diffusion, no complicated random video game shader modding, no super high res images. I guess thats what I get when trying to save money.

Link to comment
Share on other sites

I just tried this with my RX 6600. Can confirm the issue.

Definitely a driver bug when the image resolution is high enough.

 

I'm not sure if this a new bug with the latest Radeon driver, as I never tried using such a large image before.

I will do some version bisecting over the weekend... to satisfy my curiosity.

  • Like 1

(September 25th, 2023)  Sorry about any broken images in my posts. I am aware of the issue.

bp-sig.png
My Gallery  |  My Plugin Pack

Layman's Guide to CodeLab

Link to comment
Share on other sites

The cutoff seems to be 16,384 pixels -- if I resize an image to be 16384px wide, it's fine. At 16385+ px, it starts showing problems.

 

Portion of image I started with:

 

image.png

After resizing the whole image to 16,385 pixels wide (w/ Maintain Aspect Ratio) and then doing a tiny rotation with Move Selected Pixels:

 

image.png image.png

 

Snapping the rotation back to 0 degrees shows issues at the right edge, and also in the middle around the 8192 px mark:

 

image.png

Conclusion: There's an issue getting the bitmap data onto the GPU. Once it's there, the pixel shaders are working fine, but they're operating on broken pixel data.

 

This is on a Radeon Pro W6400. Switching to the Ryzen 7950X's built-in iGPU works fine. Switching to GeForce 4090 also works fine, as expected.

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

You might have some luck if you report this bug to AMD using their Bug Report Tool:

 

https://www.amd.com/en/support/kb/faq/amdbrt

 

I just submitted a bug report, but this probably has a better chance of being fixed if more people report it.

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

I did some bisecting this afternoon. It's been broken for approximately 1 year.

 

Working: 22.4.1 (April 5, 2022)

Broken: 22.5.2 (May 23, 2022)

 

(there a few minor releases between these two versions that can be bisected further, but I just used what was already in my Downloads folder)

 

 

I also submitted a bug report to AMD.

  • Like 1

(September 25th, 2023)  Sorry about any broken images in my posts. I am aware of the issue.

bp-sig.png
My Gallery  |  My Plugin Pack

Layman's Guide to CodeLab

Link to comment
Share on other sites

  • 1 month later...

BTW an update on this: AMD is aware of the bug. I spoke to someone who works there about it. That's about as much as I know at this point though -- I don't know when this will be fixed (or if, but let's not get cynical just yet!).

  • Like 1
  • Upvote 1

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

  • 5 months later...

According to @toe_head2001, this no longer repros with the latest driver, currently 23.12.1 WHQL. So it was fixed sometime in the last 5 1/2 months!

  • Upvote 1

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...