Skip to content

Enable Vulkan encoding for wlroots capture method. #5726

Description

@Arbitrate3280

Is there an existing issue for this?

  • I have searched the existing issues

Is your issue described in the documentation?

  • I have read the documentation

Is your issue present in the latest beta/pre-release?

This issue is present in the latest pre-release

Describe the Bug

Hi! #5030 disabled vulkan encoding for the wlroots capture method

"AMD+wlr+vulkan worked, but it broke NVIDIA+wlr+nvenc — "buffer formats (linear, non-linear) break wlr screencopy,"

Recently we've had a fix regarding wlroots: #5699

I was wondering if that's enough to maybe get vulkan enabled for wlroots again, or if there's still more work needed to be done. I have an AMD gpu only, so I can't test it with nvidia to see if it's still broken.

This would be a nice to have because flatpak installs can't do the CAP_SYS_NICE changes while using vaapi, which could cause the encoder to throttle if host GPU usage is high. An issue completely avoided by vulkan encode.

Expected Behavior

Be able to use Vulkan encode with wlroots capture method.

Additional Context

No response

Host Operating System

Linux

Operating System Version

Aurora (Version: 44.20260915.1)

Architecture

amd64/x86_64

Package

Linux - flathub/flatpak

GPU Type

AMD

GPU Model

RX 6700 XT

GPU Driver/Mesa Version

Mesa 26.2.2

Capture Method

wlroots (FreeBSD/Linux)

Apps

Log output

Online logs

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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