2.0.0 textures cause incredible lag

If you have problems installing or running Algodoo, have found a bug or need in-game help - this is it!

2.0.0 textures cause incredible lag

Postby daniels220 » Tue Oct 25, 2011 8:48 pm

I posted during the beta period about lag I was having. The scenes I had issues with then I couldn't find a common pattern, so I kinda dropped it, and it's possible there was another bug that has since been fixed.

Now the problem is much clearer—any scene with textures lags. The more textures, the more lag. It doesn't take much, though, to make Algodoo basically completely unusable. Something as simple as a shadow or gradient texture means I have to select all, appearance, clear texture before I can actually view the scene. I basically can't view scenes that spawn textured objects at all. This affects the default textures as well. I think it's relative to screen area occupied by textures—so if I'm only viewing a part of the scene that doesn't have textures, it doesn't lag as much, or maybe at all. If I zoom out, it lags less (because the part of the scene with textures is being displayed small). If I zoom in so a textured object fills the whole screen Algodoo becomes so unresponsive it takes several seconds of jerky movement just to zoom back out.

I can guess why this is—I'm on a somewhat old MacBook Pro with a Radeon X1600 128MB. The thing is, Algodoo 1.8.5 worked fine, so something has changed that made things worse.
daniels220
 
Posts: 95
Joined: Mon Aug 31, 2009 11:30 pm

Re: 2.0.0 textures cause incredible lag

Postby Wild Bill » Tue Oct 25, 2011 10:39 pm

Another Radeon card prob. I havent had anything work since 1.8.5 . I would like to see what ever it is causing that reverted back to 1.8.5 but theres so few people with the problem.
User avatar
Wild Bill
 
Posts: 129
Joined: Mon Aug 31, 2009 5:50 pm

Re: 2.0.0 textures cause incredible lag

Postby emilk » Tue Oct 25, 2011 11:00 pm

Try turning off shaders/antialiasing in Options->Rendering.

What has changed is switching to a modern more high quality method of handling non-power-of-two textures, which works much better on all modern graphics cards. For the rest of you: turn off shaders and it reverts to the old code. You can also try to update the graphics drivers.

If you only want to switch to the old code for textures, but keep anti-aliasing, you can enter the following in the console:

Resources.forceGLUBuildMipmaps = true;
Emil Ernerfeldt, lead developer
emilk
 
Posts: 616
Joined: Mon Aug 31, 2009 11:01 am
Location: Umeå, Sweden

Re: 2.0.0 textures cause incredible lag

Postby daniels220 » Thu Oct 27, 2011 7:47 pm

Sweet, that seems to fix it! Thank you!
daniels220
 
Posts: 95
Joined: Mon Aug 31, 2009 11:30 pm


Return to Help / Bug reports

Who is online

Users browsing this forum: No registered users and 2 guests