Commit Graph

12 Commits

Author SHA1 Message Date
Aidan Possemiers
bbd7fc6c8b Manually call dlopen on Linux so that we skip the warning if the AMF dynamic library cannot be found (ie running with a nvidia gpu).
#JIRA UE-152857
#rb self
#fyi Brandon.Schaefer, Mattias.Jansson
#preflight 628ef8949c50a5c454367585

[CL 20376800 by Aidan Possemiers in ue5-main branch]
2022-05-26 03:42:23 -04:00
Aidan Possemiers
cd7d4a59cc NoPCH Compile LyraEditor Win64 - Amf_Common.h error: syntax error: identifier 'ERHIInterfaceType'
#JIRA UE-145433
#rb self
#fyi Mattias.Jansson, Luke.Bermingham, Chris.Waters
#preflight 622a9f67773679d25d3fe083
#preflight singlefile-nonunity
#preflight 622a9f67773679d25d3fe083

[CL 19346253 by Aidan Possemiers in ue5-main branch]
2022-03-10 20:19:40 -05:00
christopher waters
2a8f9987cb Adding minimal interface to VulkanRHI
- Adding IVulkanDynamicRHI interface for plugins that want to touch Vulkan resources/handles directly.
- Modifying plugins that were using VulkanRHIPrivate.h to use the interface instead.
- Removing plugin references to UE Modules and ThirdParty libraries that were only needed because they included the private RHI headers.
- Removing VulkanRHI/Private from plugin include paths.
- Deprecating VulkanRHIBridge and moved its functionality into the new interface.

#jira none
#rb jeannoe.morissette, mihnea.balta, robert.srinivasiah
#preflight 62281ec531133a23da642007
#robomerge FNNC

[CL 19320995 by christopher waters in ue5-main branch]
2022-03-09 11:16:51 -05:00
christopher waters
b7f30cbbaf Adding minimal interfaces to D3D11 and D3D12 RHIs
- Adding ID3D12DynamicRHI and ID3D11DynamicRHI interfaces for plugins that want to touch DirectX resources/devices directly.
- Adding specific headers for including DirectX headers: D3D12ThirdParty.h and D3D11ThirdParty.h
- Modifying plugins that were using D3D11RHIPrivate.h and D3D12RHIPrivate.h to use the interfaces instead.
- Removing plugin references to UE Modules and ThirdParty libraries that were only needed because they included the private RHI headers.
- Removing D3D11RHI/Private and D3D12RHI/Private from plugin include paths.

#jira none
#rb jeannoe.morissette, kenzo.terelst, mihnea.balta, eric.mcdaniel
#preflight 6222395bb066ef60bbad004a

[CL 19267223 by christopher waters in ue5-main branch]
2022-03-04 11:34:00 -05:00
christopher waters
c001265796 Removing uses of FDynamicRHI::GetName() and GetGraphicsRHI() to identify specific RHIs in favor of ERHIInterfaceType.
Switching direct casts of GDynamicRHI to use the new CastDynamicRHI/GetDynamicRHI functions. This prevents incorrectly casting RHIValidation into the wrong types.

#jira none
#rb josh.adams, will.damon, peter.tarasenko
#preflight 6216a3b9c15ec90be95f54f7

[CL 19116145 by christopher waters in ue5-main branch]
2022-02-24 11:58:36 -05:00
William Belcher
24ba7c4cc9 Merge /UE5/Dev-Tensorworks to /UE5/Main. This includes:
Refactor player sessions
Fix PixelStreamingAudioComponent had delayed audio.
Fix audio bitrate from Unreal Engine to browser was set to a low default causing compressed audio quality in stream. The new default is now Opus maximum value of 510kb/s.
Fix the Selective Forwarding Unit (SFU) not being added to the Pixel Streaming samples folder for a packaged project
Fix default max bitrate not being high enough to support 4k.
Fix reconnections not autoplaying in the browser.
Add datachannel support to SFU.
Add WebRTC c++ client behaviour to pixel streaming system. This is used for developing unit tests.
Add a unit test that will start streaming, connect a client and check that a data channel message can be sent.
Add the ability for a user to start/stop streaming as needed through the use of PixelStreaming.StartStreaming and PixelStreaming.StopStreaming
Add the ability for the stream resolution to be changed at runtime

Notes: AVEncoder no longer stores a width and height; These properties have been moved to the FVideoEncoderInput. This input is now the source of truth and both AMF and NVENC will adapt their resolution to the input resolution.

#rb luke.bermingham
#fyi mattias.jansson, nick.pace, matthew.cotton, aidan.possemiers, sandor.hadas
#preflight 6204c7aba65a8a28464df03c
#jira none

[CL 18948482 by William Belcher in ue5-main branch]
2022-02-10 21:16:24 -05:00
aidan possemiers
325f073a64 - Fixed issue with incorrect hardware encoders loading when the target GPU is not present.
- Vulkan AMF support is currently unsupported and has been disabled.
- Removed fatal error when trying to use AMF with Vulkan.

#JIRA UE-133434
#rb Luke.Bermingham
[FYI] Alejandro.Arango, Brandon Schaefer, Mattias.Jansson
#preflight 61f882ed80608c7029a0add1

#ROBOMERGE-AUTHOR: aidan.possemiers
#ROBOMERGE-SOURCE: CL 18803094 in //UE5/Release-5.0/... via CL 18803106 via CL 18821573
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)

[CL 18821656 by aidan possemiers in ue5-main branch]
2022-02-02 01:48:44 -05:00
aidan possemiers
c067fc456d Temp early exit when using AMF on DX11.
#rb Luke.Bermingham
[FYI] Sandor.Hadas, Mattias.Jansson
#preflight 61f388986b5aea38e5a68616

#ROBOMERGE-AUTHOR: aidan.possemiers
#ROBOMERGE-SOURCE: CL 18768647 in //UE5/Release-5.0/... via CL 18768649 via CL 18768676
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18768680 by aidan possemiers in ue5-main branch]
2022-01-28 01:25:20 -05:00
matthew cotton
1363134cbe Merging //UE5/Dev-TensorWorks CLs 18200048 and 18306147 to Release-5.0 (//UE5/Release-5.0)
- Changing the offer/request order
- Adding sfu support
- Adding simulcast support
- Largish structural changes
- adding reference SFU server

#jira UE-136239, UE-136238
#rb aidan.possemiers, luke.bermingham, nick.pace
[FYI] Mattias.Jansson

#ROBOMERGE-AUTHOR: matthew.cotton
#ROBOMERGE-SOURCE: CL 18345619 in //UE5/Release-5.0/... via CL 18345653
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18345683 by matthew cotton in ue5-release-engine-test branch]
2021-12-01 16:57:33 -05:00
aidan possemiers
8830772283 Decouple render FPS and encode FPS so that low FPS application can still stream at 60 FPS.
This resolves bitrate issues in WebRTC caused by inconsistent frame rates.

These changes are intended for 5.0 and licencees who are using source builds of the engine to get the updates before 5.0 is released.

#JIRA UCS-2077
#rb Aidan.Possemiers
[FYI] Luke.Bermingham, Nick.Pace, Matthew.Cotton, Marco.Anastasi
#lockdown Mitchell.Wilson

#ROBOMERGE-AUTHOR: aidan.possemiers
#ROBOMERGE-SOURCE: CL 18267227 in //UE4/Main/... via CL 18267244 via CL 18267255
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)
#ROBOMERGE[STARSHIP]: UE5-Main

[CL 18267257 by aidan possemiers in ue5-release-engine-test branch]
2021-11-23 01:47:46 -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
nick pace
65bfcfd2e7 Integrate Dev-TensorWorks PixelStreaming/AVEncoder changes into Main
#JIRA UCS-1831
[FYI] luke.bermingham, marco.anastasi
#rb aidan.possemiers

#ROBOMERGE-AUTHOR: nick.pace
#ROBOMERGE-SOURCE: CL 17920208 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v885-17909292)

[CL 17922580 by nick pace in ue5-release-engine-test branch]
2021-10-26 09:13:01 -04:00