Cognition's Devin Now Runs Games at 60 FPS With Dedicated NVIDIA T4 GPUs
Cognition gave Devin's cloud VMs dedicated NVIDIA T4 GPUs, letting the agent actually play and debug games it builds in Unity, Unreal, and Godot.
Takeaways
- Devin cloud VMs now get a dedicated NVIDIA T4 via PCI passthrough, enabling real-time graphics work (details).
- Same Minecraft mod went from ~1 FPS on CPU to 60 FPS on T4, enabling visual debugging.
- Zero-trust card recycling: verification VM zeroes VRAM and shared memory between tenants.
- VNC replaced with H.264 over WebTransport/QUIC, decoded in browser via WebCodecs.
- NvFBC + NVENC keep capture and encoding on the card, cutting streaming CPU to a few percent.
- Indie devs can apply for $9K+ in credits, scaling studios up to $65K (apply).
Cognition's autonomous coding agent, Devin, can now render graphics and run CUDA workloads inside its hosted Linux sandboxes, according to the company's launch post. Each GPU-backed session receives a dedicated NVIDIA T4, allowing Devin to execute, inspect, and revise games, simulations, and machine learning code within the same environment where it writes them.
A visual loop running at 60 FPS
Before this release, Devin's standard cloud virtual machines lacked hardware-accelerated graphics, although Mac instances supported them. A game could compile successfully and then run at roughly 1 FPS, preventing the agent from testing animations, physics, and other visual behavior at a usable speed.
With a T4 attached, the same Minecraft mod reaches 60 FPS in Cognition's Minecraft demo. Devin can detect whether its virtual machine has a GPU and request one during a session when the workload requires it.
One VM gets one T4
Cognition assigns each GPU-backed virtual machine an entire NVIDIA T4 through PCI passthrough. Linux's VFIO framework gives the guest operating system direct access to the card, which runs with NVIDIA's standard driver as though it were installed in a physical workstation.
- At startup, the virtual machine monitor maps the card's control registers into the guest's address space, allowing commands to reach the hardware without routine interception.
- The host's input-output memory management unit restricts the GPU's direct memory access to pages owned by that virtual machine, blocking access to other tenants' memory.
- On dual-socket servers, Cognition claims the T4 first and then assigns CPUs from the same non-uniform memory access node, reducing traffic between processor sockets.
- When a GPU session sleeps, Cognition preserves files and code on disk but stops running processes. GPU memory and device state cannot be included in a virtual machine snapshot.
Scrubbing the card between tenants
GPUs can retain data in video memory, shared memory, caches, and error-correction settings after a workload ends. A PCIe reset does not reliably clear every form of device state, creating a potential data-leakage risk on multi-tenant servers.
Cognition marks a card as dirty as soon as a virtual machine claims it. After shutdown, the host resets the T4 and attaches it to a minimal, network-isolated verification virtual machine.
The verifier runs a PTX kernel, using NVIDIA's low-level GPU instruction format, to clear shared memory. It then allocates all video memory available under the previous tenant's error-correcting code setting, writes zeros throughout that memory, and reads every word back.
The verifier restores error correction and performs another reset when the previous session disabled it or when a faulty memory page awaits retirement. Any verification mismatch removes the card from the available pool.
A low-latency browser stream
Devin's previous browser desktop used VNC, which encodes changed screen regions as still images. That approach works for terminals and mostly static applications, but a 60 FPS game can change nearly every pixel on every frame.
Cognition now streams H.264 video that the browser decodes through WebCodecs, allowing a developer to watch the session and take control. A jitter buffer adapted from Moonlight holds frames for 15 to 250 milliseconds based on recent network variation and discards frames that arrive too late.
WebTransport over QUIC replaces TCP WebSockets for delivery. The new transport limits the head-of-line blocking that caused one lost TCP packet to delay subsequent video data.
Capture and encoding stay on the GPU
Devin's original capture path copied each completed frame from video memory into system memory and encoded it on the CPU. Under heavy GPU load, that copy could take about 24 milliseconds per frame, limiting output to roughly 41 FPS and consuming more than one CPU core.
Linux GPU sessions now use NVIDIA NvFBC to capture the framebuffer in GPU memory and NVENC to encode it there. The compressed H.264 stream is the only video data that crosses the PCIe connection.
| Metric | CPU capture | GPU capture |
|---|---|---|
| Steady frame rate | About 60 FPS | About 60 FPS |
| Slowest 1% frame gap | About 34 ms | About 21 ms |
| Streaming CPU use | More than one core | A few percent of one core |
| Time to first frame | About 0.1 seconds | About 0.7 seconds |
GPU capture adds roughly 0.6 seconds before the first frame appears. Once running, it delivers more consistent frame timing and returns most of the streaming path's CPU capacity to the workload.
Where a T4 helps
Game teams using Unity, Unreal Engine, or Godot are the clearest audience. The T4 also supports machine learning experiments, CUDA kernel development, simulations, and scientific software that depends on accelerated graphics or GPU compute.
Before hosted GPUs, these workloads required customer-supplied hardware through Devin Outposts, Cognition's option for running Devin on customer-controlled infrastructure. GPU-backed cloud sessions place the code, runtime, visual output, and agent in one hosted environment.
The indie credit offer
Cognition is promoting the launch through its indie credit program, with grants tied to participation and audience milestones:
- Starting grant: $1,337 in Devin credits for qualifying indie studios.
- Published demo: An additional $7,500 in credits for posting a clip of Devin building the studio's game.
- Scale grant: Eligibility to apply for up to $65,000 in credits after reaching 10,000 Steam wishlists, 100,000 downloads, or $100,000 in revenue.
T4-backed sandboxes and the indie program are available through devin.ai. Cognition says additional GPU types will follow, although the announcement does not provide a rollout schedule or separate GPU pricing.