Skip to content

2-plane 444 extension forced but not all GPU have this extension (amd) #22

Description

@DrLous

Encoder not working with RT 7900 XT, because we don't have 2-plane 444 extension on this GPU, but you force this extension
(whether the GPU has it or not) and create encoder will fail.

In vulkan.rs

// Enable YCbCr 2-plane 444 formats feature (required for YUV444 encoding with NVIDIA).
        let mut ycbcr_2plane_444_features =
            vk::PhysicalDeviceYcbcr2Plane444FormatsFeaturesEXT::default()
                .ycbcr2plane444_formats(true);
// Add the 2-plane 444 formats extension.
        push_ext(ash::ext::ycbcr_2plane_444_formats::NAME.as_ptr());

if I remove the push_ext(...) encoder will run perfectly. (I use moonshine too for this)

error from vulkan debug:

[Vulkan Loader] ERROR:          loader_validate_device_extensions: Device extension VK_EXT_ycbcr_2plane_444_formats not supported by selected physical device or enabled layers.
[Vulkan Loader] ERROR:          vkCreateDevice: Failed to validate extensions in list

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