TESTING (9070XT BRANCH) #648

Open
opened 2026-11-27 16:24:54 +00:00 by github-bot · 3 comments
Owner

@⁠timmmyyyyyyy on GitHub · 2026-11-27 16:24 UTC · original

VICTORY PERFORMANCE AND MEMORY INVESTIGATION
RX 9070 XT FORK — DIAGNOSTIC LOG ANALYSIS, SOURCE-CODE FINDINGS AND POTENTIAL AREAS FOR INVESTIGATION

Repository: Belobug/VIctory-Belobug-AMD
Branch investigated: rx9070xt
Date: November 27, 2026

  1. SUMMARY

I have been investigating severe performance degradation and unusually high memory consumption while running the Xbox build through VIctory on an RX 9070 XT.

The observed performance varies depending on the environment being rendered:

  • Approximately 16 FPS over city and land areas.
  • Approximately 24–30 FPS over open water.
  • Approximately 17–22 FPS in semi-open water areas.
  • Significant stuttering and inconsistent frame delivery.

During testing, memory consumption increased substantially. At one recorded point, system RAM usage was approximately 48GB, while the process reported approximately 49GB of private memory.

I reviewed the diagnostic output alongside several areas of the repository's source code. Multiple findings stood out involving:

  1. GPU-local memory pressure.
  2. Texture-pool allocation and unused capacity.
  3. Descriptor/view-table growth and shape-table saturation.
  4. Host-side copies of title memory.
  5. CPU-side submission overhead and GPU queue starvation.
  6. Large volumes of memory refresh and copy operations.
  7. Shadow-memory allocation and write detection.

Together, these findings suggest that memory management, resource tracking, and CPU-side translation overhead may be contributing to the performance problems.

There are several specific areas of the implementation that I believe warrant further investigation.

This report is intended to share the evidence and possible explanations with the developers, not to claim that I have definitively identified the root cause.

  1. TEST HARDWARE AND WHY IT MATTERS

I am running these tests on a relatively high-end gaming system, not a low-spec PC with limited system memory, an older graphics card, or a weaker processor.

My system specifications:

CPU: AMD Ryzen 7 9800X3D
GPU: ASUS PRIME Radeon RX 9070 XT White OC
GPU architecture: AMD RDNA 4
Dedicated GPU memory: 16GB GDDR6
System RAM: 64GB DDR5-6400 (2 x 32GB)
Motherboard: ASUS ROG Strix B850-A Gaming WiFi
Operating system: Windows 11 Home, 26H2

The Ryzen 7 9800X3D is one of the highest-performing gaming CPUs available, and the RX 9070 XT is a modern RDNA 4 graphics card with 16GB of dedicated GDDR6 memory.

I am highlighting these specifications because they provide important context for the results.

Despite having 64GB of fast system RAM, a modern 16GB RDNA 4 GPU, and one of the strongest gaming CPUs available, I am experiencing very poor frame rates alongside substantial memory consumption and significant CPU-side submission activity.

I am not suggesting that expensive hardware should automatically make every compatibility workload run well. The title, driver, translation layer, and workload all matter.

However, the results are significant enough that I believe the memory-management and rendering implementation deserve closer investigation before the problem is treated as a simple hardware-performance limitation.

Having 64GB of system RAM also gives me a useful testing environment for particularly memory-intensive builds and experimental tools. I can investigate workloads that may be difficult to launch or reproduce on machines with less available RAM.

  1. OBSERVED PERFORMANCE

Performance changes considerably depending on the environment being rendered.

City and land areas: Approximately 16 FPS.
Open water: Approximately 24–30 FPS.
Semi-open water: Approximately 17–22 FPS.

There is also substantial stuttering and inconsistent frame delivery.

At approximately 16 FPS, a frame takes around 62.5ms to complete.

The difference between open water and city/land environments is also interesting. It suggests that the workload changes considerably depending on the scene, although the logs alone do not identify exactly which resources or operations are responsible.

During testing, GPU temperatures were reported around 75–87°C, while CPU temperatures were approximately 35–54°C. These readings are included for context, not as proof of a thermal cause.

The performance variation makes it important to investigate resource creation, memory refreshes, descriptor activity, and submission overhead across different environments rather than looking only at average GPU utilisation.

  1. GPU-LOCAL MEMORY PRESSURE

One of the clearest findings is that GPU-local memory was operating extremely close to its reported WDDM budget.

The diagnostic log recorded:

Local GPU memory budget: 14,183 MB
Local GPU memory in use: 13,829 MB
Remaining local budget: 354 MB
Non-local memory budget: 48,028 MB
Non-local memory in use: 13,084 MB

The local segment was therefore using approximately 97.5% of its reported budget.

This is particularly relevant because the system has a physical 16GB RX 9070 XT, but the usable WDDM local-memory budget is not necessarily the full physical VRAM capacity.

The logs also report approximately 7,837MB of local memory that could still be reserved. This should not be interpreted as free VRAM. It is an available-for-reservation figure, not the difference between current usage and the budget.

WHY THIS INTERESTS ME

The renderer is operating with very little remaining local-memory budget.

This could increase pressure on resource allocation and make the system more dependent on alternative memory paths when local allocations cannot be accommodated.

The shadow.rs implementation manages card-local copies of title memory and can fall back to shared CPU-accessible buffers when local allocations cannot be accommodated or configured limits are reached.

This means there are several different memory-management paths involved rather than every resource simply being allocated directly into VRAM.

WHAT THIS MIGHT SUGGEST

There may be an opportunity to improve how VIctory balances local GPU allocations against CPU-accessible shared allocations, particularly when the available local budget becomes very small.

I would not recommend blindly increasing local-memory copy thresholds. With only approximately 354MB of remaining local budget in the recorded snapshot, increasing local allocations could make the situation worse.

Relevant source:
crates/victory-gpu/src/shadow.rs

  1. TEXTURE POOL — POTENTIAL INTERNAL FRAGMENTATION

The texture-pool diagnostics are particularly interesting.

The logs report:

Total texture-block capacity: 6,656 MB
Free capacity inside texture blocks: 4,297 MB
Occupied capacity implied by these figures: 2,359 MB
Texture staging buffers reported in blocks: 576 MB

The important distinction is that the 4,297MB of free capacity is reported inside allocated texture blocks. It is not necessarily memory that has already been returned to the operating system or made available to other GPU allocations.

The implementation in pool.rs uses 64MiB blocks:

const BLOCK: u64 = 64 << 20;

Texture resources are allocated within these blocks using default GPU heaps.

The pool has a reclamation mechanism. However, completely empty blocks can be released, whereas partially occupied blocks cannot necessarily be returned in their entirety.

For example, a 64MiB block could contain a small active texture allocation while most of its capacity remains unused. That unused capacity may remain allocated because the entire block is not empty.

The logs' reported figures are consistent with this possibility.

WHY THIS INTERESTS ME

Approximately 4.3GB of the reported texture-block capacity appears to be unused.

That is a substantial amount of capacity to retain inside the texture pool, particularly when the GPU-local memory budget is already approximately 97.5% utilized.

This does not mean all 4.3GB is necessarily recoverable. Some of it may be unavoidable allocation overhead or capacity that cannot be reclaimed without moving active resources.

However, it raises questions about whether the current allocation granularity is appropriate for the workloads being translated.

WHAT THIS MIGHT SUGGEST

The texture pool may be experiencing significant internal fragmentation.

Potential areas worth testing include:

  • Smaller allocation blocks.
  • More granular reclamation.
  • Better tracking of block occupancy.
  • Identifying resources that prevent otherwise mostly empty blocks from being released.
  • Comparing memory usage under different block sizes.

I would be interested in seeing a block-occupancy histogram to determine how much capacity is stranded in partially occupied blocks.

I am not suggesting that reducing the 64MiB block size is automatically the correct fix. Smaller blocks could increase allocation overhead and introduce other performance costs. It would need controlled testing.

Relevant source:
crates/victory-gpu/src/pool.rs

  1. DESCRIPTOR/VIEW TABLE — SHAPE LIMIT REACHED

This is potentially one of the most significant findings in the entire investigation.

The descriptor diagnostics report:

Distinct views kept: 18,639,997
Free entries reported: 0
Placed-view shapes retained: 4,194,304
Estimated memory held by distinct views: 9,138 MB
Placed-memory views named since start: 728,271,982
Constant-buffer views named since start: 374,840,464

The source code in descriptor.rs defines a maximum number of shapes:

const SHAPES: usize = 1 << (62 - PLACED_ADDRESS_BITS);

With PLACED_ADDRESS_BITS set to 40, this calculates to a limit of exactly 4,194,304 shapes.

The diagnostic output reports exactly 4,194,304 retained shapes.

HOW THE IMPLEMENTATION APPEARS TO WORK

VIctory attempts to represent views using compact shape information.

The shape-generation process uses resource and view descriptor data to determine whether an existing representation can be reused.

When a shape is available, the implementation can use the more compact representation.

However, when a new shape cannot be obtained because the shape table has reached its limit, the code can fall back to storing a full placed-view entry through the view-table path.

The relevant fallback involves:

views_write().entry(view)

The view-table diagnostics report:

Constant-buffer views: 1
Placed-memory views: 18,631,827

The implementation also has an important distinction in its resource-lifetime handling.

View::resources() can return resource handles for shader and unordered views. Placed views return no resource handles.

The source comments indicate that placed views without resource objects do not have the same resource-based release mechanism and can be retained for the duration of the run.

WHY THIS INTERESTS ME

The logs show that the shape table reached its maximum capacity while the retained-view count exceeded 18.6 million.

The fallback path and the lifetime of placed-view entries could therefore be important factors in understanding the memory growth.

I am particularly interested in whether continuously encountered descriptor combinations cause the table to fill and subsequently force large numbers of full placed-view entries to be stored.

The diagnostic output also reports an estimated 9,138MB associated with distinct views. That is an extremely large amount of memory attributed to descriptor/view tracking.

This is an estimate generated by VIctory's accounting, not an independently measured physical allocation. It should not be added directly to other memory counters without checking for overlap.

WHAT THIS MIGHT SUGGEST

There may be a descriptor-management scalability or lifetime-management problem under this particular workload.

Potential investigation areas:

  • Identify which fields in the resource and view descriptions create new shape keys.
  • Determine whether some fields vary unnecessarily.
  • Check whether all unique shapes need to remain distinct.
  • Investigate whether fallback placed-view entries can be safely reclaimed.
  • Examine whether the shape-table limit and fallback mechanism behave as intended with millions of different placed-memory views.
  • Measure memory growth before and after the shape table reaches capacity.

I would particularly like to understand what causes the shape table to reach its exact maximum and whether the resulting fallback behaviour is contributing to the unusually high memory usage.

Relevant source:
crates/victory-gpu/src/descriptor.rs

  1. HOST-SIDE MEMORY CONSUMPTION

The host-side memory figures are another major concern.

The recorded memory snapshot reported:

VIctory process private memory: 49,109 MB
Private memory resident in RAM: 31,589 MB
Host copies of title memory: 6,733 MB
Host textures: 6,167 MB
Snapshot buffers: 52 MB
Live texture staging allocations: 56 MB

Additional diagnostics reported:

  • 4,946 live host copies of title memory.
  • 1,331 windows outside buffers, accounting for approximately 5,672MB.
  • 22,793 live host textures.
  • 6,656MB of texture blocks.
  • Approximately 9,138MB estimated for distinct views.
  • Approximately 11,995MB reported under the diagnostic category for VIctory's own allocations.

These values represent different accounting categories and should not simply be added together. Some may overlap or describe different aspects of the same allocations.

A CLOSER LOOK AT SHARED BUFFERS

The host.rs implementation includes a shared_buffer() path that creates CPU-visible system-memory buffers using:

Type: D3D12_HEAP_TYPE_CUSTOM
CPUPageProperty: D3D12_CPU_PAGE_PROPERTY_WRITE_BACK
MemoryPoolPreference: D3D12_MEMORY_POOL_L0

This is important because it shows that VIctory maintains CPU-accessible memory representations of title memory.

The compatibility layer therefore has to manage more than just GPU-local resources. It also maintains host-side copies and structures that can be accessed by the CPU and used by the GPU.

This is expected to be part of the compatibility layer's memory-management approach, but the amount of memory involved is worth investigating.

CUMULATIVE VERSUS LIVE ALLOCATIONS

The diagnostic output also includes:

719 upload buffers       4000 MB
229920 shared buffers   46050 MB
68719 card buffers      17312 MB

These figures appear under the "made so far" counters.

They are cumulative creation statistics, not current live allocation totals. They should not be interpreted as the amount of memory currently allocated.

WHAT THIS MIGHT SUGGEST

The title's memory representation inside VIctory may require substantial additional host-side storage.

The descriptor/view table, title-memory copies, host textures, and associated resource structures could collectively contribute to the unusually high process memory consumption.

I would be interested in whether some of these structures grow continuously during gameplay, whether they stabilize after loading, and whether they are released when no longer required.

The most useful additional measurement would be tracking the live allocation counters over time, rather than relying on a single snapshot.

  1. CPU-SIDE SUBMISSION OVERHEAD

The logs contain evidence of a potentially significant CPU-side bottleneck.

One recorded per-frame breakdown reports:

Frame time: 65.4–65.6ms
Frame rate: 15.2–15.3 FPS
Submission-thread work: 60.5ms
Frame preparation: 53.7ms
Copy-related work: 20.7ms
Texture-related work: 0.5ms
Copy-back work: 16.9–18.8ms

The submission-thread diagnostics also report:

  • Approximately 28 submissions prepared per frame.
  • Approximately 15.7 submissions waiting in line at one recorded sample.
  • A maximum observed queue depth of approximately 39.
  • Approximately 49,891 translated list calls per frame.
  • Approximately 213.6–218ms of aggregate list-translation worker time.

The list-translation time is aggregate time across worker threads, not additional wall-clock frame time.

This distinction is important when interpreting the numbers.

WHY THIS INTERESTS ME

The submission thread appears to be spending a very large proportion of each frame preparing and translating work.

If the GPU is capable of processing work faster than VIctory can prepare and submit it, the GPU may be left waiting for additional commands.

That possibility is supported by the queue diagnostics discussed in the next section.

The Ryzen 7 9800X3D is a high-performance gaming CPU, but that does not eliminate the possibility of a bottleneck in a heavily serialized submission thread.

This is about the amount and structure of the work VIctory must perform, not simply whether the processor is powerful enough.

WHAT THIS MIGHT SUGGEST

The rendering pipeline may be limited by CPU-side translation and resource-management overhead rather than solely by GPU rendering performance.

The number of translated list calls per frame is particularly interesting.

It may be worth investigating whether the same kinds of descriptor, resource, and command-list work are being repeated unnecessarily, or whether there are opportunities to reduce the amount of translation required.

Relevant areas:
crates/victory-gpu/src/host.rs and the list-translation/submission implementation.

  1. GPU QUEUE STARVATION

One of the most interesting relationships in the logs is between submission-thread activity and the amount of time the internal GPU queue is empty.

The diagnostic output reports approximately:

Internal card-busy measurement: 42–44%
GPU queue empty per frame: 36–39ms
Queue-empty time while submission thread works: 33–37ms
Submission-thread time per frame: 60.5ms

The important observation is that the GPU queue is empty for a substantial portion of the frame while the submission thread is still working.

WHY THIS MATTERS

An empty queue means the compatibility layer is not reporting further queued work for the GPU to process at that moment.

If the submission thread is still preparing commands, this could mean the GPU is waiting for the CPU-side pipeline to finish preparing additional work.

This is consistent with a potential CPU-side submission bottleneck.

It may also help explain why the performance does not appear to scale with the available GPU resources.

AN IMPORTANT DISTINCTION

The internal 42–44% card-busy measurement is not necessarily equivalent to AMD's overall GPU utilisation reading.

They measure different things.

AMD's overlay can report high overall GPU utilisation while VIctory's internal queue-accounting counters show significant periods where the submission queue is empty.

I would not use either measurement in isolation to determine whether the GPU is the sole bottleneck.

WHAT THIS MIGHT SUGGEST

The submission and translation pipeline deserves further profiling.

In particular, I would investigate whether descriptor lookups, resource tracking, memory copying, and command-list translation are preventing VIctory from keeping the GPU supplied with work.

This is one of the strongest reasons I believe the problem should not be approached purely as a GPU-performance issue.

  1. MEMORY COPYING AND REFRESH ACTIVITY

The logs show substantial memory-copy and refresh activity.

Some recorded figures include:

Host copies transferred upward per frame: ~34.9 MB
Host copies fetched per frame: ~48.1 MB
Combined reported host-copy traffic: ~83 MB/frame
One tracked copystat operation: ~1,099 MB/frame
Refresh operations: ~30,754
Reported refresh volume: ~20,926 MB/frame

The copystat diagnostics are particularly large.

One tracked source address was reported as being copied six times per frame, accounting for approximately 1,099MB per frame according to that operation's counter.

Another counter reported approximately 30,754 refreshes and more than 20,926MB of refresh volume per frame.

These are internal diagnostic counters. They should not automatically be interpreted as equivalent amounts of physical PCIe traffic or unique data physically transferred.

The counters may represent logical ranges processed, repeated refresh accounting, or other tracked operations.

WHY THIS INTERESTS ME

The compatibility layer appears to be doing considerable memory-refresh and copy-related work.

The frame summary also reports approximately 20.7ms of copy work and 16.9–18.8ms of copy-back work.

That is a meaningful portion of a frame that is already taking approximately 65ms.

WHAT THIS MIGHT SUGGEST

There may be an opportunity to reduce redundant memory refreshes, repeated range processing, or unnecessary synchronization.

Potential investigation areas include:

  • Whether memory regions are being refreshed more frequently than necessary.
  • Whether repeated ranges can be combined.
  • Whether unchanged memory is being processed again unnecessarily.
  • Whether copy operations are being triggered by descriptor or resource-management behaviour.
  • Whether the copy-back path is contributing significantly to CPU-side frame preparation.

I would like to establish exactly what the largest refresh counters represent before drawing conclusions about actual memory-bus traffic.

  1. SHADOW MEMORY AND WRITE DETECTION

The shadow-memory diagnostics report approximately:

Shader-write ranges examined per frame: 100.1 MB
Number of ranges examined per frame: 356
Data snapshotted: 87.6 MB
Data in copies of 1MB or larger: ~73 MB

The shadow.rs implementation manages title-memory copies and looks for shader writes that need to be reflected in the relevant memory representations.

It can use GPU-local copies or fall back to shared CPU-accessible buffers, depending on the allocation path and limits.

There are configurable thresholds associated with local card-memory copies, including VICTORY_CARD_BUFFERS_MIN_MB and VICTORY_CARD_BUFFERS_MIN_KB.

WHY THIS INTERESTS ME

The system is tracking a significant amount of memory activity every frame.

The presence of large memory ranges is particularly interesting because the allocation strategy may affect whether those ranges are stored in local GPU memory or CPU-accessible shared memory.

With the local memory budget already close to its limit, the balance between these paths may be important.

WHAT THIS MIGHT SUGGEST

The current shadow-memory allocation and write-detection strategy may be contributing to memory pressure and per-frame overhead.

This deserves investigation, but I would not recommend lowering thresholds or forcing more card-local copies without controlled testing.

In particular, forcing smaller title-memory ranges into VRAM could increase local-memory pressure when the budget is already nearly exhausted.

Relevant source:
crates/victory-gpu/src/shadow.rs

  1. CONFIGURATION AND ALLOCATION PATHS WORTH KEEPING IN MIND

During the source review, I also found a couple of implementation details that matter when interpreting the results.

IN-PLACE MEMORY MAPPING

The inplace.rs implementation contains an optional path for opening existing memory as a D3D12 heap.

However, the current branch defaults VICTORY_INPLACE to disabled:

VICTORY_INPLACE=0

Therefore, I would not assume that the large memory figures in my logs are caused by this optional path.

The environment configuration used during testing should be checked before attributing allocations to it.

INLINE DESCRIPTOR REPRESENTATION

The descriptor implementation also supports an inline representation.

Inline mode is enabled by default unless explicitly disabled.

The logs show hundreds of millions of placed-view calls being named, alongside the large number of retained table entries.

I would not recommend disabling inline representations as a general experiment without checking the consequences. Doing so could force more views through the full view-table path and potentially make memory usage worse.

These details are worth including because a configuration change could substantially alter the behaviour being investigated.

  1. RELATIONSHIP BETWEEN THE FINDINGS

Individually, these measurements are interesting. What makes them more important is how they may interact.

One possible sequence worth investigating is:

  1. The title generates large numbers of resource and descriptor operations.
  2. VIctory creates or looks up representations for those resources.
  3. The placed-view shape table reaches its capacity.
  4. Additional placed views are stored through the fallback table path.
  5. Some placed-view entries may remain retained because they do not have resource handles that participate in normal resource-based cleanup.
  6. Host-side memory usage increases as these structures and title-memory representations accumulate.
  7. Texture allocations also occupy large blocks, potentially leaving unused capacity inside partially occupied heaps.
  8. GPU-local memory pressure increases.
  9. Memory copies, refreshes, and resource synchronization require additional work.
  10. The CPU-side submission pipeline spends significant time translating and preparing commands.
  11. The GPU queue is periodically empty while the submission thread is still working.

This is one possible explanation for how the different observations could be related.

I have not proven that this exact sequence is occurring, and the order of events would need to be established through additional instrumentation.

However, it provides a useful direction for investigation because it connects the memory and performance measurements to specific parts of the implementation.

  1. SUGGESTED AREAS FOR DEVELOPER INVESTIGATION

Based on the current logs and source review, I would prioritize the following:

PRIORITY 1 — DESCRIPTOR SHAPE-TABLE SATURATION

Investigate why all 4,194,304 shape entries are being consumed.

Identify which descriptor fields are creating unique shapes and whether the fallback behaviour causes excessive memory growth.

PRIORITY 2 — PLACED-VIEW LIFETIME AND RECLAMATION

Determine whether placed-view entries can be safely released when they are no longer needed.

Investigate whether the lack of associated resource handles prevents expected cleanup.

PRIORITY 3 — TEXTURE-POOL FRAGMENTATION

Measure the occupancy of individual 64MiB blocks.

Determine how much capacity is stranded in partially occupied blocks and whether a different allocation strategy could reduce retained unused capacity.

PRIORITY 4 — CPU SUBMISSION AND COMMAND TRANSLATION

Profile the functions responsible for the approximately 49,891 translated list calls per frame.

Determine where the submission thread spends its time and whether repeated translation or resource-management work can be reduced.

PRIORITY 5 — MEMORY REFRESH AND COPYING

Establish what the largest refresh and copy counters actually represent.

Determine whether redundant operations or unnecessary synchronization are occurring.

PRIORITY 6 — SHADOW-MEMORY STRATEGY

Investigate how local GPU copies and shared host buffers are selected, particularly when local-memory headroom becomes limited.

PRIORITY 7 — LONG-DURATION ALLOCATION TRACKING

Capture memory statistics over the entire run.

Determine whether memory usage:

  • Grows continuously.
  • Stabilizes after the initial loading period.
  • Increases when entering particular environments.
  • Increases after repeated resource or scene transitions.
  • Falls when returning to previously visited areas.
  • Remains allocated after resources are no longer required.

This would help distinguish an allocation spike from sustained memory retention or a possible leak.

  1. ADDITIONAL TESTING AND REPRODUCTION SUPPORT

I am fully willing to provide more diagnostic information and assist with development testing.

I can capture the entire PowerShell terminal output into a .txt file, starting from the initial launch and continuing until the game is closed or crashes.

This would include the complete output rather than selected excerpts, allowing developers to examine:

  • Startup and initialization.
  • Memory allocation over time.
  • Frame and queue diagnostics.
  • Resource creation and release.
  • Errors and warnings.
  • Performance degradation.
  • Any messages immediately preceding a crash or shutdown.

This should make it possible to examine the order in which events occur, how memory usage develops over time, and whether there are messages preceding performance degradation or a crash that are not visible in shorter excerpts.

HIGH-END AMD TEST SYSTEM

I am also willing to make my own hardware available for additional testing and reproduction work.

I have a modern, high-performance gaming system:

CPU: AMD Ryzen 7 9800X3D
GPU: ASUS PRIME Radeon RX 9070 XT White OC
GPU architecture: AMD RDNA 4
Dedicated VRAM: 16GB GDDR6
System RAM: 64GB DDR5-6400
Motherboard: ASUS ROG Strix B850-A Gaming WiFi
Operating system: Windows 11 Home, 26H2

This is a capable system with a top-tier gaming CPU, a modern RDNA 4 graphics card, 16GB of dedicated VRAM, and 64GB of fast system memory.

I believe this could be particularly useful for testing demanding experimental builds and development tools that have substantial hardware requirements.

I am not offering an old or low-spec system that might struggle to launch the software being tested. I can provide a high-end 2026 test machine with enough CPU performance, system memory, and GPU resources to run demanding experimental builds, including builds that may not even start reliably on systems with less available RAM or weaker hardware.

The 64GB of system memory is particularly relevant here. It provides room to investigate memory-intensive builds and tools without immediately running into the limitations that might prevent someone using a lower-memory system from testing them at all.

ACTUAL GAME FILES AND EXECUTABLE

I also have my own game build files and executable available locally.

This means I can test more than general compatibility-layer functionality. I can run tools and development workflows that require actual game files, executable files, or game dump data.

I am willing to test:

  • Tools that require actual game dump files.
  • Tools that inspect or process the game's executable and build files.
  • Compatibility-layer changes that need a real game executable.
  • Experimental builds with particularly high RAM or hardware requirements.
  • AMD-specific rendering and memory-management changes.
  • Different memory-allocation configurations.
  • Performance changes across different environments.
  • Crash reproduction and diagnostic collection.
  • Before-and-after comparisons of memory consumption and frame performance.

I am not limited to testing tools that work with publicly available sample data. I can run the actual tools against the files I have available and report the results.

I can also run experimental builds, collect complete terminal output, reproduce specific issues, and compare results between builds.

CROSS-SYSTEM TESTING AND IDENTIFYING WIDER ISSUES

My intention is to help developers determine whether their code fails on two separate systems, rather than having an issue dismissed as an isolated problem on one person's machine.

By providing my own high-end AMD system as an additional test environment, developers can compare its results against their own systems or other testers' results.

This could help establish whether a particular issue is:

  • RDNA 4-specific: Problems related to the RX 9000 series, RDNA 4 architecture, AMD drivers, or AMD-specific resource handling.
  • AMD-specific but not necessarily RDNA 4-specific: Issues that may affect multiple AMD GPU generations.
  • General compatibility-layer issues: Problems that reproduce regardless of GPU architecture or system configuration.
  • Hardware-dependent issues: Problems that only appear under particular memory capacities, GPU configurations, or hardware conditions.
  • Build-specific issues: Regressions or failures introduced by particular experimental builds or code changes.

I believe this is particularly useful for connecting separate reports and identifying patterns.

If the same problem occurs on my RX 9070 XT and another developer's or tester's system, that provides a much stronger basis for investigating a wider compatibility-layer issue than a single isolated report.

Likewise, if a problem only reproduces on my RDNA 4 hardware, that is useful evidence in its own right. It helps narrow down whether the issue may be architecture-specific, driver-related, or associated with a particular AMD resource-management path.

The goal is to help turn individual crashes, performance problems, and rendering failures into reproducible findings that can be investigated across different systems.

ACTUAL GAME FOOTAGE AND VISUAL REPRODUCTION

I can also provide video recordings of the actual game running through VIctory.

This would allow developers to see the real rendered output rather than relying exclusively on terminal logs, screenshots, or performance figures.

Video footage could demonstrate:

  • Actual rendering behaviour.
  • Graphical corruption or missing objects.
  • Stuttering and inconsistent frame delivery.
  • Performance differences between environments.
  • Visual problems that may not be obvious from diagnostic counters.
  • Whether the game is rendering and behaving as expected.
  • The difference between experimental builds before and after changes.

Combined with complete PowerShell logs, hardware specifications, and the ability to test experimental builds against actual game files, this could provide a useful package of evidence for investigating and reproducing problems.

I am not just offering theoretical feedback. I can run actual builds, reproduce problems, provide full logs, record the actual game rendering, and test development tools against my own working game files and hardware.

Ultimately, I want to help developers establish whether their code works on more than one system, identify which problems are specific to RDNA 4 and which are general VIctory issues, and turn individual observations into reproducible findings that can be investigated and fixed.

  1. FINAL ASSESSMENT AND IMPORTANT DISCLAIMER

The current evidence points toward several potentially interacting issues rather than one clearly isolated problem.

The most significant measured findings are:

System memory:
64GB DDR5-6400 system; approximately 49.1GB process private memory.

GPU:
16GB RDNA 4; approximately 97.5% of reported local budget in use.

Texture pool:
Approximately 4.3GB free capacity inside allocated texture blocks.

Descriptor system:
Shape table reached its exact 4,194,304-entry limit.

Retained views:
Approximately 18.64 million distinct views.

Host-side memory:
Approximately 6.7GB of title-memory copies and 6.2GB of host textures.

CPU submission:
Approximately 60.5ms of reported submission-thread work per frame.

GPU queue:
Approximately 36–39ms per frame with an empty internal queue.

List translation:
Approximately 49,891 translated list calls per frame.

Refresh activity:
Approximately 30,754 refreshes and 20.9GB/frame reported by the diagnostic counter.

These findings make descriptor management, resource lifetime, texture-pool allocation, memory synchronization, and CPU-side submission performance particularly interesting areas to investigate.

The fact that these results are occurring on a system with 64GB of fast DDR5 memory, a 16GB RDNA 4 GPU, and a top-tier gaming CPU makes the findings particularly worth examining.

IMPORTANT DISCLAIMER — THESE ARE SUSPICIONS, NOT CONFIRMED ROOT CAUSES

I want to be absolutely clear that these are suspicions based on the diagnostic logs and source-code review, not confirmed root causes.

The reported values are what I observed in the diagnostic output. My explanations of why these values occur, how they relate to each other, and whether they are responsible for the performance problems are hypotheses.

I have not proven that:

  • Descriptor-table saturation is responsible for the overall memory consumption.
  • Texture-pool fragmentation directly causes the low frame rate.
  • The CPU submission pipeline is the sole performance bottleneck.
  • The reported refresh volume represents equivalent physical data transfers.
  • Any individual memory-management mechanism is fundamentally incorrect.
  • All of these observations share one underlying cause.

I am not presenting these findings as confirmed defects, definitive explanations, or verified fixes.

I am presenting them because the numbers are unusual, several correspond to identifiable implementation details, and I believe they provide useful starting points for further investigation.

My goal is to provide developers with concrete evidence from a capable, modern AMD test system, help identify whether issues are RDNA 4-specific or affect VIctory more generally, and assist in reproducing problems across separate systems.

I am fully willing to provide complete PowerShell logs from launch through shutdown or crash, video recordings of the actual game rendering, and access to my own high-end testing hardware and available game build files and executable.

I want to contribute actual testing capability, not just report observations: a second independent hardware environment, real game files, complete diagnostic logs, visual evidence, and reproducible results to help developers investigate issues and verify potential improvements.

**@⁠timmmyyyyyyy** on GitHub · 2026-11-27 16:24 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/issues/648) VICTORY PERFORMANCE AND MEMORY INVESTIGATION RX 9070 XT FORK — DIAGNOSTIC LOG ANALYSIS, SOURCE-CODE FINDINGS AND POTENTIAL AREAS FOR INVESTIGATION Repository: Belobug/VIctory-Belobug-AMD Branch investigated: rx9070xt Date: November 27, 2026 1. SUMMARY I have been investigating severe performance degradation and unusually high memory consumption while running the Xbox build through VIctory on an RX 9070 XT. The observed performance varies depending on the environment being rendered: - Approximately 16 FPS over city and land areas. - Approximately 24–30 FPS over open water. - Approximately 17–22 FPS in semi-open water areas. - Significant stuttering and inconsistent frame delivery. During testing, memory consumption increased substantially. At one recorded point, system RAM usage was approximately 48GB, while the process reported approximately 49GB of private memory. I reviewed the diagnostic output alongside several areas of the repository's source code. Multiple findings stood out involving: 1. GPU-local memory pressure. 2. Texture-pool allocation and unused capacity. 3. Descriptor/view-table growth and shape-table saturation. 4. Host-side copies of title memory. 5. CPU-side submission overhead and GPU queue starvation. 6. Large volumes of memory refresh and copy operations. 7. Shadow-memory allocation and write detection. Together, these findings suggest that memory management, resource tracking, and CPU-side translation overhead may be contributing to the performance problems. There are several specific areas of the implementation that I believe warrant further investigation. This report is intended to share the evidence and possible explanations with the developers, not to claim that I have definitively identified the root cause. 2. TEST HARDWARE AND WHY IT MATTERS I am running these tests on a relatively high-end gaming system, not a low-spec PC with limited system memory, an older graphics card, or a weaker processor. My system specifications: CPU: AMD Ryzen 7 9800X3D GPU: ASUS PRIME Radeon RX 9070 XT White OC GPU architecture: AMD RDNA 4 Dedicated GPU memory: 16GB GDDR6 System RAM: 64GB DDR5-6400 (2 x 32GB) Motherboard: ASUS ROG Strix B850-A Gaming WiFi Operating system: Windows 11 Home, 26H2 The Ryzen 7 9800X3D is one of the highest-performing gaming CPUs available, and the RX 9070 XT is a modern RDNA 4 graphics card with 16GB of dedicated GDDR6 memory. I am highlighting these specifications because they provide important context for the results. Despite having 64GB of fast system RAM, a modern 16GB RDNA 4 GPU, and one of the strongest gaming CPUs available, I am experiencing very poor frame rates alongside substantial memory consumption and significant CPU-side submission activity. I am not suggesting that expensive hardware should automatically make every compatibility workload run well. The title, driver, translation layer, and workload all matter. However, the results are significant enough that I believe the memory-management and rendering implementation deserve closer investigation before the problem is treated as a simple hardware-performance limitation. Having 64GB of system RAM also gives me a useful testing environment for particularly memory-intensive builds and experimental tools. I can investigate workloads that may be difficult to launch or reproduce on machines with less available RAM. 3. OBSERVED PERFORMANCE Performance changes considerably depending on the environment being rendered. City and land areas: Approximately 16 FPS. Open water: Approximately 24–30 FPS. Semi-open water: Approximately 17–22 FPS. There is also substantial stuttering and inconsistent frame delivery. At approximately 16 FPS, a frame takes around 62.5ms to complete. The difference between open water and city/land environments is also interesting. It suggests that the workload changes considerably depending on the scene, although the logs alone do not identify exactly which resources or operations are responsible. During testing, GPU temperatures were reported around 75–87°C, while CPU temperatures were approximately 35–54°C. These readings are included for context, not as proof of a thermal cause. The performance variation makes it important to investigate resource creation, memory refreshes, descriptor activity, and submission overhead across different environments rather than looking only at average GPU utilisation. 4. GPU-LOCAL MEMORY PRESSURE One of the clearest findings is that GPU-local memory was operating extremely close to its reported WDDM budget. The diagnostic log recorded: Local GPU memory budget: 14,183 MB Local GPU memory in use: 13,829 MB Remaining local budget: 354 MB Non-local memory budget: 48,028 MB Non-local memory in use: 13,084 MB The local segment was therefore using approximately 97.5% of its reported budget. This is particularly relevant because the system has a physical 16GB RX 9070 XT, but the usable WDDM local-memory budget is not necessarily the full physical VRAM capacity. The logs also report approximately 7,837MB of local memory that could still be reserved. This should not be interpreted as free VRAM. It is an available-for-reservation figure, not the difference between current usage and the budget. WHY THIS INTERESTS ME The renderer is operating with very little remaining local-memory budget. This could increase pressure on resource allocation and make the system more dependent on alternative memory paths when local allocations cannot be accommodated. The shadow.rs implementation manages card-local copies of title memory and can fall back to shared CPU-accessible buffers when local allocations cannot be accommodated or configured limits are reached. This means there are several different memory-management paths involved rather than every resource simply being allocated directly into VRAM. WHAT THIS MIGHT SUGGEST There may be an opportunity to improve how VIctory balances local GPU allocations against CPU-accessible shared allocations, particularly when the available local budget becomes very small. I would not recommend blindly increasing local-memory copy thresholds. With only approximately 354MB of remaining local budget in the recorded snapshot, increasing local allocations could make the situation worse. Relevant source: crates/victory-gpu/src/shadow.rs 5. TEXTURE POOL — POTENTIAL INTERNAL FRAGMENTATION The texture-pool diagnostics are particularly interesting. The logs report: Total texture-block capacity: 6,656 MB Free capacity inside texture blocks: 4,297 MB Occupied capacity implied by these figures: 2,359 MB Texture staging buffers reported in blocks: 576 MB The important distinction is that the 4,297MB of free capacity is reported inside allocated texture blocks. It is not necessarily memory that has already been returned to the operating system or made available to other GPU allocations. The implementation in pool.rs uses 64MiB blocks: const BLOCK: u64 = 64 << 20; Texture resources are allocated within these blocks using default GPU heaps. The pool has a reclamation mechanism. However, completely empty blocks can be released, whereas partially occupied blocks cannot necessarily be returned in their entirety. For example, a 64MiB block could contain a small active texture allocation while most of its capacity remains unused. That unused capacity may remain allocated because the entire block is not empty. The logs' reported figures are consistent with this possibility. WHY THIS INTERESTS ME Approximately 4.3GB of the reported texture-block capacity appears to be unused. That is a substantial amount of capacity to retain inside the texture pool, particularly when the GPU-local memory budget is already approximately 97.5% utilized. This does not mean all 4.3GB is necessarily recoverable. Some of it may be unavoidable allocation overhead or capacity that cannot be reclaimed without moving active resources. However, it raises questions about whether the current allocation granularity is appropriate for the workloads being translated. WHAT THIS MIGHT SUGGEST The texture pool may be experiencing significant internal fragmentation. Potential areas worth testing include: - Smaller allocation blocks. - More granular reclamation. - Better tracking of block occupancy. - Identifying resources that prevent otherwise mostly empty blocks from being released. - Comparing memory usage under different block sizes. I would be interested in seeing a block-occupancy histogram to determine how much capacity is stranded in partially occupied blocks. I am not suggesting that reducing the 64MiB block size is automatically the correct fix. Smaller blocks could increase allocation overhead and introduce other performance costs. It would need controlled testing. Relevant source: crates/victory-gpu/src/pool.rs 6. DESCRIPTOR/VIEW TABLE — SHAPE LIMIT REACHED This is potentially one of the most significant findings in the entire investigation. The descriptor diagnostics report: Distinct views kept: 18,639,997 Free entries reported: 0 Placed-view shapes retained: 4,194,304 Estimated memory held by distinct views: 9,138 MB Placed-memory views named since start: 728,271,982 Constant-buffer views named since start: 374,840,464 The source code in descriptor.rs defines a maximum number of shapes: const SHAPES: usize = 1 << (62 - PLACED_ADDRESS_BITS); With PLACED_ADDRESS_BITS set to 40, this calculates to a limit of exactly 4,194,304 shapes. The diagnostic output reports exactly 4,194,304 retained shapes. HOW THE IMPLEMENTATION APPEARS TO WORK VIctory attempts to represent views using compact shape information. The shape-generation process uses resource and view descriptor data to determine whether an existing representation can be reused. When a shape is available, the implementation can use the more compact representation. However, when a new shape cannot be obtained because the shape table has reached its limit, the code can fall back to storing a full placed-view entry through the view-table path. The relevant fallback involves: views_write().entry(view) The view-table diagnostics report: Constant-buffer views: 1 Placed-memory views: 18,631,827 The implementation also has an important distinction in its resource-lifetime handling. View::resources() can return resource handles for shader and unordered views. Placed views return no resource handles. The source comments indicate that placed views without resource objects do not have the same resource-based release mechanism and can be retained for the duration of the run. WHY THIS INTERESTS ME The logs show that the shape table reached its maximum capacity while the retained-view count exceeded 18.6 million. The fallback path and the lifetime of placed-view entries could therefore be important factors in understanding the memory growth. I am particularly interested in whether continuously encountered descriptor combinations cause the table to fill and subsequently force large numbers of full placed-view entries to be stored. The diagnostic output also reports an estimated 9,138MB associated with distinct views. That is an extremely large amount of memory attributed to descriptor/view tracking. This is an estimate generated by VIctory's accounting, not an independently measured physical allocation. It should not be added directly to other memory counters without checking for overlap. WHAT THIS MIGHT SUGGEST There may be a descriptor-management scalability or lifetime-management problem under this particular workload. Potential investigation areas: - Identify which fields in the resource and view descriptions create new shape keys. - Determine whether some fields vary unnecessarily. - Check whether all unique shapes need to remain distinct. - Investigate whether fallback placed-view entries can be safely reclaimed. - Examine whether the shape-table limit and fallback mechanism behave as intended with millions of different placed-memory views. - Measure memory growth before and after the shape table reaches capacity. I would particularly like to understand what causes the shape table to reach its exact maximum and whether the resulting fallback behaviour is contributing to the unusually high memory usage. Relevant source: crates/victory-gpu/src/descriptor.rs 7. HOST-SIDE MEMORY CONSUMPTION The host-side memory figures are another major concern. The recorded memory snapshot reported: VIctory process private memory: 49,109 MB Private memory resident in RAM: 31,589 MB Host copies of title memory: 6,733 MB Host textures: 6,167 MB Snapshot buffers: 52 MB Live texture staging allocations: 56 MB Additional diagnostics reported: - 4,946 live host copies of title memory. - 1,331 windows outside buffers, accounting for approximately 5,672MB. - 22,793 live host textures. - 6,656MB of texture blocks. - Approximately 9,138MB estimated for distinct views. - Approximately 11,995MB reported under the diagnostic category for VIctory's own allocations. These values represent different accounting categories and should not simply be added together. Some may overlap or describe different aspects of the same allocations. A CLOSER LOOK AT SHARED BUFFERS The host.rs implementation includes a shared_buffer() path that creates CPU-visible system-memory buffers using: Type: D3D12_HEAP_TYPE_CUSTOM CPUPageProperty: D3D12_CPU_PAGE_PROPERTY_WRITE_BACK MemoryPoolPreference: D3D12_MEMORY_POOL_L0 This is important because it shows that VIctory maintains CPU-accessible memory representations of title memory. The compatibility layer therefore has to manage more than just GPU-local resources. It also maintains host-side copies and structures that can be accessed by the CPU and used by the GPU. This is expected to be part of the compatibility layer's memory-management approach, but the amount of memory involved is worth investigating. CUMULATIVE VERSUS LIVE ALLOCATIONS The diagnostic output also includes: 719 upload buffers 4000 MB 229920 shared buffers 46050 MB 68719 card buffers 17312 MB These figures appear under the "made so far" counters. They are cumulative creation statistics, not current live allocation totals. They should not be interpreted as the amount of memory currently allocated. WHAT THIS MIGHT SUGGEST The title's memory representation inside VIctory may require substantial additional host-side storage. The descriptor/view table, title-memory copies, host textures, and associated resource structures could collectively contribute to the unusually high process memory consumption. I would be interested in whether some of these structures grow continuously during gameplay, whether they stabilize after loading, and whether they are released when no longer required. The most useful additional measurement would be tracking the live allocation counters over time, rather than relying on a single snapshot. 8. CPU-SIDE SUBMISSION OVERHEAD The logs contain evidence of a potentially significant CPU-side bottleneck. One recorded per-frame breakdown reports: Frame time: 65.4–65.6ms Frame rate: 15.2–15.3 FPS Submission-thread work: 60.5ms Frame preparation: 53.7ms Copy-related work: 20.7ms Texture-related work: 0.5ms Copy-back work: 16.9–18.8ms The submission-thread diagnostics also report: - Approximately 28 submissions prepared per frame. - Approximately 15.7 submissions waiting in line at one recorded sample. - A maximum observed queue depth of approximately 39. - Approximately 49,891 translated list calls per frame. - Approximately 213.6–218ms of aggregate list-translation worker time. The list-translation time is aggregate time across worker threads, not additional wall-clock frame time. This distinction is important when interpreting the numbers. WHY THIS INTERESTS ME The submission thread appears to be spending a very large proportion of each frame preparing and translating work. If the GPU is capable of processing work faster than VIctory can prepare and submit it, the GPU may be left waiting for additional commands. That possibility is supported by the queue diagnostics discussed in the next section. The Ryzen 7 9800X3D is a high-performance gaming CPU, but that does not eliminate the possibility of a bottleneck in a heavily serialized submission thread. This is about the amount and structure of the work VIctory must perform, not simply whether the processor is powerful enough. WHAT THIS MIGHT SUGGEST The rendering pipeline may be limited by CPU-side translation and resource-management overhead rather than solely by GPU rendering performance. The number of translated list calls per frame is particularly interesting. It may be worth investigating whether the same kinds of descriptor, resource, and command-list work are being repeated unnecessarily, or whether there are opportunities to reduce the amount of translation required. Relevant areas: crates/victory-gpu/src/host.rs and the list-translation/submission implementation. 9. GPU QUEUE STARVATION One of the most interesting relationships in the logs is between submission-thread activity and the amount of time the internal GPU queue is empty. The diagnostic output reports approximately: Internal card-busy measurement: 42–44% GPU queue empty per frame: 36–39ms Queue-empty time while submission thread works: 33–37ms Submission-thread time per frame: 60.5ms The important observation is that the GPU queue is empty for a substantial portion of the frame while the submission thread is still working. WHY THIS MATTERS An empty queue means the compatibility layer is not reporting further queued work for the GPU to process at that moment. If the submission thread is still preparing commands, this could mean the GPU is waiting for the CPU-side pipeline to finish preparing additional work. This is consistent with a potential CPU-side submission bottleneck. It may also help explain why the performance does not appear to scale with the available GPU resources. AN IMPORTANT DISTINCTION The internal 42–44% card-busy measurement is not necessarily equivalent to AMD's overall GPU utilisation reading. They measure different things. AMD's overlay can report high overall GPU utilisation while VIctory's internal queue-accounting counters show significant periods where the submission queue is empty. I would not use either measurement in isolation to determine whether the GPU is the sole bottleneck. WHAT THIS MIGHT SUGGEST The submission and translation pipeline deserves further profiling. In particular, I would investigate whether descriptor lookups, resource tracking, memory copying, and command-list translation are preventing VIctory from keeping the GPU supplied with work. This is one of the strongest reasons I believe the problem should not be approached purely as a GPU-performance issue. 10. MEMORY COPYING AND REFRESH ACTIVITY The logs show substantial memory-copy and refresh activity. Some recorded figures include: Host copies transferred upward per frame: ~34.9 MB Host copies fetched per frame: ~48.1 MB Combined reported host-copy traffic: ~83 MB/frame One tracked copystat operation: ~1,099 MB/frame Refresh operations: ~30,754 Reported refresh volume: ~20,926 MB/frame The copystat diagnostics are particularly large. One tracked source address was reported as being copied six times per frame, accounting for approximately 1,099MB per frame according to that operation's counter. Another counter reported approximately 30,754 refreshes and more than 20,926MB of refresh volume per frame. These are internal diagnostic counters. They should not automatically be interpreted as equivalent amounts of physical PCIe traffic or unique data physically transferred. The counters may represent logical ranges processed, repeated refresh accounting, or other tracked operations. WHY THIS INTERESTS ME The compatibility layer appears to be doing considerable memory-refresh and copy-related work. The frame summary also reports approximately 20.7ms of copy work and 16.9–18.8ms of copy-back work. That is a meaningful portion of a frame that is already taking approximately 65ms. WHAT THIS MIGHT SUGGEST There may be an opportunity to reduce redundant memory refreshes, repeated range processing, or unnecessary synchronization. Potential investigation areas include: - Whether memory regions are being refreshed more frequently than necessary. - Whether repeated ranges can be combined. - Whether unchanged memory is being processed again unnecessarily. - Whether copy operations are being triggered by descriptor or resource-management behaviour. - Whether the copy-back path is contributing significantly to CPU-side frame preparation. I would like to establish exactly what the largest refresh counters represent before drawing conclusions about actual memory-bus traffic. 11. SHADOW MEMORY AND WRITE DETECTION The shadow-memory diagnostics report approximately: Shader-write ranges examined per frame: 100.1 MB Number of ranges examined per frame: 356 Data snapshotted: 87.6 MB Data in copies of 1MB or larger: ~73 MB The shadow.rs implementation manages title-memory copies and looks for shader writes that need to be reflected in the relevant memory representations. It can use GPU-local copies or fall back to shared CPU-accessible buffers, depending on the allocation path and limits. There are configurable thresholds associated with local card-memory copies, including VICTORY_CARD_BUFFERS_MIN_MB and VICTORY_CARD_BUFFERS_MIN_KB. WHY THIS INTERESTS ME The system is tracking a significant amount of memory activity every frame. The presence of large memory ranges is particularly interesting because the allocation strategy may affect whether those ranges are stored in local GPU memory or CPU-accessible shared memory. With the local memory budget already close to its limit, the balance between these paths may be important. WHAT THIS MIGHT SUGGEST The current shadow-memory allocation and write-detection strategy may be contributing to memory pressure and per-frame overhead. This deserves investigation, but I would not recommend lowering thresholds or forcing more card-local copies without controlled testing. In particular, forcing smaller title-memory ranges into VRAM could increase local-memory pressure when the budget is already nearly exhausted. Relevant source: crates/victory-gpu/src/shadow.rs 12. CONFIGURATION AND ALLOCATION PATHS WORTH KEEPING IN MIND During the source review, I also found a couple of implementation details that matter when interpreting the results. IN-PLACE MEMORY MAPPING The inplace.rs implementation contains an optional path for opening existing memory as a D3D12 heap. However, the current branch defaults VICTORY_INPLACE to disabled: VICTORY_INPLACE=0 Therefore, I would not assume that the large memory figures in my logs are caused by this optional path. The environment configuration used during testing should be checked before attributing allocations to it. INLINE DESCRIPTOR REPRESENTATION The descriptor implementation also supports an inline representation. Inline mode is enabled by default unless explicitly disabled. The logs show hundreds of millions of placed-view calls being named, alongside the large number of retained table entries. I would not recommend disabling inline representations as a general experiment without checking the consequences. Doing so could force more views through the full view-table path and potentially make memory usage worse. These details are worth including because a configuration change could substantially alter the behaviour being investigated. 13. RELATIONSHIP BETWEEN THE FINDINGS Individually, these measurements are interesting. What makes them more important is how they may interact. One possible sequence worth investigating is: 1. The title generates large numbers of resource and descriptor operations. 2. VIctory creates or looks up representations for those resources. 3. The placed-view shape table reaches its capacity. 4. Additional placed views are stored through the fallback table path. 5. Some placed-view entries may remain retained because they do not have resource handles that participate in normal resource-based cleanup. 6. Host-side memory usage increases as these structures and title-memory representations accumulate. 7. Texture allocations also occupy large blocks, potentially leaving unused capacity inside partially occupied heaps. 8. GPU-local memory pressure increases. 9. Memory copies, refreshes, and resource synchronization require additional work. 10. The CPU-side submission pipeline spends significant time translating and preparing commands. 11. The GPU queue is periodically empty while the submission thread is still working. This is one possible explanation for how the different observations could be related. I have not proven that this exact sequence is occurring, and the order of events would need to be established through additional instrumentation. However, it provides a useful direction for investigation because it connects the memory and performance measurements to specific parts of the implementation. 14. SUGGESTED AREAS FOR DEVELOPER INVESTIGATION Based on the current logs and source review, I would prioritize the following: PRIORITY 1 — DESCRIPTOR SHAPE-TABLE SATURATION Investigate why all 4,194,304 shape entries are being consumed. Identify which descriptor fields are creating unique shapes and whether the fallback behaviour causes excessive memory growth. PRIORITY 2 — PLACED-VIEW LIFETIME AND RECLAMATION Determine whether placed-view entries can be safely released when they are no longer needed. Investigate whether the lack of associated resource handles prevents expected cleanup. PRIORITY 3 — TEXTURE-POOL FRAGMENTATION Measure the occupancy of individual 64MiB blocks. Determine how much capacity is stranded in partially occupied blocks and whether a different allocation strategy could reduce retained unused capacity. PRIORITY 4 — CPU SUBMISSION AND COMMAND TRANSLATION Profile the functions responsible for the approximately 49,891 translated list calls per frame. Determine where the submission thread spends its time and whether repeated translation or resource-management work can be reduced. PRIORITY 5 — MEMORY REFRESH AND COPYING Establish what the largest refresh and copy counters actually represent. Determine whether redundant operations or unnecessary synchronization are occurring. PRIORITY 6 — SHADOW-MEMORY STRATEGY Investigate how local GPU copies and shared host buffers are selected, particularly when local-memory headroom becomes limited. PRIORITY 7 — LONG-DURATION ALLOCATION TRACKING Capture memory statistics over the entire run. Determine whether memory usage: - Grows continuously. - Stabilizes after the initial loading period. - Increases when entering particular environments. - Increases after repeated resource or scene transitions. - Falls when returning to previously visited areas. - Remains allocated after resources are no longer required. This would help distinguish an allocation spike from sustained memory retention or a possible leak. 15. ADDITIONAL TESTING AND REPRODUCTION SUPPORT I am fully willing to provide more diagnostic information and assist with development testing. I can capture the entire PowerShell terminal output into a .txt file, starting from the initial launch and continuing until the game is closed or crashes. This would include the complete output rather than selected excerpts, allowing developers to examine: - Startup and initialization. - Memory allocation over time. - Frame and queue diagnostics. - Resource creation and release. - Errors and warnings. - Performance degradation. - Any messages immediately preceding a crash or shutdown. This should make it possible to examine the order in which events occur, how memory usage develops over time, and whether there are messages preceding performance degradation or a crash that are not visible in shorter excerpts. HIGH-END AMD TEST SYSTEM I am also willing to make my own hardware available for additional testing and reproduction work. I have a modern, high-performance gaming system: CPU: AMD Ryzen 7 9800X3D GPU: ASUS PRIME Radeon RX 9070 XT White OC GPU architecture: AMD RDNA 4 Dedicated VRAM: 16GB GDDR6 System RAM: 64GB DDR5-6400 Motherboard: ASUS ROG Strix B850-A Gaming WiFi Operating system: Windows 11 Home, 26H2 This is a capable system with a top-tier gaming CPU, a modern RDNA 4 graphics card, 16GB of dedicated VRAM, and 64GB of fast system memory. I believe this could be particularly useful for testing demanding experimental builds and development tools that have substantial hardware requirements. I am not offering an old or low-spec system that might struggle to launch the software being tested. I can provide a high-end 2026 test machine with enough CPU performance, system memory, and GPU resources to run demanding experimental builds, including builds that may not even start reliably on systems with less available RAM or weaker hardware. The 64GB of system memory is particularly relevant here. It provides room to investigate memory-intensive builds and tools without immediately running into the limitations that might prevent someone using a lower-memory system from testing them at all. ACTUAL GAME FILES AND EXECUTABLE I also have my own game build files and executable available locally. This means I can test more than general compatibility-layer functionality. I can run tools and development workflows that require actual game files, executable files, or game dump data. I am willing to test: - Tools that require actual game dump files. - Tools that inspect or process the game's executable and build files. - Compatibility-layer changes that need a real game executable. - Experimental builds with particularly high RAM or hardware requirements. - AMD-specific rendering and memory-management changes. - Different memory-allocation configurations. - Performance changes across different environments. - Crash reproduction and diagnostic collection. - Before-and-after comparisons of memory consumption and frame performance. I am not limited to testing tools that work with publicly available sample data. I can run the actual tools against the files I have available and report the results. I can also run experimental builds, collect complete terminal output, reproduce specific issues, and compare results between builds. CROSS-SYSTEM TESTING AND IDENTIFYING WIDER ISSUES My intention is to help developers determine whether their code fails on two separate systems, rather than having an issue dismissed as an isolated problem on one person's machine. By providing my own high-end AMD system as an additional test environment, developers can compare its results against their own systems or other testers' results. This could help establish whether a particular issue is: - RDNA 4-specific: Problems related to the RX 9000 series, RDNA 4 architecture, AMD drivers, or AMD-specific resource handling. - AMD-specific but not necessarily RDNA 4-specific: Issues that may affect multiple AMD GPU generations. - General compatibility-layer issues: Problems that reproduce regardless of GPU architecture or system configuration. - Hardware-dependent issues: Problems that only appear under particular memory capacities, GPU configurations, or hardware conditions. - Build-specific issues: Regressions or failures introduced by particular experimental builds or code changes. I believe this is particularly useful for connecting separate reports and identifying patterns. If the same problem occurs on my RX 9070 XT and another developer's or tester's system, that provides a much stronger basis for investigating a wider compatibility-layer issue than a single isolated report. Likewise, if a problem only reproduces on my RDNA 4 hardware, that is useful evidence in its own right. It helps narrow down whether the issue may be architecture-specific, driver-related, or associated with a particular AMD resource-management path. The goal is to help turn individual crashes, performance problems, and rendering failures into reproducible findings that can be investigated across different systems. ACTUAL GAME FOOTAGE AND VISUAL REPRODUCTION I can also provide video recordings of the actual game running through VIctory. This would allow developers to see the real rendered output rather than relying exclusively on terminal logs, screenshots, or performance figures. Video footage could demonstrate: - Actual rendering behaviour. - Graphical corruption or missing objects. - Stuttering and inconsistent frame delivery. - Performance differences between environments. - Visual problems that may not be obvious from diagnostic counters. - Whether the game is rendering and behaving as expected. - The difference between experimental builds before and after changes. Combined with complete PowerShell logs, hardware specifications, and the ability to test experimental builds against actual game files, this could provide a useful package of evidence for investigating and reproducing problems. I am not just offering theoretical feedback. I can run actual builds, reproduce problems, provide full logs, record the actual game rendering, and test development tools against my own working game files and hardware. Ultimately, I want to help developers establish whether their code works on more than one system, identify which problems are specific to RDNA 4 and which are general VIctory issues, and turn individual observations into reproducible findings that can be investigated and fixed. 16. FINAL ASSESSMENT AND IMPORTANT DISCLAIMER The current evidence points toward several potentially interacting issues rather than one clearly isolated problem. The most significant measured findings are: System memory: 64GB DDR5-6400 system; approximately 49.1GB process private memory. GPU: 16GB RDNA 4; approximately 97.5% of reported local budget in use. Texture pool: Approximately 4.3GB free capacity inside allocated texture blocks. Descriptor system: Shape table reached its exact 4,194,304-entry limit. Retained views: Approximately 18.64 million distinct views. Host-side memory: Approximately 6.7GB of title-memory copies and 6.2GB of host textures. CPU submission: Approximately 60.5ms of reported submission-thread work per frame. GPU queue: Approximately 36–39ms per frame with an empty internal queue. List translation: Approximately 49,891 translated list calls per frame. Refresh activity: Approximately 30,754 refreshes and 20.9GB/frame reported by the diagnostic counter. These findings make descriptor management, resource lifetime, texture-pool allocation, memory synchronization, and CPU-side submission performance particularly interesting areas to investigate. The fact that these results are occurring on a system with 64GB of fast DDR5 memory, a 16GB RDNA 4 GPU, and a top-tier gaming CPU makes the findings particularly worth examining. IMPORTANT DISCLAIMER — THESE ARE SUSPICIONS, NOT CONFIRMED ROOT CAUSES I want to be absolutely clear that these are suspicions based on the diagnostic logs and source-code review, not confirmed root causes. The reported values are what I observed in the diagnostic output. My explanations of why these values occur, how they relate to each other, and whether they are responsible for the performance problems are hypotheses. I have not proven that: - Descriptor-table saturation is responsible for the overall memory consumption. - Texture-pool fragmentation directly causes the low frame rate. - The CPU submission pipeline is the sole performance bottleneck. - The reported refresh volume represents equivalent physical data transfers. - Any individual memory-management mechanism is fundamentally incorrect. - All of these observations share one underlying cause. I am not presenting these findings as confirmed defects, definitive explanations, or verified fixes. I am presenting them because the numbers are unusual, several correspond to identifiable implementation details, and I believe they provide useful starting points for further investigation. My goal is to provide developers with concrete evidence from a capable, modern AMD test system, help identify whether issues are RDNA 4-specific or affect VIctory more generally, and assist in reproducing problems across separate systems. I am fully willing to provide complete PowerShell logs from launch through shutdown or crash, video recordings of the actual game rendering, and access to my own high-end testing hardware and available game build files and executable. I want to contribute actual testing capability, not just report observations: a second independent hardware environment, real game files, complete diagnostic logs, visual evidence, and reproducible results to help developers investigate issues and verify potential improvements.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 16:24:54 +00:00
Author
Owner

@⁠meetox80 on GitHub · 2026-11-27 17:00 UTC · original

your agent is hallucinating

**@⁠meetox80** on GitHub · 2026-11-27 17:00 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/issues/648#issuecomment-7223925043) your agent is hallucinating
Author
Owner

@⁠xyrmango on GitHub · 2026-11-27 17:04 UTC · original

holy yap

**@⁠xyrmango** on GitHub · 2026-11-27 17:04 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/issues/648#issuecomment-7223990916) holy yap
Author
Owner

@⁠madMAx43v3r on GitHub · 2026-11-27 17:20 UTC · original

tell your agent to keep it short, jesus

**@⁠madMAx43v3r** on GitHub · 2026-11-27 17:20 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/issues/648#issuecomment-7224300369) tell your agent to keep it short, jesus
This discussion has been locked. Commenting is limited to contributors.
No description provided.