UnityRemoteDesktopDuplication icon indicating copy to clipboard operation
UnityRemoteDesktopDuplication copied to clipboard

Failed to synchronize device Error 700

Open TuncayCakmak opened this issue 2 years ago • 3 comments

Hi,

i have troubles getting this project to work (using Unity 2020.3.25f1). I have 2 Computers connected via LAN. On PC A i start the Sender scene, on PC B i start Receiver. The IP and Port is correct and i see in the Server Status that the Receiver receives the Bytes from the Sender. But the image stays gray and i get this error message on the Receiver:

Failed to synchronize device (Error 700: an illegal memory access was encountered) UnityEngine.Debug:LogError (object) uNvPipe.uNvPipeDecoder:OnEnable () (at Library/PackageCache/[email protected]/Runtime/uNvPipeDecoder.cs:56)

Both Computer have NVidia cards with Nvenc

Would appreciate your help.

Best

TuncayCakmak avatar Jan 15 '22 19:01 TuncayCakmak

It seems to be an error output from CUDA. I'm sorry, but I can't reproduce the environment on my end now and can't identify the cause. For example, if the Sender and Receiver are reversed, will the result be the same?

hecomi avatar Jan 16 '22 09:01 hecomi

Strange, hmm i already tried it the other way around. I am using Geforce GTX 1660 Super on one PC and a GTX 1080 on the other one. Now i am looking for a solution with "asyncgpureadback" from Unity but the request crashes after about 800 seconds,.. very frustrating, cant get a nice video streamer working with Unity...

TuncayCakmak avatar Jan 16 '22 23:01 TuncayCakmak

How about using the official WebRTC package?

  • https://github.com/Unity-Technologies/com.unity.webrtc

UnityRemoteDesktopDuplication is just a simple PoC and has not been tested well (and I have no plan to improve this).

hecomi avatar Jan 17 '22 14:01 hecomi