Faça o seu pc parecer com a arq do X #52
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Freminet--ScarlettX#52
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@zaltronvitor-glitch on GitHub · 2026-11-25 00:44 UTC · original
metodologia de engenharia da Etapa 6, fazendo o meu PC (Intel Core i5-13420H de 4 P-Cores/8 threads + 4 E-Cores + RTX 4050 6GB VRAM + 16GB RAM) se comportar exatamente como a arquitetura de hardware do Xbox Series S:
ALOCAÇÃO DE PROCESSADOR IGUAL AO XBOX SERIES S (7 Núcleos Jogo + 1 Núcleo Sistema):
Reserve 1 núcleo físico (RESERVED_CPUS=1) para despacho de sistema/GPU.
Aloque exatamente 4 threads nos P-Cores (SHADER_THREADS=4 / workers=4) para compilação/tarefas pesadas, deixando os demais núcleos livres para as threads principais do jogo e para o módulo de Culling (campo de visão), sem causar inanição de CPU.
SIMULAÇÃO DA MEMÓRIA UNIFICADA DO SERIES S (Pools Rápido e Lento sem Gargalo PCIe):
O Xbox Series S divide a memória em 8 GB rápidos (224 GB/s para GPU) e 2 GB lentos (56 GB/s). Como minha RTX 4050 tem 6 GB (5.152 MB úteis no driver), isole a VRAM em dois pools que nunca estourem esse limite e nunca vazem para a RAM via PCIe:
Espelho de Buffers (Mirrors): 1700 MB fixos na VRAM.
Cache de Texturas Ativas: 1200 MB com compactação só em 90% (COMPACT_PCT=90) e retenção mínima de 300 frames (EVICT_MIN_UNUSED=300) para eliminar o thrashing de recarregar as mesmas texturas.
Reciclagem automática de memória virtual no Windows ativa (IMPORT_HIGH=80, IMPORT_LOW=65).
Corte o write-back inútil de listas de culling pela PCIe (WB_MAX_KB=512, WB_SHADOW_MB=128, WB_DIFF=1 / lazy write-back), sincronizando apenas os bytes modificados.
PERFIL GRÁFICO E ANTI-FLICKER DO SERIES S (Etapa 6):
Desative a resolução dinâmica (DYNRES=0) para o motor nunca destruir e recriar render targets no meio do gameplay (eliminando o bug "upload over a drawn image").
Trave a saída base em 1536x864 (ou 1080p) com escala 3D fixa em 67% (0.6667 = 1024x576), igual ao alvo interno de performance do Series S a 60 FPS.
Ative robustBufferAccess (ROBUST=1 / robust_buffers=2) para evitar flashes pretos no passe de GPU Culling.
DESPACHO IMEDIATO CPU -> GPU (MENOR MS POR FRAME):
Desative a retenção em lote (BATCH=0) e mantenha submissão direta com leitura parcial de readback (READBACK_PART=1) para o medidor de exposição de luz não piscar.
Ative descompressão/unswizzle de texturas direto nos Compute Shaders da GPU (GPU_UNSWIZZLE=1, LOW_VRAM_MIPS=1, TEX_MAX_DIM=1024).
Se houver shaders novos em tempo real, limite a espera a 2 ms e jogue o restante para segundo plano sem travar o frame.
INGLES************
Stage 6 engineering methodology, making my PC (Intel Core i5-13420H with 4 P-Cores/8 threads + 4 E-Cores + RTX 4050 6GB VRAM + 16GB RAM) behave exactly like the Xbox Series S hardware architecture:
RESERVED_CPUS=1) for system/GPU dispatch.SHADER_THREADS=4/workers=4) for compilation/heavy tasks, leaving the remaining cores free for the main game threads and the Culling module (field of view), without causing CPU starvation.The Xbox Series S splits memory into 8 GB fast (224 GB/s for GPU) and 2 GB slow (56 GB/s). Since my RTX 4050 has 6 GB (5,152 MB usable in the driver), isolate the VRAM into two pools that never overflow this limit and never spill over to RAM via PCIe:
Buffer Mirroring (Mirrors): Fixed
1700 MBin VRAM.Active Texture Cache:
1200 MBwith compaction only at 90% (COMPACT_PCT=90) and minimum retention of 300 frames (EVICT_MIN_UNUSED=300) to eliminate thrashing from reloading the same textures.Automatic virtual memory recycling on Windows enabled (
IMPORT_HIGH=80,IMPORT_LOW=65).Cut unnecessary write-back of culling lists over PCIe (
WB_MAX_KB=512,WB_SHADOW_MB=128,WB_DIFF=1/ lazy write-back), syncing only modified bytes.DYNRES=0) so the engine never destroys and recreates render targets mid-gameplay (eliminating the "upload over a drawn image" bug).1536x864(or 1080p) with a fixed 3D render scale at67%(0.6667=1024x576), matching the Series S internal performance target at 60 FPS.robustBufferAccess(ROBUST=1/robust_buffers=2) to prevent black flashes during the GPU Culling pass.BATCH=0) and maintain direct submission with partial readback (READBACK_PART=1) so the light exposure meter doesn't flicker.GPU_UNSWIZZLE=1,LOW_VRAM_MIPS=1,TEX_MAX_DIM=1024).