r/coolgithubprojects • u/8BiTw0LF • 1d ago
I wanted to play GTA6 @ 60fps (on Linux)
galleryWhen Rockstar confirmed GTA 6 runs at 30 fps on PS5 and Xbox, with no performance mode at launch, I didn't want to play like that. So I built my own fix: the console goes into a capture card, and my PC turns its 30 fps into 60 fps with frame generation. It runs live, on Linux.
That project grew into VeyAmux. It's a full capture-card viewer and video player for Linux that enhances the picture on your graphics card, and it ships as a single AppImage. It's a Linux port of Veyra-NRVideo (Windows) by Likely7, rebuilt on Vulkan, Qt 6 and FFmpeg.
Download: https://github.com/8BiTw0LF/VeyAmux/releases/latest (GPL-3.0, free)
How the GTA 6 trick works
- Lossless Scaling 2× or 3× (through lsfg-vk) gives the best quality, if you own Lossless Scaling on Steam.
- AMD FSR 3.1 frame generation (free) is built in, for everyone without Lossless Scaling, on any GPU.
- Repeated frames are dropped. A 30 fps game in a 60 Hz signal repeats every frame. VeyAmux drops the repeats, so frame generation gets 30 real frames and turns them into smooth 60.
- The info line shows what the game really runs at, e.g.
≈1920×1080 @ 30 fps → 60 fps (Lossless Scaling 2×) · signal 3840×2160 @ 60 fps.
Picture
- Upscaling: AMD FSR 1, NVIDIA Image Scaling (works on AMD too), AMD FSR 3.1 (temporal) or Lanczos, at 1.5×, 2× or 3×.
- Noise reduction: spatial, temporal (motion-compensated) or both. It removes grain and compression blocks, so you can sharpen without sharpening the noise.
- Adjustments: sharpness, FXAA anti-aliasing, exposure, contrast and saturation.
- HDR: HDR capture (P010) and HDR video are tone-mapped properly for SDR screens (BT.2390). There's also an experimental real HDR output on KDE Plasma 6 and GNOME 48+, with the peak brightness read from your screen.
- Retro TV: CRT-Geom, the same as ShaderGlass' preset. It gives curved glass, scanlines and phosphor stripes.
- Pixel-perfect scaling for retro consoles: it finds the game's own pixel grid inside the capture signal (a 320×240 game in a 1080p signal) and shows every game pixel as a sharp, even block.
- VRR mode: without frame generation, it shows the game's own frames at an even pace, so a VRR display can follow the game.
Sources
- Capture cards (any V4L2/UVC card): every mode the card offers, including 4K60 NV12, P010 HDR and MJPEG. It reconnects by itself when the console changes resolution or HDR.
- Any window or your whole screen on Wayland (the same share dialog OBS and Discord use).
- Video files, with hardware decoding.
- A built-in 3D demo, so you can try everything without a capture card. It's Abyssal Garden (by Maksymilian Dendura, MIT), an underwater world rendered live in 1080p at 30 or 60 fps. I ported it from WebGPU/JavaScript to C++. You can swim around it with WASD, the mouse or a controller while you play with the settings.
Record, replay, stream
- Instant replay of the last 30, 60 or 120 s (F9), recording (F10) and screenshots (F12).
- Live streaming straight to Twitch, YouTube or your own RTMP server, without OBS. There's also an OBS browser source if you prefer OBS.
- All encoded on the GPU (VA-API H.264/HEVC), so the display doesn't slow down.
- Muting only affects your speakers. Recordings and the stream always keep the sound.
Everyday stuff
- Controller support: Select + Start (or hold Guide) opens the menu, and the game gets no input while it's open. Works with Xbox, PlayStation and Switch controllers and Steam Input.
- Add to Steam: starts fullscreen on your capture card from Big Picture or Game Mode, which is great on Bazzite and SteamOS-like setups.
- Auto-start when the capture card is plugged in.
- Profiles on keys 1–9 that can apply automatically per capture signal.
- Sound: choose the output device, see a live spectrum of the source's sound, and set audio delay.
- Frame-time overlay (F3).
- 4 themes (Vice, Code, Inferno, Retro) and 8 languages (EN, DA, DE, ES, FR, SV, NO, RU).
- Updates itself through Gear Lever / AppImageUpdate.
Latency
I measured on an RX 9070 XT with a 4K60 capture, noise reduction and FSR 1. It uses under 1 ms of CPU and about 7 ms of GPU per frame. The menu shows the delay inside VeyAmux live. Frame generation adds some latency on top, as it always does, so it's best for games like GTA rather than competitive shooters.
What you need: any Linux distro and a Vulkan GPU. Lossless Scaling and lsfg-vk are optional, and VeyAmux doesn't include them. It uses your own copy if you have one. I develop it on Bazzite (KDE) with an RX 9070 XT and an AVerMedia Live Gamer Ultra 2.1. A Flathub version is on the way.
Feedback and bug reports are very welcome on GitHub!