For the manual XML edits and CPU tweaks don't fully solve your problems, the definitive solution is a community-created mod known as the "Spider-Man Web of Shadows PC Fix." This is a powerful d3d9 wrapper that injects new functionality into the game, acting as a modern compatibility layer.
If you’re still stuck, reply with:
[Video] Fullscreen=1 Width=1920 Height=1080 spiderman web of shadows config file download fix
: If you are playing on a Steam Deck or Linux, the launcher requires components, which can be installed via Protontricks Review of the Fix BEST Way to Play Spider-Man Web of Shadows For the manual XML edits and CPU tweaks