hypervising GitHub avatar

gta-enhanced-audio-queue-poc

hypervising

一个概念验证工具,通过消除 GTA V Enhanced 中同步三槽音频队列的粗略等待延迟,将帧率从约 260 FPS 提升至约 499 FPS。

Stars

3

7 天增长

暂无数据

Fork 数

0

开放 Issue

0

开源协议

暂无数据

最近更新

2026-07-29

AI 仓库情报摘要
FR-AI / ANALYSIS

为什么值得关注

它针对一个微妙的 CPU 端卡顿提供了具体、可测量的修复方案——该卡顿此前被游戏自身的 FPS 计数器忽略——并配有汇编分析和现场演示。

适合谁使用

  • 尽管 FPS 显示很高但仍然遇到卡顿的 GTA V Enhanced 玩家
  • 游戏性能修改者和逆向工程师
  • 对音频同步瓶颈感兴趣的开发者

典型使用场景

  • 改善 GTA V Enhanced 的帧率节奏并减少卡顿
  • 诊断被 GPU 指标掩盖的 CPU 端瓶颈
  • 在类似游戏引擎中实验音频队列调优

项目优势

  • 可测量的 1.9 倍 FPS 提升(260→499 FPS)
  • 无侵入性——仅修改运行时内存,不修改磁盘文件
  • 提供两种变体(V1 和 V2)以便测试安全性
  • 附带清晰汇编笔记和 RVA 地址,便于复现

使用前须知

  • 仅针对 GTA5_Enhanced.exe 的单一版本(1.0.1158.13)
  • 概念验证状态——V2 仍被视为实验性
  • 仅供私人/离线研究使用,不适用于一般分发

README 快速开始

gta enhanced audio queue thing

hello. this is a very build-specific POC for a weird audio wait in GTA V Enhanced.

It started with me posting this early-access report because the game would say "247 FPS" insisting everything was fine.

My eyes disagreed. Someone was lying, and it wasn't the GPU.

The slow frames looked CPU-side and someone reminded me that Legacy FiveM had that suspiciously useful game_useSynchronousAudio convar, and off I went.

A while later I was looking at a three-slot audio queue selected through TLS. normal evening :D.

The actual notes are in docs/notes.md. They contain assembly, guessed names, half-finished thoughts, and the current reason I do not completely trust V2 yet.

video first, explanations later

https://github.com/user-attachments/assets/abbcb3bd-ffc7-4ebe-9904-5320b3c08154

quick performance report

The overlay sits around 260 FPS before the patch and about 499 FPS after it, so the visible difference in this clip is roughly +239 FPS, or 1.9x.

runtime statevisible FPS
original~260
patched~499

the stall disappears, frame pacing cleans up, and the game still makes noises. honestly, that last requirement became more important than expected.

what the exe does

.\audio_queue_poc.exe --status
.\audio_queue_poc.exe --restore
.\audio_queue_poc.exe --apply
.\audio_queue_poc.exe --apply-v2
  • --status: stare at the bytes, touch nothing
  • --restore: original runtime code
  • --apply: V1, removes three coarse/bounded queue delays
  • --apply-v2: V1 plus a zero-timeout update-side slot check

Restarting GTA restores the original mapping too. Nothing on disk is patched.

V2 is the interesting one, but "interesting" and "finished" are not synonyms. Three queue slots might be plenty. Three queue slots might also be a future audio glitch wearing a fake moustache. needs longer testing.

build

x64 Visual Studio 2022 Developer PowerShell:

cl /nologo /std:c++20 /EHsc /W4 /O2 src\audio_queue_poc.cpp bcrypt.lib /link /out:audio_queue_poc.exe

one build. literally one

GTA5_Enhanced.exe 1.0.1158.13
timestamp  0x6A4F97F6
image size 0x05B81000
sha256     0C52864D4521D9C9D441348AA1156958792DDE8825D0297C851753F167336401

The program checks that identity plu

项目描述

GTA Enhanced/FiveM Gen9 audio queue POC: ~260 to ~499 FPS in a same-scene test

相关仓库与替代方案

根据分类、Topic 和编程语言匹配的相似项目。

Krishnagangwal
精选
Krishnagangwal GitHub avatar

CS-Fundamentals

A curated collection of Computer Science fundamentals (PDFs, notes, cheatsheets, interview question banks) for placement preparation, covering seven core subjects plus general resources.

数据与数据库数据库与存储
2,326
xiejunjie524
精选
xiejunjie524 GitHub avatar

handdraw-story-video

A tool that converts 7–9 hand-drawn story keyframes into a 35–45 second vertical video with progressive line art and color animation, configurable via JSON and renders with HyperFrames and GSAP.

设计与创意
692
gnipbao
精选
gnipbao GitHub avatar

story-to-handdrawn-video

A Remotion-based tool that converts Chinese story text or ordered hand-drawn images into vertical hand-drawn diary-comic animation with handwritten captions, left-to-right reveals, optional page-curl transitions, and silent H.264 output for post-production dubbing.

AI 与机器学习AI 智能体
683