You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A fatal python error occurs when blitting a surface onto a large coordinate on a large surface.
Doesn't happen when the surface is small
Doesn't happen when the target coordinate is small
The provided code is a stripped down version of the project I was working on. When I was testing it
I decided to see what would happen when the surface got large. My computer bluescreened with a VIDEO TDR FAILURE. This only happened the first time. I have only gotten the fatal python error since then.
It is possible that this is connected to #2288 although that claims to be fixed in SDL 2.30.x
Also might be connected to #2961 as both have to do with drawing on large surfaces
Expected behavior:
No error/crash or at the verry least an error explaining that the operation is not possible due to whatever applicable limitations
Steps to reproduce:
Run the following...
# pygame-ce 2.5.0 (SDL 2.30.3, Python 3.11.9)importpygamepygame.init()
pygame.print_debug_info()
a=pygame.Surface((40_000, 40_000))
b=pygame.Surface((100, 100))
a.blit(b, (20_000, 20_000)) # the problem
Environment:
Current behavior:
A fatal python error occurs when blitting a surface onto a large coordinate on a large surface.
The provided code is a stripped down version of the project I was working on. When I was testing it
I decided to see what would happen when the surface got large. My computer bluescreened with a VIDEO TDR FAILURE. This only happened the first time. I have only gotten the fatal python error since then.
It is possible that this is connected to #2288 although that claims to be fixed in SDL 2.30.x
Also might be connected to #2961 as both have to do with drawing on large surfaces
Expected behavior:
No error/crash or at the verry least an error explaining that the operation is not possible due to whatever applicable limitations
Steps to reproduce:
Run the following...
Result...
The text was updated successfully, but these errors were encountered: