Skip to content

Hardware encoding using h264_vaapi #1276

Description

Windows build number:

10.0.19045.0

Your Distribution version:

2024.2

Your WSL versions:

PS C:\Users\anton.petrov> wsl --version
WSL version: 2.2.4.0
Kernel version: 5.15.153.1-2
WSLg version: 1.0.61
MSRDC version: 1.2.5326
Direct3D version: 1.611.1-81528511
DXCore version: 10.0.26091.1-240325-1447.ge-release
Windows version: 10.0.19045.4529

Steps to reproduce:

  1. sudo sunshine
  2. Observe an error using hardware encoding:
[2024:07:26:07:01:20]: Error: [h264_vaapi @ 0x5653259a0400] No usable encoding entrypoint found for profile VAProfileH264High (7).

WSL logs:

No response

WSL dumps:

No response

Expected behavior:

Hardware encoding should work for sunshine server.

Actual behavior:

Sunshine falls back to software encoding:
[2024:07:26:07:01:21]: Info: Found H.264 encoder: libx264 [software]

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions