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:
| Area | Xenia | Console |
|---|---|---|
| Display controller | none; it shows what VdSwap names | needs the LUT and the 0x60EC commit |
| CPU writes to 0x1844 (scanout) | turn the picture white | normal |
VdQueryVideoMode | 1280x720 | the real output (1920x1080 on our TV, 1280x1024 through a capture card) |
VdInitializeScalerCommandBuffer | fills NOPs, returns | hangs with Direct3D's arguments |
| Vertical blank pacing | none (200-400 fps) | 60 Hz |
| Time base | 50 MHz | 49.875 MHz |
game: | read-only | writable |
| FAT32 USB listing | fine | NextEntryOffset left unwritten |
RtlSetVectoredExceptionHandler | not implemented | works |
VdTurnDisplayOn | not implemented | no visible effect |
VdCallGraphicsNotificationRoutines(1, NULL, NULL) | hangs Xenia | not tried with NULL |
| Audio | registers, calls back about 187/s | the 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).