Post subject: FCEUX Linux frame advance held down is always turbo
Moderator, Senior Ambassador, Experienced player (907)
Joined: 9/14/2008
Posts: 1014
I'm preparing for SGDQ 2015 and my intent is to use FCEUX in Linux for Mega Man / Rockman, but there's one issue causing me heartache - holding down the frame advance button doesn't play at 100% (or whatever the current + / - set emulation speed is), it plays at turbo speeds. I've tried every option I can think of at the command line and I've even compiled 2.2.3 from source but the issue persists. The delay between when it advances one frame and when it goes turbo is extremely short, so short that I often can't get my finger off of the frame advance key quickly enough to prevent it from going forward a huge number of frames. Is there anywhere in the source code I should start diving in to try to fix this issue? I'm not particularly handy with anything outside of Python or Lua but I'm willing to give it a shot. As a side note, if I had the skills I'd work on compiling BizHawk in Linux, but that might be a really hard task without some major framework changes... So, any hints on what I might be able to do?
I was laid off in May 2023 and became too ill to work this year and could use support via Patreon or onetime donations as work on TASBot Re: and TASBot HD is stalled. I'm dwangoAC, TASVideos Senior Ambassador and BDFL of the TASBot community; when healthy, I post TAS content on YouTube.com/dwangoAC based on livestreams from Twitch.tv/dwangoAC.
Site Admin, Skilled player (1254)
Joined: 4/17/2010
Posts: 11478
Location: Lake Char­gogg­a­gogg­man­chaugg­a­gogg­chau­bun­a­gung­a­maugg
Is it so in 2.2.0 as well? If yes, you can create a ticket as fceux repo, prg318 is active right now, and he's the only one who works on the Linux part, so I think it works out.
Warning: When making decisions, I try to collect as much data as possible before actually deciding. I try to abstract away and see the principles behind real world events and people's opinions. I try to generalize them and turn into something clear and reusable. I hate depending on unpredictable and having to make lottery guesses. Any problem can be solved by systems thinking and acting.
Moderator, Senior Ambassador, Experienced player (907)
Joined: 9/14/2008
Posts: 1014
I worked with Invariel to try to find a workaround but the only workaround we came up with involves changing the button repeat to a fixed speed, which turned out to be too slow when I tested it "under pressure". I've been hanging out in #fceu and I'm more than willing to file a bug as needed. I would prefer to showcase Linux if I can get things stable enough, but if it's risky I'll have to resort to Crossover Linux (WINE) or VMWare Workstation in Unity mode or something. We'll see...
I was laid off in May 2023 and became too ill to work this year and could use support via Patreon or onetime donations as work on TASBot Re: and TASBot HD is stalled. I'm dwangoAC, TASVideos Senior Ambassador and BDFL of the TASBot community; when healthy, I post TAS content on YouTube.com/dwangoAC based on livestreams from Twitch.tv/dwangoAC.