Skip to content

Hardware decoding not working on Fedora #7073

Closed

Description

@axiel7

Please read the prerequisites to run scrcpy.

Also read the FAQ and check if your issue already exists.

Environment

  • OS: Fedora
  • Scrcpy version: 5.0
  • Installation method: GitHub releases
  • Device model: Pixel 10
  • Android version: 17

Describe the bug

I tried to use the new hardware decoding feature on fedora with scrcpy --hwdec=vaapi but I get a green screen with the following error log.

Already installed VA-API driver with dnf install libva-nvidia-driver and tried the wayland fix with export SDL_VIDEODRIVER=wayland and libdecor (was already installed by default).

INFO: Renderer: opengl
INFO: OpenGL version: 4.6.0 NVIDIA 615.71.09
INFO: Trilinear filtering enabled
INFO: Trilinear filtering disabled for VA-API frames
INFO: Interop: vaapi
WARN: Could not set window icon: wayland: cannot set icon; required xdg_toplevel_icon_v1 protocol not supported
INFO: Video decoding: vaapi
WARN: [FFmpeg] Using possibly-incompatible profile 100 instead.
WARN: [FFmpeg] Using possibly-incompatible profile 100 instead.
INFO: Texture (VA-API): 886x1920
ERROR: VA-API: unsupported DRM PRIME layout (layers=2, format=0x20203852)
ERROR: Frame update failed

Activity

  1. rom1v commented on Oct 6, 2026

    @rom1v
    Collaborator

    Thank you for your report. Same as #7070.

    Please test the fix provided (32204f1). Binaries are available: #7070 (comment)

  2. axiel7 commented on Oct 6, 2026

    @axiel7
    Author

    Please test the fix provided

    I can confirm it works now!

  3. added a commit that references this issue on Oct 6, 2026
    2e8363a
  4. rom1v commented on Oct 6, 2026

    @rom1v
    Collaborator

    Thank you for the confirmation. I merge it into dev. Will publish scrcpy 5.0.1 "soon".

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