Log of jb_5028e5cdc3b0e542 cancelled
2b959bd · steamdeck on lick/agent-13bf87 · try 2 build-base
The tester's app sends its newest lines with each heartbeat, home folders, user and host names taken out, the last 64 KB kept.
Last line .
Fetching the build tools (tools.lock), outside the sandbox
export EMSDK=<data>/tools/longshot/builder/toolchains/dev/usr/lib/longshot/emsdk
export LONGSHOT_FFMPEG=<data>/tools/longshot/builder/toolchains/dev/usr/lib/longshot/ffmpeg
export LONGSHOT_SDL2=<data>/tools/longshot/builder/toolchains/dev/usr/lib/longshot/sdl2/libSDL2-2.0.so.0
export LONGSHOT_SYSROOT=<data>/tools/longshot/builder/toolchains/dev/usr/lib/longshot/sysroot
export RX_CPM=<data>/tools/longshot/builder/toolchains/dev/usr/share/longshot/cpm
the old base is kept (main@d76feb2d0b91); the new one starts from a copy of its work folder
the main base: /usr/bin/nice -n 10 <data>/python/bin/python3 -I <data>/longshot/scripts/dev.py packs base <data>/bases/main --romfs <game files>/85b08e81a2a08612f88de1063c8581fe/romfs --exefs <game files>/85b08e81a2a08612f88de1063
+ <data>/python/bin/python3 -I nx2/make_game.py --romfs <game files>/85b08e81a2a08612f88de1063c8581fe/romfs --exefs <game files>/85b08e81a2a08612f88de1063c8581fe/exefs --work <data>/bases/main/work --out <data>/bases/main/game -
build: the game is built for this PC's CPU (znver2_znver2_245cab1ce0)
Linux build prerequisites: OK
@@stage read Reading your game files
rtld not ZBIC, kept
main not ZBIC, kept
subsdk0 not ZBIC, kept
sdk not ZBIC, kept
@@progress 0.000
the game's name: none (Longshot), its icon: none
the hot list: the committed assets/profiles/hot_funcs.txt
@@stage lift Translating the game to PC code
host/ defines 3 imp_ functions for symbols no module has (unused):
_ZN2nn2os11SystemEventC2ENS0_14EventClearModeEb
_ZN2nn2os11SystemEventD2Ev
_ZN2nn5audio29SetVoiceBiquadFilterParameterEPNS0_9VoiceTypeEiRKNS0_21BiquadFilterParameterE
standalone: 563 HLE functions in host/, 189 OS-facing imports stubbed
image: rtld@0x80000000+0x20000, main@0x80020000+0x4ea0000, subsdk0@0x84ec0000+0xe0000, sdk@0x84fa0000+0x1080000; 295178 entries, 0 trampolines (0 unresolved non-weak imports) (5s)
ADR / ADRP+ADD code addresses outside the 284387 unwind-covered functions: 14083, 79 of them new entries
entry hooks: 6 of 6 (memcpy sdk+0x78f020, memmove sdk+0x78f040, memset sdk+0x78f300, strlen sdk+0x7a7d40, memcmp sdk+0x7bd280, strcmp sdk+0x7bd380)
widescreen: 18 of 18 sites
field of view: gameplay lens hooked
shadow resolution: sun cascades hooked
dlss jitter: 3 of 3 sites
locals: 16 functions with spliced code kept in the context
locals: 26 functions entered above their first block kept in the context
locals: 69 functions that hold an address the patches name kept in the context
locals: 207258 functions no play session ran kept in the context (nx2/ran_funcs.txt)
discovered 294518 functions (54s)
@@progress 0.190
module functions complete leaf instructions untranslated BLR BR(not table)
main 249484 100.00% 87939 15379565 0 166923 10691
sdk 43487 100.00% 23553 2131585 0 15068 12288
subsdk0 1503 100.00% 789 132606 0 774 543
rtld 44 100.00% 19 2370 0 26 6
all 294518 100.00% 112300 17646126 0 182791 23528
undefined encodings reached (UDF, unallocated: trap, as on the hardware): 18526 sites
translated instructions: 100.0000% of 17646126 (shared tails counted once per function)
lift: coverage in 17.9s (72s)
@@progress 0.289
jump tables 1475 (bounded 1385, bounded by function 58, ADR table 1), BR without a table 0, PLT stubs 9917
jump tables whose table register is reused before the br: 7
hot functions (A64_HOT_FUNCS): 680 of 680 listed found, in code_hot.c
fast float regions (A64_FASTFP=1): 10958, 148033 float ops in them
lift: emit and write (2 processes) in 165.0s (237s)
@@progress 0.691
chunks: code_001.c (33 MB, cost 45 MB) in 2 parts
chunks: code_013.c (25 MB, cost 49 MB) in 3 parts
chunks: code_019.c (23 MB, cost 36 MB) in 2 parts
chunks: code_021.c (59 MB, cost 210 MB) in 9 parts
chunks: code_022.c (19 MB, cost 149 MB) in 4 parts
chunks: code_038.c (49 MB, cost 54 MB) in 3 parts
lift: big chunks split in 3.0s (240s)
@@progress 0.762
chunks: 71, boundaries kept
oot_patches: the zstd stream decode's host hook in code_000.c
oot_patches: 1 frame counter(s) with the step's whole frames in code_000.c
oot_patches: a moving floor's carry above 60 fps in code_001.c
oot_patches: the menus' focus hook in code_001_1.c
oot_patches: heap-full retries of the OptimizeChangeBank allocations in code_002.c
oot_patches: 1 frame counter(s) with the step's whole frames in code_002.c
oot_patches: the sound job at 60 Hz above 60 fps in code_002.c
oot_patches: movement speed in code_003.c
oot_patches: player flight rotation in code_004.c
oot_patches: the scene buffer's format for native HDR in code_004.c
oot_patches: camera speed at 2 function(s) in code_004.c
oot_patches: 1 frame counter(s) with the step's whole frames in code_004.c
oot_patches: the frame's time at 1 step divide(s) in code_005.c
oot_patches: the texture heap's compaction asked for through the host in code_005.c
oot_patches: dynamic resolution switch in code_006.c
oot_patches: movement speed in code_007.c
oot_patches: text speed scale and text size in code_008.c
oot_patches: save request trace in code_008.c
oot_patches: the Voice Language option followed after option.sav is read in code_008.c
oot_patches: 1 frame counter(s) with the step's whole frames in code_008.c
oot_patches: the opening skip at 2 function(s) in code_010.c
oot_patches: the text boxes' draw hook in code_015.c
oot_patches: the text boxes' layout hook in code_015.c
oot_patches: the glyphs' hook in code_017.c
oot_patches: the cloth's time below 60 fps in code_021.c
oot_patches: the saved steering rate above 60 fps in code_029.c
oot_patches: the ocarina note wait in code_031.c
oot_patches: a horse's jump blend above 60 fps in code_033.c
oot_patches: camera speed at 2 function(s) in code_035.c
oot_patches: the fixed path's scale in code_037.c
oot_patches: 3 frame counter(s) with the step's whole frames in code_038.c
oot_patches: the preload manager's choice of a neighbouring map through the host in code_038.c
oot_patches: the song playbacks' note flag once a note above 60 fps in code_038.c
oot_patches: the solver steps rounded up above 60 fps in code_042.c
oot_patches: a moving floor's carry above 60 fps in code_042.c
oot_patches: the movie's frame count by the frames' time in code_044.c
oot_patches: the opening skip at 1 function(s) in code_044.c
oot_patches: the frame's time at 1 step divide(s) in code_044.c
oot_patches: the menus' update hook in code_hot.c
oot_patches: the zstd whole-buffer decode's host hook in code_hot.c
oot_patches: 2 animation clock(s) with whole frames for a loop of one frame in code_hot.c
oot_patches: the drawn time of a loop of one frame by its start in code_hot.c
oot_patches: player heart protection in code_hot.c
oot_patches: player flight in code_hot.c
oot_patches: native mouse camera in code_hot.c
oot_patches: disable camera centering switch in code_hot.c
oot_patches: free camera in code_hot.c
oot_patches: the music manager's whole step above 60 fps in code_hot.c
oot_patches: the music manager's change flags kept above 60 fps in code_hot.c
oot_patches: the job barriers' sleeps and mask ORs through the host in code_hot.c
oot_patches: the cloth's solves above 60 fps in code_hot.c
oot_patches: a moving floor's carry above 60 fps in code_hot.c
oot_patches: Link's driven body's target above 60 fps in code_hot.c
lift: patches (2 processes) in 15.6s (256s)
@@progress 0.802
oot_patches: output size in code_008.c
oot_patches: output size in code_011.c
oot_patches: output size in code_012.c
oot_patches: output size in code_013_2.c
oot_patches: output size in code_040.c
oot_patches: output size in code_044.c
lift: output size and page-mark groups in 14.5s (270s)
@@progress 0.954
locals: 1 functions kept in the context for the patches; 43 patched functions checked in the written C
lift: locals check in 4.6s (275s)
standalone: hos_image.c (thread hooks 0x85e5dc40, 0x85e5dc48), 189 import stubs
standalone: nvn2_exports.c (22 sdk NVN functions routed to host/nvn2.c)
lift: runtime tables and standalone files (beside the edits) in 0.0s (275s)
@@progress 1.000
functions 294518, instructions 17646126 (with shared tails), jump tables 1475, indirect BR 13260 of 25011, PLT stubs 9917, unhandled words 16 (18526 sites), bad targets 0
jump tables: 1385 bounded, 58 bounded by the function, 3 rejected (target outside), 0 table not found
br to a code constant: 1; br with adr candidates: 39
page marks: 91941 groups share one mark for 408785 of 600220 stores through a base register
functions with code below their entry, started at it by a goto: 26
entry hooks spliced: 6
interrupt polls: 683130 loop headers in 113681 functions
wrote 71 code files to <data>/bases/main/work/sa/gen (277s)
done (277s)
split_hot: piece 0: 40 functions, 12 MB, cost 52 MB
split_hot: piece 1: 47 functions, 12 MB, cost 33 MB
split_hot: piece 2: 82 functions, 12 MB, cost 29 MB
split_hot: piece 3: 139 functions, 13 MB, cost 24 MB
split_hot: piece 4: 68 functions, 8 MB, cost 24 MB
split_hot: piece 5: 128 functions, 13 MB, cost 24 MB
split_hot: piece 6: 85 functions, 9 MB, cost 24 MB
split_hot: piece 7: 91 functions, 10 MB, cost 24 MB
split_hot: 1943 of 3137 calls stay in one piece (1943 in one group)
@@stage compile Compiling
build: the game is built for this PC's CPU (znver2_znver2_245cab1ce0)
version: v3.0.0-rc.4-435-g89c3d21e (source 52f5212d)
build: shared A64 runtime helpers at O2 (RX_A64_RT_O2=0: cold-code level)
build: 56 lifted chunks without -O1's module passes (LONGSHOT_LIGHT_PASSES, functions under 1024 KB): code_000.c code_001.c code_001_1.c code_002.c code_003.c code_004.c code_005.c code_006.c code_007.c code_008.c code_009.c code_010.c code_011.c code_012.c code_013_1.c code_013_2.c code_014.c cod
object keys: game-code headers 16f3cadc1c, flags 69506ec989, hot flags 51038cd73f, lifted code 5b2739167d (78 files)
the Vulkan back end: Vulkan <data>/tools/longshot/builder/toolchains/dev/usr/share/longshot/cpm/vulkanheaders/v1.4.345, SPIR-V <data>/tools/longshot/builder/toolchains/dev/usr/share/longshot/cpm/spirv-headers/vulkan-sdk-1.4.341.0, VMA <data>/tools/longshot
the Vulkan back end: built with the profile <data>/bases/main/work/longshot_vk.shipped.profdata
@@plan 402 558
@@eta 5923
558 files, 1 jobs, -DLONGSHOT_NATIVE_CPU=znver2_znver2_245cab1ce0 -O1 -DA64_POLLING -DA64_WRITE_TRACK -DA64_MARK_BITMAP
code_hot_0.c 12 MB 392s (392s)
@@progress 0.040
@@file code_hot_0.c 391.6 new
@@eta 5872
code_hot_1.c 12 MB 233s (625s)
@@progress 0.080
@@file code_hot_1.c 233.2 new
@@eta 5821
code_hot_2.c 12 MB 260s (886s)
@@progress 0.120
@@file code_hot_2.c 260.3 new
@@eta 5770
code_hot_5.c 13 MB 222s (1108s)
@@progress 0.164
@@file code_hot_5.c 222.1 new
@@eta 5714
code_hot_3.c 13 MB 300s (1408s)
@@progress 0.205
@@file code_hot_3.c 299.7 new
@@eta 5661
code_hot_7.c 10 MB 388s (1796s)
@@progress 0.237
@@file code_hot_7.c 388.1 new
@@eta 5621
code_hot_6.c 9 MB 417s (2213s)
@@progress 0.266
@@file code_hot_6.c 416.6 new
@@eta 5583
code_hot_4.c 8 MB 417s (2629s)
@@progress 0.292
@@file code_hot_4.c 416.8 new
@@eta 5550
code_022_1.c 5 MB 79s (2708s)
@@progress 0.294
@@file code_022_1.c 78.5 new
@@eta 5491
code_022_2.c 3 MB 53s (2762s)
@@progress 0.296
@@file code_022_2.c 53.1 new
@@eta 5477
code_047.c 26 MB 96s (2858s)
@@progress 0.308
@@file code_047.c 95.5 new
@@eta 5352
code_041.c 26 MB 88s (2946s)
@@progress 0.321
@@file code_041.c 88.1 new
@@eta 5285
code_015.c 24 MB 84s (3030s)
@@progress 0.332
@@file code_015.c 83.7 new
@@eta 5233
code_043.c 25 MB 63s (3093s)
@@progress 0.344
@@file code_043.c 62.8 new
@@eta 5120
code_008.c 25 MB 54s (3147s)
@@progress 0.356
@@file code_008.c 53.8 new
@@eta 5044
code_042.c 27 MB 68s (3216s)
@@progress 0.369
@@file code_042.c 68.2 new
@@eta 4981
code_048.c 24 MB 58s (3274s)
@@progress 0.380
@@file code_048.c 57.8 new
@@eta 4885
code_039.c 25 MB 57s (3332s)
@@progress 0.391
@@file code_039.c 57.4 new
@@eta 4820
code_021_1.c 7 MB 85s (3417s)
@@progress 0.395
@@file code_021_1.c 85.3 new
@@eta 4788
code_044.c 24 MB 51s (3468s)
@@progress 0.406
@@file code_044.c 50.6 new
@@eta 4703
code_045.c 24 MB 53s (3521s)
@@progress 0.418
@@file code_045.c 52.6 new
@@eta 4589
code_006.c 25 MB 60s (3581s)
@@progress 0.429
@@file code_006.c 60.0 new
@@eta 4539
code_013.c 9 MB 28s (3610s)
@@progress 0.434
@@file code_013.c 28.3 new
@@eta 4490
code_036.c 26 MB 53s (3663s)
@@progress 0.446
@@file code_036.c 52.6 new
@@eta 4426
code_051.c 26 MB 62s (3725s)
@@progress 0.458
@@file code_051.c 62.1 new
@@eta 4367
code_007.c 26 MB 59s (3784s)
@@progress 0.470
@@file code_007.c 58.6 new
@@eta 4201
code_021_3.c 5 MB 232s (4017s)
@@progress 0.473
@@file code_021_3.c 232.3 new
@@eta 4178
code_035.c 24 MB 54s (4071s)
@@progress 0.484
@@file code_035.c 54.3 new
@@eta 4118
code_049.c 24 MB 45s (4117s)
@@progress 0.495
@@file code_049.c 45.3 new
@@eta 4051
code_030.c 26 MB 58s (4175s)
@@progress 0.507
@@file code_030.c 57.9 new
@@eta 3997
code_033.c 24 MB 52s (4227s)
@@progress 0.519
@@file code_033.c 52.2 new
@@eta 3923
code_010.c 26 MB 49s (4276s)
@@progress 0.531
@@file code_010.c 48.8 new
@@eta 3858
code_029.c 25 MB 57s (4334s)
@@progress 0.543
@@file code_029.c 57.3 new
@@eta 3802
code_017.c 22 MB 102s (4436s)
@@progress 0.553
@@file code_017.c 101.7 new
@@eta 3731
code_011.c 26 MB 50s (4486s)
@@progress 0.565
@@file code_011.c 49.8 new
@@eta 3674
code_009.c 25 MB 51s (4537s)
@@progress 0.577
@@file code_009.c 50.6 new
@@eta 3549
code_024.c 24 MB 72s (4609s)
@@progress 0.588
@@file code_024.c 72.1 new
@@eta 3355
code_004.c 22 MB 58s (4667s)
@@progress 0.599
@@file code_004.c 58.0 new
@@eta 3312
code_012.c 26 MB 44s (4711s)
@@progress 0.611
@@file code_012.c 43.7 new
@@eta 3258
code_034.c 24 MB 44s (4755s)
@@progress 0.623
@@file code_034.c 43.6 new
@@eta 3203
code_005.c 20 MB 62s (4818s)
@@progress 0.632
@@file code_005.c 62.5 new
@@eta 3057
code_018.c 20 MB 88s (4907s)
@@progress 0.641
@@file code_018.c 88.5 new
@@eta 2995
code_020.c 21 MB 91s (4998s)
@@progress 0.651
@@file code_020.c 91.5 new
@@eta 2937
code_023.c 23 MB 74s (5073s)
@@progress 0.662
@@file code_023.c 74.4 new
@@eta 2831
code_021_7.c 2 MB 56s (5129s)
@@progress 0.664
@@file code_021_7.c 55.9 new
@@eta 2819
code_016.c 24 MB 55s (5184s)
@@progress 0.675
@@file code_016.c 54.8 new
@@eta 2680
code_032.c 25 MB 49s (5234s)
@@progress 0.687
@@file code_032.c 49.2 new
@@eta 2605
code_037.c 24 MB 40s (5274s)
@@progress 0.698
@@file code_037.c 40.0 new
@@eta 2549
code_025.c 24 MB 54s (5328s)
@@progress 0.709
@@file code_025.c 54.3 new
@@eta 2482
code_026.c 24 MB 44s (5372s)
@@progress 0.721
@@file code_026.c 43.8 new
@@eta 2300
code_050.c 24 MB 44s (5417s)
@@progress 0.732
@@file code_050.c 44.3 new
@@eta 2248
code_031.c 25 MB 46s (5463s)
@@progress 0.744
@@file code_031.c 45.6 new
@@eta 2196
code_021_4.c 5 MB 59s (5522s)
@@progress 0.746
@@file code_021_4.c 58.8 new
@@eta 2175
code_014.c 24 MB 60s (5582s)
@@progress 0.758
@@file code_014.c 59.5 new
@@eta 2157
code_040.c 24 MB 69s (5651s)
@@progress 0.769
@@file code_040.c 69.2 new
@@eta 2107
code_046.c 24 MB 43s (5694s)
@@progress 0.780
@@file code_046.c 42.9 new
@@eta 1995
code_027.c 24 MB 47s (5741s)
@@progress 0.791
@@file code_027.c 46.9 new
@@eta 1853
code_021_6.c 6 MB 97s (5839s)
@@progress 0.794
@@file code_021_6.c 97.4 new
@@eta 1826
code_028.c 24 MB 47s (5886s)
@@progress 0.806
@@file code_028.c 46.6 new
@@eta 1746
code_002.c 20 MB 49s (5936s)
@@progress 0.815
@@file code_002.c 49.3 new
@@eta 1708
code_003.c 19 MB 48s (5984s)
@@progress 0.824
@@file code_003.c 48.5 new
@@eta 1553
code_021.c 19 MB 67s (6051s)
@@progress 0.833
@@file code_021.c 67.0 new
@@eta 1290
code_001.c 18 MB 52s (6104s)
@@progress 0.842
@@file code_001.c 52.0 new
@@eta 1237
code_022.c 3 MB 53s (6157s)
@@progress 0.844
@@file code_022.c 52.9 new
@@eta 1167
code_001_1.c 14 MB 42s (6199s)
@@progress 0.851
@@file code_001_1.c 42.1 new
@@eta 1159
code_052.c 18 MB 35s (6234s)
@@progress 0.859
@@file code_052.c 35.2 new
@@eta 1018
code_038_1.c 17 MB 32s (6266s)
@@progress 0.867
@@file code_038_1.c 31.9 new
@@eta 949
code_038.c 16 MB 35s (6302s)
@@progress 0.875
@@file code_038.c 35.4 new
@@eta 873
code_038_2.c 16 MB 32s (6334s)
@@progress 0.882
@@file code_038_2.c 32.3 new
@@eta 808
code_019.c 11 MB 57s (6392s)
@@progress 0.888
@@file code_019.c 57.4 new
@@eta 742