Commit Graph

9050 Commits

Author SHA1 Message Date
martin ridgers
dc2a0bfe13 An implementation of LaunchUnrealTrace() for POSIX platforms (currently disabled).
#rb jb
#preflight 6139c15648e495000141820c
#rnx

#ROBOMERGE-AUTHOR: martin.ridgers
#ROBOMERGE-SOURCE: CL 17469929 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v870-17433530)

[CL 17469934 by martin ridgers in ue5-release-engine-test branch]
2021-09-09 05:37:16 -04:00
martin ridgers
9a4471d2d6 Clarified that the shwon return value is in hexadecimal
#rb jb
#preflight 6139c15648e495000141820c
#rnx

#ROBOMERGE-AUTHOR: martin.ridgers
#ROBOMERGE-SOURCE: CL 17469908 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v870-17433530)

[CL 17469914 by martin ridgers in ue5-release-engine-test branch]
2021-09-09 05:36:27 -04:00
martin ridgers
b33b869a1d Swapped to a string-builder and adding missing TEXT() decoration around some literals
#rb jb
#preflight 6139c15648e495000141820c
#rnx

#ROBOMERGE-AUTHOR: martin.ridgers
#ROBOMERGE-SOURCE: CL 17469873 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v870-17433530)

[CL 17469885 by martin ridgers in ue5-release-engine-test branch]
2021-09-09 05:35:19 -04:00
martin ridgers
54d5ea36ea -traceshowstore to pop up the store server in its own console window. Useful for debugging.
#rb jb
#preflight 6139c15648e495000141820c
#rnx

#ROBOMERGE-AUTHOR: martin.ridgers
#ROBOMERGE-SOURCE: CL 17469847 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v870-17433530)

[CL 17469879 by martin ridgers in ue5-release-engine-test branch]
2021-09-09 05:35:03 -04:00
per larsson
3726bb5349 Implement copy/assignment operators for FKeyChain to prevent copying/using Key pointer from other instance
#rb Paul.Chipchase
#jira UE-93058
#6925

#ushell-cherrypick of 17454829 by Per.Larsson

#ROBOMERGE-AUTHOR: per.larsson
#ROBOMERGE-SOURCE: CL 17469576 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v870-17433530)

[CL 17469581 by per larsson in ue5-release-engine-test branch]
2021-09-09 05:16:46 -04:00
robert millar
f12b8f16a3 Set insights trace memory tag on io requests like we do with LLM tag.
#jira none
#rb none
#[robomerge][bot1] Dev-EngineMerge

#ushell-cherrypick of 17464594 by Robert.Millar

#ROBOMERGE-AUTHOR: robert.millar
#ROBOMERGE-SOURCE: CL 17465963 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v870-17433530)

[CL 17465964 by robert millar in ue5-release-engine-test branch]
2021-09-08 19:53:57 -04:00
charles bloom
4d7bcb6e04 OodleCompressDLL config option needs to be read in CopyBuildToStagingDirectory and passed on the command line
because UnrealPak as a program can't read project config hierarchy

#rb dan.thompson,josh.adams

#ROBOMERGE-AUTHOR: charles.bloom
#ROBOMERGE-SOURCE: CL 17464507 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v870-17433530)

[CL 17464538 by charles bloom in ue5-release-engine-test branch]
2021-09-08 17:53:21 -04:00
geoff evans
b353e75c60 FApp::HasFocus() API to unify checking focus state
This is a defensive change to more uniformly gate conditions of various pathways that want to "nice" CPU consumption when the application is not the foreground application (doesn't "Have Focus"). In benchmarking scenarios we don't want a focus-grabbing application to cause change in behavior while taking performance measurements. This could be in local workstation benchmarking where other foreground apps will naturally come to the front or in data center build where antics that might otherwise be completely unknowable could impact benchmark measurements.

This change was formulated after finding some "nice" CPU conditionals that were instrumented, but not all of them are. This change aims to prevent having to instrument, profile, and mitigate each condition separately.

#rnx
#jira none
#rb francis.hurteau, brandon.schaefer
#preflight 611ec9248ff55400018d5018

#ROBOMERGE-AUTHOR: geoff.evans
#ROBOMERGE-SOURCE: CL 17463345 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v870-17433530)

[CL 17463757 by geoff evans in ue5-release-engine-test branch]
2021-09-08 16:59:42 -04:00
robert millar
eef73ebc8b Insights changes:
Make memory tag specs important so they don't get dropped before a trace connection is made.
Prevent Insights from crashing when opening a trace missing memory scopes or with missing scope specs.
Add a tooltip to symbol resolution noting the environment variable for symbol paths.
Allow Insights to capture full callstacks (including system modules) with the define UE_CALLSTACK_TRACE_FULL_CALLSTACKS or the command line argument -tracefullcallstacks on Windows.

#jira none
#rb ionut.matasaru, martin.ridgers

#ROBOMERGE-AUTHOR: robert.millar
#ROBOMERGE-SOURCE: CL 17461782 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v870-17433530)
#ROBOMERGE[bot1]: Dev-EngineMerge

[CL 17461823 by robert millar in ue5-release-engine-test branch]
2021-09-08 15:02:01 -04:00
andriy tylychko
97d8614111 fixed TSan warning
#ROBOMERGE-AUTHOR: andriy.tylychko
#ROBOMERGE-SOURCE: CL 17457828 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v870-17433530)

[CL 17457835 by andriy tylychko in ue5-release-engine-test branch]
2021-09-08 09:27:42 -04:00
nuno leiria
92c8a74ffe Change Stadia time to use Unix time again.
Functional tests discovered errors in the implementation. This way Improvements to Unix also improve Stadia without duplicated effort.

#preflight 61389e432d09b9000155e7e6
#rb trivial

#ROBOMERGE-AUTHOR: nuno.leiria
#ROBOMERGE-SOURCE: CL 17457455 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v870-17433530)

[CL 17457471 by nuno leiria in ue5-release-engine-test branch]
2021-09-08 09:07:40 -04:00
matt peters
56274a7640 ZenStoreWriter - Make CommitPackage take an array of attachments; remove separate variables for TargetDomainDependencies and send them in as an attachment.
ZenStoreHttpClient - Add IsConnected.
#rb CarlMagnus.Nordin, Stefan.Boberg
#rnx

#ROBOMERGE-AUTHOR: matt.peters
#ROBOMERGE-SOURCE: CL 17456396 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v870-17433530)
#ROBOMERGE[bot1]: dev-enginemerge-test

[CL 17456510 by matt peters in ue5-release-engine-test branch]
2021-09-08 07:04:39 -04:00
andriy tylychko
3520cd8043 Tasks: releasing TaskBody functor after its execution as it can contain captured resources messing with their lifetimes
#jira UE-125205

#ROBOMERGE-AUTHOR: andriy.tylychko
#ROBOMERGE-SOURCE: CL 17455132 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v870-17433530)
#ROBOMERGE[bot1]: emt

[CL 17455326 by andriy tylychko in ue5-release-engine-test branch]
2021-09-08 05:14:31 -04:00
aurel cordonnier
b8a2838142 Fix typo in assert text
#rnx
#rb trivial

#ROBOMERGE-AUTHOR: aurel.cordonnier
#ROBOMERGE-SOURCE: CL 17453273 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v870-17433530)

[CL 17453324 by aurel cordonnier in ue5-release-engine-test branch]
2021-09-07 23:34:31 -04:00
zousar shaker
8c80e5a866 Change Compact Binary Package API to represent binary attachments as compressed buffers identified by their raw hash.
Change Compact Binary Package serialization for binary attachments, compressed binary attachments and objects.

#rb devin.doucette

#ROBOMERGE-AUTHOR: zousar.shaker
#ROBOMERGE-SOURCE: CL 17450533 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v870-17433530)

[CL 17450587 by zousar shaker in ue5-release-engine-test branch]
2021-09-07 18:07:00 -04:00
jorgenpt
0ed5ae5123 PR #8376: Fix whitespace issue when updating config sections (Contributed by jorgenpt)
#ROBOMERGE-AUTHOR: josh.adams
#ROBOMERGE-SOURCE: CL 17449932 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v870-17433530)

[CL 17449960 by jorgenpt in ue5-release-engine-test branch]
2021-09-07 17:02:50 -04:00
josie yang
742d1c2a03 Morph target engine modifications for 3rd party plugin
[FYI] alexis.matte, brian.white, christopher.waters, mihnea.balta, rolando.caloca, will.damon, halfdan.ingvarsson, kevin.ortegren

#ROBOMERGE-AUTHOR: josie.yang
#ROBOMERGE-SOURCE: CL 17444191 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v870-17433530)

[CL 17444481 by josie yang in ue5-release-engine-test branch]
2021-09-07 10:20:14 -04:00
carlmagnus nordin
2d97f9667e IoStore: Added support for storing compressed chunks in DDC
#rb pj.kack
#rnx

#ROBOMERGE-AUTHOR: carlmagnus.nordin
#ROBOMERGE-SOURCE: CL 17444267 via CL 17444348 via CL 17444353 via CL 17444359
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v870-17433530)
#ROBOMERGE[STARSHIP]: UE5-Main

[CL 17444366 by carlmagnus nordin in ue5-release-engine-test branch]
2021-09-07 10:11:43 -04:00
yangke li
abb9346236 add ARM ASTC Encoder, support HDR profile, add astc hdr pixel format for opengl, vulkan and metal
todo:  hdr decode at runtime when astc hdr not supported
needs to figure out why ARM Encoder is much slower than ISPC, use ARM only for HDR Textures might be a good compromise.
#jira UE-119388

#ROBOMERGE-AUTHOR: yangke.li
#ROBOMERGE-SOURCE: CL 17441496 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v870-17433530)

[CL 17441499 by yangke li in ue5-release-engine-test branch]
2021-09-07 01:24:23 -04:00
aurel cordonnier
7f517562d5 Merge from Release-Engine-Staging @ 17438845 to Release-Engine-Test
This represents UE4/Main @17430120 and Dev-PerfTest @17437669

[CL 17439044 by aurel cordonnier in ue5-release-engine-test branch]
2021-09-06 12:23:53 -04:00
jason hoerner
52451a1a39 UE5_Main: Non-unity build fix, missing include in GrowOnlyLockFreeHash.h
#rb trivial
#jira none
#rnx

#ROBOMERGE-SOURCE: CL 17432679 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v868-17431974)

[CL 17432688 by jason hoerner in ue5-release-engine-test branch]
2021-09-04 17:12:56 -04:00
jason hoerner
110bd98b0a UE5: Optimizations when memory tracing is enabled: 5x perf increase with -llmcsv, 8x perf increase with -trace=memory.
#rb matt.peters johan.berg ionut.matasaru brandon.dawson jason.nadro
#rnx

Over half the perf gain was from reducing critical section locks, with the rest of the gains split between an optimization to call stack traversal (caching return address lookups in a lock free map), and enabling TLS related optimizations for MallocBinned2, which were inadvertently disabled when tracing was enabled (this also saves some locks).  Multiple lock types had to be optimized before measurable perf gains were observed, due to contention on remaining locks increasing as the first few locks were removed.  A total of 6 types of locks were removed or reduced:  AnnounceFNameTag, MallocBinned2, TagDataNameMap, Enum tag data lookup, Windows callstack trace, LLMMap.

* Added hash table utility class TGrowOnlyLockFreeHash which supports lock free reads, writes using a critical section, and no deletion.  This is intended for classes that represent caches of one-time initialized debug data used during memory tracing, which never needs to be freed.
* TGrowOnlyLockFreeHash applied to 4 sets/maps used when memory tracing is enabled, including tag data, announced tag names, call stack functions, and call stack IDs.
* Lock striping added to LLMMap.  This isn't a good candidate for a lock free approach, as it has a heavy amount of modification, and lock free approaches tend to perform worse than lock striping in that case, plus it would be a massive undertaking to make this lock free.
* A future lock to be removed would be the one in "FLowLevelAllocInfo::GetTag", protecting the "FLowLevelMemTracker::TagDatas" array, saving a couple percent more perf.
#preflight 6132a3a6bf137d00019a8c97

#ROBOMERGE-SOURCE: CL 17428762 via CL 17429451
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v865-17346139)

[CL 17429480 by jason hoerner in ue5-release-engine-test branch]
2021-09-03 20:58:47 -04:00
devin doucette
732d680316 StringBuilder: Fixed a static analysis warning, and fixed direct use of the base type
#jira UE-125163
#rb Halfdan.Ingvarsson
#preflight 6132516579ce1700010aae4f

#ROBOMERGE-SOURCE: CL 17425190 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v865-17346139)

[CL 17425211 by devin doucette in ue5-release-engine-test branch]
2021-09-03 14:51:12 -04:00
danny couture
4e6f8f7067 Add Insight tag over each automation tests
#rb trivial

#ROBOMERGE-SOURCE: CL 17418793 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v865-17346139)

[CL 17418828 by danny couture in ue5-release-engine-test branch]
2021-09-03 07:42:37 -04:00
carlmagnus nordin
4d924fbd4a Restore Oodle allocator hooks
#rnx
#jira UE-124678
#rb charles.bloom

#ROBOMERGE-SOURCE: CL 17405626 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v865-17346139)

[CL 17405629 by carlmagnus nordin in ue5-release-engine-test branch]
2021-09-02 13:41:10 -04:00