diff --git a/README - FlatLine.txt b/README.txt similarity index 98% rename from README - FlatLine.txt rename to README.txt index 44ad5dc..77f3f38 100644 --- a/README - FlatLine.txt +++ b/README.txt @@ -1,620 +1,620 @@ -============================================================================== - FlatLine - find the perfect FPS cap for any game - by ErockOnTech | youtube.com/@ErockOnTech | version 1.43 - Follow @ErockOnTech on X and Instagram | erockondeckyt@gmail.com -============================================================================== - -CONTENTS - 1. What FlatLine is - 2. What you need - 3. Getting started - 4. Your first analysis - 5. Reading your results - 6. Test this cap - 7. Applying the cap (with or without RivaTuner) - 8. Saved analyses and Compare - 9. My game profiles - 10. Stutter tools: cause detection, tweak tester - 11. System check - 12. Known fixes for specific games - 13. Analyze an existing CSV file - 14. Tips for the best results - 15. Where your data is kept - 16. Troubleshooting - 17. Uninstalling - 18. Credits - 19. FlatLine Plus (for channel members) - - ------------------------------------------------------------------------------- -1. WHAT FLATLINE IS ------------------------------------------------------------------------------- -An uncapped frame rate often feels worse than a steady one. When the frame -rate jumps around, every frame arrives at a different time, and you feel it -as judder and stutter even when the FPS counter looks high. - -FlatLine records a few minutes of your gameplay, reads the time between every -frame, and tells you the highest FPS cap your PC can hold FLAT: a straight -frame-time graph with no dips. - -The goal is not max FPS and not max graphics. The goal is the smoothest -frame-time graph at the highest FPS your PC can actually hold. - -What it does: - - Recommends 3 caps for your game (see section 5) - - Applies the cap for you in RivaTuner, with one-click undo - - "Test this cap": checks that the cap really holds - - Tells you whether a cap can fix the game at all, or whether the - stutters are built into the game - - Shows what's causing stutters (shader compiling, asset streaming, - background apps) - - Tweak tester: measures whether a fix really helps - - Saves analyses and compares up to 3 (e.g. Native vs DLSS Quality vs - DLSS Performance) and picks the winner - - Game profiles: keeps the cap you chose for each game, with the game - settings you used, so you never have to test again - - ------------------------------------------------------------------------------- -2. WHAT YOU NEED ------------------------------------------------------------------------------- - - Windows 10 or 11 - - Administrator rights (Windows requires them to record frame times) - - Optional but recommended: RivaTuner Statistics Server (RTSS), free from - Guru3D (it also comes with MSI Afterburner). With it, FlatLine sets the - cap for you. Without it, you set the cap yourself (see section 7). - - Recommended: G-SYNC / FreeSync turned on (see section 14) - -You do NOT need Python or anything else. Everything FlatLine needs is in its - folder (FlatLine.exe plus the _internal folder next to it). - - ------------------------------------------------------------------------------- -3. GETTING STARTED ------------------------------------------------------------------------------- - 1. Extract the zip to a normal place (for example your Desktop). You get a - FlatLine folder. Don't run FlatLine.exe from inside the zip. - Keep FlatLine.exe and the _internal folder together: the exe can't - start without it. To move FlatLine, move the whole folder. - 2. Double-click FlatLine.exe and choose Yes on the Windows admin prompt. - 3. Windows SmartScreen may say "Windows protected your PC" because the app - isn't code-signed. Click "More info" -> "Run anyway". A few antivirus - tools may also flag it; this is common for apps packaged this way. -Nothing is installed. FlatLine runs straight from its folder. - -UPDATES - FlatLine checks for a new version once a day in the background (it needs - an internet connection; nothing about you or your PC is sent). When one is - out, a blue "Update available" button appears at the bottom of the menu on - the left. Click it to see what's new and download it. You can also click - "Check for updates" under the version number at any time. - To update: download the new zip, extract it, and use the new FlatLine - folder in place of the old one. Your settings, profiles, saved analyses and - recordings are kept: they live in Documents\FlatLine, not in the app folder. - FlatLine Plus: the update button takes you to the members' channel in the - ErockOnTech Discord, where the new Plus download is posted. - - ------------------------------------------------------------------------------- -4. YOUR FIRST ANALYSIS ------------------------------------------------------------------------------- -Everything in FlatLine is in the menu on the left: New analysis, Results, -Saved analyses, Game profiles, Tweak tester and System check. The menu is greyed out while a recording runs. - -Before you start, check "Your setup" on the New analysis screen. - -Capture cards: most only take 60 Hz, and while one is connected (or your -displays are set to Duplicate) Windows can run your monitor at 60 Hz. Then -every cap stops at about 59 FPS. FlatLine warns you on New analysis and -when you press Start. For an accurate cap, analyze with the card unplugged, -or press Win + P and choose "Extend" so your monitor keeps its own refresh -rate (some cards can pass 144-240 Hz through at a lower resolution). - -"Your setup": - - Monitor refresh rate: detected automatically. Correct it if it's wrong. - - G-SYNC / FreeSync: leave it on if your monitor has it turned on. - - Recording length: 2, 3 or 5 minutes. Longer is more accurate. - -Then: - 1. Open your game and load into actual gameplay (not the menu). - Turn OFF the game's own frame limit and V-Sync for this test. - 2. Alt-Tab to FlatLine and press "Start (I'm in my game)". - 3. You get a 5-second countdown. Switch back to the game. - One beep means recording has started. - 4. Play normally until you hear the chime. Pick a demanding area: fights, - crowds, lots of effects. A Windows notification pops up when it's done. - 5. Alt-Tab back to FlatLine. Your results are waiting. - -FlatLine measures the app you were playing (the one in front while it -recorded), not apps like DaVinci Resolve, Discord or OBS running behind it. -If the results ever show the wrong program, use "Not the game you played?" -under the game name to measure your game from the same recording. - -About 15 seconds in, FlatLine checks that your game's frames are really -arriving. If Windows has stopped passing them on (it happens now and then, -and a PC restart fixes it), FlatLine stops the recording right away and -tells you, instead of wasting the full run. - -You can press "Finish early and analyze" at any time, or Cancel. - -The run must be UNCAPPED. If RivaTuner has a cap on the game you're -testing, FlatLine offers to remove it for the test. Caps on other games are -left alone. - - ------------------------------------------------------------------------------- -5. READING YOUR RESULTS ------------------------------------------------------------------------------- -The big number at the top right is your RECOMMENDED CAP. - -FlatLine gives you 3 caps. All three are hard caps (the game never goes -above them). They differ in how often your PC dips below the cap: - - RECOMMENDED LOCKED The cap your PC held essentially the whole time. - At most 1 dip every 5 minutes: a flat line. - This is the one to use. - - BALANCED LOCKED A higher cap that allows occasional dips, - up to about 3 a minute. - - MAX LOCKED FPS The highest cap, allowing frequent dips, up to - about 15 a minute. More frames, but not flat. - -Each card shows what it allows and how many dips per minute were measured. -A "dip" is a frame arriving clearly late: more than 10% and at least 1 ms -slower than the cap allows. In smooth games all three are often the same. - -Also on the results screen: - - "Can a cap fix this game?": Yes / Partly / Not fully. Some games - stutter on their own (asset streaming, shader loading), and no cap - can remove that. FlatLine tells you honestly. - - Frame-time graph: flat is good, spikes are stutters. Hover to see values. - - Average FPS, 1% and 0.1% lows, latency, and what limits you (CPU or GPU). - - Latency estimate for each cap (with RivaTuner or an in-game limiter). - - Warnings, for example if G-SYNC/FreeSync isn't actually working. - - "This run was capped": if frames sat flat at one FPS while your GPU had - time to spare, something was limiting the game and the caps would be - wrong. FlatLine names the likely source when it can (RivaTuner, your - NVIDIA global Max Frame Rate, or V-Sync when it matches your refresh - rate). Remove the limit and run a new analysis. - - "This game runs worse/better than before": if this game has a profile - or a saved analysis and the result is clearly different, FlatLine lists - what changed on your PC in between (graphics driver, Windows update, - BIOS, a game patch). - - "Want more than this?": reminders about DLSS/FSR/XeSS, lower settings - and frame generation, matched to your graphics card. - -"Save result card" saves a shareable image of your results (and puts it on -your clipboard, ready to paste into Discord, X or Instagram). First it asks -which settings this run used (upscaler, preset, resolution and so on), so -the card shows the settings you actually tested with. FlatLine remembers -them for that run. Cards made with the free FlatLine carry the "Made with -FlatLine by ErockOnTech" mark. - -Your results stay available until you run a new analysis or close FlatLine. -Click "Results" in the menu (it appears after your first analysis) to get -back to them. - - ------------------------------------------------------------------------------- -6. TEST THIS CAP ------------------------------------------------------------------------------- -Press "Test this cap" to check the cap in real gameplay. - 1. Choose a length: 1, 2 or 3 minutes (the star marks the recommended one). - 2. With RivaTuner, FlatLine applies the cap for you. Without it, set the - cap yourself first (see section 7). - 3. Same as before: countdown, play until the chime. - -You'll get a verdict such as "rock solid", "solid with occasional dips", -"as flat as this game gets with this configuration", "too high for your -PC" (with a lower cap to try), or "the cap isn't active". You also see the -measured latency, the percentage of frames on time, and next steps. - -When you're happy, press "Save as my profile" (section 9). - - ------------------------------------------------------------------------------- -7. APPLYING THE CAP ------------------------------------------------------------------------------- -WITH RIVATUNER (RTSS): - - "Apply now" on the results screen, or let "Test this cap" apply it. - - The cap is saved in RivaTuner's profile for that game and stays on every - time you play. - - FlatLine also switches that game's RivaTuner limiter to "active waiting". - RivaTuner's help says the default passive waiting can hurt frame-pacing - precision and cause microstutter. - - "Undo" puts back whatever RivaTuner had before, including its waiting mode. - - FlatLine never changes RivaTuner's Global profile. If the Global profile - has a cap, FlatLine warns you, because it caps every game. - -WITHOUT RIVATUNER: - - Everything works except automatic caps. - - "Apply now" becomes "Copy number". Set the cap yourself in: - NVIDIA App -> Graphics -> (your game) -> Max Frame Rate - AMD Adrenalin -> Frame Rate Target Control - or the game's own frame limit - - "Test this cap" still works: set the cap by hand, then test. - - In game profiles, "Apply locked FPS" is greyed out. - -Only use ONE limiter at a time, so they don't fight each other. - - ------------------------------------------------------------------------------- -8. SAVED ANALYSES AND COMPARE ------------------------------------------------------------------------------- -Want to know whether DLSS Quality beats native 4K? Save each run. - 1. After an analysis, press "Save" and name it, e.g. "Native 4K", - "DLSS Quality" or "DLSS Performance". - 2. Open "Saved analyses" in the menu. From there you - can Open a run to see its full results again, Rename it or Delete it. - 3. Tick 2 or 3 runs of the same game and press "Compare" at the bottom. - Once you tick a run, runs of other games are locked, and you can - tick at most 3 at a time. - -Compare shows the numbers side by side (best values in green) and picks the -smoothest: - - The highest Recommended Locked cap wins. - - A run that stutters clearly more than the others can't win. - - Runs within 5% are called a tie: pick whichever LOOKS better. - - A run recorded with a cap or V-Sync left on is left out. - -For a fair comparison, record each run in the same area, in the same way, -for about the same length. FlatLine measures smoothness, not image quality. - - ------------------------------------------------------------------------------- -9. MY GAME PROFILES ------------------------------------------------------------------------------- -Once you've settled on a cap, keep it permanently, so you never have to -re-test if the game's settings get reset. - - - Press "Save as my profile": on the results screen (under the - recommended cap), on the cap-test screen, or on Compare ("Use the - winner as my profile"). - - Note the settings you tested with: upscaler and mode (DLSS / FSR / - XeSS Quality, Balanced...), graphics preset, frame generation, - resolution and anything else (ray tracing off, etc.). A cap only holds - for the settings it was measured with. - - Open "Game profiles" in the menu to see them all. - - The first time you open it, FlatLine adds a base profile (game + FPS) - for every game you've already capped in RivaTuner. Press Edit to add - the game settings. - - "Apply locked FPS" sets the cap in RivaTuner again. The game settings - you set back yourself, in the game. FlatLine shows you what to set. - - Edit or Delete any profile. Deleting a profile never changes RivaTuner. - - One profile per game. Saving again replaces it. - - Profiles made on different hardware are flagged as worth re-testing. - - Each profile remembers your graphics driver, Windows build, BIOS and - the game's program file. If any of them changes later, the profile - shows "Since this profile: driver updated, game updated... Worth - re-testing" (hover for details). - - ------------------------------------------------------------------------------- -10. STUTTER TOOLS ------------------------------------------------------------------------------- -WHAT'S CAUSING THE STUTTERS (automatic, on the results screen) - While recording, FlatLine also samples CPU, disk and background apps. It - then shows what lined up with each stutter: shader compiling, asset - streaming (disk), CPU spikes, a background app, or a regular repeating - pattern. Close monitoring tools (MSI Afterburner etc.) while testing: - they can cause stutters of their own. - It also tracks video memory (any GPU brand). If stutters cluster while - video memory is over 90% full, it tells you, and suggests lowering - texture quality one step. - -TWEAK TESTER (menu -> Tweak tester, or "Test a tweak against this run") - Each tweak card has a "How this works" link: what the tweak changes, when - it helps, how to undo it, how to do it yourself without FlatLine, and - links to documentation (and the ErockOnTech Process Lasso video for the - AMD core tweaks and keeping other apps off the game's cores). - Measures whether a stutter fix really helps, instead of guessing. There - are two ways to test, and FlatLine tells you which one each tweak needs: - - QUICK A/B WHILE YOU PLAY (CPU-core, priority and RivaTuner tweaks) - One recording (2:23 or 4:23). NO route to replay and NO restart: just - play normally anywhere, staying in gameplay (no menus, maps or loading - screens). FlatLine switches the tweak on and off every 20 seconds and - compares each "on" stretch with the "off" stretches right next to it, - so a heavier or lighter area cancels out. The result shows one bar per - comparison and says clearly whether a re-run is needed: - - helped: "Keep for ". Then run one new analysis (any area) to - update your caps. - - no clear effect / made it worse: nothing to undo, no re-run needed. - - not enough usable gameplay: run it again (still no route needed). - - TWO PASSES ON THE SAME ROUTE (needed for Engine.ini tweaks) - Engine.ini changes only take effect when the game starts, so these need - a baseline run, a game restart with the tweak, and the SAME route - replayed. Your analysis can be the baseline, so you only record once - more. - Tweaks for Unreal Engine 4/5 games (edits the game's Engine.ini): - - Spread out streaming work - - Less frequent memory cleanup - - Texture pool sized to your VRAM (half your card's memory) - - Keep compiled shaders between sessions (fewer repeat shader hitches) - - Turn off engine frame smoothing (stops the game fighting your cap) - For any game: - - Game priority: the game gets High CPU priority and busy background - apps get Below normal. Voice, streaming, overlay, anti-cheat and - Windows processes are never touched. - - Performance cores only (Intel CPUs with performance + efficiency cores) - - 3D V-cache cores only (AMD Ryzen X3D CPUs with two core groups where - only one has the V-cache, such as the 7950X3D or 9950X3D) - - Keep other apps off the game's cores (Intel P + E cores, or AMD with two - CCDs). The core tweaks above move the game; this one moves everything - else: while the game runs, your background apps are moved to your - other cores, so the game's cores are left to the game. Every app in - your desktop session is moved up front (plus a few heavy Windows - services like the search indexer and Windows Update), not just the - busy ones, so a sudden burst never lands on the game's cores first. - AMD: the game is held on its CCD (the V-cache one on X3D chips) and - apps go to the other CCD, so you don't need 3D V-cache cores only or - One core group only on top of it. If AMD's Game Mode parks that CCD (when - AMD's V-cache service runs), apps are given back until it unparks, - because Windows ignores CPU sets that point only at parked cores. - Intel: apps go to the E-cores; the game itself isn't restricted - (Thread Director decides, unless you also use Performance cores - only). Needs 6+ E-cores. Off when the Intel APO app is installed, - because APO places some game threads on E-cores itself (Intel's - tuning services alone don't count); you can allow it anyway in - System check. OBS is never moved on Intel, so its encoder can use - the P-cores (on AMD the other CCD is full speed, so it is moved). - It uses Windows CPU sets and rescans every 2 seconds (new processes - don't inherit CPU sets). Each app is moved once, and apps whose cores - another tool already set are left alone. Never moved: Windows, audio, - input/VR, security, GPU and frame tools, anti-cheat (by name or by its - install folder), DRM launchers, and anything that belongs to the game - (what it started, the launcher that started it, anything in its - install folder or named like it). Voice chat like Discord may move: - it runs fine on the other cores. Everything gets all cores back when - you stop. - - One core group only (other AMD CPUs with two core groups, such as the - 9950X3D2, 9950X or 7950X): keeps the game on one CCD so its threads - never talk across the two dies. Games that use more than 8 cores may - lose FPS, which is why it's measured. - - All system tweaks at once: every system tweak that works on your PC, - in one test. No game settings are changed. - - All tweaks at once (shown under Game tweaks): the Engine.ini changes - plus every system tweak. - You don't need to pick a game for system tweaks: FlatLine finds the game - you switch to when the recording starts. The Game tweaks (Engine.ini) - only appear once you pick an Unreal Engine game in step 2. - FlatLine checks your CPU and greys out the tweaks that don't apply, with - the reason: Intel-only tweaks on AMD CPUs, AMD-only tweaks on Intel CPUs, - and V-cache steering on single-CCD X3D chips (like the 9800X3D), on the - 9950X3D2 (V-cache on both core groups) and on chips without 3D V-cache, - where there's nothing to steer. - Engine.ini tweaks are applied with the game closed. CPU-core and priority - tweaks are applied automatically the moment the tweaked pass starts. - Every Engine.ini change is backed up. "Keep tweak" keeps it, "Restore - original" puts everything back. CPU-core tweaks last until you close the - game; game priority until you close the game or FlatLine. If the tweak - helps, "See my caps with this tweak" recalculates your caps from the - tweaked run. - -KEEPING A TWEAK THAT WORKED - CPU-core and priority tweaks normally last only until you close the game. - When the tweak tester shows one helped, press "Keep for " to apply - it every time you play, even after a restart: - - Game priority: Windows' own per-game setting makes the game start at - High priority every time, with or without FlatLine. Background apps - aren't changed. - - Performance cores / One core group / 3D V-cache cores / Keep other - apps off the game's cores: the FlatLine background helper applies them - whenever the game starts (see below). For "Keep other apps off", the - helper keeps moving busy apps while the game runs and gives them all - cores back when it closes. - - 3D V-cache cores is also added to AMD's own V-cache driver list, which - steers the game by itself when AMD's driver is running and Game Mode - is on. - - Engine.ini tweaks already stay, because they're saved in the file. - Everything you kept is listed under "Kept tweaks" in My game profiles, - with Turn off / Restore for each. - - Game priority is off by default on purpose: it only lasts for that game - session, so caps measured with it wouldn't match your normal play unless - you keep it. - -THE BACKGROUND HELPER - Windows forgets which CPU cores a game may use when it closes, so kept - core tweaks need the helper. It's optional and off until you turn it on - (FlatLine asks the first time you keep a core tweak, or use the switch in - My game profiles). When it's on: - - It starts when you open FlatLine and keeps running in the system tray - until you shut down or restart, even after you close FlatLine. - - After a restart, open FlatLine once to start it again (you can close - FlatLine right away). - - It uses almost no CPU and applies your kept core tweaks within about - 2 seconds of a game starting. - - Right-click the tray icon to see which games it covers, pause it, - open FlatLine, or turn it off. - FlatLine doesn't add anything to Windows startup. ("Starts at High - priority every time" doesn't need the helper at all.) - If an older FlatLine added a "FlatLine Helper" startup entry, you can - remove it in Task Manager > Startup apps. - ------------------------------------------------------------------------------- -11. SYSTEM CHECK ------------------------------------------------------------------------------- -Menu -> System check. It lists Windows and driver -settings that can cause stutter or fight your cap. Amber items are worth -fixing and have a button; green is fine; grey is information only. Every fix -can be undone, and FlatLine never changes security settings. - - Game Mode Turn on - Optimizations for windowed games Turn on (lower latency, G-SYNC/FreeSync - in borderless DX10/11 games) - Windows background recording Turn off - NVIDIA Max Frame Rate (all games) Turn off (it fights your per-game cap) - Power plan Switch to Balanced (AMD X3D CPUs only) - AMD 3D V-cache driver Info (X3D CPUs) - Intel CPU microcode Info (13th/14th-gen Core CPUs) - Hardware-accelerated GPU scheduling, Memory Integrity, NVIDIA V-Sync, - Low Latency Mode and Power management mode: info, with advice. - -"Create diagnostics report" (also in About) writes a text file describing -your PC and FlatLine's state, and copies it to your clipboard. Share it with -ErockOnTech at erockondeckyt@gmail.com with any bug report. - - ------------------------------------------------------------------------------- -12. KNOWN FIXES FOR SPECIFIC GAMES ------------------------------------------------------------------------------- -For some games FlatLine knows a community fix and shows a "Known fixes" -card on the results screen, with step-by-step setup instructions. - - Batman: Arkham City - run the game through Vulkan with DXVK (one file, - easy to undo), lower MSAA, PhysX off on RTX 50 cards, keep DirectX 11 - Features off. FlatLine also detects whether DXVK is already installed. - - ------------------------------------------------------------------------------- -13. ANALYZE AN EXISTING CSV FILE ------------------------------------------------------------------------------- -"Analyze a CSV file", under the Start button on the New analysis screen, runs -the analysis on a recording you already have, without playing again: - - FlatLine's own recordings (Documents\FlatLine\captures) - - PresentMon or CapFrameX captures -Stutter cause detection only works with FlatLine's own recordings. A capture -recorded with a cap on gives capped results. - - ------------------------------------------------------------------------------- -14. TIPS FOR THE BEST RESULTS ------------------------------------------------------------------------------- - - Turn on G-SYNC / FreeSync. NVIDIA: NVIDIA App -> System -> Displays -> - G-SYNC: "Full screen and windowed". FlatLine warns you if it isn't - working in the game. Without it, caps have to divide evenly into your - refresh rate. - - Exclusive fullscreen usually works best. - - Record uncapped, with V-Sync off in the game. - - Play a demanding area, and play normally. Standing still in a quiet - corner gives numbers that are too optimistic. - - Close overlays and monitoring tools while testing. - - The caps are for your CURRENT settings. If you change DLSS/FSR, the - preset or resolution, run a new analysis. - - Not using DLSS/FSR yet? Turning it on often gives a higher, flatter cap. - - ------------------------------------------------------------------------------- -15. WHERE YOUR DATA IS KEPT ------------------------------------------------------------------------------- -Everything is in Documents\FlatLine - captures\ recordings from each run (CSV) - saved\ saved analyses - profiles.json your game profiles - flatline.log a log of what FlatLine did (useful for bug reports) - diagnostics.txt the last diagnostics report - kept_tweaks.json CPU-core tweaks you kept per game (used by the helper) - rtss_backup.json, system_fixes.json, priority_restore.json, - priority_games.json - what FlatLine changed, so Undo can put it back - -RivaTuner caps are stored in RivaTuner's own profiles. Tweak-tester backups -are stored next to each game's Engine.ini. - - ------------------------------------------------------------------------------- -16. TROUBLESHOOTING ------------------------------------------------------------------------------- -The app won't start - - Make sure you extracted the zip first. - - SmartScreen: "More info" -> "Run anyway". - - Antivirus: allow FlatLine.exe, or restore it from quarantine. - -"Run FlatLine as administrator" warning / recording fails - - Close FlatLine and run it again, choosing Yes on the admin prompt. - (Or right-click FlatLine.exe -> Run as administrator.) - -"This game refused the core change" (My game profiles) - - Some games, usually ones with anti-cheat, won't let the helper change - their cores. Press "Copy launch shortcut", make a desktop shortcut with - it, tick Run as administrator in its properties, and start the game - from that shortcut. Games that must start through a launcher (Steam, - Epic) can't use this. - -"Recording failed: ... access denied" (Battlefield 6 and some other games) - - The game's anti-cheat blocks frame measurement once the game is running. - - Close the game fully. On New analysis, press "Game won't record?" (under - the Start button) and then Start measuring. Launch the game and use - FlatLine as normal. A green bar shows it's measuring; it - keeps going for every recording until you press Stop or close FlatLine. - -"No game was detected" / "Not enough gameplay was recorded" - - Load into actual gameplay before pressing Start, and switch back to the - game during the countdown. Menus and launchers aren't measured. - -Results look capped / far too low - - A frame limit was on: the game's own limit, V-Sync, NVIDIA/AMD Max - Frame Rate, or RivaTuner (including its Global profile). Turn them all - off and run a new analysis. - -"G-SYNC/FreeSync doesn't seem to be working" - - See section 14. Try exclusive fullscreen and close overlays. - -"The cap isn't active" after Test this cap - - Check that RivaTuner is running and its frame limiter applies to the - game, or that the cap you set by hand is on. - -Still stuck? - Open System check (or About) -> "Create diagnostics report", and email - that report (it's copied to your clipboard) and a screenshot of the error - to ErockOnTech at erockondeckyt@gmail.com. - - Follow @ErockOnTech on X (x.com/ErockOnTech) and Instagram - (instagram.com/ErockOnTech) for updates. - - ------------------------------------------------------------------------------- -17. UNINSTALLING ------------------------------------------------------------------------------- -Delete the FlatLine folder (and the FlatLine Plus folder, if you have it) -and the folder Documents\FlatLine. That's all. -Before deleting, open My game profiles and turn off the background helper -and any kept tweaks (High priority, core tweaks, Engine.ini). Caps you -applied stay in RivaTuner until you remove them there (or use Undo in -FlatLine first). If you kept a tweak, restore it in the tweak tester -first, or delete the game's Engine.ini to get the game's defaults back. - - ------------------------------------------------------------------------------- -18. CREDITS ------------------------------------------------------------------------------- -FlatLine is made by ErockOnTech - youtube.com/@ErockOnTech -Frame-time data by Intel PresentMon (MIT license). -Frame caps applied through RivaTuner Statistics Server by Unwinder, which -you install separately. -NVIDIA driver settings are read through NVAPI, which comes with the NVIDIA -driver (setting IDs from NVIDIA's published NVAPI headers, MIT license). -FlatLine is provided as-is, without warranty. - - ------------------------------------------------------------------------------- -19. FLATLINE PLUS (FOR CHANNEL MEMBERS) ------------------------------------------------------------------------------- -FlatLine Plus is a members-only build for ErockOnTech channel members: the -same app with the same layout, plus extra features. It shares your profiles, -saved analyses and settings with the free FlatLine. Members get it from the -members-only post on the channel. "FlatLine Plus - Benefits.txt", next to -this file in the Plus download, explains each one in detail. - - - Color themes and a custom accent color: Dark, Daylight (white), - Graphite & Amber, Neon cockpit or Slate, plus any accent color you pick - (Menu -> Settings). Only the colors change. - - Result cards without the watermark (you can add a small credit if you - want). - - Shareable profiles: share a game's FPS lock, settings and tweaks as a - code or file; friends import it and choose what to apply. - - Export: results as a PDF report, CSV or Excel workbook. - - Hotkey capture: set a key in Settings and start or stop a recording - from inside the game, with no Alt-Tab. - - Benchmark mode for creators: the same scene recorded 3 times, averaged, - with error bars for average FPS, 1% lows and 0.1% lows, and a - 1920x1080 chart ready for videos. - - Overlay graphs: compare up to 6 saved runs, with their frame-time - graphs drawn on top of each other. - - Early access: new features land in FlatLine Plus first and move to the - free version later. - - Priority support: diagnostics reports from FlatLine Plus are tagged - "FlatLine Plus member", so they're answered first. +============================================================================== + FlatLine - find the perfect FPS cap for any game + by ErockOnTech | youtube.com/@ErockOnTech | version 1.43 + Follow @ErockOnTech on X and Instagram | erockondeckyt@gmail.com +============================================================================== + +CONTENTS + 1. What FlatLine is + 2. What you need + 3. Getting started + 4. Your first analysis + 5. Reading your results + 6. Test this cap + 7. Applying the cap (with or without RivaTuner) + 8. Saved analyses and Compare + 9. My game profiles + 10. Stutter tools: cause detection, tweak tester + 11. System check + 12. Known fixes for specific games + 13. Analyze an existing CSV file + 14. Tips for the best results + 15. Where your data is kept + 16. Troubleshooting + 17. Uninstalling + 18. Credits + 19. FlatLine Plus (for channel members) + + +------------------------------------------------------------------------------ +1. WHAT FLATLINE IS +------------------------------------------------------------------------------ +An uncapped frame rate often feels worse than a steady one. When the frame +rate jumps around, every frame arrives at a different time, and you feel it +as judder and stutter even when the FPS counter looks high. + +FlatLine records a few minutes of your gameplay, reads the time between every +frame, and tells you the highest FPS cap your PC can hold FLAT: a straight +frame-time graph with no dips. + +The goal is not max FPS and not max graphics. The goal is the smoothest +frame-time graph at the highest FPS your PC can actually hold. + +What it does: + - Recommends 3 caps for your game (see section 5) + - Applies the cap for you in RivaTuner, with one-click undo + - "Test this cap": checks that the cap really holds + - Tells you whether a cap can fix the game at all, or whether the + stutters are built into the game + - Shows what's causing stutters (shader compiling, asset streaming, + background apps) + - Tweak tester: measures whether a fix really helps + - Saves analyses and compares up to 3 (e.g. Native vs DLSS Quality vs + DLSS Performance) and picks the winner + - Game profiles: keeps the cap you chose for each game, with the game + settings you used, so you never have to test again + + +------------------------------------------------------------------------------ +2. WHAT YOU NEED +------------------------------------------------------------------------------ + - Windows 10 or 11 + - Administrator rights (Windows requires them to record frame times) + - Optional but recommended: RivaTuner Statistics Server (RTSS), free from + Guru3D (it also comes with MSI Afterburner). With it, FlatLine sets the + cap for you. Without it, you set the cap yourself (see section 7). + - Recommended: G-SYNC / FreeSync turned on (see section 14) + +You do NOT need Python or anything else. Everything FlatLine needs is in its + folder (FlatLine.exe plus the _internal folder next to it). + + +------------------------------------------------------------------------------ +3. GETTING STARTED +------------------------------------------------------------------------------ + 1. Extract the zip to a normal place (for example your Desktop). You get a + FlatLine folder. Don't run FlatLine.exe from inside the zip. + Keep FlatLine.exe and the _internal folder together: the exe can't + start without it. To move FlatLine, move the whole folder. + 2. Double-click FlatLine.exe and choose Yes on the Windows admin prompt. + 3. Windows SmartScreen may say "Windows protected your PC" because the app + isn't code-signed. Click "More info" -> "Run anyway". A few antivirus + tools may also flag it; this is common for apps packaged this way. +Nothing is installed. FlatLine runs straight from its folder. + +UPDATES + FlatLine checks for a new version once a day in the background (it needs + an internet connection; nothing about you or your PC is sent). When one is + out, a blue "Update available" button appears at the bottom of the menu on + the left. Click it to see what's new and download it. You can also click + "Check for updates" under the version number at any time. + To update: download the new zip, extract it, and use the new FlatLine + folder in place of the old one. Your settings, profiles, saved analyses and + recordings are kept: they live in Documents\FlatLine, not in the app folder. + FlatLine Plus: the update button takes you to the members' channel in the + ErockOnTech Discord, where the new Plus download is posted. + + +------------------------------------------------------------------------------ +4. YOUR FIRST ANALYSIS +------------------------------------------------------------------------------ +Everything in FlatLine is in the menu on the left: New analysis, Results, +Saved analyses, Game profiles, Tweak tester and System check. The menu is greyed out while a recording runs. + +Before you start, check "Your setup" on the New analysis screen. + +Capture cards: most only take 60 Hz, and while one is connected (or your +displays are set to Duplicate) Windows can run your monitor at 60 Hz. Then +every cap stops at about 59 FPS. FlatLine warns you on New analysis and +when you press Start. For an accurate cap, analyze with the card unplugged, +or press Win + P and choose "Extend" so your monitor keeps its own refresh +rate (some cards can pass 144-240 Hz through at a lower resolution). + +"Your setup": + - Monitor refresh rate: detected automatically. Correct it if it's wrong. + - G-SYNC / FreeSync: leave it on if your monitor has it turned on. + - Recording length: 2, 3 or 5 minutes. Longer is more accurate. + +Then: + 1. Open your game and load into actual gameplay (not the menu). + Turn OFF the game's own frame limit and V-Sync for this test. + 2. Alt-Tab to FlatLine and press "Start (I'm in my game)". + 3. You get a 5-second countdown. Switch back to the game. + One beep means recording has started. + 4. Play normally until you hear the chime. Pick a demanding area: fights, + crowds, lots of effects. A Windows notification pops up when it's done. + 5. Alt-Tab back to FlatLine. Your results are waiting. + +FlatLine measures the app you were playing (the one in front while it +recorded), not apps like DaVinci Resolve, Discord or OBS running behind it. +If the results ever show the wrong program, use "Not the game you played?" +under the game name to measure your game from the same recording. + +About 15 seconds in, FlatLine checks that your game's frames are really +arriving. If Windows has stopped passing them on (it happens now and then, +and a PC restart fixes it), FlatLine stops the recording right away and +tells you, instead of wasting the full run. + +You can press "Finish early and analyze" at any time, or Cancel. + +The run must be UNCAPPED. If RivaTuner has a cap on the game you're +testing, FlatLine offers to remove it for the test. Caps on other games are +left alone. + + +------------------------------------------------------------------------------ +5. READING YOUR RESULTS +------------------------------------------------------------------------------ +The big number at the top right is your RECOMMENDED CAP. + +FlatLine gives you 3 caps. All three are hard caps (the game never goes +above them). They differ in how often your PC dips below the cap: + + RECOMMENDED LOCKED The cap your PC held essentially the whole time. + At most 1 dip every 5 minutes: a flat line. + This is the one to use. + + BALANCED LOCKED A higher cap that allows occasional dips, + up to about 3 a minute. + + MAX LOCKED FPS The highest cap, allowing frequent dips, up to + about 15 a minute. More frames, but not flat. + +Each card shows what it allows and how many dips per minute were measured. +A "dip" is a frame arriving clearly late: more than 10% and at least 1 ms +slower than the cap allows. In smooth games all three are often the same. + +Also on the results screen: + - "Can a cap fix this game?": Yes / Partly / Not fully. Some games + stutter on their own (asset streaming, shader loading), and no cap + can remove that. FlatLine tells you honestly. + - Frame-time graph: flat is good, spikes are stutters. Hover to see values. + - Average FPS, 1% and 0.1% lows, latency, and what limits you (CPU or GPU). + - Latency estimate for each cap (with RivaTuner or an in-game limiter). + - Warnings, for example if G-SYNC/FreeSync isn't actually working. + - "This run was capped": if frames sat flat at one FPS while your GPU had + time to spare, something was limiting the game and the caps would be + wrong. FlatLine names the likely source when it can (RivaTuner, your + NVIDIA global Max Frame Rate, or V-Sync when it matches your refresh + rate). Remove the limit and run a new analysis. + - "This game runs worse/better than before": if this game has a profile + or a saved analysis and the result is clearly different, FlatLine lists + what changed on your PC in between (graphics driver, Windows update, + BIOS, a game patch). + - "Want more than this?": reminders about DLSS/FSR/XeSS, lower settings + and frame generation, matched to your graphics card. + +"Save result card" saves a shareable image of your results (and puts it on +your clipboard, ready to paste into Discord, X or Instagram). First it asks +which settings this run used (upscaler, preset, resolution and so on), so +the card shows the settings you actually tested with. FlatLine remembers +them for that run. Cards made with the free FlatLine carry the "Made with +FlatLine by ErockOnTech" mark. + +Your results stay available until you run a new analysis or close FlatLine. +Click "Results" in the menu (it appears after your first analysis) to get +back to them. + + +------------------------------------------------------------------------------ +6. TEST THIS CAP +------------------------------------------------------------------------------ +Press "Test this cap" to check the cap in real gameplay. + 1. Choose a length: 1, 2 or 3 minutes (the star marks the recommended one). + 2. With RivaTuner, FlatLine applies the cap for you. Without it, set the + cap yourself first (see section 7). + 3. Same as before: countdown, play until the chime. + +You'll get a verdict such as "rock solid", "solid with occasional dips", +"as flat as this game gets with this configuration", "too high for your +PC" (with a lower cap to try), or "the cap isn't active". You also see the +measured latency, the percentage of frames on time, and next steps. + +When you're happy, press "Save as my profile" (section 9). + + +------------------------------------------------------------------------------ +7. APPLYING THE CAP +------------------------------------------------------------------------------ +WITH RIVATUNER (RTSS): + - "Apply now" on the results screen, or let "Test this cap" apply it. + - The cap is saved in RivaTuner's profile for that game and stays on every + time you play. + - FlatLine also switches that game's RivaTuner limiter to "active waiting". + RivaTuner's help says the default passive waiting can hurt frame-pacing + precision and cause microstutter. + - "Undo" puts back whatever RivaTuner had before, including its waiting mode. + - FlatLine never changes RivaTuner's Global profile. If the Global profile + has a cap, FlatLine warns you, because it caps every game. + +WITHOUT RIVATUNER: + - Everything works except automatic caps. + - "Apply now" becomes "Copy number". Set the cap yourself in: + NVIDIA App -> Graphics -> (your game) -> Max Frame Rate + AMD Adrenalin -> Frame Rate Target Control + or the game's own frame limit + - "Test this cap" still works: set the cap by hand, then test. + - In game profiles, "Apply locked FPS" is greyed out. + +Only use ONE limiter at a time, so they don't fight each other. + + +------------------------------------------------------------------------------ +8. SAVED ANALYSES AND COMPARE +------------------------------------------------------------------------------ +Want to know whether DLSS Quality beats native 4K? Save each run. + 1. After an analysis, press "Save" and name it, e.g. "Native 4K", + "DLSS Quality" or "DLSS Performance". + 2. Open "Saved analyses" in the menu. From there you + can Open a run to see its full results again, Rename it or Delete it. + 3. Tick 2 or 3 runs of the same game and press "Compare" at the bottom. + Once you tick a run, runs of other games are locked, and you can + tick at most 3 at a time. + +Compare shows the numbers side by side (best values in green) and picks the +smoothest: + - The highest Recommended Locked cap wins. + - A run that stutters clearly more than the others can't win. + - Runs within 5% are called a tie: pick whichever LOOKS better. + - A run recorded with a cap or V-Sync left on is left out. + +For a fair comparison, record each run in the same area, in the same way, +for about the same length. FlatLine measures smoothness, not image quality. + + +------------------------------------------------------------------------------ +9. MY GAME PROFILES +------------------------------------------------------------------------------ +Once you've settled on a cap, keep it permanently, so you never have to +re-test if the game's settings get reset. + + - Press "Save as my profile": on the results screen (under the + recommended cap), on the cap-test screen, or on Compare ("Use the + winner as my profile"). + - Note the settings you tested with: upscaler and mode (DLSS / FSR / + XeSS Quality, Balanced...), graphics preset, frame generation, + resolution and anything else (ray tracing off, etc.). A cap only holds + for the settings it was measured with. + - Open "Game profiles" in the menu to see them all. + - The first time you open it, FlatLine adds a base profile (game + FPS) + for every game you've already capped in RivaTuner. Press Edit to add + the game settings. + - "Apply locked FPS" sets the cap in RivaTuner again. The game settings + you set back yourself, in the game. FlatLine shows you what to set. + - Edit or Delete any profile. Deleting a profile never changes RivaTuner. + - One profile per game. Saving again replaces it. + - Profiles made on different hardware are flagged as worth re-testing. + - Each profile remembers your graphics driver, Windows build, BIOS and + the game's program file. If any of them changes later, the profile + shows "Since this profile: driver updated, game updated... Worth + re-testing" (hover for details). + + +------------------------------------------------------------------------------ +10. STUTTER TOOLS +------------------------------------------------------------------------------ +WHAT'S CAUSING THE STUTTERS (automatic, on the results screen) + While recording, FlatLine also samples CPU, disk and background apps. It + then shows what lined up with each stutter: shader compiling, asset + streaming (disk), CPU spikes, a background app, or a regular repeating + pattern. Close monitoring tools (MSI Afterburner etc.) while testing: + they can cause stutters of their own. + It also tracks video memory (any GPU brand). If stutters cluster while + video memory is over 90% full, it tells you, and suggests lowering + texture quality one step. + +TWEAK TESTER (menu -> Tweak tester, or "Test a tweak against this run") + Each tweak card has a "How this works" link: what the tweak changes, when + it helps, how to undo it, how to do it yourself without FlatLine, and + links to documentation (and the ErockOnTech Process Lasso video for the + AMD core tweaks and keeping other apps off the game's cores). + Measures whether a stutter fix really helps, instead of guessing. There + are two ways to test, and FlatLine tells you which one each tweak needs: + + QUICK A/B WHILE YOU PLAY (CPU-core, priority and RivaTuner tweaks) + One recording (2:23 or 4:23). NO route to replay and NO restart: just + play normally anywhere, staying in gameplay (no menus, maps or loading + screens). FlatLine switches the tweak on and off every 20 seconds and + compares each "on" stretch with the "off" stretches right next to it, + so a heavier or lighter area cancels out. The result shows one bar per + comparison and says clearly whether a re-run is needed: + - helped: "Keep for ". Then run one new analysis (any area) to + update your caps. + - no clear effect / made it worse: nothing to undo, no re-run needed. + - not enough usable gameplay: run it again (still no route needed). + + TWO PASSES ON THE SAME ROUTE (needed for Engine.ini tweaks) + Engine.ini changes only take effect when the game starts, so these need + a baseline run, a game restart with the tweak, and the SAME route + replayed. Your analysis can be the baseline, so you only record once + more. + Tweaks for Unreal Engine 4/5 games (edits the game's Engine.ini): + - Spread out streaming work + - Less frequent memory cleanup + - Texture pool sized to your VRAM (half your card's memory) + - Keep compiled shaders between sessions (fewer repeat shader hitches) + - Turn off engine frame smoothing (stops the game fighting your cap) + For any game: + - Game priority: the game gets High CPU priority and busy background + apps get Below normal. Voice, streaming, overlay, anti-cheat and + Windows processes are never touched. + - Performance cores only (Intel CPUs with performance + efficiency cores) + - 3D V-cache cores only (AMD Ryzen X3D CPUs with two core groups where + only one has the V-cache, such as the 7950X3D or 9950X3D) + - Keep other apps off the game's cores (Intel P + E cores, or AMD with two + CCDs). The core tweaks above move the game; this one moves everything + else: while the game runs, your background apps are moved to your + other cores, so the game's cores are left to the game. Every app in + your desktop session is moved up front (plus a few heavy Windows + services like the search indexer and Windows Update), not just the + busy ones, so a sudden burst never lands on the game's cores first. + AMD: the game is held on its CCD (the V-cache one on X3D chips) and + apps go to the other CCD, so you don't need 3D V-cache cores only or + One core group only on top of it. If AMD's Game Mode parks that CCD (when + AMD's V-cache service runs), apps are given back until it unparks, + because Windows ignores CPU sets that point only at parked cores. + Intel: apps go to the E-cores; the game itself isn't restricted + (Thread Director decides, unless you also use Performance cores + only). Needs 6+ E-cores. Off when the Intel APO app is installed, + because APO places some game threads on E-cores itself (Intel's + tuning services alone don't count); you can allow it anyway in + System check. OBS is never moved on Intel, so its encoder can use + the P-cores (on AMD the other CCD is full speed, so it is moved). + It uses Windows CPU sets and rescans every 2 seconds (new processes + don't inherit CPU sets). Each app is moved once, and apps whose cores + another tool already set are left alone. Never moved: Windows, audio, + input/VR, security, GPU and frame tools, anti-cheat (by name or by its + install folder), DRM launchers, and anything that belongs to the game + (what it started, the launcher that started it, anything in its + install folder or named like it). Voice chat like Discord may move: + it runs fine on the other cores. Everything gets all cores back when + you stop. + - One core group only (other AMD CPUs with two core groups, such as the + 9950X3D2, 9950X or 7950X): keeps the game on one CCD so its threads + never talk across the two dies. Games that use more than 8 cores may + lose FPS, which is why it's measured. + - All system tweaks at once: every system tweak that works on your PC, + in one test. No game settings are changed. + - All tweaks at once (shown under Game tweaks): the Engine.ini changes + plus every system tweak. + You don't need to pick a game for system tweaks: FlatLine finds the game + you switch to when the recording starts. The Game tweaks (Engine.ini) + only appear once you pick an Unreal Engine game in step 2. + FlatLine checks your CPU and greys out the tweaks that don't apply, with + the reason: Intel-only tweaks on AMD CPUs, AMD-only tweaks on Intel CPUs, + and V-cache steering on single-CCD X3D chips (like the 9800X3D), on the + 9950X3D2 (V-cache on both core groups) and on chips without 3D V-cache, + where there's nothing to steer. + Engine.ini tweaks are applied with the game closed. CPU-core and priority + tweaks are applied automatically the moment the tweaked pass starts. + Every Engine.ini change is backed up. "Keep tweak" keeps it, "Restore + original" puts everything back. CPU-core tweaks last until you close the + game; game priority until you close the game or FlatLine. If the tweak + helps, "See my caps with this tweak" recalculates your caps from the + tweaked run. + +KEEPING A TWEAK THAT WORKED + CPU-core and priority tweaks normally last only until you close the game. + When the tweak tester shows one helped, press "Keep for " to apply + it every time you play, even after a restart: + - Game priority: Windows' own per-game setting makes the game start at + High priority every time, with or without FlatLine. Background apps + aren't changed. + - Performance cores / One core group / 3D V-cache cores / Keep other + apps off the game's cores: the FlatLine background helper applies them + whenever the game starts (see below). For "Keep other apps off", the + helper keeps moving busy apps while the game runs and gives them all + cores back when it closes. + - 3D V-cache cores is also added to AMD's own V-cache driver list, which + steers the game by itself when AMD's driver is running and Game Mode + is on. + - Engine.ini tweaks already stay, because they're saved in the file. + Everything you kept is listed under "Kept tweaks" in My game profiles, + with Turn off / Restore for each. + + Game priority is off by default on purpose: it only lasts for that game + session, so caps measured with it wouldn't match your normal play unless + you keep it. + +THE BACKGROUND HELPER + Windows forgets which CPU cores a game may use when it closes, so kept + core tweaks need the helper. It's optional and off until you turn it on + (FlatLine asks the first time you keep a core tweak, or use the switch in + My game profiles). When it's on: + - It starts when you open FlatLine and keeps running in the system tray + until you shut down or restart, even after you close FlatLine. + - After a restart, open FlatLine once to start it again (you can close + FlatLine right away). + - It uses almost no CPU and applies your kept core tweaks within about + 2 seconds of a game starting. + - Right-click the tray icon to see which games it covers, pause it, + open FlatLine, or turn it off. + FlatLine doesn't add anything to Windows startup. ("Starts at High + priority every time" doesn't need the helper at all.) + If an older FlatLine added a "FlatLine Helper" startup entry, you can + remove it in Task Manager > Startup apps. + +------------------------------------------------------------------------------ +11. SYSTEM CHECK +------------------------------------------------------------------------------ +Menu -> System check. It lists Windows and driver +settings that can cause stutter or fight your cap. Amber items are worth +fixing and have a button; green is fine; grey is information only. Every fix +can be undone, and FlatLine never changes security settings. + + Game Mode Turn on + Optimizations for windowed games Turn on (lower latency, G-SYNC/FreeSync + in borderless DX10/11 games) + Windows background recording Turn off + NVIDIA Max Frame Rate (all games) Turn off (it fights your per-game cap) + Power plan Switch to Balanced (AMD X3D CPUs only) + AMD 3D V-cache driver Info (X3D CPUs) + Intel CPU microcode Info (13th/14th-gen Core CPUs) + Hardware-accelerated GPU scheduling, Memory Integrity, NVIDIA V-Sync, + Low Latency Mode and Power management mode: info, with advice. + +"Create diagnostics report" (also in About) writes a text file describing +your PC and FlatLine's state, and copies it to your clipboard. Share it with +ErockOnTech at erockondeckyt@gmail.com with any bug report. + + +------------------------------------------------------------------------------ +12. KNOWN FIXES FOR SPECIFIC GAMES +------------------------------------------------------------------------------ +For some games FlatLine knows a community fix and shows a "Known fixes" +card on the results screen, with step-by-step setup instructions. + + Batman: Arkham City - run the game through Vulkan with DXVK (one file, + easy to undo), lower MSAA, PhysX off on RTX 50 cards, keep DirectX 11 + Features off. FlatLine also detects whether DXVK is already installed. + + +------------------------------------------------------------------------------ +13. ANALYZE AN EXISTING CSV FILE +------------------------------------------------------------------------------ +"Analyze a CSV file", under the Start button on the New analysis screen, runs +the analysis on a recording you already have, without playing again: + - FlatLine's own recordings (Documents\FlatLine\captures) + - PresentMon or CapFrameX captures +Stutter cause detection only works with FlatLine's own recordings. A capture +recorded with a cap on gives capped results. + + +------------------------------------------------------------------------------ +14. TIPS FOR THE BEST RESULTS +------------------------------------------------------------------------------ + - Turn on G-SYNC / FreeSync. NVIDIA: NVIDIA App -> System -> Displays -> + G-SYNC: "Full screen and windowed". FlatLine warns you if it isn't + working in the game. Without it, caps have to divide evenly into your + refresh rate. + - Exclusive fullscreen usually works best. + - Record uncapped, with V-Sync off in the game. + - Play a demanding area, and play normally. Standing still in a quiet + corner gives numbers that are too optimistic. + - Close overlays and monitoring tools while testing. + - The caps are for your CURRENT settings. If you change DLSS/FSR, the + preset or resolution, run a new analysis. + - Not using DLSS/FSR yet? Turning it on often gives a higher, flatter cap. + + +------------------------------------------------------------------------------ +15. WHERE YOUR DATA IS KEPT +------------------------------------------------------------------------------ +Everything is in Documents\FlatLine + captures\ recordings from each run (CSV) + saved\ saved analyses + profiles.json your game profiles + flatline.log a log of what FlatLine did (useful for bug reports) + diagnostics.txt the last diagnostics report + kept_tweaks.json CPU-core tweaks you kept per game (used by the helper) + rtss_backup.json, system_fixes.json, priority_restore.json, + priority_games.json + what FlatLine changed, so Undo can put it back + +RivaTuner caps are stored in RivaTuner's own profiles. Tweak-tester backups +are stored next to each game's Engine.ini. + + +------------------------------------------------------------------------------ +16. TROUBLESHOOTING +------------------------------------------------------------------------------ +The app won't start + - Make sure you extracted the zip first. + - SmartScreen: "More info" -> "Run anyway". + - Antivirus: allow FlatLine.exe, or restore it from quarantine. + +"Run FlatLine as administrator" warning / recording fails + - Close FlatLine and run it again, choosing Yes on the admin prompt. + (Or right-click FlatLine.exe -> Run as administrator.) + +"This game refused the core change" (My game profiles) + - Some games, usually ones with anti-cheat, won't let the helper change + their cores. Press "Copy launch shortcut", make a desktop shortcut with + it, tick Run as administrator in its properties, and start the game + from that shortcut. Games that must start through a launcher (Steam, + Epic) can't use this. + +"Recording failed: ... access denied" (Battlefield 6 and some other games) + - The game's anti-cheat blocks frame measurement once the game is running. + - Close the game fully. On New analysis, press "Game won't record?" (under + the Start button) and then Start measuring. Launch the game and use + FlatLine as normal. A green bar shows it's measuring; it + keeps going for every recording until you press Stop or close FlatLine. + +"No game was detected" / "Not enough gameplay was recorded" + - Load into actual gameplay before pressing Start, and switch back to the + game during the countdown. Menus and launchers aren't measured. + +Results look capped / far too low + - A frame limit was on: the game's own limit, V-Sync, NVIDIA/AMD Max + Frame Rate, or RivaTuner (including its Global profile). Turn them all + off and run a new analysis. + +"G-SYNC/FreeSync doesn't seem to be working" + - See section 14. Try exclusive fullscreen and close overlays. + +"The cap isn't active" after Test this cap + - Check that RivaTuner is running and its frame limiter applies to the + game, or that the cap you set by hand is on. + +Still stuck? + Open System check (or About) -> "Create diagnostics report", and email + that report (it's copied to your clipboard) and a screenshot of the error + to ErockOnTech at erockondeckyt@gmail.com. + + Follow @ErockOnTech on X (x.com/ErockOnTech) and Instagram + (instagram.com/ErockOnTech) for updates. + + +------------------------------------------------------------------------------ +17. UNINSTALLING +------------------------------------------------------------------------------ +Delete the FlatLine folder (and the FlatLine Plus folder, if you have it) +and the folder Documents\FlatLine. That's all. +Before deleting, open My game profiles and turn off the background helper +and any kept tweaks (High priority, core tweaks, Engine.ini). Caps you +applied stay in RivaTuner until you remove them there (or use Undo in +FlatLine first). If you kept a tweak, restore it in the tweak tester +first, or delete the game's Engine.ini to get the game's defaults back. + + +------------------------------------------------------------------------------ +18. CREDITS +------------------------------------------------------------------------------ +FlatLine is made by ErockOnTech - youtube.com/@ErockOnTech +Frame-time data by Intel PresentMon (MIT license). +Frame caps applied through RivaTuner Statistics Server by Unwinder, which +you install separately. +NVIDIA driver settings are read through NVAPI, which comes with the NVIDIA +driver (setting IDs from NVIDIA's published NVAPI headers, MIT license). +FlatLine is provided as-is, without warranty. + + +------------------------------------------------------------------------------ +19. FLATLINE PLUS (FOR CHANNEL MEMBERS) +------------------------------------------------------------------------------ +FlatLine Plus is a members-only build for ErockOnTech channel members: the +same app with the same layout, plus extra features. It shares your profiles, +saved analyses and settings with the free FlatLine. Members get it from the +members-only post on the channel. "FlatLine Plus - Benefits.txt", next to +this file in the Plus download, explains each one in detail. + + - Color themes and a custom accent color: Dark, Daylight (white), + Graphite & Amber, Neon cockpit or Slate, plus any accent color you pick + (Menu -> Settings). Only the colors change. + - Result cards without the watermark (you can add a small credit if you + want). + - Shareable profiles: share a game's FPS lock, settings and tweaks as a + code or file; friends import it and choose what to apply. + - Export: results as a PDF report, CSV or Excel workbook. + - Hotkey capture: set a key in Settings and start or stop a recording + from inside the game, with no Alt-Tab. + - Benchmark mode for creators: the same scene recorded 3 times, averaged, + with error bars for average FPS, 1% lows and 0.1% lows, and a + 1920x1080 chart ready for videos. + - Overlay graphs: compare up to 6 saved runs, with their frame-time + graphs drawn on top of each other. + - Early access: new features land in FlatLine Plus first and move to the + free version later. + - Priority support: diagnostics reports from FlatLine Plus are tagged + "FlatLine Plus member", so they're answered first.