Skip to content

diagnostics(v0.0.3): trace photo-sized DMA copy geometry and readback - #25

Draft
Framerr wants to merge 1 commit into
nx2from
experiment/v003-photo-dma-diagnostics
Draft

Framerr wants to merge 1 commit into
nx2from
experiment/v003-photo-dma-diagnostics

Conversation

@Framerr

@Framerr Framerr commented Nov 8, 2026

Copy link
Copy Markdown
Owner

Diagnostic-only v0.0.3-based build for photo issue #14. Does not change any image-copy decision, DMA flush, synchronization, shader, or buffer/cache semantics.

Enable with Windows CMD: set FRAMEROPIA_PHOTO_DMA_TRACE=1 before starting frameropia.exe in the same terminal, or use a BAT file containing @echo off\nset FRAMEROPIA_PHOTO_DMA_TRACE=1\nstart "" "%~dp0frameropia.exe" (the two backslash-n markers here should be actual line breaks in a BAT). In eden_log.txt, search Frameropia DMA candidate; first 96 block-linear to pitch DMA copies whose row-length >=1024 and rows >=256 have their addresses, dimensions, source origin, pitch and accelerated result logged.

Purpose: compare the first corrupted shot and later good shots, check whether the earlier PR #20 guessed 7680×1080 geometry correctly, identify destination offset/pitch changes. Three photos after each of three fresh starts; attach redacted log if available. The trace can be very verbose; disable the variable to use default behavior. No release and no merge until diagnostic utility is verified.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant