Jump to content

archagon's Photo

archagon

Member Since 19 Nov 2012
OFFLINE Last Active Nov 30 2012 1:08 PM

#2642835 Analog input lag in Stella?

Posted by archagon on Tue Nov 20, 2012 4:48 PM

Oh, I see what you're saying. But if the game is running at 60fps, this means that Stella should be able to pull off 1/60 second controller delay, right? Instead, it feels more like 100ms. And again, with the framerate boosted to 120fps, the lag disappears, so it's not a driver issue.

Also — on the Atari, the drawing is scanline by scanline, right? So won't the paddle area still get redrawn only once every 1/60 seconds?

Thank you for the help!


#2642689 Analog input lag in Stella?

Posted by archagon on Tue Nov 20, 2012 12:53 PM

Thank you for the explanation! I'm glad I'm not going crazy. Do you think the problem would be fixed if the controller was read on a separate thread? If so, I could try poking around the source code.


#2642257 Analog input lag in Stella?

Posted by archagon on Mon Nov 19, 2012 6:51 PM

My coworkers and I had a ton of fun playing Medieval Mayhem on a real Atari 2600. Unfortunately, we no longer have access to the original hardware, so we decided to buy a pair of 2600-daptors and play the game on Stella instead. The game works, but there's a noticeable delay between using the spinner and the paddle moving — not so high that the game is unplayable, but clearly not as smooth as the real thing. If you bump up Stella's framerate manually, the latency disappears but the game runs at breakneck speed. This happens with the mouse as well, so it's not just a 2600-daptor/USB/driver problem.

It almost feels like when the game is running at 60fps (the normal framerate), the input and display refresh are actually capped at 30fps, even though the animations and music play at the correct speed.

Is there any way to fix this issue? Thank you!