Page 1 of 1

GP-beta-082 lockup Bad texture printed repeatedly in console

Posted: Oct 21st, '18, 16:30
by DanL
I am running GP-beta-082 on several windows 10 computers and 1 windows 7 computer. On several computers, with different projects, I and my students have experienced the GPBlocks GUI locking up and the console repeatedly displaying "Bad texture."
What does that mean? What should I do to fix it?
Thanks,
Dan

Re: GP-beta-082 lockup Bad texture printed repeatedly in console

Posted: Oct 21st, '18, 22:02
by Calloway
I've had this problem too every once in a while, it seems to be caused by loading in many large textures/images in at once (for example using a large image and creating many instances)
The only fix I've found to be effective is to use the garbage collection in script after using said large texture.
I hope this will help!

Re: GP-beta-082 lockup Bad texture printed repeatedly in console

Posted: Oct 21st, '18, 22:50
by JohnM
This can sometimes happen if you make the GP window too large, especially on a large, high-resolution display. You can try making the window smaller.

In any case, it's probably a good idea to save the project, then quit and restart GP when this starts happening.

Unfortunately, these texture issues come from the underlying SDL library. GP probably needs to move away from SDL, but switching to a different graphics library is a big job, so it may not happen in the near term.

Re: GP-beta-082 lockup Bad texture printed repeatedly in console

Posted: Oct 22nd, '18, 19:12
by Calloway
SFML?
The code base is known to be a lot cleaner and I've heard it's not that hard to port to.
Also it provides a lot more functionality wise.

Re: GP-beta-082 lockup Bad texture printed repeatedly in console

Posted: Oct 22nd, '18, 20:22
by JohnM
That's one of the alternatives I'm considering. Nice to know it has a good reputation.