Skip to content

Problem with D3D11TextureKmtBit #2

@sven-axm

Description

@sven-axm

First of all, your project is a great demonstration of how to do interop between DirectX and Vulkan!

But I ran into an issue when running the WPF example on my laptop. My laptop has a dedicated Nvidia GPU and an integrated Intel GPU. When selecting the Nvidia GPU as the preferred card in the Nvidia Control Panel, it works fine. But when selecting the integrated GPU it crashes (device lost). I enabled the validation layer and found the problem that my integrated GPU does not support the D3D11TextureKmtBit as a ExternalMemoryHandleTypeFlag. It does support D3D11TextureBit though. But I can't just change the flag because then it also crahes (out of device memory, also with the Nvidia GPU).

Do you have any ideas about whether it can work with the D3D11TextureBit and if so, how to make it work?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions