File information

Last updated

Original upload

Created by

gramern and danyalzia

Uploaded by

gramern

Virus scan

Safe to use

About this mod

Eliminates the most irritating frame generation ghosting for cars and motorcycles. Now with options to limit ghosting in a 1st-person view (for vehicles & on foot). Doesn't require motion blur.

Requirements
Permissions and credits
Translations
  • Portuguese
  • Mandarin
Changelogs


0. How bad is the native FSR 3.0 FG implementation from Patch 2.13:

It's really bad. Here's what I discovered (thanks to Dravic1 for help in finding the fix):



In short, stick to FSR 3.x mods for now, also when using this mod; don't bother with the official implementation. Apart from the vignette issue, there's higher latency (no Nvidia Reflex which is enabled in mods), worse ghosting, frame generation can only be used with the FSR 3.0 upscaler, and film grain filter is broken (affects HUD elements only), among other issues. The official implementation isn't worth anyone's time and primarily serves to highlight CDPR's shortcomings in this area.

Let's be honest, ghosting while using the official FSR 3.0 implementation is so bad that this mod won't help it much. Use a modded frame generation please (available via "DLSS Frame Generation" option). Make sure to turn off the in-game film grain filter, as it's broken in Patch 2.13 and renders incorrectly.



1. Download the mod:

If you're using a LUT mod, like Nova LUTPreem LUT or GITS, you're good to go. The most popular LUT mods disable vignette anyway - download a suggested vignette disabling mod ONLY if they don't. You'll avoid potential color distortion. LUT Switcher doesn't disable vignette, so additional mods are necessary.

Game/mod compatibility guide:

Cyberpunk 2077 version | FrameGen Ghosting Fix versions
2.2         |5.2.4, 5.2.4nc, 4.9.2
2.13       |5.2.1, 5.2.1nc, 4.9.2
2.12a     |5.1.14, 5.1.14nc, 4.9.2

Cyber Engine Tweaks, RedScript, RED4ext and ArchiveXL in their up-to-date and compatible with your game version are required.
Codeware is optional for maximized compatibility with other mods.


Files available to download:

Contextual Frame Generation + Preem Compatibility (5.x.x) - includes updated anti-ghosting, Contextual Frame Generation and Preem Compatibility (better compatibility with HUD mods). Contextual Frame Generation requires FSR3 Frame Gen for Cyberpunk 2077 (DLSS Enabler 2077 Edition) or DLSS Enabler 3.00.000.0 or higher to work.

NonContextual (Preem Compatibility) (5.x.xnc) - includes updated anti-ghosting and Preem Compatibility (better compatibility with HUD mods). Works with DLSS Enabler, OptiScaler, dlssg-to-fsr3, or FSR2FSR3/Uniscaler.

Old Version (Classic) (4.9.2) - includes anti-ghosting only. Not compatible with some HUD mods. Contains some bugs that will never be fixed. Does not require Archive XL. Works with DLSS Enabler, OptiScaler, dlssg-to-fsr3, or FSR2FSR3/Uniscaler.



2. Installation:

Extract the zip archive to your Cyberpunk 2077 folder,

or

use Vortex.


--

To uninstall the mod: delete "framegenghostingfix.archive" from "../Cyberpunk 2077/archive/pc/mod/" and all "FrameGenGhostingFix" folders and their contents from your game's folders: "../Cyberpunk 2077/bin/x64/plugins/cyber_engine_tweaks/mods/" and "../Cyberpunk 2077/r6/scripts/". For the Contextual Frame Generation edition, also delete "DLSSEnablerBridge2077" and its contents from "../Cyberpunk 2077/red4ext/".



3. Usage and instructions:


Anti-ghosting:

Limits ghosting behind some moving 3D objects caused by modded FSR3 frame generation in Cyberpunk 2077. Achieves this by placing nearly invisible HUD masks that block frame generation in certain parts of the screen. Offers customization options, including masking parameters on-foot, built-in presets system and presets editor for vehicles.




You'll still have ghosting caused by TAA (native resolution) or any upscaler (DLSS/FSR/XeSS). Ghosting caused by FSR 2.1 or the offical FSR 3.0 from Patch 2.13 is particularly burdensome, but there is no solution other than trying another upscaler. Motion blur is not recommended for FPP (emphasize unwanted "fuzziness"). 

Yep, it's a trick, a workaround. There is no such thing like a real fix for FSR 3 FG ghosting (and won't be until AMD adapts some AI processing). But this one works surprisingly well.


Contextual Frame Generation:

Allows prioritizing image quality for certain in-game events by automatically turning frame generation on/off without lag or stutter.




Contextual Frame Generation works only with FSR3 Frame Gen for Cyberpunk 2077 (DLSS Enabler 2077 Edition) or DLSS Enabler 3.00.000.0 or higher. If you're using DLSS Enabler, make sure to pick the "dxgi.dll" option in its installer. It doesn't work with bare dlssg-to-fsr3, or FSR2FSR3/Uniscaler or any other (including the official FSR 3.0 FG from Patch 2.13) implementation.



5. Problems/Troubleshooting:

The mod (versions 5.1.x/5.1.x nc) offers detailed logging in case it malfunctions or doesn't work as expected.
It signals when it cannot operate as intended and usually provides an immediate reason why. Please follow this article to help us resolve your issue.

Known issue: Modded frame generation isn't working or is grayed out.
Solution: Please look for a solution on your frame generation mod's page or contact its author. This mod doesn't interfere with FSR 3 Frame Generation mods internal logic.

Known issue: "Limited HUD - Simple HUD Toggle" turn offs anti-ghosting masking when HUD visibility switched to OFF.
Solution: Install update 5.2.1/5.2.1nc and Codeware. For older 5.x.x versions please use other HUD toggling mods: Toggle HUD and SimpleToggleHUD.

Known issue: I have the newest version of DLSS Enabler installed but I can't use the Contextual Frame Generation feature/Ghosting 'Fix' says it can't detect DLSS Eabler.
Solution: Reinstall DLSS Enabler using the "dxgi.dll" option in its installer or use FSR3 Frame Gen for Cyberpunk 2077 (DLSS Enabler 2077 Edition).

Known issue: The "Contextual Frame Generation" edition of this mod doesn't seem to work and tells me to enable FSR 3 Frame Generation in the game's settings despite having FSR3 Frame Gen for Cyberpunk 2077 (DLSS Enabler 2077 Edition) installed and frame generation enabled in the game's settings with the "AMD FSR 3 Frame Generation" option.
Solution: Please select "DLSS Frame Generation" (this indicates FSR 3.1 Frame Generation modded to replace DLSS-FG) rather than "AMD FSR3 Frame Generation" (the bad, native FSR 3.0 Frame Generation implementation). The modded frame gen is compatible with the "Contextual Frame Generation" edition of Ghosting 'Fix', while the native implementation is not.



5. How it works:


(Nukem, LukeFZ and Artur saw the video)


Please refer to the mod's whiteboard: https://miro.com/app/board/uXjVNrZBovU=/

The mod's github: https://github.com/gramern/cp77-ghosting-fix/
DLSS Enabler Bridge 2077 github: https://github.com/gramern/cp77-dlss-enabler-bridge

Enjoy!


If you want, you can buy me a coffee: buymeacoffee



Credits:

gramern - the idea, design, programming

danyalzia - programming (especially the Contextual module's logic), code refactoring and coding advice

Neclaex contributed and helped developing a translation system for the mod, and prepared German translation - huge kudos! Melkor prepared Brazilian Portuguese translation - huge kudos! MusTangGD for Simplified Chinese Translation - huge kudos!

As requested by danyalzia and AMD718, "Base FPS Context" was added to the Contextual feature in 5.1.0/5.1.0nc.

DBK01 for inspiration to develop Presets Editor

Fred91ITA (Federavenscry) for testing V on Steam Deck and Linux

People of WolvenKit &  RedModding for their incredible tools and guides which made this idea possible to be introduced quickly!

People behind Cyber Engine Tweaks Wiki - I couldn't find the game's world-to-screen space method, almost finished my own and then I found the one on the wiki. Huge Kudos!

Also, thanks to djkvorik and psiberx for their help and DBK01 for support and testing when I was working on the 'Preem Compatibility Edition - Archive XL' version. djkvorik, psiberx and Snaxgamer for their mods I could analyze and learn redscript. Thanks to danyalzia for their previous contribution to the Ghosting Fix mod (the first functioning script for the mod, thanks!)

Huge thanks to danyalziaKalel9,  70x7weluvtajMeteorIWTDOmen7YeoboLancelot34 and scarlettpark2001 for their help in developing the old compatibility list for the mod - I wouldn't develop this mod without you! Gratz to Mitschud for finding the 'secret' behind this mod. :)

soulm444teEddnub and DBK01 for testing DLSS FG version

Thanks for testing: Dagherbou, Hydraxon, Jzwa, AKBLTCryioLukaMrk

Thanks for providing necessary footage for further (after 3.1.2) development of the mod: soulm444te, QM

Dagherbou, Mizuho, ArturAKBLT,  CryiodanyalziaAMD718, Akamine for support and members of DLSS2FSR discord for keeping me awake and inspired