Watch this AMD dev code FSR 2.0 into a game engine from scratch in under an hour

Since going open source, AMD's FidelityFX Super Resolution 2.0 tech has been hacked and modded into a host of different games. But thanks to a Discord livestream that was uploaded to YouTube, we can get a peak behind the curtain at just how straightforward it is to add FSR 2.0 into a game engine from scratch.

Panos Karabelas is a former Codemasters rendering programmer, now AMD software development engineer. But he's only been with the red team a matter of months, which means he was nothing to do with the development of the upscaling tech, and says he's never actually used it before.

So, how better to get acquainted with your new employers' shiny technology than showing off your coding skills in a livestream?

Using his own Spartan Engine, a personal open source C++ playground, Karabelas demonstrates the entire process from downloading the repository on Github, jamming it into Visual Studio and then coding it into his engine from scratch in less than 60 minutes.

The first thing he notes is the "amazingly good documentation… it's massive," he says. "They explain everything… It's one of the reasons I felt so confident about doing this live.

"If you have a modern engine, it should be easy. If your engine is a little bit older tech, there is more work to do."

You can watch the entire process of implementing FSR 2.0 in real time because it takes him so little time. He does note that he has experience of upscaling from working on Dirt 5, but that was before FSR 1.0 was even born.

And it compiles first time. He hits into an initial snag with first jitter and then velocity, but in all it takes less than four minutes for Karabelas to debug the code and get AMD's upscaler running perfectly within the blocky, Minecraft-y demo scene he uses.

He's using a Radeon RX 6800 XT and upscaling from 1280 x 720 to 2560 x 1440 in order to really push FSR 2.0 and not give it any flexibility. And he's visibly surprised by just how quickly he's got the tech up and running, along with just how good it looks.

"I can hardly believe it. Wow," he exclaims. "That's insane, guys. You realise what just happened? FSR2 just worked like that. That's insane. I wasn't expecting this."

Your next upgrade

(Image credit: Future)

Best CPU for gaming: The top chips from Intel and AMD
Best gaming motherboard: The right boards
Best graphics card: Your perfect pixel-pusher awaits
Best SSD for gaming: Get into the game ahead of the rest

And, in fact, it actually works better than at the native 1440p resolution, too. Karabelas demonstrates what the scene looks like at native, with some pixel crawling and shimmering in the distance. But as soon as he switches back to 720p and FSR 2.0 upscaling that all disappears leaving a remarkably stable, clear scene.

"This is a basic implementation I did," he says. "I didn't do reactive mask, I didn't do transparency and composition, I didn't enable sharpening. This is as barebones as it gets."

And yet in such a short while FSR 2.0 is running incredibly well in a game engine which has never seen it before. If that doesn't impress upon you just what a great job AMD has done with its second-gen upscaler I don't know what to tell you.

TOPICS
Dave James
Editor-in-Chief, Hardware

Dave has been gaming since the days of Zaxxon and Lady Bug on the Colecovision, and code books for the Commodore Vic 20 (Death Race 2000!). He built his first gaming PC at the tender age of 16, and finally finished bug-fixing the Cyrix-based system around a year later. When he dropped it out of the window. He first started writing for Official PlayStation Magazine and Xbox World many decades ago, then moved onto PC Format full-time, then PC Gamer, TechRadar, and T3 among others. Now he's back, writing about the nightmarish graphics card market, CPUs with more cores than sense, gaming laptops hotter than the sun, and SSDs more capacious than a Cybertruck.

Read more
Cyberpunk upscaling
New modder tool makes it easier than ever to swap AMD's FSR 4 scaling for Nvidia's DLSS or Intel's XeSS and vice versa
A slide from an AMD presentation showing Space Marine 2 running at 3.5x the frame rate at 4K with FSR 4 and frame generation enabled
'Infused with AMD DNA': FSR 4 has been announced with a healthy dose of machine learning and support for 30+ games at launch
Slides showing FSR 4's implementation in Space Marine 2 compared to previous versions
AMD says 'there is a ton of interest' in FSR 4 and that it is 'working very hard to make sure the next blockbusters that come out are enabled with FSR 4 technology'
Black Ops 6
FSR 4 may be a simple upgrade for FSR 3.1 games according to leaks, which hopefully means we won't see a repeat of FSR 3's poorly-supported launch
Avowed - Beothel's Grimoire
There's a simple way to enable FSR 3 frame gen in Avowed and it more than doubled my frame rate, but it makes waterfalls look ugly as sin
A screenshot showing some ghosting during AMD's Toyshop demonstration video.
AMD says its ghostly 'Toyshop tech demo is truly not reflective' of what FSR4 will look like when it ships with the RDNA 4 cards this week
Latest in Graphics Cards
Nvidia App
Hmmm, upgrades: Nvidia App gets an optional AI assistant and custom DLSS resolution scaling
A close-up photo of an Nvidia RTX 4070, with its heatsink removed, showing the AD104 GPU die and the surrounding Micron GDDR6X VRAM chips
With Nvidia Ace taking up 1 GB of VRAM in Inzoi, Team Green will need to up its memory game if AI NPCs take off in PC gaming
A collage of Radeon RX 9000 series graphics cards, as shown in AMD's promotional video for the launch of RDNA 4 at CES 2025
AMD's CEO claims 9070 XT sales are 10x higher than all previous Radeon generations but that's just for the first week of availability
Colorful iGame RTX 5070 Ti Vulcan OC graphics card from various angles
The RTX 5060 and RTX 5060 Ti are rumoured to be mere weeks away, with board partners reportedly required to ensure at least one MSRP model at launch
Nvidia headquarters
Nvidia CEO sets sights on making 'several hundred billion' dollars worth of electronics in the USA over the next four years, increasing the chance of your next GPU being made in America
The Asus ROG Astral GeForce RTX 5090 Dhahab Edition, a gold-plated graphics card on a sand dune background
A Jensen Huang-signed version of this golden Asus RTX 5090 will be auctioned off to support relief efforts for the California wildfires
Latest in News
Lara Croft Unified Art
Tomb Raider developer Crystal Dynamics lays off 17 employees 'to better align our current business needs and the studio's future success'
A long bendy arm stealing money from people in a subway car
'You're a very long arm. You steal things. It's a comedy game,' explains developer of comedy game where you steal things with a very long arm
The heroes are attacked by monsters
Pillars of Eternity is getting turn-based combat to mark its 10th anniversary, and that means PC Gamer editors will soon be arguing about combat mechanics again
Image of Ronaldo from Fatal Fury: City of the Wolves trailer
It doesn't really make sense that soccer star Ronaldo is now a Fatal Fury character, but if you follow the money you can see how it happened
Junah beginning a battle in Metaphor: ReFantazio.
Today's RPG fans are 'very sensitive to feeling like they wasted time' when they die, says Metaphor: ReFantazio battle planner—but Atlus still made combat hard anyway
Image of Cersei Lanniser from Game of Thrones: Kingsroad Steam early access trailer
A new Game of Thrones RPG is coming to Steam today with a cast of 'familiar faces,' which is good because it's really the only way to tell it's a GoT game at all