Commit Graph

210 Commits

Author SHA1 Message Date
christopher waters
8d8c05f497 Reworking shader platform settings on Windows to be per-RHI. This removes the ill-fated "min/max feature level" configs that were just causing confusion.
On Windows, "TargetedRHIs" is now split into "D3D11TargetedShaderFormats", "D3D12TargetedShaderFormats" and "VulkanTargetedShaderFormats". "TargetedRHIs" is still parsed for backwards compatibility.
Using this, projects can now be more easily configured for D3D12-only or even Vulkan-only.
Updated FShaderFormatsPropertyDetails to use FName instead of FString for shader platforms. Also added a filtering method for mixed RHI platforms like Windows.

#jira none
#rb mihnea.balta, josh.adams
#preflight 6287cbf46c7692ac8cc8805f

[CL 20300786 by christopher waters in ue5-main branch]
2022-05-20 15:09:09 -04:00
PJ Kack
42985a9093 Delete private and unused LauncherUATCommand.h file
#jira none
#rb trivial
#rnx
#preflight 627e0966332e182a58738d1f

[CL 20178445 by PJ Kack in ue5-main branch]
2022-05-13 03:38:18 -04:00
Dan Thompson
3a6321167b Packaging Reference Chunk Database - "Lossless Patch Preventer"
Can now provide reference iostore containers to reuse compressed chunks from. If a match is found on *the decompressed data*, instead of recompressing the blocks, they are read off of disk. This allows tweaks of the compressor algorithm without introducing changes as the runtime still sees the exact same data. Additionally this allows for fairly dramatic staging speedups as nvme speeds are significantly faster than high effort compressions. This is distinct from the DDC compression because:
1) DDC compression ties in the compressor version/method
2) We are explicitly interested in chunks that are deployed to end users, not merely cached for speed.

To facilitate this, several changes were made to IoStore:

FIoStoreReader now directly reads from IFileHandles* instead of routing through the GenericPlatformFile async read system, as that system is sensitive to build #defines and can result in constant file opens under load (indeed, for anything not a .pak file, every read is an open/close).

Cold file cache read speed improvements from ~140MB/s to ~1 GB/s. Hot is more.

Additionally:
    FIoStoreReader switched to UE::Tasks from taskgraph for tasks in order to facilitate task retraction during waits as the previous ReadAsync call was trivial to deadlock when called from worker threads due to its use of TFuture<>.
    FIoStoreReader::ReadCompressed now returns the compressed blocks as they were on disk - padded to AES encryption block size.

#rb fabian.giesen
#rb jeff.roberts
#preflight 627586dcf77c9c2b543d4d8b

[CL 20086673 by Dan Thompson in ue5-main branch]
2022-05-06 18:22:44 -04:00
brandon schaefer
0bd6c3bf25 Dont pass -noclient if we are doing both a client and server build
#jira UE-149294
#rb Josh.Adams
#preflight 62743bf54a2e9340486e9f77

#ROBOMERGE-AUTHOR: brandon.schaefer
#ROBOMERGE-SOURCE: CL 20064789 in //UE5/Release-5.0/... via CL 20065553
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20067014 by brandon schaefer in ue5-main branch]
2022-05-05 19:18:33 -04:00
PJ Kack
5d0ce32acd UAT: For editor quick launch and packaging, only pass -iostore and -compressed when using -pak, and never pass -compressed to the cook commandlet (that feature has been removed).
#jira none
#rb carlmagnus.nordin
#rnx
#preflight 6273b3d45b05fb4f60112bbe

[CL 20056179 by PJ Kack in ue5-main branch]
2022-05-05 07:41:13 -04:00
PJ Kack
040822a13a Editor launcher cleanup.
Initialize all members in FLauncherTask, and move ReadPipe and WritePipe to FLauncherUATTask.
Initialize all members in FLauncherWorker.
Delete FLauncherVerifyProfileTask since Profile->IsValidForLaunch() is aready checked in FLauncher::Launch before creating the FLauncherWorker.
Move duplicate parsing of "Running Package@Device" and device package handling from all separate wait tasks to the FlauncherWorker.
Move handling of killing the uat process tree from all separate wait tasks to the FLauncherWorker.
Change the launch wait task name from "Build Task" to "Launch Task" to correctly display "Launching..." instead of "Validating/Building executable for..."

#jira none
#rb carlmagnus.nordin
#rnx
#preflight 621c8f73037be0078c8bbfc9

[CL 19195883 by PJ Kack in ue5-main branch]
2022-03-01 03:41:26 -05:00
Josh Adams
4c41fe8d8b - Added a new ProjectPackaging setting - LaunchOnTarget which is now shown int he Platforms menu when multiple Game targets exist (Lyra).
- Added support for passing the LaunchOnTarget along to the LaunchOn process
#jira UE-138006
#rb matt.peters
#robomerge Release-5.0
#preflight 61e89cb363639eb6f607db67

[CL 18669007 by Josh Adams in ue5-main branch]
2022-01-19 18:54:41 -05:00
joe kirchoff
ce3aa781de Fixed the initial map setting of the project launcher being ignored when also specifying maps to cook (from jamie.dale)
#jira UE-119188
[FYI] jamie.dale
#rb trivial
#preflight 61e081ce787db720a912c783

#ROBOMERGE-AUTHOR: joe.kirchoff
#ROBOMERGE-SOURCE: CL 18602768 in //UE5/Release-5.0/... via CL 18602826 via CL 18602868
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v899-18417669)

[CL 18602899 by joe kirchoff in ue5-main branch]
2022-01-13 15:09:04 -05:00
joe kirchoff
0fdf463820 Set ShareableProjectPath in FLauncherProfile::SetDefaults
#jira UE-121084
#rb trivial
#rnx
#preflight 61e067e00f52107164a8e169

#ROBOMERGE-AUTHOR: joe.kirchoff
#ROBOMERGE-SOURCE: CL 18600350 in //UE5/Release-5.0/... via CL 18600363 via CL 18600391
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v899-18417669)

[CL 18600429 by joe kirchoff in ue5-main branch]
2022-01-13 13:48:09 -05:00
jonathan adamczewski
95d053010f LauncherServices: Remove references to UE4
#jira UE-11520
#trivial
#preflight none

#ROBOMERGE-AUTHOR: jonathan.adamczewski
#ROBOMERGE-SOURCE: CL 18565267 in //UE5/Release-5.0/... via CL 18565294
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v899-18417669)

[CL 18565296 by jonathan adamczewski in ue5-release-engine-test branch]
2022-01-10 16:21:41 -05:00
Marc Audy
0c3be2b6ad Merge Release-Engine-Staging to Test @ CL# 18240298
[CL 18241953 by Marc Audy in ue5-release-engine-test branch]
2021-11-18 14:37:34 -05:00
aurel cordonnier
fc542f6cfd Merge from Release-Engine-Staging @ 18081189 to Release-Engine-Test
This represents UE4/Main @18073326, Release-5.0 @18081140 and Dev-PerfTest @18045971

[CL 18081471 by aurel cordonnier in ue5-release-engine-test branch]
2021-11-07 23:43:01 -05:00
aurel cordonnier
a6e741e007 Merge from Release-Engine-Staging @ 17915896 to Release-Engine-Test
This represents UE4/Main @17911760, Release-5.0 @17915875 and Dev-PerfTest @17914035

[CL 17918595 by aurel cordonnier in ue5-release-engine-test branch]
2021-10-25 20:05:28 -04:00
joe kirchoff
0a1e1aaffe Fix incorrect text case when referencing modules
#rb trivial
#rnx
#preflight 60fb0ffb391d460001fb8d75

#ROBOMERGE-SOURCE: CL 16941033 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v838-16927207)

[CL 16941037 by joe kirchoff in ue5-release-engine-test branch]
2021-07-23 15:51:10 -04:00
chris varnsverry
ce4dd6767c - Fix some unnecessary string copies when calling FPaths::FileExists
#jira FORT-392314
[at]Michael.Kirzinger [at]Marc.Audy [at]Rob.Cannaday [at]Sam.Zamani

#ROBOMERGE-SOURCE: CL 16923987 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v836-16769935)

[CL 16924003 by chris varnsverry in ue5-release-engine-test branch]
2021-07-22 11:11:51 -04:00
per larsson
e29cc6c467 Simplify command line arguments when running COTF with Zen loader/storage server
- changed Cooker arguments from -CookOnTheFly -IoStore to -CookOnTheFly -ZenStore
- changed Zen host argument from -StorageServerHost to -ZenStoreHost
- updated UAT to support running CBTB with -ZenStore
- updated StorageServerConnection to handle multiple hosts from command line

Cooker:
  CBTB: -ZenStore
  COTF: -ZenStore -CookOnTheFly

Game:
  CBTB: -ZenStoreHost=<ip> or <ip1,ip2>
  COTF: -ZenStoreHost=<ip> or <ip1,ip2> -CookOnTheFly

#rb CarlMagnus.Nordin
#jira none
#rnx

#ROBOMERGE-SOURCE: CL 16849969 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v836-16769935)

[CL 16849982 by per larsson in ue5-release-engine-test branch]
2021-07-14 10:40:16 -04:00
david harvey
a271002525 In-Editor UI for Turnkey.
#jira UE-118572
#rb Josh.Adams, Nuno.Leiria
#rnx

#ROBOMERGE-SOURCE: CL 16754815 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v835-16672529)

[CL 16754816 by david harvey in ue5-release-engine-test branch]
2021-06-23 05:38:57 -04:00
carlmagnus nordin
d5ca117ad9 Fixed "use iostore" and "make binary config" settings not being saved to the launcher profile
#rb per.larsson

#ROBOMERGE-SOURCE: CL 16725511 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v835-16672529)

[CL 16725515 by carlmagnus nordin in ue5-release-engine-test branch]
2021-06-21 04:52:51 -04:00
zousar shaker
c27625b056 Integrating //UE5/Dev-Cooker [at] 16678003 to //UE5/Main (Zousar.Shaker-YEG-0943-Quaternary)
Non-DevIteration_ShooterGame


#ROBOMERGE-SOURCE: CL 16678907 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v835-16672529)

[CL 16678928 by zousar shaker in ue5-release-engine-test branch]
2021-06-15 16:38:03 -04:00
Jamie Dale
64f3d21132 Pass the culture list override from the project launcher for cook-by-the-book cooks
This override is only used if the list isn't empty, otherwise the project default is used. Cook-on-the-fly isn't impacted by this change, as it cooks assets on-demand so doesn't need to pre-cook a certain list of cultures.

#rb Patrick.Laflamme

[CL 16407969 by Jamie Dale in ue5-main branch]
2021-05-20 15:23:39 -04:00
David Harvey
6bcaa3d57b fix uninitialized variable that was causing Project Launcher to display turnkey GUI when launching Windows builds.
#rb trivial
#jira none
#rnx
#fyi josh.adams

[CL 16328079 by David Harvey in ue5-main branch]
2021-05-14 07:12:26 -04:00
jeff newquist
5ea7789d60 Rename UE4CommandLine.txt to UECommandLine.txt and deal with all the related changes
#rb TBD
#jira UE-113713

[CL 16093056 by jeff newquist in ue5-main branch]
2021-04-22 10:29:26 -04:00
Marc Audy
8f73cd7fa9 Merge UE5/Release-Engine-Staging @ 15630841 to UE5/Main
This represents UE4/Main @ 15601601

[CL 15631170 by Marc Audy in ue5-main branch]
2021-03-05 19:27:14 -04:00
brandon schaefer
481495bb30 Another dotnet hang fix. Passing ReadPipe into CreateProcess fixes for now but not 100% correct fix
#jira UE-108881
#rb none
[FYI] Michael.Sartain

#ROBOMERGE-SOURCE: CL 15471649 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v771-15082668)

[CL 15471663 by brandon schaefer in ue5-main branch]
2021-02-19 10:43:48 -04:00
Marc Audy
ada7c144fa Merge //UE5/Release-Engine-Staging @14903491 to //UE5/Main
[CL 14906022 by Marc Audy in ue5-main branch]
2020-12-11 14:21:20 -04:00