English Amiga Board


Go Back   English Amiga Board > Support > support.FS-UAE

 
 
Thread Tools
Old 04 July 2012, 00:36   #1
RealNC
Registered User
 
RealNC's Avatar
 
Join Date: Sep 2010
Location: Greece
Posts: 27
[FS-UAE] Heavy input lag with VSync

I didn't follow the emulation scene much in the last couple of years. I was surprised to see the two new emulators (FS-UAE and PUAE). I'm running Linux (Gentoo 64-bit).

I downloaded FS-UAE today (Git master) and it built OK. However, VSync results in quite severe input lag. The mouse for example is very, very "floaty" and input from my gamepad takes a very noticeable amount of time before it shows an effect in the game. For stuff like Monkey Island and other "slow" games, this is OK (just a bit annoying, but it's still playable.) Fast action games however suffer from this. Forcing "video_sync = off" makes the problem go away mostly. "vblank" instead of "full" or "auto" also doesn't help. I tried all "video_sync_method" options, but it doesn't help. 50Hz vs 60Hz doesn't make a difference. Enabling/disabling triple buffering in the NVidia driver (Option "TripleBuffer" "False/True") doesn't make a difference either.

WinUAE (and other applications, like SNES, BSNES, Nestopia) don't seem to have this problem (at least not in this magnitude; there's always a tiny bit input lag with VSync.) I didn't try PUAE, since it doesn't compile for me.
RealNC is offline  
Old 06 July 2012, 22:47   #2
FrodeSolheim
FS-UAE Developer
 
FrodeSolheim's Avatar
 
Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
Hi! It is not normal to have "severe input lag" like you describe (I have not noticed this myself).

One possibility is that your computer is to slow to run the emulation at full speed?

If you have a decent computer, and you run full vsync @50Hz, you can try the option "low_latency_vsync = 1" (with the development version). Currently, full vsync uses a "pipelined" approach where a new frame is calculated while the last one is rendered, which increases performance but introduces ~20ms extra input lag. With "low_latency_vsync = 1", a frame is calculated and then rendered, and a new frame is not calculated before after vblank.
FrodeSolheim is offline  
Old 07 July 2012, 05:53   #3
RealNC
Registered User
 
RealNC's Avatar
 
Join Date: Sep 2010
Location: Greece
Posts: 27
Quote:
Originally Posted by FrodeSolheim View Post
One possibility is that your computer is to slow to run the emulation at full speed?
I'm using a 2500K CPU that runs FS-UAE at 3.7GHz in turbo mode. I guess that would be adequate

Quote:
If you have a decent computer, and you run full vsync @50Hz, you can try the option "low_latency_vsync = 1" (with the development version). Currently, full vsync uses a "pipelined" approach where a new frame is calculated while the last one is rendered, which increases performance but introduces ~20ms extra input lag. With "low_latency_vsync = 1", a frame is calculated and then rendered, and a new frame is not calculated before after vblank.
Thank you. This actually helped quite a bit I don't know why 20ms looked "heavy" to me, but it did.
RealNC is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Putty Input Lag - New Patch Possible? manic23 Games images which need to be WHDified 8 18 May 2013 21:27
Is WinUAE optimized for lowest possible input lag? Dr.Venom support.WinUAE 22 03 July 2011 02:14
Vsync = Lag vrm support.WinUAE 23 17 May 2010 01:27
Input lag, soupy cursors, and whatnot twinbee support.WinUAE 3 05 June 2009 01:03
Joystick input lag Torkio support.WinUAE 3 06 March 2007 00:56

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 09:32.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.06358 seconds with 15 queries