Game behaves very erratic on the Mac version, while on vAmigaweb it is smooth
rhinoid opened this issue · comments
When running my old game on the Mac the framerate is all over the place which makes playing the game very tricky.
Strangely enough, when running the web version of vAmiga the framerate does seem more constant.
Mac used: 2019 Macbook pro. Game used: 2 disk game Hoi. If you want I can attach it to this thread.
Ah my apologies if this issue conflicts with the beta vsync feature I'm just reading about as an open issue.
My first guess would be that warp mode kicks in during disk transfers. VSYNC wouldn't cause such behavior.
Warp is turned off and I'm sure there is no disk activity while the game runs.
When I look at it it most resembles that every few frames it stops rendering a handful of frames and then renders again. Which makes for the stuttery experience. Maybe it tries to keep up but is just on the edge of what is possible?
Warp is turned off and I'm sure there is no disk activity while the game runs.
Hmm, OK. Could you post a screenshot and the exact name of the ADF you're using? Please don't post the ADF itself. I'll have a look at it.
Cool. It's available on archive.org undder the name: "Hoi (Let's Play!) Amiga game"
It's a 2 disker but only uses Df0 so at some point you need to swap.
In any case, as soon as level1 starts (the green dragon next to his shoe) it should already be apparent what I'm talking about.
Let me know if this is enough info to get you there. Thanks!
It's available on archive.org undder the name: "Hoi (Let's Play!) Amiga game"
Thanks, got it.
The emulator runs in warp mode, because the game doesn't turn off the drive motor which is indicated by the green drive led in the status bar (normally, the led is grey). The debugger shows all details:
You can alter this behavior either in the preferences or by clicking the hourglass icon in the status bar:
The same reason why we couldn’t enable warp during disk load in vAmigaWeb in vAmigaWeb/vAmigaWeb#137
left to the lock it shows the warp speed comparable to Mhz... i.e. if constantly 7.01 then warp is off. Could you tell us what you see for numbers ?
And yet I have the stuttering... Should I be on a later version?
No, version 2.1 is fine.
It works flawlessly here (great game, btw!!). I guess it must be something machine specific.
Hoi.mov
It is so hard to let it catch the banana while not let it to die ... I finally managed it
hoi_stutter.mp4
Attached is a screencapture of the mac itself (cmd-shift-5) and then handbraking it (ffmpeg frontend) to get it a bit smaller in size. The stutters are quite visible in it. As is the processor power needed (around 20%).
(haha yes I don't know if it is even possible to collect every fruit. The goal however is to collect the black diamonds. (Or just get to the end of the level))
I'm closing the issue for now, because I am not able to reproduce it (hence, I don't know how to debug it).