Skip to content

Vulkan sample utilises integrated GPU #41

@bbuckley94

Description

@bbuckley94

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions