Game moves enormously slow when eating, reading or resting

Mar 16, 5:25 am
#1
Joined: Mar 16, 2019
Posts: 1
Hello!

For some reason with the new version as soon as I eat, read or do anything that takes more than one turn, the game doesn't play them through and I'll need to spam buttons on the keyboard to make it keep going veeery slowly. Making the game virtually unplayable.

Also happens when going back to the main menu, at which point I need to step thought the opacity transition by hammering keys. XD

Anyone else?
Mar 16, 9:08 am
#2
Ischaldirh's avatar
Ex-Tyrant of the IVANers


Joined: Dec 8, 2007
Occupation: Junior Scientist
Location: Not California
Interests: (Astro)Physics, Exoplanets, Singing praise to Valpurus while smashing skulls with a bloody warhammer, Jogging
Posts: 2,855
Humm, I wonder if this is related to the walking problems others have been having?

Sklett, no guarantee this will work, but try toggling numlock and see if that does anything.
Apr 8, 7:49 am
#3
giant mushroom


Joined: Apr 8, 2019
Posts: 4
Sklett wrote
Hello!

For some reason with the new version as soon as I eat, read or do anything that takes more than one turn, the game doesn't play them through and I'll need to spam buttons on the keyboard to make it keep going veeery slowly. Making the game virtually unplayable.

Also happens when going back to the main menu, at which point I need to step thought the opacity transition by hammering keys. XD

Anyone else?

Yep.
I am experiencing the same issues on windooz seven. Frames kinda freeze on reading, eating and when press ESC in the settings.
BUT some days ago i tested IVAN in linux's wine and it works fine.

Ischaldirh wrote
Humm, I wonder if this is related to the walking problems others have been having?

Sklett, no guarantee this will work, but try toggling numlock and see if that does anything.

Nope.
It did nothing.
Apr 10, 8:49 am
#4
giant mushroom


Joined: Apr 8, 2019
Posts: 4
Guys! Found some solution for this issue!
Set frameskip from 0 to 1 and everything looks kinda fine.
Apr 10, 10:02 am
#5
Joined: Apr 10, 2019
Posts: 1
For me alt-tabbing out of the game started causing slowdowns, then after I alt-tabbed a second time it would fix it. Modifying frameskip didn't work on my end, but it could be helpful to some. I've got Win 10 64-bit, version 1809 latest updates, if it matters.
Apr 10, 1:37 pm
#6
giant mushroom


Joined: Apr 8, 2019
Posts: 4
Update
Frameskip 1 working fine on win10 64bit chinese monoblock
On win7 64bit msi gaming laptop still lags with frameskip on
Can't figure out what's the matter
I say again, v.056 works fine in wine on linux mint
Apr 10, 1:39 pm
#7
giant mushroom


Joined: Apr 8, 2019
Posts: 4
Beep wrote
For me alt-tabbing out of the game started causing slowdowns, then after I alt-tabbed a second time it would fix it. Modifying frameskip didn't work on my end, but it could be helpful to some. I've got Win 10 64-bit, version 1809 latest updates, if it matters.

Hey! Alt-tabbing fixed lag on win7
Nice find!
Apr 10, 3:55 pm
#8
Joined: Sep 8, 2010
Occupation: Petty Functionary
Location: Drinking pea soup in the world map
Interests: Mangoes
Posts: 1,129
For me (windows 8.1, 64-bit) doing alt-tab and also setting Frameskip to 1 seems to help restore things to similar performance as before this bug.

The alt-tab thingee is interesting. I think it must have something to do with IVAN partially losing its context. I'll try compile/testing at various points in the Git repo to see when this error might have crept in.
May 21, 10:11 pm
#9
Joined: Sep 8, 2010
Occupation: Petty Functionary
Location: Drinking pea soup in the world map
Interests: Mangoes
Posts: 1,129
Ok folks, after some bug hunting today I can confirm that this problem is to do with SDL2, and it originates here: https://hg.libsdl.org/SDL/diff/fbfacc66c65c/src/video/window...

EDIT: Here's a PR that should solve the problem: https://github.com/Attnam/ivan/pull/556
Jul 5, 3:19 pm
#10
Joined: Jun 29, 2017
Occupation: Professional Amateur Wizard
Location: Spider nest, caught in a web
Interests: Rattling bones
Posts: 55
It also seems like, for some bizarre reason, when I did a fresh install of the game on a new computer, the default frameskip was 0(which sets it to 100)?
Jump to