adamrehn / pixel-streaming-linux

Issue tracker repository for Pixel Streaming for Linux
https://adamrehn.com/articles/pixel-streaming-in-linux-containers/
22 stars 7 forks source link

Fix how Unreal searches for system level dynamic libraries (libnvidia-encode.so) #26

Closed lukehb closed 3 years ago

lukehb commented 3 years ago

Currently Unreal Engine fails to find libnvidia-encode.so (which is installed system wide by the NVIDIA driver) and must have it symlinked into the binaries folder of either the editor or the packaged project before being able to use the Pixel Streaming plugin.

There is probably some pathing issues in the Linux implementation of FPlatformProcess::GetDllHandle that could be fixed to remove this requirement.

bcizmeci commented 3 years ago

Is the following assertion failed error related to this issue?

Assertion failed: Result == NV_ENC_SUCCESS [File:/home/heapvrar/git/UnrealEngine/Engine/Plugins/Media/PixelStreaming/Source/CudaVideoEncoder/Private/CudaVideoEncoder.cpp] [Line: 448] Unable to open NvEnc encoding session (status: 15)

lukehb commented 3 years ago

@ImmortalEmperor ^^

lukehb commented 3 years ago

This has been fixed in: https://github.com/ImmortalEmperor/UnrealEngine/commit/c135e9c03f6f161333c7632b234ea84410dd6277