AMD RX 7000 Cutscene Fix & Build Troubleshooting

Every crash, black spot, or build exit traced to its exact AMD Radeon RX 7900 XTX graphics card cooler shader or toolchain root cause.

Static recompilation compiles thousands of translated C/C++ functions locally and runs PS3 RSX fragment shaders directly on modern Vulkan and Direct3D 12 drivers. Use this symptom-to-fix table mapped directly to upstream GitHub issues across SamiEnazi/infamous2-port, bhuiyah/infamous2-recomp, and erikomis/infamous2-recomp.

Issue #27AMD RDNA3 cutscene NaN fix in SamiEnazi v0.5.6
Issue #25AVX2 CPU check in bhuiyah v0.1.41
<=150 CharsASCII folder path rule avoiding Win32 260-char fail
Sapphire AMD Radeon RX 7900 XTX RDNA3 graphics card hardware
PS3 RSX fragment shaders rely on non-IEEE NaN propagation; SamiEnazi v0.5.6 emulates PS3-accurate NaN clamping to eliminate black spots on cutscene faces on Radeon RX 7000 and 780M GPUs.

Symptom-to-root-cause troubleshooting matrix

Match your exact error message or visual glitch to the verified upstream resolution.

Observed SymptomAffected Repo & IssueRoot CauseVerified Fix
Black spots or blotches on character faces during cutscenes on AMD GPUsSamiEnazi #27RDNA3 (RX 7000 / 780M) IEEE NaN propagation differs from PS3 RSX fragment clamping.Update to v0.5.6+ (enabled by default). Toggle with PS3RECOMP_AMD_NAN_FIX=0 or RSX_FP_OWNPX=0 in settings.ini if testing.
Streets turn pitch-black after long New Marais sessionsSamiEnazi v0.5.5RSX fragment pixel ownership / surface cache eviction over extended play.Update to v0.5.5+ or v0.5.7 via F2 -> Update; fixed upstream.
Game closes immediately at launch with no windowbhuiyah #25Compiled binary requires x86-64 AVX2 instructions (Intel Haswell 4th-gen / AMD Excavator or newer).Update to v0.1.41 to see the explicit AVX2 hardware dialog; older non-AVX2 CPUs cannot execute the lifted SPU SIMD code.
C++ build fails midway with missing header/object file or exit code 8bhuiyah & SamiEnaziFolder path exceeds 150 characters (hitting Windows MAX_PATH 260-char limit inside work/) or contains OneDrive/Cyrillic/CJK characters outside active Windows codepage.Move the folder to a short ASCII path such as C:\Games\inFAMOUS2 and re-run setup.
Setup fails converting libsre.sprx to libsre.prxbhuiyah & SamiEnaziRPCS3 has older PS3 firmware (such as 4.80) or no firmware installed.Install Sony PS3 system software 4.92 or newer inside RPCS3 (File -> Install Firmware), then re-run the port installer.
Stuck forever on the very first loading screen after comic introbhuiyah #23 / SamiEnazi #50Base 01.00 disc files were copied or only partially overwritten without applying the full 1.04 update PKG.Install the matching 1.04 update PKG cleanly over your disc dump (bhuiyah v0.1.38+ detects incomplete updates automatically).
Endless Please wait... spinner after a UGC mission or online checkbhuiyah #21Dead PSN UGC socket call waiting indefinitely when offline.Update to bhuiyah v0.1.36 / v0.1.37+ (up to v0.1.41), where all PSN/UGC hooks stay quiet and offline.
Linux RecompLauncher fails with unknown option --prepareSamiEnazi #44CLI argument parser regression in v0.5.6 Linux build.Download inFAMOUS2-port-v0.5.7-Linux-x64.zip (38,311,007 B).
macOS build stops at jobs: relift_jobmod.pyerikomis #8Unpatched 01.00 PSN copy supplied instead of 01.03.Apply the NPUA80638 01.03 update PKG and keep at least 3 GB free disk space before clicking Recompile.
Menu cursor skips two rows per D-pad press (double input)bhuiyah & SamiEnaziSteam Input, DS4Windows, or ViGEm creates a virtual XInput pad alongside the physical DualSense/DS4.Keep prefer_physical = 1 in bhuiyah config\input.ini, enable HidHide / Exclusive Mode in DS4Windows, or disable Steam Input for the port.

AMD NaN shaders, Smart App Control & gamepads

Three platform-level quirks account for over 80% of support tickets across Windows 11 and Radeon hardware.

AMD RDNA3 cutscene NaN clamping

On the PS3's NVIDIA RSX GPU, multiplying zero by infinity or negative square roots inside skin-shading fragment programs clamped cleanly instead of poisoning downstream specular blends. On AMD Radeon RX 7000 and Ryzen 780M Vulkan drivers, strict IEEE NaNs propagated into black polygons across Kuo, Nix, and Cole's faces (issue #27).

SamiEnazi v0.5.6 injects PS3-accurate NaN sanitization into translated SPIR-V shaders automatically. Only set PS3RECOMP_AMD_NAN_FIX=0 or RSX_FP_OWNPX=0 inside %APPDATA%\inFAMOUS2-port\settings.ini if comparing driver regressions.

Windows 11 Smart App Control & logs

Because static recompilation compiles a brand-new local executable (Infamous2Recomp.exe or infamous2.exe) on your own machine, Windows 11 Smart App Control in strict mode may block locally compiled binaries lacking an external EV certificate, whereas SamiEnazi signs Setup.exe via SignPath.

If bhuiyah/infamous2-recomp hits a build error, click Report a problem in v0.1.40+: it packages an anonymized logs\report-<date>.zip (stripping Windows usernames and paths) ready to attach on GitHub.

Diagnosing double input with padprobe

bhuiyah/infamous2-recomp includes padprobe.exe --readonly to list every HID, XInput, and RawInput device visible on your PC without touching game state. When prefer_physical = 1 is set inside config\input.ini, the runtime suppresses virtual Xbox 360 clones spawned by ViGEmBus, SCPToolkit, DS4Windows, and Steam Input while preserving native DualSense / DualShock 3 SIXAXIS motion.

Interactive diagnostic INI & command generator

Pre-configured to Fix AMD cutscene spots, paths & gamepads. Switch between repositories and GPUs to copy exact troubleshooting lines.

Verified INI settings & directory paths
# SamiEnazi/infamous2-port (Vulkan v0.5.7)
# Settings Path: %APPDATA%\inFAMOUS2-port\settings.ini (or portable.txt in port root)
Disc / Edition:   BCUS98125 + Update 1.04
Saves Directory:  <port>\game\gamedata\dev_hdd0\home\00000001\savedata\
Trophies JSON:    <port>\game\gamedata\trophies\NPWR01730.json
RPCS3 Trophies:   <port>\game\gamedata\dev_hdd0\home\00000001\trophy\NPWR01730_00\TROPUSR.DAT
Mods Directory:   <port>\mods\<mod_name>\mod.json

# settings.ini (Desktop Vulkan 1080p / 1440p / 4K)
Internal Resolution: 1080p / 1440p / 4K (F2 -> Graphics)
Soft Shadows & AO:   Full-Res SSAO + HD Fire/Smoke (F3 compares PS3)
PS3_TROPHY_RPCS3_DIR=C:\Emulators\RPCS3
PowerShell, Bash & CLI helper commands
# Copy existing RPCS3 inFAMOUS 2 save folders into SamiEnazi port:
$rpcs3 = 'C:\Emulators\RPCS3\dev_hdd0\home\00000001\savedata'
$port  = 'C:\Games\inFAMOUS2\game\gamedata\dev_hdd0\home\00000001\savedata'
Copy-Item "$rpcs3\BCUS98125*" -Destination $port -Recurse -Force

# Sync earned trophies back into RPCS3 & Playnite Achievements:
Add-Content "$env:APPDATA\inFAMOUS2-port\settings.ini" 'PS3_TROPHY_RPCS3_DIR=C:\Emulators\RPCS3'

SamiEnazi backs up saves before every launch and writes TROPUSR.DAT.port-backup once before syncing NPWR01730 trophies into your RPCS3 folder.

Controllers for native PC, Deck & Mac builds

All four recompilation ports support hot-plugged USB and Bluetooth gamepads, dynamic PlayStation or Xbox button prompts, and virtual-pad deduplication when Steam Input or DS4Windows is active.

8BitDo Ultimate 2C Wireless Controller

Hall-effect sticks and analog triggers with low-latency 2.4G dongle and Bluetooth, auto-detected in SDL_GameControllerDB and XInput for New Marais aiming.

Check on Amazon

GameSir Super Nova Hall-Effect Gamepad

Drift-free Hall sensors, swappable face layout, and Switch/XInput modes supporting six-axis motion sensors and hotplug in bhuiyah D3D12 and SamiEnazi Vulkan.

Check on Amazon

8BitDo Pro 2 Bluetooth Gamepad

Symmetrical PlayStation-style dual sticks matching DualShock 3 thumb placement, plus rear paddles ideal for Static Thrusters hovering and Kinetic Pulse.

Check on Amazon

GuliKit KK3 Max Wireless Controller

TMR electromagnetic sticks and 1000 Hz polling rate built for 120+ FPS rooftop traversal across Windows 11, SteamOS Linux, and Apple Silicon macOS.

Check on Amazon

Affiliate disclosure: As an Amazon Associate, infamous2recomp.wiki earns from qualifying purchases at no added cost to you.

Troubleshooting FAQ

Quick answers on renamed folders, shader stutter fixes, and portable settings.

Why did renaming my game folder break SamiEnazi/infamous2-port?

Prior to v0.5.1, CMake build caches stored absolute directory paths inside work/, causing launches to fail if you moved or renamed the parent folder (issue #13). Updating to v0.5.1+ (current v0.5.7) resolves relative paths cleanly.

How do I stop first-playthrough shader compilation stutters?

Upgrade SamiEnazi/infamous2-port to v0.5.4 or newer (v0.5.7). Background Vulkan pipeline compilation reduced first-run frame freezes (>50 ms) from 13-25 stalls down to 1.

Where is settings.ini located in SamiEnazi/infamous2-port?

By default on Windows it lives at %APPDATA%\inFAMOUS2-port\settings.ini. If you create an empty portable.txt file inside the port directory, settings are stored directly inside your port folder instead.