Results 1 to 2 of 2

Thread: vaapi stopped working?

  1. #1
    Join Date
    Nov 2019
    Beans
    11

    vaapi stopped working?

    5700XT

    I've been using
    Code:
    ffmpeg -i  "./video.mp4"   -vaapi_device /dev/dri/renderD128 -vcodec hevc_vaapi -vf format='vaapi,hwupload'  -vf scale=960x720:flags=lanczos -c:v libx264 -preset slow -crf 21  "./upscaled/vido.mp4"
    today it gave me an error
    Code:
    [AVHWDeviceContext @ 0x55b025ed1340] No VA display found for device /dev/dri/renderD128.
    Device creation failed: -22.
    Failed to set value '/dev/dri/renderD128' for option 'vaapi_device': Invalid argument
    Error parsing global options: Invalid argument
    I can't figure out what update broke this, I use only FOSS drivers
    Code:
    $ uname -a
    Linux 3900x 5.8.0-7625-generic #26~1604441477~20.10~d41e407-Ubuntu SMP Wed Nov 4 01:25:00 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
    Code:
    $ glxinfo | grep OpenGL
    OpenGL vendor string: Mesa/X.org
    OpenGL renderer string: llvmpipe (LLVM 11.0.0, 256 bits)
    OpenGL core profile version string: 4.5 (Core Profile) Mesa 20.3.0-devel (git-fb1793b 2020-11-08 groovy-oibaf-ppa)
    OpenGL core profile shading language version string: 4.50
    OpenGL core profile context flags: (none)
    OpenGL core profile profile mask: core profile
    OpenGL core profile extensions:
    OpenGL version string: 3.1 Mesa 20.3.0-devel (git-fb1793b 2020-11-08 groovy-oibaf-ppa)
    OpenGL shading language version string: 1.40
    OpenGL context flags: (none)
    OpenGL extensions:
    OpenGL ES profile version string: OpenGL ES 3.2 Mesa 20.3.0-devel (git-fb1793b 2020-11-08 groovy-oibaf-ppa)
    OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
    OpenGL ES profile extensions:
    $ vainfo
    libva info: VA-API version 1.8.0
    libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
    vaInitialize failed with error code -1 (unknown libva error),exit
    I even installed https://launchpad.net/~oibaf/+archiv...aphics-drivers to try to get it working
    Last edited by tux-peng; November 9th, 2020 at 07:32 AM.

  2. #2
    Join Date
    Feb 2008
    Location
    Texas
    Beans
    29,401
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: vaapi stopped working?

    Thread moved to Multimedia Software for a more appropriate fit.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •