foxygit / xexkit Log in
commits tags

/docs/wiki/Xenia-vs-Hardware.md · 1.47 KB

raw

Xenia vs. hardware

Xenia Canary is fast for smoke tests: does the title start, does it reach its loop, what does it print. It is not evidence for display, timing or file system behaviour:

AreaXeniaConsole
Display controllernone; it shows what VdSwap namesneeds the LUT and the 0x60EC commit
CPU writes to 0x1844 (scanout)turn the picture whitenormal
VdQueryVideoMode1280x720the real output (1920x1080 on our TV, 1280x1024 through a capture card)
VdInitializeScalerCommandBufferfills NOPs, returnshangs with Direct3D's arguments
Vertical blank pacingnone (200-400 fps)60 Hz
Time base50 MHz49.875 MHz
game:read-onlywritable
FAT32 USB listingfineNextEntryOffset left unwritten
RtlSetVectoredExceptionHandlernot implementedworks
VdTurnDisplayOnnot implementedno visible effect
VdCallGraphicsNotificationRoutines(1, NULL, NULL)hangs Xenianot tried with NULL
Audioregisters, calls back about 187/sthe same

Running Xenia from a script:

xenia_canary.AppImage --log_file=xenia.log --log_level=4 default.xex &
sleep 10; pkill -f xenia_canary
grep -a "DbgPrint)" xenia.log

Xenia doesn't close when the title ends, so stop it yourself. Lines like "Invalid instruction" about libgcc data after a trap are harmless. A title's log files go to Xenia's cache folder when game: is read-only (~/.local/share/Xenia/cache/ on Linux).