Hello Everyone, Does anyone knows or try following environment, please let me know.
I have two ZED-mini environment (Windows10 with Geforce Titan, Windows11 with RTX3060).
(1) ZED mini, Windows10,
Unreal Engine 4.21-Zed, and plugin,
ZED-SDK3.0.3, CUDA 10.2
Oculus-Quest2 using Oculus-Link
==> No problem
(2) ZED mini, Windows11,
Unreal Engine 4.21-Zed and plugin,
ZED-SDK3.3.3 <== instead ZED-SDK3.01, shows “no gpu …” because RTX3060 not supported
CUDA 11.1
Oculus-Quest2 using Oculus-Link
To confirm examples work or not, I tried to use “PingPongMR” and “zed-unreal-examples”.
This examples can not be build (CUDA version check) as is, so I modified as shown below.
I succeeded build zed examples(also PingPong), Zed examples work fine on computer monitor, but On VR Mode(ALT+V) Oculus HMD shows BLACK screen.
I don’t know how to solve this problem, or UE4, Zed-mini will be supported for Win11 RTX3000 seriese?
Does anyone knows solution, please let me know.
best regards,
Modification 1: Stereolabs.Build.cs
public class Stereolabs : ModuleRules
{
private string ModulePath
{
get { return ModuleDirectory; }
}
public Stereolabs(ReadOnlyTargetRules Target) : base(Target)
{
PrivatePCHHeaderFile = "Stereolabs/Public/Stereolabs.h";
string CudaSDKPath = System.Environment.GetEnvironmentVariable("CUDA_PATH_V9_0", EnvironmentVariableTarget.Machine);
if (!Directory.Exists(CudaSDKPath))
CudaSDKPath = System.Environment.GetEnvironmentVariable("CUDA_PATH_V10_0", EnvironmentVariableTarget.Machine);
if (!Directory.Exists(CudaSDKPath))
CudaSDKPath = System.Environment.GetEnvironmentVariable("CUDA_PATH_V10_2", EnvironmentVariableTarget.Machine);
if (!Directory.Exists(CudaSDKPath)) // ADDED!!!
CudaSDKPath = System.Environment.GetEnvironmentVariable("CUDA_PATH_V11_1", EnvironmentVariableTarget.Machine);
Modification 2: Stereolabs.Build.cs
public void LoadZEDSDK(ReadOnlyTargetRules Target, string DirPath)
{
if (Target.Platform == UnrealTargetPlatform.Win64)
{
if(!Directory.Exists(DirPath))
{
string Err = string.Format(“ZED SDK missing”);
System.Console.WriteLine(Err);
throw new BuildException(Err);
}
// Check SDK version
string DefinesHeaderFilePath = Path.Combine(DirPath, "include\\sl\\Camera.hpp");
string Major = "3";
string Minor = "3";