corona icon indicating copy to clipboard operation
corona copied to clipboard

Texture memory corruption with nvidia on windows

Open marksolar2d opened this issue 4 years ago • 9 comments

Using any of the display.capture functions causes big problems. Saved textures are being replaced with imagesheets from the build. Over a short amount of time display objects are replaced with black rects and newTextures() get very corrupted.

This always happens and the pattern always repeats the same imagesheets in the same order.

The is best demonstrated with a short video. (file too big to post here)

marksolar2d avatar Sep 18 '20 10:09 marksolar2d

We have also seen this issue in our Windows builds with the following GPU's, so not just Nvidia:

Radeon RX560 Intel UHD Graphics 630 Nvidia GeForce GTX 750 Ti Nvidia GeForce GTX 965m Nvidia GeForce GTX 1060 Nvidia GeForce GTX 1650 Nvidia GeForce GTX 1650 with Max-Q Design Nvidia GeForce GTX 1660 Ti Nvidia GeForce GTX 2060 Nvidia GeForce RTX 2070 SUPER

pouwelsjochem avatar Sep 18 '20 10:09 pouwelsjochem

Hey @Shchvova Since this is a rather big issue which quite a few of our Windows users are experiencing, and you are busy with other stuff, I'm willing to have a look at it myself.

Do you have any idea what could cause this issue? It would definitely help me if we could narrow down the scope.

Since I can't test it myself I'd probably require assistance from @mark-sgs to test the builds.

pouwelsjochem avatar Nov 12 '20 12:11 pouwelsjochem

Problem is I don’t know where to look for solutions. Or causes, for that matter :(

Shchvova avatar Nov 12 '20 12:11 Shchvova

This problem went away for me eventually so I am not sure if Solar changed, Windows updated or nVidia updated.

marksolar2d avatar Nov 12 '20 13:11 marksolar2d

Oh interesting @mark-sgs , would you be willing to quickly try out an older build(s) to exclude Solar2D from the possible changes?

pouwelsjochem avatar Nov 12 '20 13:11 pouwelsjochem

I'm using windows 10 version 2004 (os build 19041.572) and nvidia version 456.71

marksolar2d avatar Nov 12 '20 14:11 marksolar2d

I'm mostly interested in if you upgraded Solar2D in the time between having the problem and not having it anymore.

If the problem comes back in an older version (or perhaps you still remember what exact version you were using while starting this issue?) It could mean I don't have to spend time to find the cause. It would be great if you could install that older version to verify if the problem comes back.

pouwelsjochem avatar Nov 12 '20 14:11 pouwelsjochem

I don't think there was any relevant changes in Solar2D for a while now...

Shchvova avatar Nov 12 '20 17:11 Shchvova

I'm mostly interested in if you upgraded Solar2D in the time between having the problem and not having it anymore.

Of course, I've updated with each new build. I suspect a windows update fixed things.

Long story short, no issues with latest Corona.

marksolar2d avatar Nov 12 '20 18:11 marksolar2d