Use your NVIDIA GPU's VRAM as swap space on Linux. Built for laptops with soldered memory and no upgrade path. If you have an RTX card sitting there with 8GB of VRAM and you're getting swapped to SSD, this puts that VRAM to work
nbd-vram is a tool that repurposes unused NVIDIA GPU memory as extra swap space on Linux laptops. It creates a small background program that allocates VRAM via the CUDA driver, then exposes it as a swap device that the kernel can use like normal memory. This gives laptops with limited soldered RAM access to additional fast memory through their graphics card, improving performance before hitting slower SSD storage. The project works without requiring any special kernel modules or NVIDIA kernel symbols, making it stable across driver and kernel updates.
How It Works
You learn that your laptop's NVIDIA graphics card has memory sitting idle while your computer struggles with limited RAM and slow SSD swap.
You download and run the installer, which automatically sets up the VRAM swap service to start automatically every time you turn on your computer.
You decide how much of your GPU's 8GB of memory to repurpose as fast swap space, setting it up so your computer uses the fast VRAM before slower storage.
Your laptop now has access to your normal RAM, plus your GPU's memory as fast swap, plus compressed memory and SSD storage as backup layers -- tripling what you can use.
You do a quick 1MB write-and-read check to confirm the VRAM swap is working correctly before relying on it.
You trust the setup and jump straight into using your apps, with the expanded memory working silently in the background.
Everything is running smoothly with your GPU's fast memory handling overflow from your RAM, making your computer feel more responsive.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.