ScarletNX feat/gpu-rewrite 89b2da3-dirty (clang 23.1.4, Windows x86_64) Message: nvn: a command record at 24165c750 (after a record of op 26) has op 0 and size 0, which nvn_direct never writes == ~\010074F013262000_010074F013262800v655360.log == [ 0.00] ScarletNX - Xenoblade Chronicles 3 [ 0.00] build: ScarletNX feat/gpu-rewrite 89b2da3-dirty (clang 23.1.4, Windows x86_64) [ 0.00] system: Windows 11 26H2 (10.0.26300), AMD Ryzen 7 9800X3D 8-Core Processor, 8 threads, 31 GB RAM [ 0.00] debug: nvn_direct=1 (default 0), vk_buffer_stats=1 (default 0); shown at the top of the picture while the game runs [ 0.00] game: the update of the game in 010074F013262000, with its settings and saves [ 0.37] fs: ExeFS and RomFS read from the update ~\Xenoblade Chronicles 3 2.2.0 [010074F013262800][v655360][UPD].nsp over the game's dump ~\Xenoblade Chronicles 3 [010074F013262000][v0][BASE].nsp (14695.5 MB mapped) [ 0.38] fs: the DLC 010074f013263001 read from its dump ~\Xenoblade Chronicles 3 [010074F013263001][v0][DLC].nsp (39.7 MB) [ 0.41] fs: the DLC 010074f013263002 read from its dump ~\Xenoblade Chronicles 3 [010074F013263002][v65536][DLC].nsp (201.0 MB) [ 0.43] fs: the DLC 010074f013263003 read from its dump ~\Xenoblade Chronicles 3 [010074F013263003][v65536][DLC].nsp (180.6 MB) [ 0.45] fs: the DLC 010074f013263004 read from its dump ~\Xenoblade Chronicles 3 [010074F013263004][v131072][DLC].nsp (4075.6 MB) [ 0.45] fs: 0 RomFS/ExeFS files mapped for the whole run, 0.0 MB [ 0.45] memory: 4 KiB host pages, views are copies (no alias pool) [ 0.46] Loaded rtld at 0x8000000 [ 0.47] main patched by the mod's ~\2.2.0.pchtxt [ 0.47] main patched by the mod's ~\2.2.0.pchtxt [ 0.47] Loaded main at 0x8005000 [ 0.48] Loaded subsdk0 at 0xa371000 [ 0.48] Loaded sdk at 0xaa0c000 [ 0.49] symbols: 32223 functions named [ 0.49] hooks: the module calls the functions of the 542 symbols the hooks name through their dispatch slots, and every other function directly (route list 8c01f3f2e81f297a, this runtime's too) [ 0.49] hooks: module rtld, SDK unknown (its versioned hooks aren't installed) [ 0.49] hooks: module main, SDK unknown (its versioned hooks aren't installed) [ 0.49] hooks: module subsdk0, SDK unknown (its versioned hooks aren't installed) [ 0.49] hooks: module sdk, SDK 12.3.9 [ 0.49] hook: memcpy at af485f0 runs hook_memmove [ 0.49] hook: memmove at af48998 runs hook_memmove [ 0.49] hook: memset at af48c70 runs hook_memset [ 0.49] hooks: 3 of the game's functions run the runtime's handlers [ 0.49] nvn: nvn_direct: the runtime implements 537 NVN functions, and the game's NVN driver doesn't run [ 0.49] jit: the AOT module has no runtime code variants; the JIT handles the misses and writes a cache [ 0.50] jit: 4 compile threads, 0 pcs of earlier runs queued [ 0.50] npdm: system resource 32 MB, cores 7, priorities ffffffff0000000 [ 0.50] acc: 1 user, playing as user 1 [ 0.50] time: the time zone is Etc/GMT-9 (UTC+09) [ 0.50] game: 010074f013262000, version 2.2.0 [ 0.50] pl: the Japanese stand-in answers for the console font's private-use characters [ 0.50] pl: the Chinese simplified stand-in answers for the console font's private-use characters [ 0.51] pl: the Chinese traditional stand-in answers for the console font's private-use characters [ 0.51] pl: the Korean stand-in answers for the console font's private-use characters [ 0.51] pl: the extended stand-in answers for the console font's private-use characters [ 0.51] RomFS: the update's over the game's dump, read in place (14490.8 MB) [ 0.51] game: played with Update 2.2.0, DLC 1, DLC 2, DLC 3, DLC 4 [ 0.67] input: no SDL joysticks detected [ 0.68] video: SDL 3.4.18 on windows [ 1.08] vulkan: native ASTC textures were asked for, but the GPU can't sample ASTC: they are decoded to RGBA8 [ 1.08] vulkan: native ETC2 textures were asked for, but the GPU can't sample ETC2: they are decoded [ 1.08] vulkan: the device discrete, the CPU maps all of its memory (resizable BAR); guest buffers copied (vk_memory=auto); VK_EXT_external_memory_host yes, VK_EXT_map_memory_placed no [ 1.12] vulkan: allocations of at most 256 MiB, bigger images in pieces (sparse binding) [ 1.12] vulkan: the driver that runs: NVIDIA, 597.11 (driver ID 4) [ 1.12] vulkan: NVIDIA GeForce RTX 4090, Vulkan 1.4.359, driver 9542c000, graphics queue family 0, compute 2 (separate family) [ 1.12] vulkan: draws sample the color targets they render to in place (attachment feedback loops, enabled by dynamic state, ordered by barriers within the pass) [ 1.18] vulkan: swapchain 1280x720, 3 images, presents timed, fifo [ 1.24] vulkan: pipeline cache loaded (24081 KB) [ 1.24] vulkan: this GPU flushes FP32 subnormals as the console's FTZ instructions do, so shaders are translated without a flush of their own [ 1.24] memory: no traps on this host: GPU engines land their results in guest memory at their fence [ 1.24] renderer: Vulkan [ 1.28] vulkan: ~\010074F013262000_010074F013262800v655360.vkshipped is of another build, GPU or driver: started over [ 1.28] vulkan: ~\010074F013262000_010074F013262800v655360.vkshaders is of another build or driver: its shaders are translated again and its pipelines made again [ 1.33] vulkan: 367 shaders and 266 pipelines of earlier runs loaded from ~\010074F013262000_010074F013262800v655360.vkshaders in 92 ms, the pipelines to be made in the background; 0 shaders of the game's own programs in ~\010074F013262000_010074F013262800v655360.vkshipped [ 1.37] vulkan: main.ro: 402 shaders found [ 1.37] vulkan: main.ro: 244 vertex, 158 fragment [ 1.37] vulkan: fragment 6bf823b66bcf5685 not translated: unknown opcode 000010f0000018c0 [ 1.37] vulkan: fragment 6bf823b66bcf5685 not translated: unknown opcode 000010f0000018c0 [ 1.38] vulkan: main.ro: 198 new, 202 already done, 2 for later [ 1.38] vulkan: main.ro: 198 translated, 202 already translated, 0 left out, 2 failed [ 1.38] vulkan: 402 shaders found: 198 new, 202 already done, 2 for later [ 1.38] vulkan: 402 programs: 198 translated, 202 already translated, 0 left out, 2 failed [ 1.38] vulkan: the game's own shaders: 198 translated new, 198 in ~\010074F013262000_010074F013262800v655360.vkshipped, in 42 ms [ 1.39] prepare: 145 ms before the game started (198 shaders translated from its files, 266 of 266 pipelines of earlier runs made), not shown, as it was quick [ 1.39] main thread: entry 8000000, stack 1300001000 (1024 KiB), priority 44, core 0 [ 1.42] aoc: add-on content 1 (010074f013263001) installed [ 1.42] aoc: add-on content 2 (010074f013263002) installed [ 1.42] aoc: add-on content 3 (010074f013263003) installed [ 1.42] aoc: add-on content 4 (010074f013263004) installed [ 1.74] nvn: the game's driver answers API 55.8 and GPU code 1.5 to 1.16, 22 items in all from its code [ 1.74] nvn: device 140156018 initialized, flags 0 [ 1.74] nvn: depth mode near = -w [ 1.74] nvn: window origin upper left [ 1.74] nvn: queue 140159018 initialized (replay 1) [ 1.74] nvn: texture pool 140254598: 40960 descriptors at GPU 41c480000 [ 1.74] nvn: sampler pool 140254608: 4096 descriptors at GPU 41c5c0000 [ 1.75] nvn: the first texture of format 0x25 (target 1, 1920x1080) [ 1.75] nvn: window 140255a18: 2 textures, first 1920x1080 format 0x25, present interval 1 [ 1.76] nvn: the first texture of format 0x1 (target 1, 320x5760) [ 1.80] nvn: first present, texture 0 of window 140255a18 [ 1.80] vulkan: draw owner 0x80000000 counts samples passed, with occlusion queries [ 1.80] vulkan: write tracking on (caches skip unchanged memory) [ 1.80] vulkan: the on-screen controls' atlas is 1024x1776 [ 1.97] nvn: the first texture of format 0x3f (target 2, 64x64) [ 1.97] nvn: the first texture of format 0x3d (target 1, 960x540) [ 1.97] nvn: the first texture of format 0x3 (target 1, 480x270) [ 1.97] nvn: the first texture of format 0x5 (target 1, 960x540) [ 1.97] nvn: the first texture of format 0xd (target 1, 960x540) [ 1.97] nvn: the first texture of format 0x35 (target 1, 960x540) [ 1.97] nvn: the first texture of format 0xa (target 1, 960x540) [ 1.97] nvn: the first texture of format 0x29 (target 1, 480x270) [ 1.97] nvn: the first texture of format 0x32 (target 1, 960x540) [ 1.97] nvn: the first texture of format 0x17 (target 1, 480x270) [ 1.97] nvn: the first texture of format 0xb (target 1, 480x270) [ 1.97] nvn: the first texture of format 0x11 (target 1, 120x68) [ 2.05] nvn: the first texture of format 0x49 (target 2, 128x128) [ 2.07] nvn: the first texture of format 0x42 (target 2, 128x128) [ 2.11] nvn: the first texture of format 0x4b (target 1, 128x128) [ 2.12] nvn: the first texture of format 0x4d (target 1, 256x256) [ 2.22] nvn: the first texture of format 0x6d (target 2, 16x16) [ 2.23] vulkan: a 331 ms frame: 0 shaders translated (0 ms), 0 pipelines made (0 ms waited for), 0 render targets made, 0 texture uploads (0 KB), 0 ms in finishes [ 2.33] vulkan: a 73 ms frame: 0 shaders translated (0 ms), 0 pipelines made (0 ms waited for), 0 render targets made, 0 texture uploads (0 KB), 0 ms in finishes [ 2.34] nvn: texture pool 2aa83dc00: 2048 descriptors at GPU 4529ec000 [ 2.34] nvn: sampler pool 2aa83dd78: 2048 descriptors at GPU 4529fc000 [ 2.35] nvn: the first texture of format 0x34 (target 1, 240x136) [ 2.62] vulkan: a 51 ms frame: 0 shaders translated (0 ms), 0 pipelines made (0 ms waited for), 0 render targets made, 0 texture uploads (0 KB), 0 ms in finishes [ 6.39] perf: 16.4 frames a second over 5.0 s (82 shown in all) [ 8.42] nvn: the first texture of format 0x4e (target 1, 128x128) [ 8.42] vulkan: a 4875 ms frame: 0 shaders translated (0 ms), 0 pipelines made (0 ms waited for), 0 render targets made, 0 texture uploads (0 KB), 0 ms in finishes [ 8.44] audio: SDL wasapi output opened on 스피커(Sound BlasterX G6) (48000 Hz, 2 channels, signed 16-bit PCM) [ 8.44] audio: queued 4096 bytes of guest PCM [ 11.39] perf: 35.8 frames a second over 5.0 s (261 shown in all) [ 16.14] audio: queued nonzero guest PCM (s16 peak 274) [ 16.39] perf: 57.6 frames a second over 5.0 s (549 shown in all) [ 16.55] vulkan: a 377 ms frame: 0 shaders translated (0 ms), 0 pipelines made (0 ms waited for), 0 render targets made, 0 texture uploads (0 KB), 0 ms in finishes [ 16.71] nvn: the first texture of format 0x50 (target 8, 64x64) [ 17.38] vulkan: buffer bytes over 600 presents: uncached=0 zero=0 calls=0 peak=0 staged=790800 owned=13224 bound=11475904 writeback=0/0 waits=0/0ms reused=0 [ 17.38] vulkan: staged by reason: new=0/0MB same 126/0MB changed no_copy=0/0MB same 0/0MB changed submit=94/0MB same 7160/0MB changed gpu_write=0/0MB same 0/0MB changed epoch=0/0MB same 0/0MB changed written=0/0MB same 0/0MB changed; by size <4K 0MB <64K 0MB <1M 0MB >=1M 0MB; 1090 submits [ 17.38] vulkan: staged most (address+largest length:copies/bytes): 4194b7a00+70:444x/0MB 4194b8200+70:444x/0MB 4194b8700+70:422x/0MB 4194b7f00+70:422x/0MB 4194b8900+70:422x/0MB 4194b8100+70:422x/0MB [ 17.38] vulkan: ring MB over 600 presents (in host/mapped device/device memory): staging 0/0/0 output 0/20/0 back 0/0/0 device 0/0/0 readback 0/0/0 [ 17.38] vulkan: buffer waits: draw=0/0ms read=0/0ms write=0/0ms signal=0/0ms syncwait=0/0ms map=0/0ms draw_landed=old_frame:0 changed:0 composed=0+0 [ 17.38] vulkan: aliased storage draws=0 pages=0; buffer cache entries=124, lookups=48916 probing 0 more slots [ 17.38] vulkan: 11961 draws, 0 skipped; 0 dispatches in 0 batches (0 ms waiting), 0 skipped; 0 finishes (0 ms); 0 reads past queued releases; 22049 descriptor sets written, 1873 reused; 6335 draws kept the last one's shaders and pipeline (0 checked) [ 17.38] vulkan: 0 shaders translated (0 ms), 1 pipelines made (1 from the cache, 0 ms making, 0 ms waited for), 2 render targets made, 12 texture uploads (0 MB); 5 frames over 50 ms in the last 600, the slowest 4875 ms [ 17.38] vulkan: 266 pipelines of earlier runs made in the background (247 from the cache), 0 still to make [ 17.38] vulkan: memory used and budgeted: heap 0 164 of 21840 MB (80 ours), heap 1 119 of 15162 MB (64 ours) [ 17.38] vulkan: caches: 2 render targets (16 MB, 0 parked), 12 textures (0 MB), 92 buffers (0 MB); 147 of 21840 MB in use as they count it, 0 MB freed for the budget so far [ 17.38] vulkan: 0 draws sampled a target they render to in place (0 barriers in passes, 0 passes begun again), 0 through a copy [ 17.38] vulkan: 4395 rendering passes, 0 clear commands, 600 attachments cleared and 0 left undefined by their load op [ 17.38] vulkan: GPU-owned guest memory landed for the CPU 0 times, render targets written back for an engine 0 times [ 19.42] nvn: window crop 0,0 1280x720 [ 21.39] perf: 46.6 frames a second over 5.0 s (782 shown in all) [ 26.40] perf: 30.1 frames a second over 5.0 s (933 shown in all) [ 28.50] FATAL: nvn: a command record at 24165c750 (after a record of op 26) has op 0 and size 0, which nvn_direct never writes