Vulkan sample utilises integrated GPU
Opened this issue · 0 comments
The Vulkan sample is defaulting to the Intel card on machines with both integrated and dedicated GPUs (e.g. laptop) and thus failing to interop with CUDA.
The following error is thrown when attempting to start a RenderStream workload with the Vulkan sample on machines with multiple GPUs:
!!!!!CUDA error: cudaErrorInvalidValue - invalid argument when calling 'cudaExternalMemoryGetMappedMipmappedArray(&cuMipArray, cudaExt, &cuExtmemMipDesc)' RenderStream Callstack: < Cuda::registerVulkanTexture < H265Sender_Impl::sendFrame < RenderStream::H265Sender::sendFrame < RenderStream::Asset::sendFrame < RenderStream::Asset::sendAllProxyFrames < RenderStream::Core::sendFrame < rs_sendFrame2 < RSSendFrame2
Disabling the Intel card via Device Manager to force the use of the Nvidia GPU for all applications successfully allows the use of the Vulkan sample for RenderStream workloads.