Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| latency_reduction_and_performance [2022/07/05 02:23] – america atari | latency_reduction_and_performance [2025/09/11 00:49] (current) – [USB polling rate] specify that it's not global atari | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| Many things can be set in Batocera to reduce input delay and increase performance of its emulators. First, let's go through the latency reduction settings typical to RetroArch cores (a core must explicitly support these options, you can tell by whether or not they appear in the system' | Many things can be set in Batocera to reduce input delay and increase performance of its emulators. First, let's go through the latency reduction settings typical to RetroArch cores (a core must explicitly support these options, you can tell by whether or not they appear in the system' | ||
| - | ===== Run ahead ===== | + | ===== Run-ahead ===== |
| This solution approaches the situation from the game-side. When you press a button, RetroArch rewinds # frames in the past (where # is the amount of frames set in **RUN AHEAD FRAMES**) and calculates what would have happened if you had pressed the button for # frames up to the current point in time. Then it brings that frame to the moment you pressed the button. It can be thought of as doing a mini-rewind-fast-forward every time a button is pressed; most machines are powerful enough to perform this nearly instantaneously. | This solution approaches the situation from the game-side. When you press a button, RetroArch rewinds # frames in the past (where # is the amount of frames set in **RUN AHEAD FRAMES**) and calculates what would have happened if you had pressed the button for # frames up to the current point in time. Then it brings that frame to the moment you pressed the button. It can be thought of as doing a mini-rewind-fast-forward every time a button is pressed; most machines are powerful enough to perform this nearly instantaneously. | ||
| Line 24: | Line 24: | ||
| By default, RetroArch will use the current game state being emulated to do all its calculations. This can result in choppy audio as the emulated game is rapidly fast-forwarded. By turning on the **USE SECOND INSTANCE** option, RetroArch will instead run a second version of the game in the background, and simply switch to it when the calculations are complete resulting in less audio crackle. Obviously, this doubles the CPU requirements to use, but most machines have plenty enough overhead to handle it. | By default, RetroArch will use the current game state being emulated to do all its calculations. This can result in choppy audio as the emulated game is rapidly fast-forwarded. By turning on the **USE SECOND INSTANCE** option, RetroArch will instead run a second version of the game in the background, and simply switch to it when the calculations are complete resulting in less audio crackle. Obviously, this doubles the CPU requirements to use, but most machines have plenty enough overhead to handle it. | ||
| - | |||
| - | ===== G-sync/ | ||
| - | |||
| - | One disadvantage that digital displays have when compared to traditional [[: | ||
| - | |||
| - | But through the wonders of modern technology, on certain displays this disadvantage exists no longer! | ||
| - | |||
| - | G-sync/ | ||
| ===== Auto-frame delay ===== | ===== Auto-frame delay ===== | ||
| Line 50: | Line 42: | ||
| You might be wondering, how does this all apply if you are using Variable Refresh Rate? The technicalities are very complex, but essentially instead of syncing to whatever the display' | You might be wondering, how does this all apply if you are using Variable Refresh Rate? The technicalities are very complex, but essentially instead of syncing to whatever the display' | ||
| </ | </ | ||
| + | |||
| + | ===== G-sync/ | ||
| + | |||
| + | One disadvantage that digital displays have when compared to traditional [[: | ||
| + | |||
| + | But through the wonders of modern technology, on certain displays this disadvantage exists no longer! | ||
| + | |||
| + | G-sync/ | ||
| + | |||
| + | <WRAP center round info> | ||
| + | There is usually no downside to leaving VRR on at all times. If your display' | ||
| + | |||
| + | When using RetroArch, this will usually never happen outside of the " | ||
| + | </ | ||
| + | |||
| + | For a video that goes more in-depth on the input delay aspect of VVR and its various technologies, | ||
| ===== Threaded video ===== | ===== Threaded video ===== | ||
| Line 114: | Line 122: | ||
| ==== USB polling rate ==== | ==== USB polling rate ==== | ||
| - | It is possible to globally | + | It is possible to alter the USB polling rate, in addition to the driver' |
| < | < | ||
| Line 122: | Line 130: | ||
| '' | '' | ||
| - | '' | + | '' |
| ==== USB auto-suspend ==== | ==== USB auto-suspend ==== | ||
| Line 130: | Line 138: | ||
| Certain USB devices will " | Certain USB devices will " | ||
| - | It is possible to globally disable the auto-suspend option, such that no USB devices go into power saving mode. You would add '' | + | It is possible to globally disable the auto-suspend option, such that no USB devices go into power saving mode. You would add '' |
| < | < | ||
latency_reduction_and_performance.1656987816.txt.gz · Last modified: by atari