r/coolgithubprojects • • 17d ago

I wanted to play GTA6 @ 60fps (on Linux)

When 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!

59 Upvotes

22 comments sorted by

3

u/Pulec 16d ago

So expected play is some capture card and do processing on PC while playing with ps5/xbox controller?

For PS5 how about using https://github.com/chiaki-ng/chiaki-ng along, on LAN it should be fast enough, though some compression will appear.

At least some alternative for people without capture card I guess.

2

u/8BiTw0LF 16d ago

I'll look into it. Thanks

2

u/8BiTw0LF 16d ago

2

u/Pulec 13d ago

It works quite well, I am still comparing with chiaki-ng that uses lsfg-vk but at least it's defaults have significant compression that I didn't see with VeyAmux.

even pacing at 2x scalling worked best for me, but I had significant spikes visible via the F3 menu, I had less of those in chiaki but they are there as well. FSR 3.1 frame gen is too much artefacts especially around subtitles but significant in cutscenes as well, I wouldn't recommend it, even though it's probably smoothest.

Either way GTA 6 must be played with some kind of frame gen, once I saw faked 60 fps, I can't go back to 'native 30fps slideshow'.

I'll keep testing and report later, via github best i guess.

1

u/8BiTw0LF 12d ago

Thanks for feedback. I just updated the app to 1.6 - and there's a fix for smoother framegen. Feedback on GitHub is very welcomed

2

u/Fenderenko 16d ago

I would choose 30 stable fps without latency than 60 with artifacts and jelly-like controls. Anyway, I hope this option will find those who will enjoy the gameplay.

2

u/8BiTw0LF 16d ago

This is build with latency in mind (lossless scaling) and artifacts can be compromised more than PS5 can do itself with the implemented de-noisers.

2

u/hideousapple99 13d ago

What's the point if the game isn't running 60 fps and you add input delay

0

u/8BiTw0LF 13d ago

Input delay is minimal. Picture is much better in motion

2

u/Serene_KO 12d ago

Just worked on this today, with elgato 4k x and steam os on custom pc, 9600x with rx 9070. AMD FSR 3.1 doesn't work well, so you want to use lossless. Also, frame gen works in steam big picture mode but stops working after 5 seconds, probably because gpu is going idle/low power mode. Wiggling mouse keeps frame gen going in big picture mode.

2

u/8BiTw0LF 11d ago

Hi! I tried locking my capture card to 30fps and that helps with LS. Tomorrow I'll look into how to automatically lock it, if the input is 30fps and then try to apply some vsync. LS is heavily dependent on locked framerates

1

u/Serene_KO 10d ago

Thanks - so I set up my input as 4k(NV12) 30fps?

1

u/8BiTw0LF 10d ago

Yes exactly. Make sure you use newest build. It comes with a bunch of enhancements

2

u/Serene_KO 9d ago

Just tested the updated version, and it works great! I like how you can now set the favorites on resolution, and audio clipping is gone. I haven't tested the big picture mode yet, has that issue been resolved?

1

u/8BiTw0LF 8d ago

Thanks! I've tested big picture mode myself and found no problems

1

u/8BiTw0LF 12d ago

Thanks for testing! I'll look into the Steam big picture issue

1

u/alysie34 14d ago

Tem algum semelhante para windows?

1

u/8BiTw0LF 14d ago

Yes, this is build upon Veyra-NRVideo

1

u/8BiTw0LF 14d ago

Yes, this is build upon Veyra-NRVideo

1

u/Odd_Bumblebee_3631 14d ago

Surely that's worst than just running at 30fps. I'm really happy that iv always had laptops that can barely play the intensive games I like so 30fps has always looked fine to me..

-1

u/GreenAnswer4086 17d ago

Small correction: the screenshot doesn't actually show GTA6 running at 60 fps, it shows a video drop window with two "Demo" presets. Nothing in that interface has anything to do with the game playing.

5

u/8BiTw0LF 17d ago

Game isn't out yet. I've tested many 30fps PlayStation games and implemented the Abyssal Garden demo today, so people can test without a capture card

0

u/[deleted] 16d ago

[deleted] — view deleted comment

1

u/8BiTw0LF 16d ago

It should and if it doesn't please report back to me. I just released 1.2 with remote play and better support for handhelds: https://github.com/8BiTw0LF/VeyAmux/releases/tag/VeyAmux-V.1.2