Commit Graph

425 Commits

Author SHA1 Message Date
guillaume abadie
d9be3f2407 Fixes an error in the GPU dump viewers when no passes has been dumped
#rb trivial
#preflight none

#ROBOMERGE-AUTHOR: guillaume.abadie
#ROBOMERGE-SOURCE: CL 20168246 via CL 20168619 via CL 20168654
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20170151 by guillaume abadie in ue5-main branch]
2022-05-12 16:16:05 -04:00
paul chipchase
bee76532da The VA tool will now give the user an error if they attempt to submit an empty changelist or a changelist containing a shelved file.
#rb Sebastian.Nordgren
#rnx
#jira UE-151464
#preflight 627a4c60fc07e0a9b4eefda9

### No files
- When submitting a change list with no workspace files (either empty changelist or only shelved files) our internal C# api does not return any errors.
- To get around this for now ::FindPackagesInChangelist can be changed to return null if we detect that there are no files to submit.
- I am following up with the original author to try and find out if the submit behavior in our API is intended or not.

### Shelved files
- Attempting to submit a valid changelist that has shelved files will eventually fail when we try to finally submit the changelist.
- This means that the tool will check all of the packages for virtualization first, before eventually failing on the submit.
- Most users will alt tab out of p4v during the submit and we cannot do anything fancy with the error reporting (like make the task bar icon flash etc) so might not notice that the submit failed for some time.
- So it makes sense for us to check for shelved files, before we kick off the virtualization process and if the changelist does have shelved files we can error out and the user should see it before they alt tab away.

[CL 20120836 by paul chipchase in ue5-main branch]
2022-05-10 07:37:37 -04:00
paul chipchase
32ce8db205 Small improvements to the P4VUtil Submit&Virtualize command logging
#rb trivial
#rnx
#preflight 627a14806a20515edc79c799

- Only display the p4 submit error messages, doo not include the perforce generic code as it can be confusing to the end user.
- If a submit fails, print a line to the log once the virtualization tags have been removed from the original changelist description. Previously the last message the user would see ended in "..." which implied that the process was still running.

[CL 20119794 by paul chipchase in ue5-main branch]
2022-05-10 03:51:07 -04:00
paul chipchase
75f8217ced Allow the P4VUtils submit command to deal correctly with changelists containing no package files.
#rb Per.Larsson
#jira UE-143675
#rnx
#preflight 6274f6118b2af58d6e5e44a1

- The c# p4 api seems to have problems when calling p4 where, with no valid files so make sure that we early out before calling that.
- Only run the virtualization process if we have package files, no point trying to virtualize anything else.
-- If the changelist does not contain any packages then we just submit the change list, we don't need to stamp it or display logging info about how 0 packages are in 0 projects etc.
- Moved the code that submits the changelist to it's own method.

[CL 20073750 by paul chipchase in ue5-main branch]
2022-05-06 06:45:36 -04:00
guillaume abadie
4dc8472228 Adds support for Texture2DArray in DumpGPU
#rb juan.canada
#preflight 62711cc29d6c2f8f5b1a2111

#ROBOMERGE-AUTHOR: guillaume.abadie
#ROBOMERGE-SOURCE: CL 20023927 via CL 20023941 via CL 20023946
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20024812 by guillaume abadie in ue5-main branch]
2022-05-03 09:58:16 -04:00
ryan hummer
ef6b18ff74 [robo] - Fixing path to graph preview image
#rnx
#jira UE-150120
#rb none


#ROBOMERGE-AUTHOR: ryan.hummer
#ROBOMERGE-SOURCE: CL 19979248
#ROBOMERGE-BOT: (v943-19904690)

[CL 19979259 by ryan hummer in ue5-main branch]
2022-04-29 10:52:47 -04:00
paul chipchase
b69cc572f5 Clean up the logging for the P4VUtils Submit and Virtualize command
#rb trivial
#rnx
#preflight 626baeec5c220f34acdb8128

[CL 19976351 by paul chipchase in ue5-main branch]
2022-04-29 05:36:44 -04:00
mark lintott
ba542a3885 Copyright fix
#jira none
#rb trivial
#preflight 6266bfea7e06ec7505abbebf

[CL 19906665 by mark lintott in ue5-main branch]
2022-04-25 14:45:28 -04:00
james hopkin
415b6a48d1 [robo] Restored commit server restriction when finding a workspace on auto-shelve
#ROBOMERGE-AUTHOR: james.hopkin
#ROBOMERGE-SOURCE: CL 19904690
#ROBOMERGE-BOT: (v942-19904256)

[CL 19904717 by james hopkin in ue5-main branch]
2022-04-25 12:58:47 -04:00
james hopkin
40c105e835 [robo] Missed file in previous commit
#ROBOMERGE-AUTHOR: james.hopkin
#ROBOMERGE-SOURCE: CL 19904256
#ROBOMERGE-BOT: (v940-19807014)

[CL 19904263 by james hopkin in ue5-main branch]
2022-04-25 12:36:44 -04:00
james hopkin
f2a4fd748d [robo] Filter out Horde workspaces when auto-shelving (same as we do for presenting a list of workspaces to choose from)
#ROBOMERGE-AUTHOR: james.hopkin
#ROBOMERGE-SOURCE: CL 19904200
#ROBOMERGE-BOT: (v940-19807014)

[CL 19904226 by james hopkin in ue5-main branch]
2022-04-25 12:35:07 -04:00
brian smith
5636451ab4 Live Link VCAM iOS (v1.2.0 build 1) :
* Fixed a bug where the touch end events weren't properly sent during multi-touch
* Updated Tentacle SDK to add support for new Tentacle devices
* Timecodes created from the system timer now roll over to 0 hours after hour 23 (otherwise could get very high)

#preflight none

[CL 19868332 by brian smith in ue5-main branch]
2022-04-22 14:06:05 -04:00
brian smith
d6bc019ae2 Added copyright boilerplate to headers.
#preflight none

[CL 19868255 by brian smith in ue5-main branch]
2022-04-22 14:02:18 -04:00
brian smith
d2b03c45ef Live Link VCAM iOS (v1.1.0 Build 1) : rolled back UE4/UE5 backend selection due to new UE5 LiveLink backwards compatibility.
#preflight none

[CL 19862221 by brian smith in ue5-main branch]
2022-04-22 04:24:28 -04:00
axel riffard
e1a52bef2e Add iTunes download to Turnkey on Windows
#jira UE-143709
#rb jack.porter josh.adams
#preflight 62610c8fdd47b4ad21a18c04

[CL 19845401 by axel riffard in ue5-main branch]
2022-04-21 04:04:14 -04:00
jason hoerner
0fb10e3017 MGPU: Fixes for Lumen, solving issues with black or too dark lighting on secondary GPUs or when swapping GPU assignments for a view.
* Page captures are now tracked separately per GPU, to avoid problems with uninitialized pages on other GPUs.  Pages that need capturing for the first time on a given GPU are prioritized and not counted against the throttled limit for page recaptures.
* Lumen scene buffer uploads are run across all GPUs.
* Lumen one-time procedural texture generation (OctahedralSolidAngleTexture) runs across all GPUs.
* DumpGPU was upgraded to be able to preview compressed formats used by Lumen (BC4, BC5, BC6H, BC7), critical for debugging Lumen behavior.

#jira UE-146458
#rnx
#rb krzysztof.narkowicz guillaume.abadie
#preflight 62374b6ff101b8d0afc6ac7f
#lockdown Mihnea.Balta

#ROBOMERGE-AUTHOR: jason.hoerner
#ROBOMERGE-SOURCE: CL 19807327 in //UE5/Release-5.0/... via CL 19807923
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v939-19570697)

[CL 19812041 by jason hoerner in ue5-main branch]
2022-04-19 13:25:38 -04:00
ryan hummer
292ffd7d6e Have revertAndDelete take a workspace override.
The method took an edgeServer override but could end up with the wrong clientspec.

Should fix user requested shelves on an edge and robomerge trying to revert using the wrong clientspec on the edge server

#rnx
#rb james.hopkin


#ROBOMERGE-AUTHOR: ryan.hummer
#ROBOMERGE-SOURCE: CL 19807014
#ROBOMERGE-BOT: (v939-19570697)

[CL 19807027 by ryan hummer in ue5-main branch]
2022-04-19 08:50:05 -04:00
paul chipchase
67d867a6a1 Fix the "UE Submit -> Virtualize and Submit" command to work when no engine is registered but could still be found via the directory hierarchy
#rb Sebastian.Nordgren
#rnx
#jira UE-143675
#preflight skip

### Misc
- Failing to find an associated engine for a project will now cause an error message to be logged and cause the changelist not to be submitted rather than allowing the process to continue.
- We now pass the logger into the methods in the DesktopPlatformBase region, rather than using a dummy logger (this was always the intent and something I missed fixing up before the original submit)

### Bug Fix
- Instead of finding the engine identifier and then finding the engine root (which mirrors native code) a new method has been added ::GetEngineIdentifierForProject which just returns the engine root directory which is all we are interested in.
- The main failing with the previous approach is that the engine association is not always registered in the system registry. I suspect that an engine install taken from p4 will only register if it is used to create a new project, meaning that the average developer will not have this info avaliable. ::GetEngineIdentifierForProject takes this into account and tries to find the engine via the directory structure before we look in the registry.
- ::GetEngineIdentifierForProject no longer tries to find the engine identifier if it could not be found in the project path and so does not properly match the native version of the method. To match the original it would need to register the engine if found, in which case the virtualization system (when run via the editor) should probably take steps to register the engine as well. This should be done as it's own work item to make sure it is tested properly.

[CL 19805425 by paul chipchase in ue5-main branch]
2022-04-19 04:40:21 -04:00
paul chipchase
73e85f5e17 Extend P4VUtils with a new command that allows the user to submit&virtualize package files (for projects with asset virtualization enabled)
#rb Ben.Marsh
#rnx
#jira UE-143675
#preflight skip

### P4VUtils
- Add a new submenu "UESubmit" for commands related to the submission of files and changelists
-At the moment the submenu only has a single command SubmitAndVirtualizeCommand

### SubmitAndVirtualizeCommand
- This command is used to run the asset virtualization process over all of the files in a changelist before submitting it using the following logic:
-- Find all package files in a changelist
-- Sort the files by project
-- Find the engine installation associated with each project
-- Build and run the stand alone virtualization tool (if needed) and pass it the packages for the project
-- If the virtualization process succeeeded for all projects we can submit the original changelist, other wise print errors to the p4v terminal.
- In most cases all of the packages in a changelist will be under a single project, but the command should be able to cope with many packages from many different projects using many different engine installations.
- Note that unlike a normal submit, virtualizing a package can change it on disk (by removing the payload data) which means we will probably run into problems where a running instance of the editor has access locks on the file and they cannot be edited. At the moment this command and the stand alone tool will just error, there is no tool<->editor communication protocol set up to request that the editor release the package file. This will be addressed as a future work item.
- This is the first pass of the command, there are a number of non-essential todo comments left in the code that will be addressed based on feedback from the end users.

[CL 19752487 by paul chipchase in ue5-main branch]
2022-04-14 04:26:33 -04:00
Josh Adams
83fb2b68f8 - Fix P4VUtils to compile with latest EpicGames.Core
#rb paul.chipchase
#jira none
#preflight skip

[CL 19739667 by Josh Adams in ue5-main branch]
2022-04-13 10:27:29 -04:00
james hopkin
b89f196c3f [robo] Work-around for conflicting reconsiders crashing: only look for user workspaces on the commit server, not on edges.
#ROBOMERGE-AUTHOR: james.hopkin
#ROBOMERGE-SOURCE: CL 19570697
#ROBOMERGE-BOT: (v937-19513599)

[CL 19570709 by james hopkin in ue5-main branch]
2022-03-31 05:34:47 -04:00
guillaume abadie
d5f3de4025 Have DumpGPU to dump a log on crash, as well as a Base/Status.txt to explicitly detect in the viewer if something went really wrong
#rb juan.canada
#preflight 62433f34927e60e34141e8dd

#ROBOMERGE-AUTHOR: guillaume.abadie
#ROBOMERGE-SOURCE: CL 19547074 via CL 19547081 via CL 19547085
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v937-19513599)

[CL 19560863 by guillaume abadie in ue5-main branch]
2022-03-30 14:16:07 -04:00
james hopkin
57b2fc4ff0 [robo] Flags now always apply to bare commands, i.e. they ignore the isDefaultBot setting. Targets of bare commands are still ignored in the isDefaultBot=false case.
#ROBOMERGE-AUTHOR: james.hopkin
#ROBOMERGE-SOURCE: CL 19513599
#ROBOMERGE-BOT: (v936-19480137)

[CL 19513608 by james hopkin in ue5-main branch]
2022-03-25 11:35:08 -04:00
guillaume abadie
7b9b4fd2a9 Implements DumpGPUServices plugin to have DumpGPU -upload
#rb juan.canada
#preflight 623ca9fed078aec3e42ee738

#ROBOMERGE-AUTHOR: guillaume.abadie
#ROBOMERGE-SOURCE: CL 19499603 via CL 19500414 via CL 19500427
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v936-19480137)

[CL 19502702 by guillaume abadie in ue5-main branch]
2022-03-24 17:10:00 -04:00
Elliot Colp
fe37304550 Epic Stage App: Increase TTL for discovery socket and reopen if closed. Add magic number to beacon. Lock to landscape orientation.
#rb: Alejandro.Arango
#preflight 623cc56b9f11d3c73945b56f

[CL 19501582 by Elliot Colp in ue5-main branch]
2022-03-24 15:51:45 -04:00