A VA-API implemention using NVIDIA's NVDEC

Overview

nvidia-vaapi-driver

This is an VA-API implementation that uses NVDEC as a backend. This implementation is specifically designed to be used by Firefox for accelerated decode of web content, and may not operate correctly in other applications.

This library requires that the nvidia_drm kernel module is configured with the parameter nvidia-drm.modeset=1

Codec Support

Only decoding video is currently supported.

Codec Supported Comments
AV1 Experimental support. Firefox 98+ is required.
H.264 ✔️
HEVC ✔️
VP8 ✔️
VP9 ✔️
MPEG-2 ✔️
VC-1 ✔️
MPEG-4 VA-API does not supply enough of the original bitstream to allow NVDEC to decode it.
JPEG This is unlikely to ever work, the two APIs are too different.

Currently, 10-bit and 12-bit videos are not supported due to the NVIDIA driver not allowing R16 and RG1616 surfaces to be imported. To view which codecs your card is capable of decoding you can use the vainfo command with this driver installed, or visit the NVIDIA website here.

Building

You'll need the gstreamer-plugins-bad library and the nv-codec-headers installed.

Then run the following commands:

meson setup build
meson install -C build

Debugging

The NVD_LOG environment variable can be used to control logging, NVD_LOG=1 will log to stdout, and NVD_LOG=<filename> will append to the specified file (or stdout if the file can't be opened).

Firefox

To use the driver with firefox you will need at least Firefox 96, the following config options need to be set in the about:config page:

Option Value Reason
media.ffmpeg.vaapi.enabled true Required, enables the use of VA-API.
media.rdd-ffmpeg.enabled true Required, default on FF97. Forces ffmpeg usage into the RDD process, rather than the content process.
media.av1.enabled false Optional, disables AV1. If your GPU doesn't support AV1, this will prevent sites using it and falling back to software decoding. Hopefully the site will fall back to using a different codec that is hardware accellerated.
gfx.x11-egl.force-enabled true This driver requires that Firefox use the EGL backend. If it isn't selecting it by default, it'll need to be forced on using this option or by setting the MOZ_X11_EGL environment variable to 1. It's recommended you try the environment variable method first to test it.
widget.dmabuf.force-enabled true Required for NVIDIA 470 series drivers, not required at all on 495+. This option has been shown to help getting decoding working on the 470 driver series. However it should be noted that Firefox isn't coded to allow DMA-BUF support without GBM support, so it may not function completely correctly when it's forced on.

In addition the following environment variables need to be set:

Variable Value Reason
LIBVA_DRIVER_NAME nvidia This forces libva to load the nvidia backend, as the current version doesn't know which driver to load for the nvidia-drm driver.
MOZ_DISABLE_RDD_SANDBOX 1 This disables the sandbox for the RDD process that the decoder runs in.
EGL_PLATFORM wayland This option is needed on FF98+, due to a regression that has been introduced.

MPV

Currently this only works with a build of MPV from git master.

There's no real reason to run it with mpv except for testing, as mpv already supports using nvdec directly. The test.sh script will run mpv with the file provided and various environment variables set to use the newly built driver

Comments
  • Driver not working on Firefox 99

    Driver not working on Firefox 99

    Hi there,

    I've upgraded to firefox-99.0b (beta1 and now beta2) some days ago and I am getting some wierd behavior that was not present before.

    Now, whenever a click on a youtbe video, e.g., I get NS_ERROR_OUT_OF_MEMORY error and the player stops.

    Log
    [94750-94750] ../src/vabackend.c:1642       __vaDriverInit_1_0 Initialising NVIDIA VA-API Driver: 0x7f273ab2ba60
    [94750-94750] ../src/export-buf.c: 171          findCudaDisplay Found 4 EGL devices
    [94750-94750] ../src/export-buf.c: 175          findCudaDisplay Got EGL_CUDA_DEVICE_NV value '0' from EGLDevice 0
    [94750-94750] ../src/export-buf.c: 135    checkModesetParameter Checking device file: /dev/dri/renderD129
    [94750-94750] ../src/export-buf.c: 209             initExporter Got EGLDisplay from CUDA device 0
    [94750-94750] ../src/export-buf.c: 239             initExporter Driver doesn't support 16-bit surfaces
    [94750-94750] ../src/export-buf.c:  95                reconnect Reconnecting to stream
    [94750-94750] ../src/vabackend.c: 457           nvCreateConfig got profile: 6 with 0 attributes
    [94750-94750] ../src/vabackend.c: 457           nvCreateConfig got profile: 7 with 0 attributes
    [94750-94750] ../src/vabackend.c: 457           nvCreateConfig got profile: 13 with 0 attributes
    [94750-94750] ../src/vabackend.c: 457           nvCreateConfig got profile: 14 with 0 attributes
    [94750-94750] ../src/vabackend.c: 457           nvCreateConfig got profile: 19 with 0 attributes
    [94750-94750] ../src/vabackend.c:1626              nvTerminate Terminating 0x7f273ab2ba60
    [94750-94750] ../src/export-buf.c:  57          releaseExporter Releasing exporter, 0 outstanding frames
    [94750-94750] ../src/export-buf.c:  74          releaseExporter Done releasing frames
    [95150-95170] ../src/vabackend.c:1642       __vaDriverInit_1_0 Initialising NVIDIA VA-API Driver: 0x7efc8872b4c0
    [95150-95170] ../src/export-buf.c: 171          findCudaDisplay Found 4 EGL devices
    [95150-95170] ../src/export-buf.c: 175          findCudaDisplay Got EGL_CUDA_DEVICE_NV value '0' from EGLDevice 0
    [95150-95170] ../src/export-buf.c: 135    checkModesetParameter Checking device file: /dev/dri/renderD129
    [95150-95170] ../src/export-buf.c: 209             initExporter Got EGLDisplay from CUDA device 0
    [95150-95170] ../src/export-buf.c: 239             initExporter Driver doesn't support 16-bit surfaces
    [95150-95170] ../src/export-buf.c:  95                reconnect Reconnecting to stream
    [95150-95170] ../src/vabackend.c: 972      nvQueryImageFormats In nvQueryImageFormats
    [95150-95170] ../src/vabackend.c: 457           nvCreateConfig got profile: 6 with 0 attributes
    [95150-95170] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 4 (nil) 0
    [95150-95170] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 4 0x7efc61774480 5
    [95150-95170] ../src/vabackend.c: 457           nvCreateConfig got profile: 7 with 0 attributes
    [95150-95170] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 4 (nil) 0
    [95150-95170] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 4 0x7efc61774480 5
    [95150-95170] ../src/vabackend.c: 457           nvCreateConfig got profile: 13 with 0 attributes
    [95150-95170] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 4 (nil) 0
    [95150-95170] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 4 0x7efc61774380 5
    [95150-95170] ../src/vabackend.c: 457           nvCreateConfig got profile: 14 with 0 attributes
    [95150-95170] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 9 (nil) 0
    [95150-95170] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 9 0x7efc61774880 5
    [95150-95170] ../src/vabackend.c: 457           nvCreateConfig got profile: 19 with 0 attributes
    [95150-95170] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 10 (nil) 0
    [95150-95170] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 10 0x7efc61774080 5
    [95150-95171] ../src/vabackend.c: 457           nvCreateConfig got profile: 19 with 0 attributes
    [95150-95171] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 10 (nil) 0
    [95150-95171] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 10 0x7efc61774a00 5
    [95150-95171] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 10 (nil) 32508
    [95150-95171] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 10 0x7efc61774200 5
    [95150-95171] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 1920x1080, format 1
    [95150-95171] ../src/vabackend.c:1064            nvDeriveImage In nvDeriveImage
    [95150-95171] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 1920x1080, format 1
    [95150-95171] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 1920x1080, format 1
    [95150-95171] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 1920x1080, format 1
    [95150-95171] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 1920x1080, format 1
    [95150-95171] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 1920x1080, format 1
    [95150-95171] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 1920x1080, format 1
    [95150-95171] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 1920x1080, format 1
    [95150-95171] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 1920x1080, format 1
    [95150-95171] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 1920x1080, format 1
    [95150-95171] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 1920x1080, format 1
    [95150-95171] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 1920x1080, format 1
    [95150-95171] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 1920x1080, format 1
    [95150-95171] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 1920x1080, format 1
    [95150-95171] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 1920x1080, format 1
    [95150-95171] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 1920x1080, format 1
    [95150-95171] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 1920x1080, format 1
    [95150-95171] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 1920x1080, format 1
    [95150-95171] ../src/vabackend.c: 457           nvCreateConfig got profile: 19 with 0 attributes
    [95150-95171] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 10 (nil) 0
    [95150-95171] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 10 0x7efc61775900 5
    [95150-95171] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 10 (nil) 32508
    [95150-95171] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 10 0x7efc61775980 5
    [95150-95171] ../src/vabackend.c: 635          nvCreateContext with 18 render targets, 18 surfaces, at 1920x1080
    [95150-95171] ../src/vabackend.c: 909             nvEndPicture cuvid decoded successful to idx: 0
    [95150-95171] ../src/vabackend.c:1568    nvExportSurfaceHandle got address 205A00000 (2048) for surface 24 (picIdx: 0)
    [95150-95171] ../src/export-buf.c: 300          allocateSurface presenting frame 1920x1080 0x7efc60bfe940 0x7efc60bfea60
    [95150-95171] ../src/export-buf.c: 317          allocateSurface Adding frame from EGLStream: 0x7efc61898151
    [95150-95171] ../src/export-buf.c: 330          allocateSurface Acquired image from EGLStream: 0x7efc61898151
    [95150-95171] ../src/export-buf.c: 421            exportCudaPtr Detected NV12/NV21 NVIDIA driver bug, attempting to work around
    [95150-95171] ../src/export-buf.c: 364              freeSurface Destroying EGLImage: 0x7efc61898151
    [95150-95171] ../src/export-buf.c: 370              freeSurface Destroying CUarray: 0x7efc60bfe940
    [95150-95171] ../src/export-buf.c: 370              freeSurface Destroying CUarray: 0x7efc60bfea60
    [95150-95171] ../src/export-buf.c: 300          allocateSurface presenting frame 1920x1080 0x7efc60bfe940 0x7efc60bfea60
    [95150-95171] ../src/export-buf.c: 317          allocateSurface Adding frame from EGLStream: 0x7efc618983e1
    [95150-95171] ../src/export-buf.c: 330          allocateSurface Acquired image from EGLStream: 0x7efc618983e1
    [95150-95171] ../src/export-buf.c: 431            exportCudaPtr Work around successful!
    [Child 94974, MediaDecoderStateMachine #1] WARNING: Decoder=7f7a244fd400 Decode error: NS_ERROR_OUT_OF_MEMORY (0x8007000e): file /build/firefox-developer-edition/src/firefox-99.0/dom/media/MediaDecoderStateMachine.cpp:3577
    [Child 94974, MediaDecoderStateMachine #1] WARNING: Decoder=7f7a244fd400 Decode error: NS_ERROR_OUT_OF_MEMORY (0x8007000e): file /build/firefox-developer-edition/src/firefox-99.0/dom/media/MediaDecoderStateMachine.cpp:3577
    [Child 94974, MediaDecoderStateMachine #1] WARNING: Decoder=7f7a244fd400 Decode error: NS_ERROR_OUT_OF_MEMORY (0x8007000e): file /build/firefox-developer-edition/src/firefox-99.0/dom/media/MediaDecoderStateMachine.cpp:3577
    [Child 94974, MediaDecoderStateMachine #1] WARNING: Decoder=7f7a244fd400 Decode error: NS_ERROR_OUT_OF_MEMORY (0x8007000e): file /build/firefox-developer-edition/src/firefox-99.0/dom/media/MediaDecoderStateMachine.cpp:3577
    [Child 94974, MediaDecoderStateMachine #1] WARNING: Decoder=7f7a244fd400 Decode error: NS_ERROR_OUT_OF_MEMORY (0x8007000e): file /build/firefox-developer-edition/src/firefox-99.0/dom/media/MediaDecoderStateMachine.cpp:3577
    [Child 94974, MediaDecoderStateMachine #1] WARNING: Decoder=7f7a244fd400 Decode error: NS_ERROR_OUT_OF_MEMORY (0x8007000e): file /build/firefox-developer-edition/src/firefox-99.0/dom/media/MediaDecoderStateMachine.cpp:3577
    [Child 94974, MediaDecoderStateMachine #1] WARNING: Decoder=7f7a244fd400 Decode error: NS_ERROR_OUT_OF_MEMORY (0x8007000e): file /build/firefox-developer-edition/src/firefox-99.0/dom/media/MediaDecoderStateMachine.cpp:3577
    [Child 94974, MediaDecoderStateMachine #1] WARNING: Decoder=7f7a244fd400 Decode error: NS_ERROR_OUT_OF_MEMORY (0x8007000e): file /build/firefox-developer-edition/src/firefox-99.0/dom/media/MediaDecoderStateMachine.cpp:3577
    [Child 94974, MediaDecoderStateMachine #1] WARNING: Decoder=7f7a244fd400 Decode error: NS_ERROR_OUT_OF_MEMORY (0x8007000e): file /build/firefox-developer-edition/src/firefox-99.0/dom/media/MediaDecoderStateMachine.cpp:3577
    [Child 94974, MediaDecoderStateMachine #1] WARNING: Decoder=7f7a244fd400 Decode error: NS_ERROR_OUT_OF_MEMORY (0x8007000e): file /build/firefox-developer-edition/src/firefox-99.0/dom/media/MediaDecoderStateMachine.cpp:3577
    [Child 94974, MediaDecoderStateMachine #1] WARNING: Decoder=7f7a244fd400 Decode error: NS_ERROR_OUT_OF_MEMORY (0x8007000e): file /build/firefox-developer-edition/src/firefox-99.0/dom/media/MediaDecoderStateMachine.cpp:3577
    [95185-95199] ../src/vabackend.c:1642       __vaDriverInit_1_0 Initialising NVIDIA VA-API Driver: 0x7fd0e2d2a3e0
    [95185-95199] ../src/export-buf.c: 171          findCudaDisplay Found 4 EGL devices
    [95185-95199] ../src/export-buf.c: 175          findCudaDisplay Got EGL_CUDA_DEVICE_NV value '0' from EGLDevice 0
    [95185-95199] ../src/export-buf.c: 135    checkModesetParameter Checking device file: /dev/dri/renderD129
    [95185-95199] ../src/export-buf.c: 209             initExporter Got EGLDisplay from CUDA device 0
    [95185-95199] ../src/export-buf.c: 239             initExporter Driver doesn't support 16-bit surfaces
    [95185-95199] ../src/export-buf.c:  95                reconnect Reconnecting to stream
    [95185-95199] ../src/vabackend.c: 972      nvQueryImageFormats In nvQueryImageFormats
    [95185-95199] ../src/vabackend.c: 457           nvCreateConfig got profile: 6 with 0 attributes
    [95185-95199] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 4 (nil) 0
    [95185-95199] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 4 0x7fd0c0bdff00 5
    [95185-95199] ../src/vabackend.c: 457           nvCreateConfig got profile: 7 with 0 attributes
    [95185-95199] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 4 (nil) 0
    [95185-95199] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 4 0x7fd0c0bdfb80 5
    [95185-95199] ../src/vabackend.c: 457           nvCreateConfig got profile: 13 with 0 attributes
    [95185-95199] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 4 (nil) 0
    [95185-95199] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 4 0x7fd0c0bdff00 5
    [95185-95199] ../src/vabackend.c: 457           nvCreateConfig got profile: 14 with 0 attributes
    [95185-95199] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 9 (nil) 0
    [95185-95199] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 9 0x7fd0c0bdf800 5
    [95185-95199] ../src/vabackend.c: 457           nvCreateConfig got profile: 19 with 0 attributes
    [95185-95199] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 10 (nil) 0
    [95185-95199] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 10 0x7fd0c0bdf200 5
    [95185-95199] ../src/vabackend.c: 457           nvCreateConfig got profile: 19 with 0 attributes
    [95185-95199] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 10 (nil) 0
    [95185-95199] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 10 0x7fd0c0bdf800 5
    [95185-95199] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 10 (nil) 32720
    [95185-95199] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 10 0x7fd0c0bdf900 5
    [95185-95199] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 854x480, format 1
    [95185-95199] ../src/vabackend.c:1064            nvDeriveImage In nvDeriveImage
    [95185-95199] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 854x480, format 1
    [95185-95199] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 854x480, format 1
    [95185-95199] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 854x480, format 1
    [95185-95199] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 854x480, format 1
    [95185-95199] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 854x480, format 1
    [95185-95199] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 854x480, format 1
    [95185-95199] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 854x480, format 1
    [95185-95199] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 854x480, format 1
    [95185-95199] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 854x480, format 1
    [95185-95199] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 854x480, format 1
    [95185-95199] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 854x480, format 1
    [95185-95199] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 854x480, format 1
    [95185-95199] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 854x480, format 1
    [95185-95199] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 854x480, format 1
    [95185-95199] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 854x480, format 1
    [95185-95199] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 854x480, format 1
    [95185-95199] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 854x480, format 1
    [95185-95199] ../src/vabackend.c: 457           nvCreateConfig got profile: 19 with 0 attributes
    [95185-95199] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 10 (nil) 0
    [95185-95199] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 10 0x7fd0c0be0180 5
    [95185-95199] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 10 (nil) 32720
    [95185-95199] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 10 0x7fd0c0be0900 5
    [95185-95199] ../src/vabackend.c: 635          nvCreateContext with 18 render targets, 18 surfaces, at 854x480
    [95185-95199] ../src/vabackend.c: 909             nvEndPicture cuvid decoded successful to idx: 0
    [95185-95199] ../src/vabackend.c:1568    nvExportSurfaceHandle got address 205828000 (1024) for surface 24 (picIdx: 0)
    [95185-95199] ../src/export-buf.c: 300          allocateSurface presenting frame 854x480 0x7fd0c28fda60 0x7fd0c28fdb80
    [95185-95199] ../src/export-buf.c: 317          allocateSurface Adding frame from EGLStream: 0x7fd0c0cfee51
    [95185-95199] ../src/export-buf.c: 330          allocateSurface Acquired image from EGLStream: 0x7fd0c0cfee51
    [95185-95199] ../src/export-buf.c: 421            exportCudaPtr Detected NV12/NV21 NVIDIA driver bug, attempting to work around
    [95185-95199] ../src/export-buf.c: 364              freeSurface Destroying EGLImage: 0x7fd0c0cfee51
    [95185-95199] ../src/export-buf.c: 370              freeSurface Destroying CUarray: 0x7fd0c28fda60
    [95185-95199] ../src/export-buf.c: 370              freeSurface Destroying CUarray: 0x7fd0c28fdb80
    [95185-95199] ../src/export-buf.c: 300          allocateSurface presenting frame 854x480 0x7fd0c28fda60 0x7fd0c28fdb80
    [95185-95199] ../src/export-buf.c: 317          allocateSurface Adding frame from EGLStream: 0x7fd0c0cfe831
    [95185-95199] ../src/export-buf.c: 330          allocateSurface Acquired image from EGLStream: 0x7fd0c0cfe831
    [95185-95199] ../src/export-buf.c: 431            exportCudaPtr Work around successful!
    [Child 94974, MediaDecoderStateMachine #1] WARNING: Decoder=7f7a257eea00 Decode error: NS_ERROR_OUT_OF_MEMORY (0x8007000e): file /build/firefox-developer-edition/src/firefox-99.0/dom/media/MediaDecoderStateMachine.cpp:3577
    [Child 94974, MediaDecoderStateMachine #1] WARNING: Decoder=7f7a257eea00 Decode error: NS_ERROR_OUT_OF_MEMORY (0x8007000e): file /build/firefox-developer-edition/src/firefox-99.0/dom/media/MediaDecoderStateMachine.cpp:3577
    [Child 94974, MediaDecoderStateMachine #1] WARNING: Decoder=7f7a257eea00 Decode error: NS_ERROR_OUT_OF_MEMORY (0x8007000e): file /build/firefox-developer-edition/src/firefox-99.0/dom/media/MediaDecoderStateMachine.cpp:3577
    [Child 94974, MediaDecoderStateMachine #1] WARNING: Decoder=7f7a257eea00 Decode error: NS_ERROR_OUT_OF_MEMORY (0x8007000e): file /build/firefox-developer-edition/src/firefox-99.0/dom/media/MediaDecoderStateMachine.cpp:3577
    [Child 94974, MediaDecoderStateMachine #1] WARNING: Decoder=7f7a257eea00 Decode error: NS_ERROR_OUT_OF_MEMORY (0x8007000e): file /build/firefox-developer-edition/src/firefox-99.0/dom/media/MediaDecoderStateMachine.cpp:3577
    [Child 94974, MediaDecoderStateMachine #1] WARNING: Decoder=7f7a257eea00 Decode error: NS_ERROR_OUT_OF_MEMORY (0x8007000e): file /build/firefox-developer-edition/src/firefox-99.0/dom/media/MediaDecoderStateMachine.cpp:3577
    [Child 94974, MediaDecoderStateMachine #1] WARNING: Decoder=7f7a257eea00 Decode error: NS_ERROR_OUT_OF_MEMORY (0x8007000e): file /build/firefox-developer-edition/src/firefox-99.0/dom/media/MediaDecoderStateMachine.cpp:3577
    [Child 94974, MediaDecoderStateMachine #1] WARNING: Decoder=7f7a257eea00 Decode error: NS_ERROR_OUT_OF_MEMORY (0x8007000e): file /build/firefox-developer-edition/src/firefox-99.0/dom/media/MediaDecoderStateMachine.cpp:3577
    [Child 94974, MediaDecoderStateMachine #1] WARNING: Decoder=7f7a257eea00 Decode error: NS_ERROR_OUT_OF_MEMORY (0x8007000e): file /build/firefox-developer-edition/src/firefox-99.0/dom/media/MediaDecoderStateMachine.cpp:3577
    [Child 94974, MediaDecoderStateMachine #1] WARNING: Decoder=7f7a257eea00 Decode error: NS_ERROR_OUT_OF_MEMORY (0x8007000e): file /build/firefox-developer-edition/src/firefox-99.0/dom/media/MediaDecoderStateMachine.cpp:3577
    [Child 94974, MediaDecoderStateMachine #1] WARNING: Decoder=7f7a257eea00 Decode error: NS_ERROR_OUT_OF_MEMORY (0x8007000e): file /build/firefox-developer-edition/src/firefox-99.0/dom/media/MediaDecoderStateMachine.cpp:3577
    [Child 94974, MediaDecoderStateMachine #1] WARNING: Decoder=7f7a257eea00 Decode error: NS_ERROR_OUT_OF_MEMORY (0x8007000e): file /build/firefox-developer-edition/src/firefox-99.0/dom/media/MediaDecoderStateMachine.cpp:3577
    [Child 94974, MediaDecoderStateMachine #1] WARNING: Decoder=7f7a257eea00 Decode error: NS_ERROR_OUT_OF_MEMORY (0x8007000e): file /build/firefox-developer-edition/src/firefox-99.0/dom/media/MediaDecoderStateMachine.cpp:3577
    [Child 94974, MediaDecoderStateMachine #1] WARNING: Decoder=7f7a257eea00 Decode error: NS_ERROR_OUT_OF_MEMORY (0x8007000e): file /build/firefox-developer-edition/src/firefox-99.0/dom/media/MediaDecoderStateMachine.cpp:3577
    [Child 94974, MediaDecoderStateMachine #1] WARNING: Decoder=7f7a257eea00 Decode error: NS_ERROR_OUT_OF_MEMORY (0x8007000e): file /build/firefox-developer-edition/src/firefox-99.0/dom/media/MediaDecoderStateMachine.cpp:3577
    [Child 94974, MediaDecoderStateMachine #1] WARNING: Decoder=7f7a257eea00 Decode error: NS_ERROR_OUT_OF_MEMORY (0x8007000e): file /build/firefox-developer-edition/src/firefox-99.0/dom/media/MediaDecoderStateMachine.cpp:3577
    [Child 94974, MediaDecoderStateMachine #1] WARNING: Decoder=7f7a257eea00 Decode error: NS_ERROR_OUT_OF_MEMORY (0x8007000e): file /build/firefox-developer-edition/src/firefox-99.0/dom/media/MediaDecoderStateMachine.cpp:3577
    [Child 94974, MediaDecoderStateMachine #1] WARNING: Decoder=7f7a257eea00 Decode error: NS_ERROR_OUT_OF_MEMORY (0x8007000e): file /build/firefox-developer-edition/src/firefox-99.0/dom/media/MediaDecoderStateMachine.cpp:3577
    [Child 94974, MediaDecoderStateMachine #1] WARNING: Decoder=7f7a257eea00 Decode error: NS_ERROR_OUT_OF_MEMORY (0x8007000e): file /build/firefox-developer-edition/src/firefox-99.0/dom/media/MediaDecoderStateMachine.cpp:3577
    [Child 94974, MediaDecoderStateMachine #1] WARNING: Decoder=7f7a257eea00 Decode error: NS_ERROR_OUT_OF_MEMORY (0x8007000e): file /build/firefox-developer-edition/src/firefox-99.0/dom/media/MediaDecoderStateMachine.cpp:3577
    [Child 94974, MediaDecoderStateMachine #1] WARNING: Decoder=7f7a257eea00 Decode error: NS_ERROR_OUT_OF_MEMORY (0x8007000e): file /build/firefox-developer-edition/src/firefox-99.0/dom/media/MediaDecoderStateMachine.cpp:3577
    [95214-95225] ../src/vabackend.c:1642       __vaDriverInit_1_0 Initialising NVIDIA VA-API Driver: 0x7f8931f2bc40
    [95214-95225] ../src/export-buf.c: 171          findCudaDisplay Found 4 EGL devices
    [95214-95225] ../src/export-buf.c: 175          findCudaDisplay Got EGL_CUDA_DEVICE_NV value '0' from EGLDevice 0
    [95214-95225] ../src/export-buf.c: 135    checkModesetParameter Checking device file: /dev/dri/renderD129
    [95214-95225] ../src/export-buf.c: 209             initExporter Got EGLDisplay from CUDA device 0
    [95214-95225] ../src/export-buf.c: 239             initExporter Driver doesn't support 16-bit surfaces
    [95214-95225] ../src/export-buf.c:  95                reconnect Reconnecting to stream
    [95214-95225] ../src/vabackend.c: 972      nvQueryImageFormats In nvQueryImageFormats
    [95214-95225] ../src/vabackend.c: 457           nvCreateConfig got profile: 6 with 0 attributes
    [95214-95225] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 4 (nil) 0
    [95214-95225] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 4 0x7f89151de780 5
    [95214-95225] ../src/vabackend.c: 457           nvCreateConfig got profile: 7 with 0 attributes
    [95214-95225] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 4 (nil) 0
    [95214-95225] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 4 0x7f89151dea80 5
    [95214-95225] ../src/vabackend.c: 457           nvCreateConfig got profile: 13 with 0 attributes
    [95214-95225] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 4 (nil) 0
    [95214-95225] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 4 0x7f89151de400 5
    [95214-95225] ../src/vabackend.c: 457           nvCreateConfig got profile: 14 with 0 attributes
    [95214-95225] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 9 (nil) 0
    [95214-95225] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 9 0x7f89151dee00 5
    [95214-95225] ../src/vabackend.c: 457           nvCreateConfig got profile: 19 with 0 attributes
    [95214-95225] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 10 (nil) 0
    [95214-95225] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 10 0x7f89151deb00 5
    [95214-95226] ../src/vabackend.c: 457           nvCreateConfig got profile: 19 with 0 attributes
    [95214-95226] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 10 (nil) 0
    [95214-95226] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 10 0x7f89151dee00 5
    [95214-95226] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 10 (nil) 32649
    [95214-95226] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 10 0x7f89151de600 5
    [95214-95226] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 640x360, format 1
    [95214-95226] ../src/vabackend.c:1064            nvDeriveImage In nvDeriveImage
    [95214-95226] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 640x360, format 1
    [95214-95226] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 640x360, format 1
    [95214-95226] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 640x360, format 1
    [95214-95226] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 640x360, format 1
    [95214-95226] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 640x360, format 1
    [95214-95226] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 640x360, format 1
    [95214-95226] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 640x360, format 1
    [95214-95226] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 640x360, format 1
    [95214-95226] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 640x360, format 1
    [95214-95226] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 640x360, format 1
    [95214-95226] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 640x360, format 1
    [95214-95226] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 640x360, format 1
    [95214-95226] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 640x360, format 1
    [95214-95226] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 640x360, format 1
    [95214-95226] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 640x360, format 1
    [95214-95226] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 640x360, format 1
    [95214-95226] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 640x360, format 1
    [95214-95226] ../src/vabackend.c: 457           nvCreateConfig got profile: 19 with 0 attributes
    [95214-95226] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 10 (nil) 0
    [95214-95226] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 10 0x7f89151df080 5
    [95214-95226] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 10 (nil) 32649
    [95214-95226] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 10 0x7f89151dfa80 5
    [95214-95226] ../src/vabackend.c: 635          nvCreateContext with 18 render targets, 18 surfaces, at 640x360
    [95214-95226] ../src/vabackend.c: 909             nvEndPicture cuvid decoded successful to idx: 0
    [95214-95226] ../src/vabackend.c:1568    nvExportSurfaceHandle got address 205828000 (1024) for surface 24 (picIdx: 0)
    [95214-95226] ../src/export-buf.c: 300          allocateSurface presenting frame 640x360 0x7f890aa8bb80 0x7f890aa8bca0
    [95214-95226] ../src/export-buf.c: 317          allocateSurface Adding frame from EGLStream: 0x7f890aafb861
    [95214-95226] ../src/export-buf.c: 330          allocateSurface Acquired image from EGLStream: 0x7f890aafb861
    [95214-95226] ../src/export-buf.c: 421            exportCudaPtr Detected NV12/NV21 NVIDIA driver bug, attempting to work around
    [95214-95226] ../src/export-buf.c: 364              freeSurface Destroying EGLImage: 0x7f890aafb861
    [95214-95226] ../src/export-buf.c: 370              freeSurface Destroying CUarray: 0x7f890aa8bb80
    [95214-95226] ../src/export-buf.c: 370              freeSurface Destroying CUarray: 0x7f890aa8bca0
    [95214-95226] ../src/export-buf.c: 300          allocateSurface presenting frame 640x360 0x7f890aa8bb80 0x7f890aa8bca0
    [95214-95226] ../src/export-buf.c: 317          allocateSurface Adding frame from EGLStream: 0x7f890aafbe51
    [95214-95226] ../src/export-buf.c: 330          allocateSurface Acquired image from EGLStream: 0x7f890aafbe51
    [95214-95226] ../src/export-buf.c: 431            exportCudaPtr Work around successful!
    [Child 94974, MediaDecoderStateMachine #1] WARNING: Decoder=7f7a2438ae00 Decode error: NS_ERROR_OUT_OF_MEMORY (0x8007000e): file /build/firefox-developer-edition/src/firefox-99.0/dom/media/MediaDecoderStateMachine.cpp:3577
    [Child 94974, MediaDecoderStateMachine #1] WARNING: Decoder=7f7a2438ae00 Decode error: NS_ERROR_OUT_OF_MEMORY (0x8007000e): file /build/firefox-developer-edition/src/firefox-99.0/dom/media/MediaDecoderStateMachine.cpp:3577
    [Child 94974, MediaDecoderStateMachine #1] WARNING: Decoder=7f7a2438ae00 Decode error: NS_ERROR_OUT_OF_MEMORY (0x8007000e): file /build/firefox-developer-edition/src/firefox-99.0/dom/media/MediaDecoderStateMachine.cpp:3577
    [Child 94974, MediaDecoderStateMachine #1] WARNING: Decoder=7f7a2438ae00 Decode error: NS_ERROR_OUT_OF_MEMORY (0x8007000e): file /build/firefox-developer-edition/src/firefox-99.0/dom/media/MediaDecoderStateMachine.cpp:3577
    [Child 94974, MediaDecoderStateMachine #1] WARNING: Decoder=7f7a2438ae00 Decode error: NS_ERROR_OUT_OF_MEMORY (0x8007000e): file /build/firefox-developer-edition/src/firefox-99.0/dom/media/MediaDecoderStateMachine.cpp:3577
    [Child 94974, MediaDecoderStateMachine #1] WARNING: Decoder=7f7a2438ae00 Decode error: NS_ERROR_OUT_OF_MEMORY (0x8007000e): file /build/firefox-developer-edition/src/firefox-99.0/dom/media/MediaDecoderStateMachine.cpp:3577
    [Child 94974, MediaDecoderStateMachine #1] WARNING: Decoder=7f7a2438ae00 Decode error: NS_ERROR_OUT_OF_MEMORY (0x8007000e): file /build/firefox-developer-edition/src/firefox-99.0/dom/media/MediaDecoderStateMachine.cpp:3577
    [Child 94974, MediaDecoderStateMachine #1] WARNING: Decoder=7f7a2438ae00 Decode error: NS_ERROR_OUT_OF_MEMORY (0x8007000e): file /build/firefox-developer-edition/src/firefox-99.0/dom/media/MediaDecoderStateMachine.cpp:3577
    [Child 94974, MediaDecoderStateMachine #1] WARNING: Decoder=7f7a2438ae00 Decode error: NS_ERROR_OUT_OF_MEMORY (0x8007000e): file /build/firefox-developer-edition/src/firefox-99.0/dom/media/MediaDecoderStateMachine.cpp:3577
    [Child 94974, MediaDecoderStateMachine #1] WARNING: Decoder=7f7a2438ae00 Decode error: NS_ERROR_OUT_OF_MEMORY (0x8007000e): file /build/firefox-developer-edition/src/firefox-99.0/dom/media/MediaDecoderStateMachine.cpp:3577
    [Child 94974, MediaDecoderStateMachine #1] WARNING: Decoder=7f7a2438ae00 Decode error: NS_ERROR_OUT_OF_MEMORY (0x8007000e): file /build/firefox-developer-edition/src/firefox-99.0/dom/media/MediaDecoderStateMachine.cpp:3577
    [Child 94974, MediaDecoderStateMachine #1] WARNING: Decoder=7f7a2438ae00 Decode error: NS_ERROR_OUT_OF_MEMORY (0x8007000e): file /build/firefox-developer-edition/src/firefox-99.0/dom/media/MediaDecoderStateMachine.cpp:3577
    [Child 94974, MediaDecoderStateMachine #1] WARNING: Decoder=7f7a2438ae00 Decode error: NS_ERROR_OUT_OF_MEMORY (0x8007000e): file /build/firefox-developer-edition/src/firefox-99.0/dom/media/MediaDecoderStateMachine.cpp:3577
    [Child 94974, MediaDecoderStateMachine #1] WARNING: Decoder=7f7a2438ae00 Decode error: NS_ERROR_OUT_OF_MEMORY (0x8007000e): file /build/firefox-developer-edition/src/firefox-99.0/dom/media/MediaDecoderStateMachine.cpp:3577
    [Child 94974, MediaDecoderStateMachine #1] WARNING: Decoder=7f7a2438ae00 Decode error: NS_ERROR_OUT_OF_MEMORY (0x8007000e): file /build/firefox-developer-edition/src/firefox-99.0/dom/media/MediaDecoderStateMachine.cpp:3577
    [Child 94974, MediaDecoderStateMachine #1] WARNING: Decoder=7f7a2438ae00 Decode error: NS_ERROR_OUT_OF_MEMORY (0x8007000e): file /build/firefox-developer-edition/src/firefox-99.0/dom/media/MediaDecoderStateMachine.cpp:3577
    [Child 94974, MediaDecoderStateMachine #1] WARNING: Decoder=7f7a2438ae00 Decode error: NS_ERROR_OUT_OF_MEMORY (0x8007000e): file /build/firefox-developer-edition/src/firefox-99.0/dom/media/MediaDecoderStateMachine.cpp:3577
    [Child 94974, MediaDecoderStateMachine #1] WARNING: Decoder=7f7a2438ae00 Decode error: NS_ERROR_OUT_OF_MEMORY (0x8007000e): file /build/firefox-developer-edition/src/firefox-99.0/dom/media/MediaDecoderStateMachine.cpp:3577
    [95240-95251] ../src/vabackend.c:1642       __vaDriverInit_1_0 Initialising NVIDIA VA-API Driver: 0x7f9b77f2b4c0
    [95240-95251] ../src/export-buf.c: 171          findCudaDisplay Found 4 EGL devices
    [95240-95251] ../src/export-buf.c: 175          findCudaDisplay Got EGL_CUDA_DEVICE_NV value '0' from EGLDevice 0
    [95240-95251] ../src/export-buf.c: 135    checkModesetParameter Checking device file: /dev/dri/renderD129
    [95240-95251] ../src/export-buf.c: 209             initExporter Got EGLDisplay from CUDA device 0
    [95240-95251] ../src/export-buf.c: 239             initExporter Driver doesn't support 16-bit surfaces
    [95240-95251] ../src/export-buf.c:  95                reconnect Reconnecting to stream
    [95240-95251] ../src/vabackend.c: 972      nvQueryImageFormats In nvQueryImageFormats
    [95240-95251] ../src/vabackend.c: 457           nvCreateConfig got profile: 6 with 0 attributes
    [95240-95251] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 4 (nil) 0
    [95240-95251] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 4 0x7f9b50031f80 5
    [95240-95251] ../src/vabackend.c: 457           nvCreateConfig got profile: 7 with 0 attributes
    [95240-95251] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 4 (nil) 0
    [95240-95251] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 4 0x7f9b50031f80 5
    [95240-95251] ../src/vabackend.c: 457           nvCreateConfig got profile: 13 with 0 attributes
    [95240-95251] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 4 (nil) 0
    [95240-95251] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 4 0x7f9b50031500 5
    [95240-95251] ../src/vabackend.c: 457           nvCreateConfig got profile: 14 with 0 attributes
    [95240-95251] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 9 (nil) 0
    [95240-95251] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 9 0x7f9b50031f80 5
    [95240-95251] ../src/vabackend.c: 457           nvCreateConfig got profile: 19 with 0 attributes
    [95240-95251] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 10 (nil) 0
    [95240-95251] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 10 0x7f9b50031f80 5
    [95240-95248] ../src/vabackend.c:1626              nvTerminate Terminating 0x7f9b77f2b4c0
    [95240-95248] ../src/export-buf.c:  57          releaseExporter Releasing exporter, 0 outstanding frames
    [95240-95248] ../src/export-buf.c:  74          releaseExporter Done releasing frames
    [95240-95256] ../src/vabackend.c:1642       __vaDriverInit_1_0 Initialising NVIDIA VA-API Driver: 0x7f9b77f2a3e0
    [95240-95256] ../src/export-buf.c: 171          findCudaDisplay Found 4 EGL devices
    [95240-95256] ../src/export-buf.c: 175          findCudaDisplay Got EGL_CUDA_DEVICE_NV value '0' from EGLDevice 0
    [95240-95256] ../src/export-buf.c: 135    checkModesetParameter Checking device file: /dev/dri/renderD129
    [95240-95256] ../src/export-buf.c: 209             initExporter Got EGLDisplay from CUDA device 0
    [95240-95256] ../src/export-buf.c: 239             initExporter Driver doesn't support 16-bit surfaces
    [95240-95256] ../src/export-buf.c:  95                reconnect Reconnecting to stream
    [95240-95256] ../src/vabackend.c: 972      nvQueryImageFormats In nvQueryImageFormats
    [95240-95256] ../src/vabackend.c:1626              nvTerminate Terminating 0x7f9b77f2a3e0
    [95240-95256] ../src/export-buf.c:  57          releaseExporter Releasing exporter, 0 outstanding frames
    [95240-95256] ../src/export-buf.c:  74          releaseExporter Done releasing frames
    [95240-95260] ../src/vabackend.c:1642       __vaDriverInit_1_0 Initialising NVIDIA VA-API Driver: 0x7f9b77f2a3e0
    [95240-95260] ../src/export-buf.c: 171          findCudaDisplay Found 4 EGL devices
    [95240-95260] ../src/export-buf.c: 175          findCudaDisplay Got EGL_CUDA_DEVICE_NV value '0' from EGLDevice 0
    [95240-95260] ../src/export-buf.c: 135    checkModesetParameter Checking device file: /dev/dri/renderD129
    [95240-95260] ../src/export-buf.c: 209             initExporter Got EGLDisplay from CUDA device 0
    [95240-95260] ../src/export-buf.c: 239             initExporter Driver doesn't support 16-bit surfaces
    [95240-95260] ../src/export-buf.c:  95                reconnect Reconnecting to stream
    [95240-95260] ../src/vabackend.c: 972      nvQueryImageFormats In nvQueryImageFormats
    [95240-95260] ../src/vabackend.c:1626              nvTerminate Terminating 0x7f9b77f2a3e0
    [95240-95260] ../src/export-buf.c:  57          releaseExporter Releasing exporter, 0 outstanding frames
    [95240-95260] ../src/export-buf.c:  74          releaseExporter Done releasing frames
    [95240-95264] ../src/vabackend.c:1642       __vaDriverInit_1_0 Initialising NVIDIA VA-API Driver: 0x7f9b77f2b880
    [95240-95264] ../src/export-buf.c: 171          findCudaDisplay Found 4 EGL devices
    [95240-95264] ../src/export-buf.c: 175          findCudaDisplay Got EGL_CUDA_DEVICE_NV value '0' from EGLDevice 0
    [95240-95264] ../src/export-buf.c: 135    checkModesetParameter Checking device file: /dev/dri/renderD129
    [95240-95264] ../src/export-buf.c: 209             initExporter Got EGLDisplay from CUDA device 0
    [95240-95264] ../src/export-buf.c: 239             initExporter Driver doesn't support 16-bit surfaces
    [95240-95264] ../src/export-buf.c:  95                reconnect Reconnecting to stream
    [95240-95264] ../src/vabackend.c: 972      nvQueryImageFormats In nvQueryImageFormats
    [95240-95264] ../src/vabackend.c:1626              nvTerminate Terminating 0x7f9b77f2b880
    [95240-95264] ../src/export-buf.c:  57          releaseExporter Releasing exporter, 0 outstanding frames
    [95240-95264] ../src/export-buf.c:  74          releaseExporter Done releasing frames
    [95240-95268] ../src/vabackend.c:1642       __vaDriverInit_1_0 Initialising NVIDIA VA-API Driver: 0x7f9b77f2a3e0
    [95240-95268] ../src/export-buf.c: 171          findCudaDisplay Found 4 EGL devices
    [95240-95268] ../src/export-buf.c: 175          findCudaDisplay Got EGL_CUDA_DEVICE_NV value '0' from EGLDevice 0
    [95240-95268] ../src/export-buf.c: 135    checkModesetParameter Checking device file: /dev/dri/renderD129
    [95240-95268] ../src/export-buf.c: 209             initExporter Got EGLDisplay from CUDA device 0
    [95240-95268] ../src/export-buf.c: 239             initExporter Driver doesn't support 16-bit surfaces
    [95240-95268] ../src/export-buf.c:  95                reconnect Reconnecting to stream
    [95240-95268] ../src/vabackend.c: 972      nvQueryImageFormats In nvQueryImageFormats
    [95240-95268] ../src/vabackend.c:1626              nvTerminate Terminating 0x7f9b77f2a3e0
    [95240-95268] ../src/export-buf.c:  57          releaseExporter Releasing exporter, 0 outstanding frames
    [95240-95268] ../src/export-buf.c:  74          releaseExporter Done releasing frames
    [95240-95272] ../src/vabackend.c:1642       __vaDriverInit_1_0 Initialising NVIDIA VA-API Driver: 0x7f9b77f2b4c0
    [95240-95272] ../src/export-buf.c: 171          findCudaDisplay Found 4 EGL devices
    [95240-95272] ../src/export-buf.c: 175          findCudaDisplay Got EGL_CUDA_DEVICE_NV value '0' from EGLDevice 0
    [95240-95272] ../src/export-buf.c: 135    checkModesetParameter Checking device file: /dev/dri/renderD129
    [95240-95272] ../src/export-buf.c: 209             initExporter Got EGLDisplay from CUDA device 0
    [95240-95272] ../src/export-buf.c: 239             initExporter Driver doesn't support 16-bit surfaces
    [95240-95272] ../src/export-buf.c:  95                reconnect Reconnecting to stream
    [95240-95272] ../src/vabackend.c: 972      nvQueryImageFormats In nvQueryImageFormats
    [95240-95275] ../src/vabackend.c:1642       __vaDriverInit_1_0 Initialising NVIDIA VA-API Driver: 0x7f9b77f2a3e0
    [95240-95275] ../src/export-buf.c: 171          findCudaDisplay Found 4 EGL devices
    [95240-95275] ../src/export-buf.c: 175          findCudaDisplay Got EGL_CUDA_DEVICE_NV value '0' from EGLDevice 0
    [95240-95275] ../src/export-buf.c: 135    checkModesetParameter Checking device file: /dev/dri/renderD129
    [95240-95275] ../src/export-buf.c: 209             initExporter Got EGLDisplay from CUDA device 0
    [95240-95275] ../src/export-buf.c: 239             initExporter Driver doesn't support 16-bit surfaces
    [95240-95275] ../src/export-buf.c:  95                reconnect Reconnecting to stream
    [95240-95275] ../src/vabackend.c: 972      nvQueryImageFormats In nvQueryImageFormats
    [95240-95276] ../src/vabackend.c:1626              nvTerminate Terminating 0x7f9b77f2b4c0
    [95240-95276] ../src/export-buf.c:  57          releaseExporter Releasing exporter, 0 outstanding frames
    [95240-95276] ../src/export-buf.c:  74          releaseExporter Done releasing frames
    [95240-95272] ../src/vabackend.c: 457           nvCreateConfig got profile: 7 with 0 attributes
    [95240-95272] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 4 (nil) 0
    [95240-95272] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 4 0x7f9b3cc6c780 5
    [95240-95272] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 4 (nil) 32667
    [95240-95272] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 4 0x7f9b3cc6c200 5
    [95240-95272] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 1920x1088, format 1
    [95240-95272] ../src/vabackend.c:1064            nvDeriveImage In nvDeriveImage
    [95240-95272] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 1920x1088, format 1
    [95240-95272] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 1920x1088, format 1
    [95240-95272] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 1920x1088, format 1
    [95240-95272] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 1920x1088, format 1
    [95240-95272] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 1920x1088, format 1
    [95240-95272] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 1920x1088, format 1
    [95240-95272] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 1920x1088, format 1
    [95240-95272] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 1920x1088, format 1
    [95240-95272] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 1920x1088, format 1
    [95240-95272] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 1920x1088, format 1
    [95240-95272] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 1920x1088, format 1
    [95240-95272] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 1920x1088, format 1
    [95240-95272] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 1920x1088, format 1
    [95240-95272] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 1920x1088, format 1
    [95240-95272] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 1920x1088, format 1
    [95240-95272] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 1920x1088, format 1
    [95240-95272] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 1920x1088, format 1
    [95240-95272] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 1920x1088, format 1
    [95240-95272] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 1920x1088, format 1
    [95240-95272] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 1920x1088, format 1
    [95240-95272] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 1920x1088, format 1
    [95240-95272] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 1920x1088, format 1
    [95240-95272] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 1920x1088, format 1
    [95240-95272] ../src/vabackend.c: 457           nvCreateConfig got profile: 7 with 0 attributes
    [95240-95272] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 4 (nil) 0
    [95240-95272] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 4 0x7f9b3cc6dc00 5
    [95240-95272] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 4 (nil) 32667
    [95240-95272] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 4 0x7f9b3cc6df00 5
    [95240-95272] ../src/vabackend.c: 635          nvCreateContext with 24 render targets, 24 surfaces, at 1920x1088
    [95240-95272] ../src/vabackend.c: 909             nvEndPicture cuvid decoded successful to idx: 0
    [95240-95275] ../src/vabackend.c: 909             nvEndPicture cuvid decoded successful to idx: 1
    [95240-95275] ../src/vabackend.c:1568    nvExportSurfaceHandle got address 200200000 (2048) for surface 25 (picIdx: 0)
    [95240-95275] ../src/export-buf.c: 300          allocateSurface presenting frame 1920x1088 0x7f9b3db62280 0x7f9b3db623a0
    [95240-95275] ../src/export-buf.c: 317          allocateSurface Adding frame from EGLStream: 0x7f9b500458c1
    [95240-95275] ../src/export-buf.c: 330          allocateSurface Acquired image from EGLStream: 0x7f9b500458c1
    [95240-95275] ../src/export-buf.c: 421            exportCudaPtr Detected NV12/NV21 NVIDIA driver bug, attempting to work around
    [95240-95275] ../src/export-buf.c: 364              freeSurface Destroying EGLImage: 0x7f9b500458c1
    [95240-95275] ../src/export-buf.c: 370              freeSurface Destroying CUarray: 0x7f9b3db62280
    [95240-95275] ../src/export-buf.c: 370              freeSurface Destroying CUarray: 0x7f9b3db623a0
    [95240-95275] ../src/export-buf.c: 300          allocateSurface presenting frame 1920x1088 0x7f9b3db62280 0x7f9b3db623a0
    [95240-95275] ../src/export-buf.c: 317          allocateSurface Adding frame from EGLStream: 0x7f9b50045891
    [95240-95275] ../src/export-buf.c: 330          allocateSurface Acquired image from EGLStream: 0x7f9b50045891
    [95240-95275] ../src/export-buf.c: 431            exportCudaPtr Work around successful!
    [Child 94974, MediaDecoderStateMachine #1] WARNING: Decoder=7f7a258d5f00 Decode error: NS_ERROR_OUT_OF_MEMORY (0x8007000e): file /build/firefox-developer-edition/src/firefox-99.0/dom/media/MediaDecoderStateMachine.cpp:3577
    [Child 94974, MediaDecoderStateMachine #1] WARNING: Decoder=7f7a258d5f00 Decode error: NS_ERROR_OUT_OF_MEMORY (0x8007000e): file /build/firefox-developer-edition/src/firefox-99.0/dom/media/MediaDecoderStateMachine.cpp:3577
    [Child 94974, MediaDecoderStateMachine #1] WARNING: Decoder=7f7a258d5f00 Decode error: NS_ERROR_OUT_OF_MEMORY (0x8007000e): file /build/firefox-developer-edition/src/firefox-99.0/dom/media/MediaDecoderStateMachine.cpp:3577
    [94750-94811] ../src/export-buf.c:  52                    debug [EGL] eglCreateContext: EGL_BAD_MATCH error: In eglCreateContext: Failure in argument parsing
    
    [94750-94811] ../src/export-buf.c:  52                    debug [EGL] eglCreateContext: EGL_BAD_ATTRIBUTE error: In eglCreateContext: Failure in argument parsing
    

    But, then, when I refresh the window with F5, everything goes back to normal

    Log
    [95618-95625] ../src/vabackend.c:1642       __vaDriverInit_1_0 Initialising NVIDIA VA-API Driver: 0x7f42e1b2a020
    [95618-95625] ../src/export-buf.c: 171          findCudaDisplay Found 4 EGL devices
    [95618-95625] ../src/export-buf.c: 175          findCudaDisplay Got EGL_CUDA_DEVICE_NV value '0' from EGLDevice 0
    [95618-95625] ../src/export-buf.c: 135    checkModesetParameter Checking device file: /dev/dri/renderD129
    [95618-95625] ../src/export-buf.c: 209             initExporter Got EGLDisplay from CUDA device 0
    [95618-95625] ../src/export-buf.c: 239             initExporter Driver doesn't support 16-bit surfaces
    [95618-95625] ../src/export-buf.c:  95                reconnect Reconnecting to stream
    [95618-95625] ../src/vabackend.c: 972      nvQueryImageFormats In nvQueryImageFormats
    [95618-95625] ../src/vabackend.c: 457           nvCreateConfig got profile: 6 with 0 attributes
    [95618-95625] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 4 (nil) 0
    [95618-95625] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 4 0x7f42bac72780 5
    [95618-95625] ../src/vabackend.c: 457           nvCreateConfig got profile: 7 with 0 attributes
    [95618-95625] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 4 (nil) 0
    [95618-95625] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 4 0x7f42bac72c00 5
    [95618-95625] ../src/vabackend.c: 457           nvCreateConfig got profile: 13 with 0 attributes
    [95618-95625] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 4 (nil) 0
    [95618-95625] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 4 0x7f42bac72480 5
    [95618-95625] ../src/vabackend.c: 457           nvCreateConfig got profile: 14 with 0 attributes
    [95618-95625] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 9 (nil) 0
    [95618-95625] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 9 0x7f42bac72480 5
    [95618-95625] ../src/vabackend.c: 457           nvCreateConfig got profile: 19 with 0 attributes
    [95618-95625] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 10 (nil) 0
    [95618-95625] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 10 0x7f42bac73000 5
    [95618-95626] ../src/vabackend.c: 457           nvCreateConfig got profile: 19 with 0 attributes
    [95618-95626] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 10 (nil) 0
    [95618-95626] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 10 0x7f42bac72a00 5
    [95618-95626] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 10 (nil) 32578
    [95618-95626] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 10 0x7f42bac72b80 5
    [95618-95626] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 1920x1080, format 1
    [95618-95626] ../src/vabackend.c:1064            nvDeriveImage In nvDeriveImage
    [95618-95626] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 1920x1080, format 1
    [95618-95626] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 1920x1080, format 1
    [95618-95626] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 1920x1080, format 1
    [95618-95626] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 1920x1080, format 1
    [95618-95626] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 1920x1080, format 1
    [95618-95626] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 1920x1080, format 1
    [95618-95626] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 1920x1080, format 1
    [95618-95626] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 1920x1080, format 1
    [95618-95626] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 1920x1080, format 1
    [95618-95626] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 1920x1080, format 1
    [95618-95626] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 1920x1080, format 1
    [95618-95626] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 1920x1080, format 1
    [95618-95626] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 1920x1080, format 1
    [95618-95626] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 1920x1080, format 1
    [95618-95626] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 1920x1080, format 1
    [95618-95626] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 1920x1080, format 1
    [95618-95626] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 1920x1080, format 1
    [95618-95626] ../src/vabackend.c: 457           nvCreateConfig got profile: 19 with 0 attributes
    [95618-95626] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 10 (nil) 0
    [95618-95626] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 10 0x7f42bac73f80 5
    [95618-95626] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 10 (nil) 32578
    [95618-95626] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 10 0x7f42bac73180 5
    [95618-95626] ../src/vabackend.c: 635          nvCreateContext with 18 render targets, 18 surfaces, at 1920x1080
    [95618-95626] ../src/vabackend.c: 909             nvEndPicture cuvid decoded successful to idx: 0
    [95618-95626] ../src/vabackend.c:1568    nvExportSurfaceHandle got address 205A00000 (2048) for surface 24 (picIdx: 0)
    [95618-95626] ../src/export-buf.c: 300          allocateSurface presenting frame 1920x1080 0x7f42bacc5a60 0x7f42bacc5b80
    [95618-95626] ../src/export-buf.c: 317          allocateSurface Adding frame from EGLStream: 0x7f42bad985c1
    [95618-95626] ../src/export-buf.c: 330          allocateSurface Acquired image from EGLStream: 0x7f42bad985c1
    [95618-95626] ../src/export-buf.c: 421            exportCudaPtr Detected NV12/NV21 NVIDIA driver bug, attempting to work around
    [95618-95626] ../src/export-buf.c: 364              freeSurface Destroying EGLImage: 0x7f42bad985c1
    [95618-95626] ../src/export-buf.c: 370              freeSurface Destroying CUarray: 0x7f42bacc5a60
    [95618-95626] ../src/export-buf.c: 370              freeSurface Destroying CUarray: 0x7f42bacc5b80
    [95618-95626] ../src/export-buf.c: 300          allocateSurface presenting frame 1920x1080 0x7f42bacc5a60 0x7f42bacc5b80
    [95618-95626] ../src/export-buf.c: 317          allocateSurface Adding frame from EGLStream: 0x7f42bad980f1
    [95618-95626] ../src/export-buf.c: 330          allocateSurface Acquired image from EGLStream: 0x7f42bad980f1
    [95618-95626] ../src/export-buf.c: 431            exportCudaPtr Work around successful!
    

    It works for youtube, but it is not working for twich, for example. Do I need to change anything going from v98 -> v99?!

    OS: Garuda kwin X11 NVIDIA RTX 2060M, (510.54 driver) nvidia-vaapi-driver: git

    opened by qumaciel 48
  • Can't get it to work on Firefox 96/NVIDIA 470.94

    Can't get it to work on Firefox 96/NVIDIA 470.94

    For some reason, Firefox 96 doesn't seem to be enabling VA-API, despite me configuring everything as per the README file.

    Firefox log:

    $ LIBVA_DRIVER_NAME=nvidia MOZ_DISABLE_RDD_SANDBOX=1 NVD_LOG=1 MOZ_LOG="PlatformDecoderModule:5" firefox
    [Child 39613: Main Thread]: D/PlatformDecoderModule PDMInitializer, Init PDMs in Content process
    [Child 39613: Main Thread]: D/PlatformDecoderModule VA-API FFmpeg is disabled by platform
    [Child 39613: Main Thread]: D/PlatformDecoderModule VA-API FFmpeg is disabled by platform
    [Child 39613: Main Thread]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type
    [RDD 39728: Main Thread]: D/PlatformDecoderModule PDMInitializer, Init PDMs in RDD process
    [RDD 39728: Main Thread]: D/PlatformDecoderModule VA-API FFmpeg is disabled by platform
    [RDD 39728: Main Thread]: D/PlatformDecoderModule VA-API FFmpeg is disabled by platform
    [RDD 39728: Main Thread]: D/PlatformDecoderModule Agnostic decoder rejects requested type
    [RDD 39728: Main Thread]: D/PlatformDecoderModule Agnostic decoder supports requested type
    [RDD 39728: Main Thread]: D/PlatformDecoderModule Agnostic decoder supports requested type
    [RDD 39728: Main Thread]: D/PlatformDecoderModule Agnostic decoder supports requested type
    [RDD 39728: Main Thread]: D/PlatformDecoderModule Agnostic decoder supports requested type
    [Child 39613: Main Thread]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type
    [Child 39613: Main Thread]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type
    [Child 39613: Main Thread]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type
    [Child 39613: Main Thread]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type
    [Child 39613: MediaSupervisor #1]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type
    [Child 39613: MediaSupervisor #1]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type
    [Child 39613: MediaSupervisor #1]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type
    [Child 39613: MediaSupervisor #1]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type
    [RDD 39728: MediaSupervisor #1]: D/PlatformDecoderModule VA-API is disabled by pref.
    [RDD 39728: MediaPDecoder #1]: D/PlatformDecoderModule Initialising FFmpeg decoder.
    [RDD 39728: MediaPDecoder #2]: D/PlatformDecoderModule Initialising FFmpeg decoder.
    [h264 @ 0x7ff69a14f400] nal_unit_type: 7(SPS), nal_ref_idc: 3
    [h264 @ 0x7ff69a14f400] nal_unit_type: 8(PPS), nal_ref_idc: 3
    [RDD 39728: MediaPDecoder #1]: D/PlatformDecoderModule FFmpeg init successful.
    [h264 @ 0x7ff69a14f400] nal_unit_type: 6(SEI), nal_ref_idc: 0
    [h264 @ 0x7ff69a14f400] nal_unit_type: 5(IDR), nal_ref_idc: 3
    [RDD 39728: MediaPDecoder #1]: D/PlatformDecoderModule Choosing FFmpeg pixel format for video decoding.
    [RDD 39728: MediaPDecoder #1]: D/PlatformDecoderModule Requesting pixel format YUV420P.
    [h264 @ 0x7ff69a14f400] Format yuv420p chosen by get_format().
    [h264 @ 0x7ff69a14f400] Reinit context to 640x480, pix_fmt: yuv420p
    [Child 39613: MediaSupervisor #1]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type
    [Child 39613: MediaSupervisor #1]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type
    

    Some other infos:

    • OS: Arch Linux
    • Display server: X11
    • GPU: GTX 660
    • Driver: 470.94
    • Firefox 96 (stable)
    $ sudo cat /sys/module/nvidia_drm/parameters/modeset
    Y
    
    $ LIBVA_DRIVER_NAME=nvidia vainfo
    vainfo: VA-API version: 1.13 (libva 2.13.0)
    vainfo: Driver version: VA-API NVDEC driver
    vainfo: Supported profile and entrypoints
          VAProfileMPEG2Simple            :	VAEntrypointVLD
          VAProfileMPEG2Main              :	VAEntrypointVLD
          VAProfileVC1Simple              :	VAEntrypointVLD
          VAProfileVC1Main                :	VAEntrypointVLD
          VAProfileVC1Advanced            :	VAEntrypointVLD
          <unknown profile>               :	VAEntrypointVLD
          VAProfileH264Main               :	VAEntrypointVLD
          VAProfileH264High               :	VAEntrypointVLD
          VAProfileH264ConstrainedBaseline:	VAEntrypointVLD
    

    image

    Any help is appreciated. Thanks.

    opened by guihkx 48
  • VA-API works with everything except native firefox

    VA-API works with everything except native firefox

    There is no VA-API/GPU logs when firefox is ran: NVD_LOG=1 MOZ_DISABLE_RDD_SANDBOX=1 LIBVA_DRIVER_NAME=nvidia /usr/lib/firefox/firefox Using Flatpak firefox recognizes VA-API but isn't usable, i am currently figuring out why Firefox ignores the va-api driver.

    [Child 323: Main Thread]: D/PlatformDecoderModule PDMInitializer, Init PDMs in Content process
    [Child 323: Main Thread]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type video/avc
    [Child 323: Main Thread]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type video/avc
    [Child 323: Main Thread]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type video/avc
    [Child 323: Main Thread]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type video/avc
    [Child 323: Main Thread]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type audio/mp4a-latm
    [Child 323: Main Thread]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type audio/mp4a-latm
    [RDD 354: Main Thread]: D/PlatformDecoderModule PDMInitializer, Init PDMs in RDD process
    [RDD 354: Main Thread]: D/PlatformDecoderModule FFmpeg decoder rejects requested type 'video/avc'
    [RDD 354: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/avc'
    [RDD 354: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/avc'
    [RDD 354: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/vp9'
    [RDD 354: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/vp9'
    [RDD 354: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/vp8'
    [RDD 354: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/vp8'
    [RDD 354: Main Thread]: D/PlatformDecoderModule FFmpeg decoder rejects requested type 'video/av1'
    [RDD 354: Main Thread]: D/PlatformDecoderModule FFmpeg decoder rejects requested type 'video/av1'
    [RDD 354: Main Thread]: D/PlatformDecoderModule Agnostic decoder rejects requested type 'video/av1'
    [RDD 354: Main Thread]: D/PlatformDecoderModule FFmpeg decoder rejects requested type 'video/theora'
    [RDD 354: Main Thread]: D/PlatformDecoderModule FFmpeg decoder rejects requested type 'video/theora'
    [RDD 354: Main Thread]: D/PlatformDecoderModule Agnostic decoder supports requested type 'video/theora'
    [RDD 354: Main Thread]: D/PlatformDecoderModule Agnostic decoder supports requested type 'video/theora'
    [RDD 354: Main Thread]: D/PlatformDecoderModule FFmpeg decoder rejects requested type 'audio/mp4a-latm'
    [RDD 354: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'audio/mp4a-latm'
    [RDD 354: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'audio/mp4a-latm'
    [RDD 354: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'audio/mpeg'
    [RDD 354: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'audio/mpeg'
    [RDD 354: Main Thread]: D/PlatformDecoderModule FFmpeg decoder rejects requested type 'audio/opus'
    [RDD 354: Main Thread]: D/PlatformDecoderModule FFmpeg decoder rejects requested type 'audio/opus'
    [RDD 354: Main Thread]: D/PlatformDecoderModule Agnostic decoder supports requested type 'audio/opus'
    [RDD 354: Main Thread]: D/PlatformDecoderModule Agnostic decoder supports requested type 'audio/opus'
    [RDD 354: Main Thread]: D/PlatformDecoderModule FFmpeg decoder rejects requested type 'audio/vorbis'
    [RDD 354: Main Thread]: D/PlatformDecoderModule FFmpeg decoder rejects requested type 'audio/vorbis'
    [RDD 354: Main Thread]: D/PlatformDecoderModule Agnostic decoder supports requested type 'audio/vorbis'
    [RDD 354: Main Thread]: D/PlatformDecoderModule Agnostic decoder supports requested type 'audio/vorbis'
    [RDD 354: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'audio/flac'
    [RDD 354: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'audio/flac'
    [RDD 354: Main Thread]: D/PlatformDecoderModule FFmpeg decoder rejects requested type 'audio/x-wav'
    [RDD 354: Main Thread]: D/PlatformDecoderModule FFmpeg decoder rejects requested type 'audio/x-wav'
    [RDD 354: Main Thread]: D/PlatformDecoderModule Agnostic decoder supports requested type 'audio/x-wav'
    [RDD 354: Main Thread]: D/PlatformDecoderModule Agnostic decoder supports requested type 'audio/x-wav'
    [Child 323: Main Thread]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type video/avc
    [Child 323: Main Thread]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type video/avc
    [Child 323: Main Thread]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type video/avc
    [Child 323: Main Thread]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type video/avc
    [Child 323: Main Thread]: D/PlatformDecoderModule Sandbox RDD decoder rejects requested type audio/mp4a-latm
    [Child 323: Main Thread]: D/PlatformDecoderModule Sandbox Utility decoder supports requested type audio/mp4a-latm
    [Child 323: Main Thread]: D/PlatformDecoderModule Sandbox Utility decoder supports requested type audio/mp4a-latm
    [Utility AudioDecoder 369: Main Thread]: D/PlatformDecoderModule PDMInitializer, Init PDMs in Utility process
    [Utility AudioDecoder 369: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/avc'
    [Utility AudioDecoder 369: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/avc'
    [Utility AudioDecoder 369: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/vp9'
    [Utility AudioDecoder 369: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/vp9'
    [Utility AudioDecoder 369: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/vp8'
    [Utility AudioDecoder 369: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/vp8'
    [Utility AudioDecoder 369: Main Thread]: D/PlatformDecoderModule FFmpeg decoder rejects requested type 'video/av1'
    [Utility AudioDecoder 369: Main Thread]: D/PlatformDecoderModule Agnostic decoder rejects requested type 'video/av1'
    [Utility AudioDecoder 369: Main Thread]: D/PlatformDecoderModule FFmpeg decoder rejects requested type 'video/theora'
    [Utility AudioDecoder 369: Main Thread]: D/PlatformDecoderModule Agnostic decoder rejects requested type 'video/theora'
    [Utility AudioDecoder 369: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'audio/mp4a-latm'
    [Utility AudioDecoder 369: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'audio/mp4a-latm'
    [Utility AudioDecoder 369: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'audio/mpeg'
    [Utility AudioDecoder 369: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'audio/mpeg'
    [Utility AudioDecoder 369: Main Thread]: D/PlatformDecoderModule FFmpeg decoder rejects requested type 'audio/opus'
    [Utility AudioDecoder 369: Main Thread]: D/PlatformDecoderModule Agnostic decoder supports requested type 'audio/opus'
    [Utility AudioDecoder 369: Main Thread]: D/PlatformDecoderModule Agnostic decoder supports requested type 'audio/opus'
    [Utility AudioDecoder 369: Main Thread]: D/PlatformDecoderModule FFmpeg decoder rejects requested type 'audio/vorbis'
    [Utility AudioDecoder 369: Main Thread]: D/PlatformDecoderModule Agnostic decoder supports requested type 'audio/vorbis'
    [Utility AudioDecoder 369: Main Thread]: D/PlatformDecoderModule Agnostic decoder supports requested type 'audio/vorbis'
    [Utility AudioDecoder 369: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'audio/flac'
    [Utility AudioDecoder 369: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'audio/flac'
    [Utility AudioDecoder 369: Main Thread]: D/PlatformDecoderModule FFmpeg decoder rejects requested type 'audio/x-wav'
    [Utility AudioDecoder 369: Main Thread]: D/PlatformDecoderModule Agnostic decoder supports requested type 'audio/x-wav'
    [Utility AudioDecoder 369: Main Thread]: D/PlatformDecoderModule Agnostic decoder supports requested type 'audio/x-wav'
    [Child 323: Main Thread]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type video/avc
    [Child 323: Main Thread]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type video/avc
    [Child 323: Main Thread]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type video/avc
    [Child 323: Main Thread]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type video/avc
    [Child 323: MediaSupervisor #1]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type video/avc
    [Child 323: MediaSupervisor #1]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type video/avc
    [Child 323: MediaSupervisor #1]: D/PlatformDecoderModule Sandbox RDD decoder rejects requested type audio/mp4a-latm
    [Child 323: MediaSupervisor #1]: D/PlatformDecoderModule Sandbox Utility decoder supports requested type audio/mp4a-latm
    [Child 323: MediaSupervisor #1]: D/PlatformDecoderModule Sandbox Utility decoder supports requested type audio/mp4a-latm
    [Child 323: MediaSupervisor #1]: D/PlatformDecoderModule Sandbox RDD decoder rejects requested type audio/mp4a-latm
    [Child 323: MediaSupervisor #1]: D/PlatformDecoderModule Sandbox Utility decoder supports requested type audio/mp4a-latm
    [Child 323: MediaSupervisor #1]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type video/avc
    [Child 323: MediaSupervisor #1]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type video/avc
    [Utility AudioDecoder 369: MediaSupervisor #1]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'audio/mp4a-latm'
    [Utility AudioDecoder 369: MediaSupervisor #1]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'audio/mp4a-latm'
    [RDD 354: MediaSupervisor #1]: D/PlatformDecoderModule FFmpeg decoder rejects requested type 'video/avc'
    [RDD 354: MediaSupervisor #1]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/avc'
    [RDD 354: MediaSupervisor #1]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/avc'
    [RDD 354: MediaSupervisor #1]: D/PlatformDecoderModule FFMPEG: FFmpegVideoDecoder::FFmpegVideoDecoder MIME video/avc Codec ID 27
    [RDD 354: MediaPDecoder #1]: D/PlatformDecoderModule FFMPEG: Initialising FFmpeg decoder
    [Utility AudioDecoder 369: MediaPDecoder #1]: D/PlatformDecoderModule FFMPEG: Initialising FFmpeg decoder
    [Utility AudioDecoder 369: MediaPDecoder #1]: D/PlatformDecoderModule FFMPEG:   codec aac : AAC (Advanced Audio Coding)
    [RDD 354: MediaPDecoder #1]: D/PlatformDecoderModule FFMPEG:   codec h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
    [RDD 354: MediaPDecoder #1]: D/PlatformDecoderModule FFMPEG: Set get_buffer2 for customized buffer allocation
    [h264 @ 0x7fafbc003bc0] nal_unit_type: 7(SPS), nal_ref_idc: 3
    [h264 @ 0x7fafbc003bc0] nal_unit_type: 8(PPS), nal_ref_idc: 3
    

    vainfo:

    libva info: VA-API version 1.15.0
    libva info: Trying to open /usr/lib/dri/nvidia_drv_video.so
    libva info: Found init function __vaDriverInit_1_0
          7964.456620344 [26471-26471] ../src/vabackend.c:1781       __vaDriverInit_1_0 Initialising NVIDIA VA-API Driver: 0x565134470f50 10
          7964.456640593 [26471-26471] ../src/vabackend.c:1785       __vaDriverInit_1_0 Non-DRM display type detected, defaulting to GPU ID 0. Use NVD_GPU to pick a specific GPU.
          7964.456644515 [26471-26471] ../src/vabackend.c:1802       __vaDriverInit_1_0 Now have 0 (0 max) instances
          7964.460450010 [26471-26471] ../src/export-buf.c: 161       findGPUIndexFromFd Looking for GPU index: 0
          7964.462553663 [26471-26471] ../src/export-buf.c: 172       findGPUIndexFromFd Found 3 EGL devices
          7964.462649920 [26471-26471] ../src/export-buf.c: 181       findGPUIndexFromFd Got EGL_CUDA_DEVICE_NV value '0' for EGLDevice 0
          7964.462655388 [26471-26471] ../src/export-buf.c: 133 checkModesetParameterFromFd Unable to check nvidia_drm modeset setting
          7964.462658913 [26471-26471] ../src/export-buf.c: 205       findGPUIndexFromFd Selecting EGLDevice 0
          7964.584506660 [26471-26471] ../src/export-buf.c: 267             initExporter Driver doesn't support 16-bit surfaces
          7964.584512246 [26471-26471] ../src/export-buf.c:  99                reconnect Reconnecting to stream
    libva info: va_openDriver() returns 0
    vainfo: VA-API version: 1.15 (libva 2.15.0)
    vainfo: Driver version: VA-API NVDEC driver
    vainfo: Supported profile and entrypoints
          VAProfileMPEG2Simple            :	VAEntrypointVLD
          VAProfileMPEG2Main              :	VAEntrypointVLD
          VAProfileVC1Simple              :	VAEntrypointVLD
          VAProfileVC1Main                :	VAEntrypointVLD
          VAProfileVC1Advanced            :	VAEntrypointVLD
          <unknown profile>               :	VAEntrypointVLD
          VAProfileH264Main               :	VAEntrypointVLD
          VAProfileH264High               :	VAEntrypointVLD
          VAProfileH264ConstrainedBaseline:	VAEntrypointVLD
          VAProfileHEVCMain               :	VAEntrypointVLD
          VAProfileVP8Version0_3          :	VAEntrypointVLD
          7964.711902023 [26471-26471] ../src/vabackend.c:1758              nvTerminate Terminating 0x565134470f50
          7964.711908649 [26471-26471] ../src/export-buf.c:  65          releaseExporter Releasing exporter, 0 outstanding frames
          7964.712972275 [26471-26471] ../src/export-buf.c:  82          releaseExporter Done releasing frames
          7964.772155845 [26471-26471] ../src/vabackend.c:1772              nvTerminate Now have 0 (0 max) instances
    

    firefox build flags:

    ac_add_options --prefix=/usr
    ac_add_options --libdir=/usr/lib
    ac_add_options --with-ccache=sccache
    ac_add_options --enable-strip
    ac_add_options --enable-release
    ac_add_options --enable-rust-simd
    ac_add_options --enable-audio-backends=alsa
    ac_add_options --enable-audio-backends=pulseaudio
    ac_add_options --enable-official-branding
    ac_add_options --enable-application=browser
    ac_add_options --enable-optimize="${CFLAGS:-} -w"
    ac_add_options --with-system-nss
    ac_add_options --with-system-nspr
    ac_add_options --without-wasm-sandboxed-libraries
    ac_add_options --disable-dbus
    ac_add_options --enable-linker="$ld"
    ac_add_options --disable-tests
    ac_add_options --disable-updater
    ac_add_options --disable-necko-wifi
    ac_add_options --disable-debug-symbols
    ac_add_options --disable-parental-controls
    
    opened by wael444 33
  • not work with firefox on GTX 750

    not work with firefox on GTX 750

    on firefox 96.0.3 decoding fails with the following errors:

    log
    [101811-101825] ../src/vabackend.c:1642       __vaDriverInit_1_0 Initialising NVIDIA VA-API Driver: 0x7f8683be3200
    [101811-101825] ../src/export-buf.c: 171          findCudaDisplay Found 3 EGL devices
    [101811-101825] ../src/export-buf.c: 175          findCudaDisplay Got EGL_CUDA_DEVICE_NV value '0' from EGLDevice 0
    [101811-101825] ../src/export-buf.c: 135    checkModesetParameter Checking device file: /dev/dri/renderD128
    [101811-101825] ../src/export-buf.c: 209             initExporter Got EGLDisplay from CUDA device 0
    [101811-101825] ../src/export-buf.c: 239             initExporter Driver doesn't support 16-bit surfaces
    [101811-101825] ../src/export-buf.c:  95                reconnect Reconnecting to stream
    [101811-101825] ../src/vabackend.c: 972      nvQueryImageFormats In nvQueryImageFormats
    [101811-101825] ../src/vabackend.c: 457           nvCreateConfig got profile: 7 with 0 attributes
    [101811-101825] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 4 (nil) 0
    [101811-101825] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 4 0x7f8663f93480 5
    [101811-101825] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 4 (nil) 32646
    [101811-101825] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 4 0x7f8663f93480 5
    [101811-101825] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 640x368, format 1
    [101811-101825] ../src/vabackend.c:1064            nvDeriveImage In nvDeriveImage
    [101811-101825] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 640x368, format 1
    [101811-101825] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 640x368, format 1
    [101811-101825] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 640x368, format 1
    [101811-101825] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 640x368, format 1
    [101811-101825] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 640x368, format 1
    [101811-101825] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 640x368, format 1
    [101811-101825] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 640x368, format 1
    [101811-101825] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 640x368, format 1
    [101811-101825] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 640x368, format 1
    [101811-101825] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 640x368, format 1
    [101811-101825] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 640x368, format 1
    [101811-101825] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 640x368, format 1
    [101811-101825] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 640x368, format 1
    [101811-101825] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 640x368, format 1
    [101811-101825] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 640x368, format 1
    [101811-101825] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 640x368, format 1
    [101811-101825] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 640x368, format 1
    [101811-101825] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 640x368, format 1
    [101811-101825] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 640x368, format 1
    [101811-101825] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 640x368, format 1
    [101811-101825] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 640x368, format 1
    [101811-101825] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 640x368, format 1
    [101811-101825] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 640x368, format 1
    [101811-101825] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 640x368, format 1
    [101811-101825] ../src/vabackend.c: 457           nvCreateConfig got profile: 7 with 0 attributes
    [101811-101825] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 4 (nil) 0
    [101811-101825] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 4 0x7f8663f93600 5
    [101811-101825] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 4 (nil) 0
    [101811-101825] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 4 0x7f8663f93600 5
    [101811-101825] ../src/vabackend.c: 635          nvCreateContext with 25 render targets, 25 surfaces, at 640x368
    [101811-101825] ../src/vabackend.c: 909             nvEndPicture cuvid decoded successful to idx: 0
    [101811-101834] ../src/vabackend.c: 909             nvEndPicture cuvid decoded successful to idx: 1
    [101811-101825] ../src/vabackend.c: 909             nvEndPicture cuvid decoded successful to idx: 2
    [101811-101825] ../src/vabackend.c:1568    nvExportSurfaceHandle got address 5017A8000 (1024) for surface 26 (picIdx: 0)
    [101811-101825] ../src/export-buf.c: 300          allocateSurface presenting frame 640x368 0x7f8662ff6040 0x7f8662ff6160
    [101811-101825] ../src/export-buf.c: 317          allocateSurface Adding frame from EGLStream: 0x7f86630fd2d1
    [101811-101825] ../src/export-buf.c: 330          allocateSurface Acquired image from EGLStream: 0x7f86630fd2d1
    [101811-101834] ../src/vabackend.c: 909             nvEndPicture cuvid decoded successful to idx: 3
    [101811-101834] ../src/vabackend.c:1567    nvExportSurfaceHandle cuda error 'unspecified launch failure' (719)
    
    [101839-101845] ../src/vabackend.c:1642       __vaDriverInit_1_0 Initialising NVIDIA VA-API Driver: 0x7effeb2e33e0
    [101839-101845] ../src/export-buf.c: 171          findCudaDisplay Found 3 EGL devices
    [101839-101845] ../src/export-buf.c: 175          findCudaDisplay Got EGL_CUDA_DEVICE_NV value '0' from EGLDevice 0
    [101839-101845] ../src/export-buf.c: 135    checkModesetParameter Checking device file: /dev/dri/renderD128
    [101839-101845] ../src/export-buf.c: 209             initExporter Got EGLDisplay from CUDA device 0
    [101839-101845] ../src/export-buf.c: 239             initExporter Driver doesn't support 16-bit surfaces
    [101839-101845] ../src/export-buf.c:  95                reconnect Reconnecting to stream
    [101839-101845] ../src/vabackend.c: 972      nvQueryImageFormats In nvQueryImageFormats
    [101839-101845] ../src/vabackend.c: 457           nvCreateConfig got profile: 7 with 0 attributes
    [101839-101845] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 4 (nil) 0
    [101839-101845] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 4 0x7effcb693100 5
    [101839-101845] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 4 (nil) 32511
    [101839-101845] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 4 0x7effcb693100 5
    [101839-101845] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 640x368, format 1
    [101839-101845] ../src/vabackend.c:1064            nvDeriveImage In nvDeriveImage
    [101839-101845] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 640x368, format 1
    [101839-101845] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 640x368, format 1
    [101839-101845] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 640x368, format 1
    [101839-101845] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 640x368, format 1
    [101839-101845] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 640x368, format 1
    [101839-101845] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 640x368, format 1
    [101839-101845] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 640x368, format 1
    [101839-101845] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 640x368, format 1
    [101839-101845] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 640x368, format 1
    [101839-101845] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 640x368, format 1
    [101839-101845] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 640x368, format 1
    [101839-101845] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 640x368, format 1
    [101839-101845] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 640x368, format 1
    [101839-101845] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 640x368, format 1
    [101839-101845] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 640x368, format 1
    [101839-101845] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 640x368, format 1
    [101839-101845] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 640x368, format 1
    [101839-101845] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 640x368, format 1
    [101839-101845] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 640x368, format 1
    [101839-101845] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 640x368, format 1
    [101839-101845] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 640x368, format 1
    [101839-101845] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 640x368, format 1
    [101839-101845] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 640x368, format 1
    [101839-101845] ../src/vabackend.c: 552        nvCreateSurfaces2 creating 1 surface(s) 640x368, format 1
    [101839-101845] ../src/vabackend.c: 457           nvCreateConfig got profile: 7 with 0 attributes
    [101839-101845] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 4 (nil) 0
    [101839-101845] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 4 0x7effcb693480 5
    [101839-101845] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 4 (nil) 0
    [101839-101845] ../src/vabackend.c:1346 nvQuerySurfaceAttributes with 4 0x7effcb693480 5
    [101839-101845] ../src/vabackend.c: 635          nvCreateContext with 25 render targets, 25 surfaces, at 640x368
    [101839-101845] ../src/vabackend.c: 909             nvEndPicture cuvid decoded successful to idx: 0
    [101839-101849] ../src/vabackend.c: 909             nvEndPicture cuvid decoded successful to idx: 1
    [101839-101845] ../src/vabackend.c: 909             nvEndPicture cuvid decoded successful to idx: 2
    [101839-101845] ../src/vabackend.c:1568    nvExportSurfaceHandle got address 5017A8000 (1024) for surface 26 (picIdx: 0)
    [101839-101845] ../src/export-buf.c: 300          allocateSurface presenting frame 640x368 0x7effca6f6940 0x7effca6f6a60
    [101839-101845] ../src/export-buf.c: 317          allocateSurface Adding frame from EGLStream: 0x7effca7fd301
    [101839-101845] ../src/export-buf.c: 330          allocateSurface Acquired image from EGLStream: 0x7effca7fd301
    [101839-101849] ../src/vabackend.c: 909             nvEndPicture cuvid decoded successful to idx: 3
    [101839-101849] ../src/vabackend.c:1567    nvExportSurfaceHandle cuda error 'unspecified launch failure' (719)
    
    [Child 101792, MediaDecoderStateMachine #1] WARNING: Decoder=7f41a5381300 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005): file /build/firefox/src/firefox-96.0.3/dom/media/MediaDecoderStateMachine.cpp:3568
    [Child 101792, MediaDecoderStateMachine #1] WARNING: Decoder=7f41a5381300 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005): file /build/firefox/src/firefox-96.0.3/dom/media/MediaDecoderStateMachine.cpp:3568
    

    mpv works without problems with same video. vainfo

    [99515-99515] ../src/export-buf.c: 171          findCudaDisplay Found 3 EGL devices
    [99515-99515] ../src/export-buf.c: 175          findCudaDisplay Got EGL_CUDA_DEVICE_NV value '0' from EGLDevice 0
    [99515-99515] ../src/export-buf.c: 135    checkModesetParameter Checking device file: /dev/dri/renderD128
    [99515-99515] ../src/export-buf.c: 209             initExporter Got EGLDisplay from CUDA device 0
    [99515-99515] ../src/export-buf.c: 239             initExporter Driver doesn't support 16-bit surfaces
    [99515-99515] ../src/export-buf.c:  95                reconnect Reconnecting to stream
    vainfo: VA-API version: 1.13 (libva 2.13.0)
    vainfo: Driver version: VA-API NVDEC driver
    vainfo: Supported profile and entrypoints
          VAProfileMPEG2Simple            : VAEntrypointVLD
          VAProfileMPEG2Main              : VAEntrypointVLD
          VAProfileVC1Simple              : VAEntrypointVLD
          VAProfileVC1Main                : VAEntrypointVLD
          VAProfileVC1Advanced            : VAEntrypointVLD
          <unknown profile>               : VAEntrypointVLD
          VAProfileH264Main               : VAEntrypointVLD
          VAProfileH264High               : VAEntrypointVLD
          VAProfileH264ConstrainedBaseline: VAEntrypointVLD
    [99515-99515] ../src/vabackend.c:1626              nvTerminate Terminating 0x564b5002ae60
    [99515-99515] ../src/export-buf.c:  57          releaseExporter Releasing exporter, 0 outstanding frames
    [99515-99515] ../src/export-buf.c:  74          releaseExporter Done releasing frames
    

    nvidia-vaapi-driver version: 0.0.5.r8.g21d0803-1 (from aur) OS: Manjaro Linux cat /sys/module/nvidia_drm/parameters/modeset return: Y NVIDIA Driver Version: 495.46

    can this be fixed somehow?

    opened by KnightMurloc 32
  • I have a 3060Ti and want to help support AV1.

    I have a 3060Ti and want to help support AV1.

    Thanks for the great work for supporting hardware decoding on Linux. I have a 3060Ti (support AV1) desktop running ArchLinux, I have libraries/headers new enough to compile this project. How do I help test or develop the AV1 support? (I can write C, but I have zero knowledge about VAAPI).

    opened by johnjohnlin 32
  • Optimus hardware + latest from git => segfault

    Optimus hardware + latest from git => segfault

    Hi

    I am trying to start vainfo, but it segfaults. See log below.

    My variables:

    [email protected]:~$ set | grep "NV\|GLX\|LIBVA\|VDPA\|DRI"
    DRI_PRIME=1
    LIBVA_DRIVER_NAME=nvidia
    VDPAU_DRIVER=nvidia
    __GLX_VENDOR_LIBRARY_NAME=nvidia
    __NV_PRIME_RENDER_OFFLOAD=1
    

    Hardware:

    [email protected]:~$ lspci | grep "VGA\|3D"
    00:02.0 VGA compatible controller: Intel Corporation CometLake-H GT2 [UHD Graphics] (rev 05)
    01:00.0 3D controller: NVIDIA Corporation TU117M [GeForce GTX 1650 Ti Mobile] (rev a1)
    
    [email protected]:~$ NVD_LOG=1 gdb vainfo
    GNU gdb (Debian 10.1-2+b1) 10.1.90.20210103-git
    Copyright (C) 2021 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law.
    Type "show copying" and "show warranty" for details.
    This GDB was configured as "x86_64-linux-gnu".
    Type "show configuration" for configuration details.
    For bug reporting instructions, please see:
    <https://www.gnu.org/software/gdb/bugs/>.
    Find the GDB manual and other documentation resources online at:
        <http://www.gnu.org/software/gdb/documentation/>.
    
    For help, type "help".
    Type "apropos word" to search for commands related to "word"...
    Reading symbols from vainfo...
    (No debugging symbols found in vainfo)
    (gdb) r
    Starting program: /usr/bin/vainfo 
    [Thread debugging using libthread_db enabled]
    Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
    libva info: VA-API version 1.10.0
    libva info: User environment variable requested driver 'nvidia'
    libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so
    [New Thread 0x7fffee885640 (LWP 10934)]
    libva info: Found init function __vaDriverInit_1_0
    [10928-10928] ../src/vabackend.c:1642       __vaDriverInit_1_0 Initialising NVIDIA VA-API Driver: 0x55555556b3d0 10
    [10928-10928] ../src/vabackend.c:1645       __vaDriverInit_1_0 Non-DRM display type detected, defaulting to GPU ID 0. Use NVD_GPU to pick a specific GPU.
    [10928-10928] ../src/export-buf.c: 164       findGPUIndexFromFd Looking for GPU index: 0
    [10928-10928] ../src/export-buf.c: 175       findGPUIndexFromFd Found 4 EGL devices
    [10928-10928] ../src/export-buf.c: 184       findGPUIndexFromFd Got EGL_CUDA_DEVICE_NV value '0' for EGLDevice 0
    [10928-10928] ../src/export-buf.c: 136 checkModesetParameterFromFd Unable to check nvidia_drm modeset setting
    [10928-10928] ../src/export-buf.c: 208       findGPUIndexFromFd Selecting EGLDevice 0
    [New Thread 0x7fffed746640 (LWP 10935)]
    [New Thread 0x7fffecd81640 (LWP 10936)]
    [10928-10928] ../src/export-buf.c: 270             initExporter Driver doesn't support 16-bit surfaces
    [10928-10928] ../src/export-buf.c: 103                reconnect Reconnecting to stream
    libva info: va_openDriver() returns 0
    vainfo: VA-API version: 1.10 (libva 2.12.0)
    vainfo: Driver version: VA-API NVDEC driver
    
    Thread 1 "vainfo" received signal SIGSEGV, Segmentation fault.
    0x0000000000000000 in ?? ()
    (gdb) bt
    #0  0x0000000000000000 in  ()
    #1  0x00007ffff7fb9801 in vaToCuCodec (profile=VAProfileMPEG2Simple) at ../src/vabackend.c:261
    #2  0x00007ffff7fb9d98 in nvQueryConfigProfiles (ctx=0x55555556b3d0, profile_list=0x555555bff070, num_profiles=0x7fffffffde9c) at ../src/vabackend.c:376
    #3  0x00007ffff7e224b5 in vaQueryConfigProfiles () at /usr/lib/x86_64-linux-gnu/libva.so.2
    #4  0x00005555555564e3 in  ()
    #5  0x00007ffff7c547fd in __libc_start_main (main=
        0x555555556370, argc=1, argv=0x7fffffffdfc8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffdfb8) at ../csu/libc-start.c:332
    #6  0x00005555555568aa in  ()
    
    

    Any help?

    opened by MageSlayer 27
  • Jittery videos (AVC1)

    Jittery videos (AVC1)

    I use the Firefox plugin h264ify to force YouTube videos to use the AVC1 codec since my GPU doesn't support decoding VP9. I noticed that YouTube videos and Twitch streams are very jittery. It's particularly noticeable at 60fps. Audio is completely fine. It's hard to explain exactly and I don't know if this is the right term for it but it feels like the frame timings are wrong. Sometimes a frame is shown for too long, sometimes it jumps into the future by a frame or more. Most of the times this happens without any frames being dropped according to "Stats for nerds". I notice these jitters between multiple times a second to once every 5 seconds or so. ~~The h264ify plugin to my knowledge does not affect Twitch and when I disable it, I still notice the jitters on Twitch.~~ Edit: I can observe the jitters on some Twitch streams and VODS but not always.

    Among others, I tested and noticed it with videos like these and I think they highlight jitters quite clearly due to the smooth nature of the footage: https://www.youtube.com/playlist?list=UUlcA5er9C4GQjOf-oLyZXIA

    • Arch
    • Kernel 5.16.2-arch1-1
    • GTX 970
    • Proprietary driver version 495.46
    • X11
    • KDE Plasma
    • Firefox 96.0.2
    • cat /sys/module/nvidia_drm/parameters/modeset gives Y
    • I have configured the Firefox options as described in the README, excluding the last one which doesn't apply to my GPU driver version

    I'm on a relatively fresh install (2 days old) and I haven't made any manual changes related to Nvidia or graphics other than following the README of this repo.

    Edit: I have since followed these steps but the issues remain: https://www.reddit.com/r/kde/comments/p44ilu/fps_drops_and_laggy_animations_under_kde_plasma/h8x4epd/

    $ vainfo
    vainfo: VA-API version: 1.13 (libva 2.13.0)
    vainfo: Driver version: VA-API NVDEC driver
    vainfo: Supported profile and entrypoints
          VAProfileMPEG2Simple            : VAEntrypointVLD
          VAProfileMPEG2Main              : VAEntrypointVLD
          VAProfileVC1Simple              : VAEntrypointVLD
          VAProfileVC1Main                : VAEntrypointVLD
          VAProfileVC1Advanced            : VAEntrypointVLD
          <unknown profile>               : VAEntrypointVLD
          VAProfileH264Main               : VAEntrypointVLD
          VAProfileH264High               : VAEntrypointVLD
          VAProfileH264ConstrainedBaseline: VAEntrypointVLD
          VAProfileVP8Version0_3          : VAEntrypointVLD
    

    Please let me know if I can provide more information.

    opened by Munzu 27
  • Driver no longer working with Firefox nightly since 2022-05-19

    Driver no longer working with Firefox nightly since 2022-05-19

    I'm X11 and Firefox 102.0b2 and nvidia driver version 515.48.07

    Everything from the readme has been set, except for widget.dmabuf.force-enabled and EGL_PLATFORM

    Logs
          8663.555154881 [240838-240838] ../src/vabackend.c:1775       __vaDriverInit_1_0 Initialising NVIDIA VA-API Driver: 0x7fcbac711c40 31
          8663.555162122 [240838-240838] ../src/vabackend.c:1778       __vaDriverInit_1_0 Now have 0 (0 max) instances
          8663.558699262 [240838-240838] ../src/export-buf.c: 159       findGPUIndexFromFd Looking for DRM device index: 0
          8663.559614757 [240838-240838] ../src/export-buf.c: 172       findGPUIndexFromFd Found 3 EGL devices
          8663.559667248 [240838-240838] ../src/export-buf.c: 181       findGPUIndexFromFd Got EGL_CUDA_DEVICE_NV value '0' for EGLDevice 0
          8663.559670908 [240838-240838] ../src/export-buf.c: 187       findGPUIndexFromFd Found drmDeviceIndex: 0
          8663.559673438 [240838-240838] ../src/export-buf.c: 205       findGPUIndexFromFd Selecting EGLDevice 0
          8663.593959629 [240838-240838] ../src/export-buf.c: 267             initExporter Driver doesn't support 16-bit surfaces
          8663.593966559 [240838-240838] ../src/export-buf.c:  99                reconnect Reconnecting to stream
          8663.613960106 [240838-240838] ../src/vabackend.c: 556           nvCreateConfig got profile: 6 with 0 attributes
          8663.613968816 [240838-240838] ../src/vabackend.c: 556           nvCreateConfig got profile: 7 with 0 attributes
          8663.613972306 [240838-240838] ../src/vabackend.c: 556           nvCreateConfig got profile: 13 with 0 attributes
          8663.613975196 [240838-240838] ../src/vabackend.c: 556           nvCreateConfig got profile: 14 with 0 attributes
          8663.613976556 [240838-240838] ../src/vabackend.c: 556           nvCreateConfig got profile: 19 with 0 attributes
          8663.613979656 [240838-240838] ../src/vabackend.c:1752              nvTerminate Terminating 0x7fcbac711c40
          8663.613982536 [240838-240838] ../src/export-buf.c:  65          releaseExporter Releasing exporter, 0 outstanding frames
          8663.615050752 [240838-240838] ../src/export-buf.c:  82          releaseExporter Done releasing frames
          8663.656769237 [240838-240838] ../src/vabackend.c:1766              nvTerminate Now have 0 (0 max) instances
    [2022-06-01T17:53:43Z ERROR mp4parse] Found 2 nul bytes in "\u{0}\u{0}"
    [2022-06-01T17:53:43Z ERROR mp4parse] Found 2 nul bytes in "\u{0}\u{0}"
    [2022-06-01T17:53:43Z ERROR mp4parse] Found 2 nul bytes in "\u{0}\u{0}"
    [2022-06-01T17:53:43Z ERROR mp4parse] Found 2 nul bytes in "\u{0}\u{0}"
          8694.009153032 [241591-241786] ../src/vabackend.c:1775       __vaDriverInit_1_0 Initialising NVIDIA VA-API Driver: 0x7f6c3872a5c0 31
          8694.009159062 [241591-241786] ../src/vabackend.c:1778       __vaDriverInit_1_0 Now have 0 (0 max) instances
          8694.012024579 [241591-241786] ../src/export-buf.c: 159       findGPUIndexFromFd Looking for DRM device index: 0
          8694.013037684 [241591-241786] ../src/export-buf.c: 172       findGPUIndexFromFd Found 3 EGL devices
          8694.013098195 [241591-241786] ../src/export-buf.c: 181       findGPUIndexFromFd Got EGL_CUDA_DEVICE_NV value '0' for EGLDevice 0
          8694.013102985 [241591-241786] ../src/export-buf.c: 187       findGPUIndexFromFd Found drmDeviceIndex: 0
          8694.013104875 [241591-241786] ../src/export-buf.c: 205       findGPUIndexFromFd Selecting EGLDevice 0
          8694.070105240 [241591-241786] ../src/export-buf.c: 267             initExporter Driver doesn't support 16-bit surfaces
          8694.070114320 [241591-241786] ../src/export-buf.c:  99                reconnect Reconnecting to stream
          8694.070182020 [241591-241786] ../src/vabackend.c:1119      nvQueryImageFormats In nvQueryImageFormats
          8694.095835981 [241591-241786] ../src/vabackend.c: 556           nvCreateConfig got profile: 6 with 0 attributes
          8694.095850501 [241591-241786] ../src/vabackend.c:1493 nvQuerySurfaceAttributes with 4 (nil) 0
          8694.095853751 [241591-241786] ../src/vabackend.c:1493 nvQuerySurfaceAttributes with 4 0x7f6c13193280 5
          8694.096842717 [241591-241786] ../src/vabackend.c: 556           nvCreateConfig got profile: 7 with 0 attributes
          8694.096850597 [241591-241786] ../src/vabackend.c:1493 nvQuerySurfaceAttributes with 4 (nil) 0
          8694.096851977 [241591-241786] ../src/vabackend.c:1493 nvQuerySurfaceAttributes with 4 0x7f6c13193280 5
          8694.099708394 [241591-241786] ../src/vabackend.c: 556           nvCreateConfig got profile: 13 with 0 attributes
          8694.099716424 [241591-241786] ../src/vabackend.c:1493 nvQuerySurfaceAttributes with 4 (nil) 0
          8694.099719224 [241591-241786] ../src/vabackend.c:1493 nvQuerySurfaceAttributes with 4 0x7f6c13193280 5
          8694.100939841 [241591-241786] ../src/vabackend.c: 556           nvCreateConfig got profile: 14 with 0 attributes
          8694.100946401 [241591-241786] ../src/vabackend.c:1493 nvQuerySurfaceAttributes with 9 (nil) 0
          8694.100947851 [241591-241786] ../src/vabackend.c:1493 nvQuerySurfaceAttributes with 9 0x7f6c13193280 5
          8694.102650511 [241591-241786] ../src/vabackend.c: 556           nvCreateConfig got profile: 19 with 0 attributes
          8694.102656381 [241591-241786] ../src/vabackend.c:1493 nvQuerySurfaceAttributes with 10 (nil) 0
          8694.102657721 [241591-241786] ../src/vabackend.c:1493 nvQuerySurfaceAttributes with 10 0x7f6c13193280 5
          8694.104496682 [241591-241786] ../src/vabackend.c:1752              nvTerminate Terminating 0x7f6c3872a5c0
          8694.104502202 [241591-241786] ../src/export-buf.c:  65          releaseExporter Releasing exporter, 0 outstanding frames
          8694.105564988 [241591-241786] ../src/export-buf.c:  82          releaseExporter Done releasing frames
          8694.140281452 [241591-241786] ../src/vabackend.c:1766              nvTerminate Now have 0 (0 max) instances
          8694.141261608 [241591-241791] ../src/vabackend.c:1775       __vaDriverInit_1_0 Initialising NVIDIA VA-API Driver: 0x7f6c3872b100 31
          8694.141268788 [241591-241791] ../src/vabackend.c:1778       __vaDriverInit_1_0 Now have 0 (0 max) instances
          8694.141274538 [241591-241791] ../src/export-buf.c: 161       findGPUIndexFromFd Looking for GPU index: 0
          8694.141492089 [241591-241791] ../src/export-buf.c: 172       findGPUIndexFromFd Found 3 EGL devices
          8694.141516629 [241591-241791] ../src/export-buf.c: 181       findGPUIndexFromFd Got EGL_CUDA_DEVICE_NV value '0' for EGLDevice 0
          8694.141520299 [241591-241791] ../src/export-buf.c: 205       findGPUIndexFromFd Selecting EGLDevice 0
          8694.191052710 [241591-241791] ../src/export-buf.c: 267             initExporter Driver doesn't support 16-bit surfaces
          8694.191062750 [241591-241791] ../src/export-buf.c:  99                reconnect Reconnecting to stream
          8694.191163460 [241591-241791] ../src/vabackend.c:1119      nvQueryImageFormats In nvQueryImageFormats
          8694.191533672 [241591-241791] ../src/vabackend.c:1752              nvTerminate Terminating 0x7f6c3872b100
          8694.191542043 [241591-241791] ../src/export-buf.c:  65          releaseExporter Releasing exporter, 0 outstanding frames
          8694.192602539 [241591-241791] ../src/export-buf.c:  82          releaseExporter Done releasing frames
          8694.230463012 [241591-241791] ../src/vabackend.c:1766              nvTerminate Now have 0 (0 max) instances
          8694.230977445 [241591-241795] ../src/vabackend.c:1775       __vaDriverInit_1_0 Initialising NVIDIA VA-API Driver: 0x7f6c3872a5c0 31
          8694.230986715 [241591-241795] ../src/vabackend.c:1778       __vaDriverInit_1_0 Now have 0 (0 max) instances
          8694.230994015 [241591-241795] ../src/export-buf.c: 161       findGPUIndexFromFd Looking for GPU index: 0
          8694.231262226 [241591-241795] ../src/export-buf.c: 172       findGPUIndexFromFd Found 3 EGL devices
          8694.231290336 [241591-241795] ../src/export-buf.c: 181       findGPUIndexFromFd Got EGL_CUDA_DEVICE_NV value '0' for EGLDevice 0
          8694.231294076 [241591-241795] ../src/export-buf.c: 205       findGPUIndexFromFd Selecting EGLDevice 0
          8694.280559715 [241591-241795] ../src/export-buf.c: 267             initExporter Driver doesn't support 16-bit surfaces
          8694.280567795 [241591-241795] ../src/export-buf.c:  99                reconnect Reconnecting to stream
          8694.280638046 [241591-241795] ../src/vabackend.c:1119      nvQueryImageFormats In nvQueryImageFormats
          8694.281060218 [241591-241791] ../src/vabackend.c:1775       __vaDriverInit_1_0 Initialising NVIDIA VA-API Driver: 0x7f6c10d56880 31
          8694.281065648 [241591-241791] ../src/vabackend.c:1778       __vaDriverInit_1_0 Now have 1 (0 max) instances
          8694.281069028 [241591-241791] ../src/export-buf.c: 161       findGPUIndexFromFd Looking for GPU index: 0
          8694.281471831 [241591-241791] ../src/export-buf.c: 172       findGPUIndexFromFd Found 3 EGL devices
          8694.281498931 [241591-241791] ../src/export-buf.c: 181       findGPUIndexFromFd Got EGL_CUDA_DEVICE_NV value '0' for EGLDevice 0
          8694.281502411 [241591-241791] ../src/export-buf.c: 205       findGPUIndexFromFd Selecting EGLDevice 0
          8694.323710239 [241591-241800] ../src/vabackend.c: 556           nvCreateConfig got profile: 7 with 0 attributes
          8694.323889380 [241591-241800] ../src/vabackend.c:1493 nvQuerySurfaceAttributes with 4 (nil) 0
          8694.323892360 [241591-241800] ../src/vabackend.c:1493 nvQuerySurfaceAttributes with 4 0x7f6bfc5c1400 5
          8694.327382140 [241591-241800] ../src/vabackend.c:1493 nvQuerySurfaceAttributes with 4 (nil) 32620
          8694.327387990 [241591-241800] ../src/vabackend.c:1493 nvQuerySurfaceAttributes with 4 0x7f6bfc5c1d00 5
          8694.328772498 [241591-241800] ../src/vabackend.c: 685        nvCreateSurfaces2 Creating surface 1920x1088, format 1 (0x7f6bfcc7b100)
          8694.328779608 [241591-241800] ../src/vabackend.c:1211            nvDeriveImage In nvDeriveImage
          8694.328784938 [241591-241800] ../src/vabackend.c: 685        nvCreateSurfaces2 Creating surface 1920x1088, format 1 (0x7f6bfcc7a480)
          8694.328788418 [241591-241800] ../src/vabackend.c: 685        nvCreateSurfaces2 Creating surface 1920x1088, format 1 (0x7f6bfcc7a020)
          8694.328792159 [241591-241800] ../src/vabackend.c: 685        nvCreateSurfaces2 Creating surface 1920x1088, format 1 (0x7f6bfcc7a700)
          8694.328795619 [241591-241800] ../src/vabackend.c: 685        nvCreateSurfaces2 Creating surface 1920x1088, format 1 (0x7f6bfcc7a7a0)
          8694.328799069 [241591-241800] ../src/vabackend.c: 685        nvCreateSurfaces2 Creating surface 1920x1088, format 1 (0x7f6bfcc7a8e0)
          8694.328802009 [241591-241800] ../src/vabackend.c: 685        nvCreateSurfaces2 Creating surface 1920x1088, format 1 (0x7f6bfcc7aac0)
          8694.328805479 [241591-241800] ../src/vabackend.c: 685        nvCreateSurfaces2 Creating surface 1920x1088, format 1 (0x7f6bfcc7b600)
          8694.328808629 [241591-241800] ../src/vabackend.c: 685        nvCreateSurfaces2 Creating surface 1920x1088, format 1 (0x7f6bfcc7b880)
          8694.328813029 [241591-241800] ../src/vabackend.c: 685        nvCreateSurfaces2 Creating surface 1920x1088, format 1 (0x7f6bfcc7bce0)
          8694.328816239 [241591-241800] ../src/vabackend.c: 685        nvCreateSurfaces2 Creating surface 1920x1088, format 1 (0x7f6bfcc7b4c0)
          8694.328823769 [241591-241800] ../src/vabackend.c: 685        nvCreateSurfaces2 Creating surface 1920x1088, format 1 (0x7f6bfcc7b920)
          8694.328827209 [241591-241800] ../src/vabackend.c: 685        nvCreateSurfaces2 Creating surface 1920x1088, format 1 (0x7f6bfcc7b560)
          8694.328833719 [241591-241800] ../src/vabackend.c: 685        nvCreateSurfaces2 Creating surface 1920x1088, format 1 (0x7f6bfcc7bb00)
          8694.328837119 [241591-241800] ../src/vabackend.c: 685        nvCreateSurfaces2 Creating surface 1920x1088, format 1 (0x7f6bfcc7bc40)
          8694.328841729 [241591-241800] ../src/vabackend.c: 685        nvCreateSurfaces2 Creating surface 1920x1088, format 1 (0x7f6bfcc7bf60)
          8694.328845429 [241591-241800] ../src/vabackend.c: 685        nvCreateSurfaces2 Creating surface 1920x1088, format 1 (0x7f6bfcc7ba60)
          8694.328847569 [241591-241800] ../src/vabackend.c: 685        nvCreateSurfaces2 Creating surface 1920x1088, format 1 (0x7f6bfcc7bd80)
          8694.328852669 [241591-241800] ../src/vabackend.c: 685        nvCreateSurfaces2 Creating surface 1920x1088, format 1 (0x7f6bfcc7be20)
          8694.328857889 [241591-241800] ../src/vabackend.c: 685        nvCreateSurfaces2 Creating surface 1920x1088, format 1 (0x7f6bfccb1240)
          8694.328861239 [241591-241800] ../src/vabackend.c: 685        nvCreateSurfaces2 Creating surface 1920x1088, format 1 (0x7f6bfccb0f20)
          8694.328864729 [241591-241800] ../src/vabackend.c: 685        nvCreateSurfaces2 Creating surface 1920x1088, format 1 (0x7f6bfccb0340)
          8694.328867479 [241591-241800] ../src/vabackend.c: 685        nvCreateSurfaces2 Creating surface 1920x1088, format 1 (0x7f6bfccb03e0)
          8694.328871269 [241591-241800] ../src/vabackend.c: 685        nvCreateSurfaces2 Creating surface 1920x1088, format 1 (0x7f6bfccb12e0)
          8694.329654744 [241591-241791] ../src/export-buf.c: 267             initExporter Driver doesn't support 16-bit surfaces
          8694.329659544 [241591-241791] ../src/export-buf.c:  99                reconnect Reconnecting to stream
          8694.329692574 [241591-241791] ../src/vabackend.c:1119      nvQueryImageFormats In nvQueryImageFormats
          8694.329920385 [241591-241795] ../src/vabackend.c:1752              nvTerminate Terminating 0x7f6c10d56880
          8694.329925805 [241591-241795] ../src/export-buf.c:  65          releaseExporter Releasing exporter, 0 outstanding frames
          8694.330986972 [241591-241795] ../src/export-buf.c:  82          releaseExporter Done releasing frames
          8694.361406510 [241591-241795] ../src/vabackend.c:1766              nvTerminate Now have 1 (0 max) instances
          8694.362111864 [241591-241791] ../src/vabackend.c:1775       __vaDriverInit_1_0 Initialising NVIDIA VA-API Driver: 0x7f6c10d55f20 31
          8694.362118534 [241591-241791] ../src/vabackend.c:1778       __vaDriverInit_1_0 Now have 1 (0 max) instances
          8694.362124444 [241591-241791] ../src/export-buf.c: 161       findGPUIndexFromFd Looking for GPU index: 0
          8694.362333815 [241591-241791] ../src/export-buf.c: 172       findGPUIndexFromFd Found 3 EGL devices
          8694.362357815 [241591-241791] ../src/export-buf.c: 181       findGPUIndexFromFd Got EGL_CUDA_DEVICE_NV value '0' for EGLDevice 0
          8694.362360795 [241591-241791] ../src/export-buf.c: 205       findGPUIndexFromFd Selecting EGLDevice 0
          8694.387051550 [241591-241800] ../src/vabackend.c: 556           nvCreateConfig got profile: 7 with 0 attributes
          8694.387067231 [241591-241800] ../src/vabackend.c:1493 nvQuerySurfaceAttributes with 4 (nil) 0
          8694.387069641 [241591-241800] ../src/vabackend.c:1493 nvQuerySurfaceAttributes with 4 0x7f6bfc5c0c80 5
          8694.388816081 [241591-241800] ../src/vabackend.c:1493 nvQuerySurfaceAttributes with 4 (nil) 32619
          8694.388824661 [241591-241800] ../src/vabackend.c:1493 nvQuerySurfaceAttributes with 4 0x7f6bfc5c0c80 5
          8694.390360450 [241591-241800] ../src/vabackend.c: 747          nvCreateContext with 24 render targets, 24 surfaces, at 1920x1088
          8694.399360803 [241591-241791] ../src/export-buf.c: 267             initExporter Driver doesn't support 16-bit surfaces
          8694.399368553 [241591-241791] ../src/export-buf.c:  99                reconnect Reconnecting to stream
          8694.399437053 [241591-241791] ../src/vabackend.c:1119      nvQueryImageFormats In nvQueryImageFormats
          8694.399695685 [241591-241795] ../src/vabackend.c:1752              nvTerminate Terminating 0x7f6c10d55f20
          8694.399701255 [241591-241795] ../src/export-buf.c:  65          releaseExporter Releasing exporter, 0 outstanding frames
          8694.400738661 [241591-241795] ../src/export-buf.c:  82          releaseExporter Done releasing frames
          8694.400811881 [241591-241807] ../src/vabackend.c: 342          resolveSurfaces [RT] Resolve thread for 0x7f6bfc8da000 started
          8694.401674796 [241591-241800] ../src/vabackend.c:1022             nvEndPicture Decoded frame successfully to idx: 0 (0x7f6bfccb12e0)
          8694.401683596 [241591-241807] ../src/vabackend.c: 357          resolveSurfaces Reading from queue: 0 1
          8694.401688826 [241591-241807] ../src/vabackend.c: 372          resolveSurfaces Mapping surface 0
          8694.404506473 [241591-241807] ../src/vabackend.c: 374          resolveSurfaces Mapped surface 0 to 20D600000 (2048)
          8694.404514553 [241591-241807] ../src/export-buf.c: 525           realiseSurface No free surfaces found
          8694.404518663 [241591-241791] ../src/vabackend.c:1022             nvEndPicture Decoded frame successfully to idx: 1 (0x7f6bfccb03e0)
          8694.404657114 [241591-241791] ../src/vabackend.c:1703    nvExportSurfaceHandle Exporting surface: 0 (0x7f6bfccb12e0)
          8694.404919535 [241591-241807] ../src/export-buf.c: 441     allocateBackingImage Presenting frame 0 1920x1088 (0x7f6bfccb12e0, 0x7f6bfc847a60, 0x7f6bfc847040)
          8694.409534512 [241591-241807] ../src/export-buf.c: 459     allocateBackingImage Adding frame from EGLStream: 0x7f6bfc5c7f61
          8694.409542182 [241591-241807] ../src/export-buf.c: 470     allocateBackingImage Acquired image from EGLStream: 0x7f6bfc5c7f61
          8694.409547452 [241591-241807] ../src/export-buf.c: 283       exportBackingImage eglExportDMABUFImageQueryMESA: 0x7f6bfc5c0f80 NV12 (3231564e) planes:2 mods:3000000004fe014 3000000004fe014
          8694.417349178 [241591-241791] ../src/vabackend.c:1744    nvExportSurfaceHandle Exporting with 1920 1088 0 1920 0 1920
          8694.417359728 [241591-241791] ../src/vabackend.c:1052            nvSyncSurface Syncing on surface: 0 (0x7f6bfccb12e0)
          8694.417361728 [241591-241791] ../src/vabackend.c:1057            nvSyncSurface Surface 0 not resolved, waiting
          8694.417821911 [241591-241791] ../src/vabackend.c:1067            nvSyncSurface Surface 0 resolved (0x7f6bfccb12e0)
          8694.417819211 [241591-241807] ../src/vabackend.c: 378          resolveSurfaces Surface 0 exported
          8694.417840181 [241591-241807] ../src/vabackend.c: 357          resolveSurfaces Reading from queue: 1 2
          8694.417843501 [241591-241807] ../src/vabackend.c: 372          resolveSurfaces Mapping surface 1
          8694.417873012 [241591-241807] ../src/vabackend.c: 374          resolveSurfaces Mapped surface 1 to 20D600000 (2048)
          8694.417876802 [241591-241807] ../src/export-buf.c: 525           realiseSurface No free surfaces found
          8694.418383485 [241591-241791] ../src/export-buf.c:  60                    debug [EGL] eglGetPlatformDisplay: EGL_BAD_PARAMETER error: In internal function: Additional INFO may be available
    
          8694.418389435 [241591-241791] ../src/export-buf.c:  60                    debug [EGL] eglGetPlatformDisplay: EGL_BAD_PARAMETER error: In function eglGetPlatformDisplay(), unsupported EGL Platform
    
          8694.424827832 [241591-241807] ../src/export-buf.c: 441     allocateBackingImage Presenting frame 1 1920x1088 (0x7f6bfccb03e0, 0x7f6bfc847dc0, 0x7f6bfc847160)
          8694.424967423 [241591-241807] ../src/export-buf.c: 459     allocateBackingImage Adding frame from EGLStream: 0x7f6bfc5c7d01
          8694.424972803 [241591-241807] ../src/export-buf.c: 470     allocateBackingImage Acquired image from EGLStream: 0x7f6bfc5c7d01
          8694.424978143 [241591-241807] ../src/export-buf.c: 283       exportBackingImage eglExportDMABUFImageQueryMESA: 0x7f6bfc5c0200 NV12 (3231564e) planes:2 mods:3000000004fe014 3000000004fe014
          8694.425525856 [241591-241807] ../src/vabackend.c: 378          resolveSurfaces Surface 1 exported
          8694.428314443 [241591-241795] ../src/vabackend.c:1766              nvTerminate Now have 1 (0 max) instances
          8694.440826066 [241591-241800] ../src/vabackend.c:1775       __vaDriverInit_1_0 Initialising NVIDIA VA-API Driver: 0x7f6c10d557a0 31
          8694.440831436 [241591-241800] ../src/vabackend.c:1778       __vaDriverInit_1_0 Now have 1 (0 max) instances
          8694.440836406 [241591-241800] ../src/export-buf.c: 161       findGPUIndexFromFd Looking for GPU index: 0
          8694.441063078 [241591-241800] ../src/export-buf.c: 172       findGPUIndexFromFd Found 3 EGL devices
          8694.441083148 [241591-241800] ../src/export-buf.c: 181       findGPUIndexFromFd Got EGL_CUDA_DEVICE_NV value '0' for EGLDevice 0
          8694.441086138 [241591-241800] ../src/export-buf.c: 205       findGPUIndexFromFd Selecting EGLDevice 0
    ATTENTION: default value of option mesa_glthread overridden by environment.
    libEGL warning: egl: failed to create dri2 screen
          8694.446985732 [241591-241791] ../src/export-buf.c:  60                    debug [EGL] eglInitialize: DRI2: failed to create screen
    ATTENTION: default value of option mesa_glthread overridden by environment.
    *** MESA_GLSL_CACHE_DISABLE is deprecated; use MESA_SHADER_CACHE_DISABLE instead ***
          8694.458260478 [241591-241791] ../src/export-buf.c:  60                    debug [EGL] eglCreateImageKHR: _eglParseImageAttribList
          8694.469419694 [241591-241800] ../src/export-buf.c: 267             initExporter Driver doesn't support 16-bit surfaces
          8694.469428114 [241591-241800] ../src/export-buf.c:  99                reconnect Reconnecting to stream
          8694.469503604 [241591-241800] ../src/vabackend.c:1119      nvQueryImageFormats In nvQueryImageFormats
          8694.469649165 [241591-241791] ../src/vabackend.c: 830         nvDestroyContext Destroying context: 27
          8694.469657135 [241591-241791] ../src/vabackend.c: 252           destroyContext Signaling resolve thread to exit
          8694.469663185 [241591-241791] ../src/vabackend.c: 258           destroyContext Waiting for resolve thread to exit
          8694.469671645 [241591-241807] ../src/vabackend.c: 383          resolveSurfaces [RT] Resolve thread for 0x7f6bfc8da000 exiting
          8694.469710356 [241591-241791] ../src/vabackend.c: 260           destroyContext pthread_timedjoin_np finished with 0
          8694.479368273 [241591-241791] ../src/vabackend.c: 719        nvDestroySurfaces Destroying surface 0 (0x7f6bfccb12e0)
          8694.479376443 [241591-241791] ../src/export-buf.c: 351 detachBackingImageFromSurface Detaching BackingImage 0x7f6bfc5c0f80 from Surface 0x7f6bfccb12e0
          8694.479384763 [241591-241791] ../src/vabackend.c: 719        nvDestroySurfaces Destroying surface 1 (0x7f6bfccb03e0)
          8694.479388063 [241591-241791] ../src/export-buf.c: 351 detachBackingImageFromSurface Detaching BackingImage 0x7f6bfc5c0200 from Surface 0x7f6bfccb03e0
          8694.479390853 [241591-241791] ../src/vabackend.c: 719        nvDestroySurfaces Destroying surface -1 (0x7f6bfccb0340)
          8694.479394133 [241591-241791] ../src/export-buf.c: 339 detachBackingImageFromSurface Cannot detach NULL BackingImage from Surface
          8694.479397993 [241591-241791] ../src/vabackend.c: 719        nvDestroySurfaces Destroying surface -1 (0x7f6bfccb0f20)
          8694.479400953 [241591-241791] ../src/export-buf.c: 339 detachBackingImageFromSurface Cannot detach NULL BackingImage from Surface
          8694.479404333 [241591-241791] ../src/vabackend.c: 719        nvDestroySurfaces Destroying surface -1 (0x7f6bfccb1240)
          8694.479407143 [241591-241791] ../src/export-buf.c: 339 detachBackingImageFromSurface Cannot detach NULL BackingImage from Surface
          8694.479409923 [241591-241791] ../src/vabackend.c: 719        nvDestroySurfaces Destroying surface -1 (0x7f6bfcc7be20)
          8694.479412863 [241591-241791] ../src/export-buf.c: 339 detachBackingImageFromSurface Cannot detach NULL BackingImage from Surface
          8694.479416023 [241591-241791] ../src/vabackend.c: 719        nvDestroySurfaces Destroying surface -1 (0x7f6bfcc7bd80)
          8694.479418783 [241591-241791] ../src/export-buf.c: 339 detachBackingImageFromSurface Cannot detach NULL BackingImage from Surface
          8694.479420323 [241591-241791] ../src/vabackend.c: 719        nvDestroySurfaces Destroying surface -1 (0x7f6bfcc7ba60)
          8694.479421753 [241591-241791] ../src/export-buf.c: 339 detachBackingImageFromSurface Cannot detach NULL BackingImage from Surface
          8694.479424833 [241591-241791] ../src/vabackend.c: 719        nvDestroySurfaces Destroying surface -1 (0x7f6bfcc7bf60)
          8694.479426093 [241591-241791] ../src/export-buf.c: 339 detachBackingImageFromSurface Cannot detach NULL BackingImage from Surface
          8694.479427463 [241591-241791] ../src/vabackend.c: 719        nvDestroySurfaces Destroying surface -1 (0x7f6bfcc7bc40)
          8694.479430053 [241591-241791] ../src/export-buf.c: 339 detachBackingImageFromSurface Cannot detach NULL BackingImage from Surface
          8694.479433543 [241591-241791] ../src/vabackend.c: 719        nvDestroySurfaces Destroying surface -1 (0x7f6bfcc7bb00)
          8694.479435773 [241591-241791] ../src/export-buf.c: 339 detachBackingImageFromSurface Cannot detach NULL BackingImage from Surface
          8694.479438623 [241591-241791] ../src/vabackend.c: 719        nvDestroySurfaces Destroying surface -1 (0x7f6bfcc7b560)
          8694.479441733 [241591-241791] ../src/export-buf.c: 339 detachBackingImageFromSurface Cannot detach NULL BackingImage from Surface
          8694.479445533 [241591-241791] ../src/vabackend.c: 719        nvDestroySurfaces Destroying surface -1 (0x7f6bfcc7b920)
          8694.479447653 [241591-241791] ../src/export-buf.c: 339 detachBackingImageFromSurface Cannot detach NULL BackingImage from Surface
          8694.479450243 [241591-241791] ../src/vabackend.c: 719        nvDestroySurfaces Destroying surface -1 (0x7f6bfcc7b4c0)
          8694.479453303 [241591-241791] ../src/export-buf.c: 339 detachBackingImageFromSurface Cannot detach NULL BackingImage from Surface
          8694.479455683 [241591-241791] ../src/vabackend.c: 719        nvDestroySurfaces Destroying surface -1 (0x7f6bfcc7bce0)
          8694.479460423 [241591-241791] ../src/export-buf.c: 339 detachBackingImageFromSurface Cannot detach NULL BackingImage from Surface
          8694.479462043 [241591-241791] ../src/vabackend.c: 719        nvDestroySurfaces Destroying surface -1 (0x7f6bfcc7b880)
          8694.479466673 [241591-241791] ../src/export-buf.c: 339 detachBackingImageFromSurface Cannot detach NULL BackingImage from Surface
          8694.479469453 [241591-241791] ../src/vabackend.c: 719        nvDestroySurfaces Destroying surface -1 (0x7f6bfcc7b600)
          8694.479472023 [241591-241791] ../src/export-buf.c: 339 detachBackingImageFromSurface Cannot detach NULL BackingImage from Surface
          8694.479474463 [241591-241791] ../src/vabackend.c: 719        nvDestroySurfaces Destroying surface -1 (0x7f6bfcc7aac0)
          8694.479479203 [241591-241791] ../src/export-buf.c: 339 detachBackingImageFromSurface Cannot detach NULL BackingImage from Surface
          8694.479481973 [241591-241791] ../src/vabackend.c: 719        nvDestroySurfaces Destroying surface -1 (0x7f6bfcc7a8e0)
          8694.479484933 [241591-241791] ../src/export-buf.c: 339 detachBackingImageFromSurface Cannot detach NULL BackingImage from Surface
          8694.479486563 [241591-241791] ../src/vabackend.c: 719        nvDestroySurfaces Destroying surface -1 (0x7f6bfcc7a7a0)
          8694.479488833 [241591-241791] ../src/export-buf.c: 339 detachBackingImageFromSurface Cannot detach NULL BackingImage from Surface
          8694.479490233 [241591-241791] ../src/vabackend.c: 719        nvDestroySurfaces Destroying surface -1 (0x7f6bfcc7a700)
          8694.479492743 [241591-241791] ../src/export-buf.c: 339 detachBackingImageFromSurface Cannot detach NULL BackingImage from Surface
          8694.479496263 [241591-241791] ../src/vabackend.c: 719        nvDestroySurfaces Destroying surface -1 (0x7f6bfcc7a020)
          8694.479498443 [241591-241791] ../src/export-buf.c: 339 detachBackingImageFromSurface Cannot detach NULL BackingImage from Surface
          8694.479501843 [241591-241791] ../src/vabackend.c: 719        nvDestroySurfaces Destroying surface -1 (0x7f6bfcc7a480)
          8694.479504523 [241591-241791] ../src/export-buf.c: 339 detachBackingImageFromSurface Cannot detach NULL BackingImage from Surface
          8694.479507133 [241591-241791] ../src/vabackend.c: 719        nvDestroySurfaces Destroying surface -1 (0x7f6bfcc7b100)
          8694.479508403 [241591-241791] ../src/export-buf.c: 339 detachBackingImageFromSurface Cannot detach NULL BackingImage from Surface
          8694.479512773 [241591-241791] ../src/vabackend.c:1752              nvTerminate Terminating 0x7f6c3872a5c0
          8694.479515133 [241591-241791] ../src/export-buf.c: 318      destroyBackingImage Destroying BackingImage: 0x7f6bfc5c0200
          8694.479649644 [241591-241791] ../src/export-buf.c: 318      destroyBackingImage Destroying BackingImage: 0x7f6bfc5c0f80
          8694.479761025 [241591-241791] ../src/export-buf.c:  65          releaseExporter Releasing exporter, 0 outstanding frames
          8694.480826111 [241591-241791] ../src/export-buf.c:  82          releaseExporter Done releasing frames
          8694.510861197 [241591-241791] ../src/vabackend.c:1766              nvTerminate Now have 1 (0 max) instances
          8694.510928588 [241591-241800] ../src/vabackend.c:1752              nvTerminate Terminating 0x7f6c10d557a0
          8694.510935518 [241591-241800] ../src/export-buf.c:  65          releaseExporter Releasing exporter, 0 outstanding frames
          8694.512001404 [241591-241800] ../src/export-buf.c:  82          releaseExporter Done releasing frames
          8694.544613385 [241591-241800] ../src/vabackend.c:1766              nvTerminate Now have 0 (0 max) instances
          8694.546206395 [241591-241791] ../src/vabackend.c:1775       __vaDriverInit_1_0 Initialising NVIDIA VA-API Driver: 0x7f6c10d55200 31
          8694.546215075 [241591-241791] ../src/vabackend.c:1778       __vaDriverInit_1_0 Now have 0 (0 max) instances
          8694.546223665 [241591-241791] ../src/export-buf.c: 161       findGPUIndexFromFd Looking for GPU index: 0
          8694.546564947 [241591-241791] ../src/export-buf.c: 172       findGPUIndexFromFd Found 3 EGL devices
          8694.546597707 [241591-241791] ../src/export-buf.c: 181       findGPUIndexFromFd Got EGL_CUDA_DEVICE_NV value '0' for EGLDevice 0
          8694.546601347 [241591-241791] ../src/export-buf.c: 205       findGPUIndexFromFd Selecting EGLDevice 0
          8694.584243808 [241591-241791] ../src/export-buf.c: 267             initExporter Driver doesn't support 16-bit surfaces
          8694.584254128 [241591-241791] ../src/export-buf.c:  99                reconnect Reconnecting to stream
          8694.584352429 [241591-241791] ../src/vabackend.c:1119      nvQueryImageFormats In nvQueryImageFormats
          8694.584581870 [241591-241791] ../src/vabackend.c:1752              nvTerminate Terminating 0x7f6c10d55200
          8694.584587240 [241591-241791] ../src/export-buf.c:  65          releaseExporter Releasing exporter, 0 outstanding frames
          8694.585646926 [241591-241791] ../src/export-buf.c:  82          releaseExporter Done releasing frames
          8694.625628910 [241591-241791] ../src/vabackend.c:1766              nvTerminate Now have 0 (0 max) instances
          8756.721295971 [240838-240838] ../src/export-buf.c:  60                    debug [EGL] eglCreateContext: EGL_BAD_MATCH error: In eglCreateContext: Failure in argument parsing
    
          8756.721305651 [240838-240838] ../src/export-buf.c:  60                    debug [EGL] eglCreateContext: EGL_BAD_ATTRIBUTE error: In eglCreateContext: Failure in argument parsing
    
          8756.737157384 [240838-240838] ../src/export-buf.c:  60                    debug [EGL] eglCreateContext: EGL_BAD_MATCH error: In eglCreateContext: Failure in argument parsing
    
          8756.737166614 [240838-240838] ../src/export-buf.c:  60                    debug [EGL] eglCreateContext: EGL_BAD_ATTRIBUTE error: In eglCreateContext: Failure in argument parsing
    
    opened by Jeglerjeg 21
  • GT740 acceleration is (seemingly?) not working.

    GT740 acceleration is (seemingly?) not working.

    Screenshot_20221015_171756 My env. variables for Firefox: GTK_CSD=1 NVD_LOG=1 MOZ_X11_EGL=1 LIBVA_DRIVER_NAME=nvidia MOZ_DISABLE_RDD_SANDBOX=1 firefox %u I made sure all the necessary tweaks to do on about:config are done, exception being EGL_PLATFORM since I only run X11. Oddly enough, my nvidia-settings still shows only zero for Video Engine Utilization, yet GPU Utilization does report elevating percentage based on a Youtube video I play or not.

    Inputting vainfo outputs this: Screenshot_20221015_174333

    • EndeavourOS (Arch Linux), Firefox 105.0.3.
    opened by Impeta 20
  • Vainfo fails with cuda error 'unknown error' (999)

    Vainfo fails with cuda error 'unknown error' (999)

    I've got nvidia-vaapi-driver 0.6 installed, and environmental variable LIBVA_DRIVER_NAME=nvdec. This is the output vainfo gives me libva info: VA-API version 1.14.0 libva info: User environment variable requested driver 'nvdec' libva info: Trying to open /usr/lib64/va/drivers/nvdec_drv_video.so

    opened by JustCauseWhyNot 20
  • Laggy video on WhatsApp Web

    Laggy video on WhatsApp Web

    Sometimes, videos from WhatsApp are rendered like this:

    https://user-images.githubusercontent.com/626206/167218177-fa5e066d-101d-4fe5-8519-17ec1cfbcea2.mp4

    This is the actual video:

    https://user-images.githubusercontent.com/626206/167217760-5a682c26-7e1e-42b2-900d-e5f81c6f80c5.mp4

    The command I used to get the logs:

    $ NVD_LOG=1 MOZ_DISABLE_RDD_SANDBOX=1 LIBVA_DRIVER_NAME=nvidia MOZ_LOG="PlatformDecoderModule:5,Dmabuf:5" firefox &> firefox.txt
    

    Other info:

    • Arch Linux
    • VAAPI driver: 96f0428
    • Firefox 100
    • NVIDIA GTX 660 (driver 470.103.01)
    opened by guihkx 17
  • Issue after upgrading to 525.53 driver

    Issue after upgrading to 525.53 driver

    Hi there,

    After updating to 525.53 (proprietary) driver, I am unable to get hardware acceleration.

    Console output
    >env NVD_LOG=va.log MOZ_LOG="PlatformDecoderModule:5,Dmabuf:5" firefox-developer-edition
    [GFX1-]: glxtest: VA-API test failed: process crashed. Please check your VA-API drivers.
    [Parent 13936: Main Thread]: D/Dmabuf Using DRM device /dev/dri/renderD129
    [Parent 13936: Main Thread]: D/Dmabuf nsDMABufDevice::Configure()
    [Parent 13936: Main Thread]: D/Dmabuf Loading DMABuf system library libgbm.so.1 ...
    [Parent 13936: Main Thread]: D/Dmabuf DMABuf is enabled
    [Child 14158: Main Thread]: D/PlatformDecoderModule PDMInitializer, Init PDMs in Content process
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox RDD decoder rejects requested type audio/mp4a-latm
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox Utility Generic decoder supports requested type audio/mp4a-latm
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox Utility Generic decoder supports requested type audio/mp4a-latm
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox RDD decoder rejects requested type audio/mp4a-latm
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox Utility Generic decoder supports requested type audio/mp4a-latm
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox Utility Generic decoder supports requested type audio/mp4a-latm
    [2022-11-11T22:03:28Z ERROR mp4parse] Found 2 nul bytes in "\0\0"
    [Child 14158: MediaSupervisor #1]: D/PlatformDecoderModule Sandbox RDD decoder rejects requested type audio/mp4a-latm
    [Child 14158: MediaSupervisor #1]: D/PlatformDecoderModule Sandbox Utility Generic decoder supports requested type audio/mp4a-latm
    [Child 14158: MediaSupervisor #1]: D/PlatformDecoderModule Sandbox Utility Generic decoder supports requested type audio/mp4a-latm
    [Child 14158: MediaSupervisor #1]: D/PlatformDecoderModule Sandbox RDD decoder rejects requested type audio/mp4a-latm
    [Child 14158: MediaSupervisor #1]: D/PlatformDecoderModule Sandbox Utility Generic decoder supports requested type audio/mp4a-latm
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox RDD decoder rejects requested type audio/mp4a-latm
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox Utility Generic decoder supports requested type audio/mp4a-latm
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox Utility Generic decoder supports requested type audio/mp4a-latm
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox RDD decoder rejects requested type audio/mp4a-latm
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox Utility Generic decoder supports requested type audio/mp4a-latm
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox Utility Generic decoder supports requested type audio/mp4a-latm
    [2022-11-11T22:03:28Z ERROR mp4parse] Found 2 nul bytes in "\0\0"
    [Child 14158: MediaSupervisor #1]: D/PlatformDecoderModule Sandbox RDD decoder rejects requested type audio/mp4a-latm
    [Child 14158: MediaSupervisor #1]: D/PlatformDecoderModule Sandbox Utility Generic decoder supports requested type audio/mp4a-latm
    [Child 14158: MediaSupervisor #1]: D/PlatformDecoderModule Sandbox Utility Generic decoder supports requested type audio/mp4a-latm
    [Child 14158: MediaSupervisor #1]: D/PlatformDecoderModule Sandbox RDD decoder rejects requested type audio/mp4a-latm
    [Child 14158: MediaSupervisor #1]: D/PlatformDecoderModule Sandbox Utility Generic decoder supports requested type audio/mp4a-latm
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox RDD decoder rejects requested type audio/mp4a-latm
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox Utility Generic decoder supports requested type audio/mp4a-latm
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox Utility Generic decoder supports requested type audio/mp4a-latm
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox RDD decoder rejects requested type audio/mp4a-latm
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox Utility Generic decoder supports requested type audio/mp4a-latm
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox Utility Generic decoder supports requested type audio/mp4a-latm
    [RDD 14297: Main Thread]: D/PlatformDecoderModule PDMInitializer, Init PDMs in RDD process
    [RDD 14297: Main Thread]: D/PlatformDecoderModule FFmpeg decoder rejects requested type 'video/avc'
    [RDD 14297: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/avc'
    [RDD 14297: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/avc'
    [RDD 14297: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/vp9'
    [RDD 14297: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/vp9'
    [RDD 14297: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/vp8'
    [RDD 14297: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/vp8'
    [RDD 14297: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/av1'
    [RDD 14297: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/av1'
    [RDD 14297: Main Thread]: D/PlatformDecoderModule FFmpeg decoder rejects requested type 'video/theora'
    [RDD 14297: Main Thread]: D/PlatformDecoderModule FFmpeg decoder rejects requested type 'video/theora'
    [RDD 14297: Main Thread]: D/PlatformDecoderModule Agnostic decoder supports requested type 'video/theora'
    [RDD 14297: Main Thread]: D/PlatformDecoderModule Agnostic decoder supports requested type 'video/theora'
    [RDD 14297: Main Thread]: D/PlatformDecoderModule FFmpeg decoder rejects requested type 'audio/mp4a-latm'
    [RDD 14297: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'audio/mp4a-latm'
    [RDD 14297: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'audio/mp4a-latm'
    [RDD 14297: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'audio/mpeg'
    [RDD 14297: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'audio/mpeg'
    [RDD 14297: Main Thread]: D/PlatformDecoderModule FFmpeg decoder rejects requested type 'audio/opus'
    [RDD 14297: Main Thread]: D/PlatformDecoderModule FFmpeg decoder rejects requested type 'audio/opus'
    [RDD 14297: Main Thread]: D/PlatformDecoderModule Agnostic decoder supports requested type 'audio/opus'
    [RDD 14297: Main Thread]: D/PlatformDecoderModule Agnostic decoder supports requested type 'audio/opus'
    [RDD 14297: Main Thread]: D/PlatformDecoderModule FFmpeg decoder rejects requested type 'audio/vorbis'
    [RDD 14297: Main Thread]: D/PlatformDecoderModule FFmpeg decoder rejects requested type 'audio/vorbis'
    [RDD 14297: Main Thread]: D/PlatformDecoderModule Agnostic decoder supports requested type 'audio/vorbis'
    [RDD 14297: Main Thread]: D/PlatformDecoderModule Agnostic decoder supports requested type 'audio/vorbis'
    [RDD 14297: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'audio/flac'
    [RDD 14297: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'audio/flac'
    [RDD 14297: Main Thread]: D/PlatformDecoderModule FFmpeg decoder rejects requested type 'audio/x-wav'
    [RDD 14297: Main Thread]: D/PlatformDecoderModule FFmpeg decoder rejects requested type 'audio/x-wav'
    [RDD 14297: Main Thread]: D/PlatformDecoderModule Agnostic decoder supports requested type 'audio/x-wav'
    [RDD 14297: Main Thread]: D/PlatformDecoderModule Agnostic decoder supports requested type 'audio/x-wav'
    [Utility 14298: Main Thread]: D/PlatformDecoderModule PDMInitializer, Init PDMs in Utility process
    [Utility 14298: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/avc'
    [Utility 14298: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/avc'
    [Utility 14298: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/vp9'
    [Utility 14298: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/vp9'
    [Utility 14298: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/vp8'
    [Utility 14298: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/vp8'
    [Utility 14298: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/av1'
    [Utility 14298: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/av1'
    [Utility 14298: Main Thread]: D/PlatformDecoderModule FFmpeg decoder rejects requested type 'video/theora'
    [Utility 14298: Main Thread]: D/PlatformDecoderModule Agnostic decoder rejects requested type 'video/theora'
    [Utility 14298: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'audio/mp4a-latm'
    [Utility 14298: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'audio/mp4a-latm'
    [Utility 14298: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'audio/mpeg'
    [Utility 14298: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'audio/mpeg'
    [Utility 14298: Main Thread]: D/PlatformDecoderModule FFmpeg decoder rejects requested type 'audio/opus'
    [Utility 14298: Main Thread]: D/PlatformDecoderModule Agnostic decoder supports requested type 'audio/opus'
    [Utility 14298: Main Thread]: D/PlatformDecoderModule Agnostic decoder supports requested type 'audio/opus'
    [Utility 14298: Main Thread]: D/PlatformDecoderModule FFmpeg decoder rejects requested type 'audio/vorbis'
    [Utility 14298: Main Thread]: D/PlatformDecoderModule Agnostic decoder supports requested type 'audio/vorbis'
    [Utility 14298: Main Thread]: D/PlatformDecoderModule Agnostic decoder supports requested type 'audio/vorbis'
    [Utility 14298: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'audio/flac'
    [Utility 14298: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'audio/flac'
    [Utility 14298: Main Thread]: D/PlatformDecoderModule FFmpeg decoder rejects requested type 'audio/x-wav'
    [Utility 14298: Main Thread]: D/PlatformDecoderModule Agnostic decoder supports requested type 'audio/x-wav'
    [Utility 14298: Main Thread]: D/PlatformDecoderModule Agnostic decoder supports requested type 'audio/x-wav'
    [2022-11-11T22:03:28Z ERROR mp4parse] Found 2 nul bytes in "\0\0"
    [Child 14158: MediaSupervisor #1]: D/PlatformDecoderModule Sandbox RDD decoder rejects requested type audio/mp4a-latm
    [Child 14158: MediaSupervisor #1]: D/PlatformDecoderModule Sandbox Utility Generic decoder supports requested type audio/mp4a-latm
    [Child 14158: MediaSupervisor #1]: D/PlatformDecoderModule Sandbox Utility Generic decoder supports requested type audio/mp4a-latm
    [Child 14158: MediaSupervisor #1]: D/PlatformDecoderModule Sandbox RDD decoder rejects requested type audio/mp4a-latm
    [Child 14158: MediaSupervisor #1]: D/PlatformDecoderModule Sandbox Utility Generic decoder supports requested type audio/mp4a-latm
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox RDD decoder rejects requested type audio/mp4a-latm
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox Utility Generic decoder supports requested type audio/mp4a-latm
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox Utility Generic decoder supports requested type audio/mp4a-latm
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox RDD decoder rejects requested type audio/mp4a-latm
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox Utility Generic decoder supports requested type audio/mp4a-latm
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox Utility Generic decoder supports requested type audio/mp4a-latm
    [2022-11-11T22:03:28Z ERROR mp4parse] Found 2 nul bytes in "\0\0"
    [Child 14158: MediaSupervisor #1]: D/PlatformDecoderModule Sandbox RDD decoder rejects requested type audio/mp4a-latm
    [Child 14158: MediaSupervisor #1]: D/PlatformDecoderModule Sandbox Utility Generic decoder supports requested type audio/mp4a-latm
    [Child 14158: MediaSupervisor #1]: D/PlatformDecoderModule Sandbox Utility Generic decoder supports requested type audio/mp4a-latm
    [Utility 14298: MediaSupervisor #1]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'audio/mp4a-latm'
    [Utility 14298: MediaSupervisor #1]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'audio/mp4a-latm'
    [Utility 14298: MediaSupervisor #1]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'audio/mp4a-latm'
    [Utility 14298: MediaSupervisor #1]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'audio/mp4a-latm'
    [Utility 14298: MediaSupervisor #1]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'audio/mp4a-latm'
    [Utility 14298: MediaSupervisor #1]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'audio/mp4a-latm'
    [Child 14158: MediaSupervisor #1]: D/PlatformDecoderModule Sandbox RDD decoder rejects requested type audio/mp4a-latm
    [Child 14158: MediaSupervisor #1]: D/PlatformDecoderModule Sandbox Utility Generic decoder supports requested type audio/mp4a-latm
    [Utility 14298: MediaSupervisor #1]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'audio/mp4a-latm'
    [Utility 14298: MediaSupervisor #1]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'audio/mp4a-latm'
    [Utility 14298: MediaPDecoder #1]: D/PlatformDecoderModule FFMPEG: Initialising FFmpeg decoder
    [Utility 14298: MediaPDecoder #1]: D/PlatformDecoderModule FFMPEG:   codec aac : AAC (Advanced Audio Coding)
    [Utility 14298: MediaPDecoder #2]: D/PlatformDecoderModule FFMPEG: Initialising FFmpeg decoder
    [Utility 14298: MediaPDecoder #2]: D/PlatformDecoderModule FFMPEG:   codec aac : AAC (Advanced Audio Coding)
    [Utility 14298: MediaPDecoder #3]: D/PlatformDecoderModule FFMPEG: Initialising FFmpeg decoder
    [Utility 14298: MediaPDecoder #3]: D/PlatformDecoderModule FFMPEG:   codec aac : AAC (Advanced Audio Coding)
    [Utility 14298: MediaPDecoder #4]: D/PlatformDecoderModule FFMPEG: Initialising FFmpeg decoder
    [Utility 14298: MediaPDecoder #4]: D/PlatformDecoderModule FFMPEG:   codec aac : AAC (Advanced Audio Coding)
    [Utility 14298: MediaPDecoder #1]: D/PlatformDecoderModule FFMPEG:   FFmpeg decoder init successful.
    [Child 14158: MediaPDecoder #1]: V/PlatformDecoderModule AudioTrimmer[7f1bda1d6c00] ::PrepareTrimmers: sample[0,23219] no trimming information
    [Utility 14298: MediaPDecoder #1]: V/PlatformDecoderModule ProcessDecode: mDuration=23219µs ; mTime=0µs ; mTimecode=0µs
    [Utility 14298: MediaPDecoder #1]: V/PlatformDecoderModule ProcessDecode: mDuration=23219µs ; mTime=0µs ; mTimecode=0µs
    [Utility 14298: MediaPDecoder #2]: D/PlatformDecoderModule FFMPEG:   FFmpeg decoder init successful.
    [Child 14158: MediaPDecoder #3]: V/PlatformDecoderModule AudioTrimmer[7f1bda1d6c00] ::HandleDecodedResult: sample[0,23219] (decoded[0,23219] no trimming needed
    [Child 14158: MediaPDecoder #2]: V/PlatformDecoderModule AudioTrimmer[7f1bda1d6de0] ::PrepareTrimmers: sample[0,23219] no trimming information
    [Child 14158: MediaPDecoder #2]: V/PlatformDecoderModule AudioTrimmer[7f1bda1d6c00] ::PrepareTrimmers: sample[23219,46439] no trimming information
    [Utility 14298: MediaPDecoder #1]: V/PlatformDecoderModule ProcessDecode: mDuration=23219µs ; mTime=0µs ; mTimecode=0µs
    [Utility 14298: MediaPDecoder #1]: V/PlatformDecoderModule ProcessDecode: mDuration=23219µs ; mTime=0µs ; mTimecode=0µs
    [Utility 14298: MediaPDecoder #2]: V/PlatformDecoderModule ProcessDecode: mDuration=23220µs ; mTime=23219µs ; mTimecode=23219µs
    [Utility 14298: MediaPDecoder #2]: V/PlatformDecoderModule ProcessDecode: mDuration=23220µs ; mTime=23219µs ; mTimecode=23219µs
    [Child 14158: MediaPDecoder #3]: V/PlatformDecoderModule AudioTrimmer[7f1bda1d6de0] ::HandleDecodedResult: sample[0,23219] (decoded[0,23219] no trimming needed
    [Utility 14298: MediaPDecoder #3]: D/PlatformDecoderModule FFMPEG:   FFmpeg decoder init successful.
    [Child 14158: MediaPDecoder #1]: V/PlatformDecoderModule AudioTrimmer[7f1bda1d6f20] ::PrepareTrimmers: sample[0,23219] no trimming information
    [Child 14158: MediaPDecoder #3]: V/PlatformDecoderModule AudioTrimmer[7f1bda1d6c00] ::HandleDecodedResult: sample[23219,46439] (decoded[23219,46438] no trimming needed
    [Child 14158: MediaPDecoder #3]: V/PlatformDecoderModule AudioTrimmer[7f1bda1d6de0] ::PrepareTrimmers: sample[23219,46439] no trimming information
    [Child 14158: MediaPDecoder #3]: V/PlatformDecoderModule AudioTrimmer[7f1bda1d6c00] ::PrepareTrimmers: sample[46439,69659] no trimming information
    [Utility 14298: MediaPDecoder #1]: V/PlatformDecoderModule ProcessDecode: mDuration=23219µs ; mTime=0µs ; mTimecode=0µs
    [Utility 14298: MediaPDecoder #1]: V/PlatformDecoderModule ProcessDecode: mDuration=23219µs ; mTime=0µs ; mTimecode=0µs
    [Utility 14298: MediaPDecoder #2]: V/PlatformDecoderModule ProcessDecode: mDuration=23220µs ; mTime=23219µs ; mTimecode=23219µs
    [Utility 14298: MediaPDecoder #3]: V/PlatformDecoderModule ProcessDecode: mDuration=23220µs ; mTime=46439µs ; mTimecode=46439µs
    [Child 14158: MediaPDecoder #2]: V/PlatformDecoderModule AudioTrimmer[7f1bda1d6f20] ::HandleDecodedResult: sample[0,23219] (decoded[0,23219] no trimming needed
    [Utility 14298: MediaPDecoder #2]: V/PlatformDecoderModule ProcessDecode: mDuration=23220µs ; mTime=23219µs ; mTimecode=23219µs
    [Utility 14298: MediaPDecoder #3]: V/PlatformDecoderModule ProcessDecode: mDuration=23220µs ; mTime=46439µs ; mTimecode=46439µs
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type video/avc
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type video/avc
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type video/avc
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type video/avc
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox RDD decoder rejects requested type audio/mp4a-latm
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox Utility Generic decoder supports requested type audio/mp4a-latm
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox Utility Generic decoder supports requested type audio/mp4a-latm
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox RDD decoder rejects requested type audio/mp4a-latm
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox Utility Generic decoder supports requested type audio/mp4a-latm
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox Utility Generic decoder supports requested type audio/mp4a-latm
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type video/vp9
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox RDD decoder rejects requested type audio/opus
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox Utility Generic decoder supports requested type audio/opus
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox Utility Generic decoder supports requested type audio/opus
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox RDD decoder rejects requested type audio/opus
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox Utility Generic decoder supports requested type audio/opus
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox Utility Generic decoder supports requested type audio/opus
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox RDD decoder rejects requested type audio/opus
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox Utility Generic decoder supports requested type audio/opus
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox Utility Generic decoder supports requested type audio/opus
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type video/vp9
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type video/avc
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox RDD decoder rejects requested type audio/mp4a-latm
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox Utility Generic decoder supports requested type audio/mp4a-latm
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox Utility Generic decoder supports requested type audio/mp4a-latm
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox RDD decoder rejects requested type audio/mp4a-latm
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox Utility Generic decoder supports requested type audio/mp4a-latm
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox Utility Generic decoder supports requested type audio/mp4a-latm
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox RDD decoder rejects requested type audio/opus
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox Utility Generic decoder supports requested type audio/opus
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox Utility Generic decoder supports requested type audio/opus
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox RDD decoder rejects requested type audio/opus
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox Utility Generic decoder supports requested type audio/opus
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox Utility Generic decoder supports requested type audio/opus
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox RDD decoder rejects requested type audio/opus
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox Utility Generic decoder supports requested type audio/opus
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox Utility Generic decoder supports requested type audio/opus
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type video/avc
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type video/vp9
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type video/vp9
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type video/avc
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox RDD decoder rejects requested type audio/mp4a-latm
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox Utility Generic decoder supports requested type audio/mp4a-latm
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox Utility Generic decoder supports requested type audio/mp4a-latm
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox RDD decoder rejects requested type audio/mp4a-latm
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox Utility Generic decoder supports requested type audio/mp4a-latm
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox Utility Generic decoder supports requested type audio/mp4a-latm
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox RDD decoder rejects requested type audio/opus
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox Utility Generic decoder supports requested type audio/opus
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox Utility Generic decoder supports requested type audio/opus
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type video/vp9
    [Child 14158: MediaPDecoder #1]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type video/vp9
    [Child 14158: MediaPDecoder #1]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type video/vp9
    [RDD 14297: MediaSupervisor #1]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/vp9'
    [RDD 14297: MediaSupervisor #1]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/vp9'
    [RDD 14297: MediaSupervisor #1]: D/PlatformDecoderModule FFVPX: FFmpegVideoDecoder::FFmpegVideoDecoder MIME video/vp9 Codec ID 167
    [RDD 14297: MediaPDecoder #1]: D/PlatformDecoderModule FFVPX: Initialising VA-API FFmpeg decoder
    [RDD 14297: MediaPDecoder #1]: D/PlatformDecoderModule FFVPX:   libva library or symbols are missing.
    [RDD 14297: MediaPDecoder #1]: D/PlatformDecoderModule FFVPX: Initialising FFmpeg decoder
    [RDD 14297: MediaPDecoder #1]: D/PlatformDecoderModule FFVPX:   codec vp9 : Google VP9
    [RDD 14297: MediaPDecoder #1]: D/PlatformDecoderModule FFVPX: Set get_buffer2 for customized buffer allocation
    [RDD 14297: MediaPDecoder #1]: D/PlatformDecoderModule FFVPX:   FFmpeg decoder init successful.
    [Child 14158: MediaSupervisor #3]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type video/vp9
    [Child 14158: MediaPDecoder #4]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type video/vp9
    [RDD 14297: MediaSupervisor #1]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/vp9'
    [RDD 14297: MediaSupervisor #1]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/vp9'
    [RDD 14297: MediaSupervisor #1]: D/PlatformDecoderModule FFVPX: FFmpegVideoDecoder::FFmpegVideoDecoder MIME video/vp9 Codec ID 167
    [RDD 14297: MediaSupervisor #1]: D/PlatformDecoderModule FFVPX: Hardware WebRender is off, VAAPI is disabled
    [RDD 14297: MediaPDecoder #1]: D/PlatformDecoderModule FFVPX: Initialising FFmpeg decoder
    [RDD 14297: MediaPDecoder #1]: D/PlatformDecoderModule FFVPX:   codec vp9 : Google VP9
    [RDD 14297: MediaPDecoder #1]: D/PlatformDecoderModule FFVPX: Set get_buffer2 for customized buffer allocation
    [RDD 14297: MediaPDecoder #1]: D/PlatformDecoderModule FFVPX:   FFmpeg decoder init successful.
    [RDD 14297: MediaPDecoder #1]: V/PlatformDecoderModule ProcessDecode: mDuration=33000µs ; mTime=14000µs ; mTimecode=14000µs
    [RDD 14297: Unnamed thread 7feddef73ca0]: D/PlatformDecoderModule FFVPX: Choosing FFmpeg pixel format for video decoding.
    [RDD 14297: Unnamed thread 7feddef73ca0]: D/PlatformDecoderModule FFVPX: Requesting pixel format YUV420P.
    [vp9 @ 0x7fedee26b800] Format yuv420p chosen by get_format().
    [RDD 14297: Unnamed thread 7feddef73ca0]: V/PlatformDecoderModule GetVideoBuffer: aCodecContext=7fedee26b800 aFrame=7fedee2aa400
    [RDD 14297: Unnamed thread 7feddef73ca0]: V/PlatformDecoderModule Created plane data, YSize=(1280, 736), CbCrSize=(640, 384), CroppedYSize=(1280, 720), CroppedCbCrSize=(640, 360), ColorDepth=0
    [RDD 14297: Unnamed thread 7feddef73ca0]: D/PlatformDecoderModule FFVPX: Failed to allocate a texture client
    [RDD 14297: MediaPDecoder #2]: V/PlatformDecoderModule ProcessDecode: mDuration=0µs ; mTime=47000µs ; mTimecode=47000µs
    [RDD 14297: Unnamed thread 7feddef73280]: V/PlatformDecoderModule GetVideoBuffer: aCodecContext=7fedee268000 aFrame=7fedee2ae000
    [RDD 14297: MediaPDecoder #1]: V/PlatformDecoderModule ProcessDecode: mDuration=34000µs ; mTime=47000µs ; mTimecode=47000µs
    [RDD 14297: Unnamed thread 7feddef73820]: V/PlatformDecoderModule GetVideoBuffer: aCodecContext=7fedee26d400 aFrame=7feddef85400
    [RDD 14297: MediaPDecoder #2]: V/PlatformDecoderModule ProcessDecode: mDuration=33000µs ; mTime=81000µs ; mTimecode=81000µs
    [RDD 14297: Unnamed thread 7feddef733a0]: V/PlatformDecoderModule GetVideoBuffer: aCodecContext=7fedee26c400 aFrame=7feddef87600
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox RDD decoder rejects requested type audio/opus
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox Utility Generic decoder supports requested type audio/opus
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox Utility Generic decoder supports requested type audio/opus
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type video/vp9
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type video/vp9
    [RDD 14297: MediaPDecoder #2]: D/PlatformDecoderModule FFVPX: Frame decode finished, time 21.68 ms averange decode time 21.68 ms decoded 1 frames
    [RDD 14297: MediaPDecoder #2]: D/PlatformDecoderModule FFVPX: Got one frame output with pts=14000 dts=14000 duration=33000 opaque=-9223372036854775808
    [RDD 14297: MediaPDecoder #1]: V/PlatformDecoderModule ProcessDecode: mDuration=33000µs ; mTime=114000µs ; mTimecode=114000µs
    [RDD 14297: Unnamed thread 7feddef73ca0]: V/PlatformDecoderModule GetVideoBuffer: aCodecContext=7fedee26b800 aFrame=7fedee2aa400
    [RDD 14297: MediaPDecoder #2]: V/PlatformDecoderModule ProcessDecode: mDuration=34000µs ; mTime=147000µs ; mTimecode=147000µs
    [RDD 14297: MediaPDecoder #2]: D/PlatformDecoderModule FFVPX: Frame decode finished, time 0.61 ms averange decode time 11.14 ms decoded 2 frames
    [RDD 14297: MediaPDecoder #2]: D/PlatformDecoderModule FFVPX: Got one frame output with pts=47000 dts=47000 duration=34000 opaque=-9223372036854775808
    [RDD 14297: Unnamed thread 7feddef73280]: V/PlatformDecoderModule GetVideoBuffer: aCodecContext=7fedee268000 aFrame=7fedee2ae000
    [RDD 14297: MediaPDecoder #1]: V/PlatformDecoderModule ProcessDecode: mDuration=33000µs ; mTime=181000µs ; mTimecode=181000µs
    [RDD 14297: MediaPDecoder #1]: D/PlatformDecoderModule FFVPX: Frame decode finished, time 0.04 ms averange decode time 7.44 ms decoded 3 frames
    [RDD 14297: MediaPDecoder #1]: D/PlatformDecoderModule FFVPX: Got one frame output with pts=81000 dts=81000 duration=33000 opaque=-9223372036854775808
    [RDD 14297: Unnamed thread 7feddef73820]: V/PlatformDecoderModule GetVideoBuffer: aCodecContext=7fedee26d400 aFrame=7feddef85400
    [RDD 14297: MediaPDecoder #2]: V/PlatformDecoderModule ProcessDecode: mDuration=33000µs ; mTime=214000µs ; mTimecode=214000µs
    [RDD 14297: Unnamed thread 7feddef733a0]: V/PlatformDecoderModule GetVideoBuffer: aCodecContext=7fedee26c400 aFrame=7feddef87600
    [RDD 14297: MediaPDecoder #2]: D/PlatformDecoderModule FFVPX: Frame decode finished, time 2.07 ms averange decode time 6.10 ms decoded 4 frames
    [RDD 14297: MediaPDecoder #2]: D/PlatformDecoderModule FFVPX: Got one frame output with pts=114000 dts=114000 duration=33000 opaque=-9223372036854775808
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type video/vp9
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type video/vp9
    [Child 14158: MediaPDecoder #2]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type video/vp9
    [Child 14158: MediaPDecoder #2]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type video/vp9
    [RDD 14297: MediaSupervisor #1]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/vp9'
    [RDD 14297: MediaSupervisor #1]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/vp9'
    [RDD 14297: MediaSupervisor #1]: D/PlatformDecoderModule FFVPX: FFmpegVideoDecoder::FFmpegVideoDecoder MIME video/vp9 Codec ID 167
    [RDD 14297: MediaPDecoder #1]: D/PlatformDecoderModule FFVPX: Initialising VA-API FFmpeg decoder
    [RDD 14297: MediaPDecoder #1]: D/PlatformDecoderModule FFVPX:   libva library or symbols are missing.
    [RDD 14297: MediaPDecoder #1]: D/PlatformDecoderModule FFVPX: Initialising FFmpeg decoder
    [RDD 14297: MediaPDecoder #1]: D/PlatformDecoderModule FFVPX:   codec vp9 : Google VP9
    [RDD 14297: MediaPDecoder #1]: D/PlatformDecoderModule FFVPX: Set get_buffer2 for customized buffer allocation
    [RDD 14297: MediaPDecoder #1]: D/PlatformDecoderModule FFVPX:   FFmpeg decoder init successful.
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type video/vp9
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type video/vp9
    [Child 14158: MediaPDecoder #4]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type video/vp9
    [Child 14158: MediaPDecoder #4]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type video/vp9
    [RDD 14297: MediaSupervisor #1]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/vp9'
    [RDD 14297: MediaSupervisor #1]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/vp9'
    [RDD 14297: MediaSupervisor #1]: D/PlatformDecoderModule FFVPX: FFmpegVideoDecoder::FFmpegVideoDecoder MIME video/vp9 Codec ID 167
    [RDD 14297: MediaPDecoder #1]: D/PlatformDecoderModule FFVPX: Initialising VA-API FFmpeg decoder
    [RDD 14297: MediaPDecoder #1]: D/PlatformDecoderModule FFVPX:   libva library or symbols are missing.
    [RDD 14297: MediaPDecoder #1]: D/PlatformDecoderModule FFVPX: Initialising FFmpeg decoder
    [RDD 14297: MediaPDecoder #1]: D/PlatformDecoderModule FFVPX:   codec vp9 : Google VP9
    [RDD 14297: MediaPDecoder #1]: D/PlatformDecoderModule FFVPX: Set get_buffer2 for customized buffer allocation
    [RDD 14297: MediaPDecoder #1]: D/PlatformDecoderModule FFVPX:   FFmpeg decoder init successful.
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type video/vp9
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type video/vp9
    [Child 14158: MediaPDecoder #2]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type video/vp9
    [Child 14158: MediaPDecoder #2]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type video/vp9
    [RDD 14297: MediaSupervisor #1]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/vp9'
    [RDD 14297: MediaSupervisor #1]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/vp9'
    [RDD 14297: MediaSupervisor #1]: D/PlatformDecoderModule FFVPX: FFmpegVideoDecoder::FFmpegVideoDecoder MIME video/vp9 Codec ID 167
    [RDD 14297: MediaPDecoder #1]: D/PlatformDecoderModule FFVPX: Initialising VA-API FFmpeg decoder
    [RDD 14297: MediaPDecoder #1]: D/PlatformDecoderModule FFVPX:   libva library or symbols are missing.
    [RDD 14297: MediaPDecoder #1]: D/PlatformDecoderModule FFVPX: Initialising FFmpeg decoder
    [RDD 14297: MediaPDecoder #1]: D/PlatformDecoderModule FFVPX:   codec vp9 : Google VP9
    [RDD 14297: MediaPDecoder #1]: D/PlatformDecoderModule FFVPX: Set get_buffer2 for customized buffer allocation
    [RDD 14297: MediaPDecoder #1]: D/PlatformDecoderModule FFVPX:   FFmpeg decoder init successful.
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type video/vp9
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type video/vp9
    [Child 14158: MediaPDecoder #3]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type video/vp9
    [Child 14158: MediaPDecoder #3]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type video/vp9
    [RDD 14297: MediaSupervisor #1]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/vp9'
    [RDD 14297: MediaSupervisor #1]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/vp9'
    [RDD 14297: MediaSupervisor #1]: D/PlatformDecoderModule FFVPX: FFmpegVideoDecoder::FFmpegVideoDecoder MIME video/vp9 Codec ID 167
    [RDD 14297: MediaPDecoder #1]: D/PlatformDecoderModule FFVPX: Initialising VA-API FFmpeg decoder
    [RDD 14297: MediaPDecoder #1]: D/PlatformDecoderModule FFVPX:   libva library or symbols are missing.
    [RDD 14297: MediaPDecoder #1]: D/PlatformDecoderModule FFVPX: Initialising FFmpeg decoder
    [RDD 14297: MediaPDecoder #1]: D/PlatformDecoderModule FFVPX:   codec vp9 : Google VP9
    [RDD 14297: MediaPDecoder #1]: D/PlatformDecoderModule FFVPX: Set get_buffer2 for customized buffer allocation
    [RDD 14297: MediaPDecoder #1]: D/PlatformDecoderModule FFVPX:   FFmpeg decoder init successful.
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type video/vp9
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type video/vp9
    [Child 14158: MediaPDecoder #3]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type video/vp9
    [Child 14158: MediaPDecoder #3]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type video/vp9
    [RDD 14297: MediaSupervisor #1]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/vp9'
    [RDD 14297: MediaSupervisor #1]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/vp9'
    [RDD 14297: MediaSupervisor #1]: D/PlatformDecoderModule FFVPX: FFmpegVideoDecoder::FFmpegVideoDecoder MIME video/vp9 Codec ID 167
    [RDD 14297: MediaPDecoder #1]: D/PlatformDecoderModule FFVPX: Initialising VA-API FFmpeg decoder
    [RDD 14297: MediaPDecoder #1]: D/PlatformDecoderModule FFVPX:   libva library or symbols are missing.
    [RDD 14297: MediaPDecoder #1]: D/PlatformDecoderModule FFVPX: Initialising FFmpeg decoder
    [RDD 14297: MediaPDecoder #1]: D/PlatformDecoderModule FFVPX:   codec vp9 : Google VP9
    [RDD 14297: MediaPDecoder #1]: D/PlatformDecoderModule FFVPX: Set get_buffer2 for customized buffer allocation
    [RDD 14297: MediaPDecoder #1]: D/PlatformDecoderModule FFVPX:   FFmpeg decoder init successful.
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type video/avc
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox RDD decoder rejects requested type audio/mp4a-latm
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox Utility Generic decoder supports requested type audio/mp4a-latm
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox Utility Generic decoder supports requested type audio/mp4a-latm
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox RDD decoder rejects requested type audio/mp4a-latm
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox Utility Generic decoder supports requested type audio/mp4a-latm
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox Utility Generic decoder supports requested type audio/mp4a-latm
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox RDD decoder rejects requested type audio/opus
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox Utility Generic decoder supports requested type audio/opus
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox Utility Generic decoder supports requested type audio/opus
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type video/vp9
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type video/vp9
    [Child 14158: MediaPDecoder #2]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type video/vp9
    [Child 14158: MediaPDecoder #2]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type video/vp9
    [RDD 14297: MediaSupervisor #1]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/vp9'
    [RDD 14297: MediaSupervisor #1]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/vp9'
    [RDD 14297: MediaSupervisor #1]: D/PlatformDecoderModule FFVPX: FFmpegVideoDecoder::FFmpegVideoDecoder MIME video/vp9 Codec ID 167
    [RDD 14297: MediaPDecoder #1]: D/PlatformDecoderModule FFVPX: Initialising VA-API FFmpeg decoder
    [RDD 14297: MediaPDecoder #1]: D/PlatformDecoderModule FFVPX:   libva library or symbols are missing.
    [RDD 14297: MediaPDecoder #1]: D/PlatformDecoderModule FFVPX: Initialising FFmpeg decoder
    [RDD 14297: MediaPDecoder #1]: D/PlatformDecoderModule FFVPX:   codec vp9 : Google VP9
    [RDD 14297: MediaPDecoder #1]: D/PlatformDecoderModule FFVPX: Set get_buffer2 for customized buffer allocation
    [RDD 14297: MediaPDecoder #1]: D/PlatformDecoderModule FFVPX:   FFmpeg decoder init successful.
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox RDD decoder rejects requested type audio/opus
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox Utility Generic decoder supports requested type audio/opus
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox Utility Generic decoder supports requested type audio/opus
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type video/vp9
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type video/vp9
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type video/vp9
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type video/vp9
    [Child 14158: MediaPDecoder #4]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type video/vp9
    [Child 14158: MediaPDecoder #4]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type video/vp9
    [RDD 14297: MediaSupervisor #1]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/vp9'
    [RDD 14297: MediaSupervisor #1]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/vp9'
    [RDD 14297: MediaSupervisor #1]: D/PlatformDecoderModule FFVPX: FFmpegVideoDecoder::FFmpegVideoDecoder MIME video/vp9 Codec ID 167
    [RDD 14297: MediaPDecoder #1]: D/PlatformDecoderModule FFVPX: Initialising VA-API FFmpeg decoder
    [RDD 14297: MediaPDecoder #1]: D/PlatformDecoderModule FFVPX:   libva library or symbols are missing.
    [RDD 14297: MediaPDecoder #1]: D/PlatformDecoderModule FFVPX: Initialising FFmpeg decoder
    [RDD 14297: MediaPDecoder #1]: D/PlatformDecoderModule FFVPX:   codec vp9 : Google VP9
    [RDD 14297: MediaPDecoder #1]: D/PlatformDecoderModule FFVPX: Set get_buffer2 for customized buffer allocation
    [RDD 14297: MediaPDecoder #1]: D/PlatformDecoderModule FFVPX:   FFmpeg decoder init successful.
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type video/vp9
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type video/vp9
    [Child 14158: MediaPDecoder #4]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type video/vp9
    [Child 14158: MediaPDecoder #4]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type video/vp9
    [RDD 14297: MediaSupervisor #1]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/vp9'
    [RDD 14297: MediaSupervisor #1]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/vp9'
    [RDD 14297: MediaSupervisor #1]: D/PlatformDecoderModule FFVPX: FFmpegVideoDecoder::FFmpegVideoDecoder MIME video/vp9 Codec ID 167
    [RDD 14297: MediaPDecoder #1]: D/PlatformDecoderModule FFVPX: Initialising VA-API FFmpeg decoder
    [RDD 14297: MediaPDecoder #1]: D/PlatformDecoderModule FFVPX:   libva library or symbols are missing.
    [RDD 14297: MediaPDecoder #1]: D/PlatformDecoderModule FFVPX: Initialising FFmpeg decoder
    [RDD 14297: MediaPDecoder #1]: D/PlatformDecoderModule FFVPX:   codec vp9 : Google VP9
    [RDD 14297: MediaPDecoder #1]: D/PlatformDecoderModule FFVPX: Set get_buffer2 for customized buffer allocation
    [RDD 14297: MediaPDecoder #1]: D/PlatformDecoderModule FFVPX:   FFmpeg decoder init successful.
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type video/vp9
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type video/vp9
    [Child 14158: MediaPDecoder #1]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type video/vp9
    [Child 14158: MediaPDecoder #1]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type video/vp9
    [RDD 14297: MediaSupervisor #1]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/vp9'
    [RDD 14297: MediaSupervisor #1]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/vp9'
    [RDD 14297: MediaSupervisor #1]: D/PlatformDecoderModule FFVPX: FFmpegVideoDecoder::FFmpegVideoDecoder MIME video/vp9 Codec ID 167
    [RDD 14297: MediaPDecoder #1]: D/PlatformDecoderModule FFVPX: Initialising VA-API FFmpeg decoder
    [RDD 14297: MediaPDecoder #1]: D/PlatformDecoderModule FFVPX:   libva library or symbols are missing.
    [RDD 14297: MediaPDecoder #1]: D/PlatformDecoderModule FFVPX: Initialising FFmpeg decoder
    [RDD 14297: MediaPDecoder #1]: D/PlatformDecoderModule FFVPX:   codec vp9 : Google VP9
    [RDD 14297: MediaPDecoder #1]: D/PlatformDecoderModule FFVPX: Set get_buffer2 for customized buffer allocation
    [RDD 14297: MediaPDecoder #1]: D/PlatformDecoderModule FFVPX:   FFmpeg decoder init successful.
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type video/vp9
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type video/vp9
    [Child 14158: MediaPDecoder #1]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type video/vp9
    [Child 14158: MediaPDecoder #1]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type video/vp9
    [RDD 14297: MediaSupervisor #1]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/vp9'
    [RDD 14297: MediaSupervisor #1]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/vp9'
    [RDD 14297: MediaSupervisor #1]: D/PlatformDecoderModule FFVPX: FFmpegVideoDecoder::FFmpegVideoDecoder MIME video/vp9 Codec ID 167
    [RDD 14297: MediaPDecoder #1]: D/PlatformDecoderModule FFVPX: Initialising VA-API FFmpeg decoder
    [RDD 14297: MediaPDecoder #1]: D/PlatformDecoderModule FFVPX:   libva library or symbols are missing.
    [RDD 14297: MediaPDecoder #1]: D/PlatformDecoderModule FFVPX: Initialising FFmpeg decoder
    [RDD 14297: MediaPDecoder #1]: D/PlatformDecoderModule FFVPX:   codec vp9 : Google VP9
    [RDD 14297: MediaPDecoder #1]: D/PlatformDecoderModule FFVPX: Set get_buffer2 for customized buffer allocation
    [RDD 14297: MediaPDecoder #1]: D/PlatformDecoderModule FFVPX:   FFmpeg decoder init successful.
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type video/vp9
    [Child 14158: Main Thread]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type video/vp9
    [Child 14158: MediaPDecoder #1]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type video/vp9
    [Child 14158: MediaPDecoder #1]: D/PlatformDecoderModule Sandbox RDD decoder supports requested type video/vp9
    [RDD 14297: MediaSupervisor #1]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/vp9'
    [RDD 14297: MediaSupervisor #1]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/vp9'
    [RDD 14297: MediaSupervisor #1]: D/PlatformDecoderModule FFVPX: FFmpegVideoDecoder::FFmpegVideoDecoder MIME video/vp9 
    
    

    From the actual vaapi.log I got a different output

    vaapi.log
         15980.819843049 [13948-13948] ../src/vabackend.c:1856       __vaDriverInit_1_0 Initialising NVIDIA VA-API Driver: 0x7fda38823200 31
         15980.819897096 [13948-13948] ../src/vabackend.c:1877       __vaDriverInit_1_0 Now have 0 (0 max) instances
         15980.824847722 [13948-13948] ../src/export-buf.c: 159       findGPUIndexFromFd Looking for DRM device index: 1
         15980.826487801 [13948-13948] ../src/export-buf.c: 172       findGPUIndexFromFd Found 4 EGL devices
         15980.826597693 [13948-13948] ../src/export-buf.c: 181       findGPUIndexFromFd Got EGL_CUDA_DEVICE_NV value '0' for EGLDevice 0
         15980.826607707 [13948-13948] ../src/export-buf.c: 187       findGPUIndexFromFd Found drmDeviceIndex: 1
         15980.826611870 [13948-13948] ../src/export-buf.c: 205       findGPUIndexFromFd Selecting EGLDevice 0
         15980.885712173 [13948-13948] ../src/export-buf.c: 258             initExporter Found format: AB24
         15980.885733572 [13948-13948] ../src/export-buf.c: 258             initExporter Found format: XB24
         15980.885737103 [13948-13948] ../src/export-buf.c: 258             initExporter Found format: R8  
         15980.885739310 [13948-13948] ../src/export-buf.c: 258             initExporter Found format: RG88
         15980.885741451 [13948-13948] ../src/export-buf.c: 258             initExporter Found format: R16 
         15980.885743579 [13948-13948] ../src/export-buf.c: 258             initExporter Found format: RG32
         15980.885745684 [13948-13948] ../src/export-buf.c: 258             initExporter Found format: GR32
         15980.885747730 [13948-13948] ../src/export-buf.c: 258             initExporter Found format: UYVY
         15980.885749792 [13948-13948] ../src/export-buf.c: 258             initExporter Found format: AR12
         15980.885752112 [13948-13948] ../src/export-buf.c: 258             initExporter Found format: AB12
         15980.885754166 [13948-13948] ../src/export-buf.c: 258             initExporter Found format: RA12
         15980.885756245 [13948-13948] ../src/export-buf.c: 258             initExporter Found format: BA12
         15980.885758424 [13948-13948] ../src/export-buf.c: 258             initExporter Found format: XR15
         15980.885760488 [13948-13948] ../src/export-buf.c: 258             initExporter Found format: XB15
         15980.885762591 [13948-13948] ../src/export-buf.c: 258             initExporter Found format: RX15
         15980.885764657 [13948-13948] ../src/export-buf.c: 258             initExporter Found format: BX15
         15980.885766711 [13948-13948] ../src/export-buf.c: 258             initExporter Found format: AR15
         15980.885768779 [13948-13948] ../src/export-buf.c: 258             initExporter Found format: AB15
         15980.885770879 [13948-13948] ../src/export-buf.c: 258             initExporter Found format: RA15
         15980.885772944 [13948-13948] ../src/export-buf.c: 258             initExporter Found format: BA15
         15980.885775019 [13948-13948] ../src/export-buf.c: 258             initExporter Found format: AB4H
         15980.885777070 [13948-13948] ../src/export-buf.c: 258             initExporter Found format: XB4H
         15980.885779100 [13948-13948] ../src/export-buf.c: 258             initExporter Found format: AR24
         15980.885781178 [13948-13948] ../src/export-buf.c: 258             initExporter Found format: AS24
         15980.885783213 [13948-13948] ../src/export-buf.c: 258             initExporter Found format: XS24
         15980.885785272 [13948-13948] ../src/export-buf.c: 258             initExporter Found format: XR24
         15980.887935752 [13948-13948] ../src/export-buf.c: 258             initExporter Found format: RGB8
         15980.887941152 [13948-13948] ../src/export-buf.c: 258             initExporter Found format: BGR8
         15980.887943947 [13948-13948] ../src/export-buf.c: 258             initExporter Found format: RG16
         15980.887946452 [13948-13948] ../src/export-buf.c: 258             initExporter Found format: BG16
         15980.887948944 [13948-13948] ../src/export-buf.c: 258             initExporter Found format: RG24
         15980.887951400 [13948-13948] ../src/export-buf.c: 258             initExporter Found format: BG24
         15980.887959406 [13948-13948] ../src/export-buf.c: 258             initExporter Found format: AR30
         15980.887962025 [13948-13948] ../src/export-buf.c: 258             initExporter Found format: RX24
         15980.887964406 [13948-13948] ../src/export-buf.c: 258             initExporter Found format: BX24
         15980.887966811 [13948-13948] ../src/export-buf.c: 258             initExporter Found format: RA24
         15980.887969093 [13948-13948] ../src/export-buf.c: 258             initExporter Found format: BA24
         15980.887971263 [13948-13948] ../src/export-buf.c: 258             initExporter Found format: XR30
         15980.887973441 [13948-13948] ../src/export-buf.c: 258             initExporter Found format: XB30
         15980.887975606 [13948-13948] ../src/export-buf.c: 258             initExporter Found format: RX30
         15980.887977802 [13948-13948] ../src/export-buf.c: 258             initExporter Found format: BX30
         15980.887980060 [13948-13948] ../src/export-buf.c: 258             initExporter Found format: RA30
         15980.887982326 [13948-13948] ../src/export-buf.c: 258             initExporter Found format: BA30
         15980.887984508 [13948-13948] ../src/export-buf.c: 258             initExporter Found format: R101
         15980.887986887 [13948-13948] ../src/export-buf.c: 258             initExporter Found format: R100
         15980.887989200 [13948-13948] ../src/export-buf.c: 258             initExporter Found format: AB30
         15980.887991546 [13948-13948] ../src/export-buf.c: 258             initExporter Found format: B101
         15980.887993868 [13948-13948] ../src/export-buf.c: 258             initExporter Found format: B100
         15980.887996137 [13948-13948] ../src/export-buf.c: 258             initExporter Found format: YU12
         15980.887998600 [13948-13948] ../src/export-buf.c: 258             initExporter Found format: NV12
         15980.888001245 [13948-13948] ../src/export-buf.c: 258             initExporter Found format: NV21
         15980.888004258 [13948-13948] ../src/export-buf.c: 258             initExporter Found format: NV16
         15980.888007054 [13948-13948] ../src/export-buf.c: 258             initExporter Found format: NV24
         15980.888009711 [13948-13948] ../src/export-buf.c: 258             initExporter Found format: P010
         15980.888014766 [13948-13948] ../src/export-buf.c: 258             initExporter Found format: P210
         15980.888017165 [13948-13948] ../src/export-buf.c: 258             initExporter Found format: P012
         15980.888019506 [13948-13948] ../src/export-buf.c: 258             initExporter Found format: HD01
         15980.888021734 [13948-13948] ../src/export-buf.c: 258             initExporter Found format: UHD0
         15980.888024280 [13948-13948] ../src/export-buf.c: 267             initExporter Driver supports 16-bit surfaces
         15980.888026900 [13948-13948] ../src/export-buf.c:  99                reconnect Reconnecting to stream
         15980.888089490 [13948-13948] ../src/export-buf.c: 118                reconnect cuda error 'operation not supported' (801)
    
    
    

    It works in case a revert the update. (side note, choosing media.rdd-ffvpx.enabled=true/false makes no difference)

    OS: CachyOS x86_64 Kernel: 6.0.8-1-cachyos-pds DE: Plasma 5.26.3 GPU: NVIDIA GeForce RTX 2060 Mobile GPU: Intel CoffeeLake-H GT2 [UHD Graphics 630]

    opened by qumaciel 4
  • Unable to set `nvidia-drm.modeset=1` using Optimus for hybrid GPU hardware (NVIDIA Prime Offload)

    Unable to set `nvidia-drm.modeset=1` using Optimus for hybrid GPU hardware (NVIDIA Prime Offload)

    I'm unable to use this driver because configuring the nvidia-drm kernel module to use modeset crashes my system. Had to manually recover the system via a live USB. Is there a way to get this working on NVIDIA Optimus systems that use both GPUs at once?

    opened by Max-Rodriguez 1
  • Need to disable media.rdd-ffvpx.enabled to decode av1 in Firefox 106 and 107

    Need to disable media.rdd-ffvpx.enabled to decode av1 in Firefox 106 and 107

    This isn't a problem with this driver, but it seems relevant to us.

    I noticed that while I could play back other formats, I wasn't getting accelerated av1 so I took a look.

    [RDD 15307: MediaSupervisor #1]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/av1'
    [RDD 15307: MediaSupervisor #1]: D/PlatformDecoderModule FFmpeg decoder supports requested type 'video/av1'
    [RDD 15307: MediaSupervisor #1]: D/PlatformDecoderModule FFVPX: FFmpegVideoDecoder::FFmpegVideoDecoder MIME video/av1 Codec ID 226
    [RDD 15307: MediaPDecoder #1]: D/PlatformDecoderModule FFVPX: Initialising VA-API FFmpeg decoder
    [RDD 15307: MediaPDecoder #1]: D/PlatformDecoderModule FFVPX:   codec av1 : Alliance for Open Media AV1
    [RDD 15307: MediaPDecoder #1]: D/Dmabuf Using DRM device /dev/dri/renderD128
    libva info: VA-API version 1.15.0
    libva info: User environment variable requested driver 'nvidia'
    libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so
    libva info: Found init function __vaDriverInit_1_0
          1882.908233921 [15307-15543] ../src/vabackend.c:1856       __vaDriverInit_1_0 Initialising NVIDIA VA-API Driver: 0x7f06c8523c40 31
          1882.908239626 [15307-15543] ../src/vabackend.c:1877       __vaDriverInit_1_0 Now have 0 (0 max) instances
          1882.910883063 [15307-15543] ../src/export-buf.c: 159       findGPUIndexFromFd Looking for DRM device index: 0
          1882.911825332 [15307-15543] ../src/export-buf.c: 172       findGPUIndexFromFd Found 4 EGL devices
          1882.911920084 [15307-15543] ../src/export-buf.c: 181       findGPUIndexFromFd Got EGL_CUDA_DEVICE_NV value '0' for EGLDevice 0
          1882.911922754 [15307-15543] ../src/export-buf.c: 187       findGPUIndexFromFd Found drmDeviceIndex: 0
          1882.911925815 [15307-15543] ../src/export-buf.c: 205       findGPUIndexFromFd Selecting EGLDevice 0
          1882.962963960 [15307-15543] ../src/export-buf.c: 267             initExporter Driver supports 16-bit surfaces
          1882.962965434 [15307-15543] ../src/export-buf.c:  99                reconnect Reconnecting to stream
    libva info: va_openDriver() returns 0
          1882.963041921 [15307-15543] ../src/vabackend.c:1191      nvQueryImageFormats In nvQueryImageFormats
    [AVHWDeviceContext @ 0x7f06bcc836c0] Format 0x3231564e -> nv12.
    [AVHWDeviceContext @ 0x7f06bcc836c0] Format 0x30313050 -> p010le.
    [AVHWDeviceContext @ 0x7f06bcc836c0] Format 0x32313050 -> unknown.
    [AVHWDeviceContext @ 0x7f06bcc836c0] VAAPI driver: VA-API NVDEC driver.
    [AVHWDeviceContext @ 0x7f06bcc836c0] Driver not found in known nonstandard list, using standard behaviour.
    [av1 @ 0x7f06c855c800] Error parsing decoder bitstream filters 'av1_frame_split': Bitstream filter not found
          1882.963074442 [15307-15543] ../src/vabackend.c:1833              nvTerminate Terminating 0x7f06c8523c40
          1882.963076556 [15307-15543] ../src/export-buf.c:  65          releaseExporter Releasing exporter, 0 outstanding frames
          1882.964134289 [15307-15543] ../src/export-buf.c:  82          releaseExporter Done releasing frames
          1882.984254677 [15307-15543] ../src/vabackend.c:1847              nvTerminate Now have 0 (0 max) instances
    [RDD 15307: MediaPDecoder #1]: D/PlatformDecoderModule FFVPX:   Couldn't initialise VA-API decoder
    [RDD 15307: MediaPDecoder #1]: D/PlatformDecoderModule FFVPX: Initialising FFmpeg decoder
    [RDD 15307: MediaPDecoder #1]: D/PlatformDecoderModule FFVPX:   codec libdav1d : dav1d AV1 decoder by VideoLAN
    [RDD 15307: MediaPDecoder #1]: D/PlatformDecoderModule FFVPX: Set get_buffer2 for customized buffer allocation
    [libdav1d @ 0x7f06b01c7c00] libdav1d cd5e415270285a58f48c1e9ec1a2dd024b9acf9f
    [libdav1d @ 0x7f06b01c7c00] Using 8 threads, 0 max_frame_delay
    [RDD 15307: MediaPDecoder #1]: D/PlatformDecoderModule FFVPX:   FFmpeg decoder init successful.
    

    What we see is that the av1dec decoder that the hwaccel plugs into fails to initialise, so it falls back to libdav1d software decoding.

    But why is it using ffvpx? I have rdd-ffmpeg enabled, but it appears to be preferring ffvpx regardless. I found media.rdd-ffvpx.enabled and disabled it. This made it use my system ffmpeg and then the hw decoding goes just fine. Is this something new in Firefox 106? Do we need to document this?

    firefox-issue 
    opened by philipl 3
  • Content process occasionally crashes

    Content process occasionally crashes

    Occasionally, I get a crash report that says firefox killed by SIGSEGV for the following commandline:

    /usr/lib64/firefox/firefox -contentproc -parentBuildID 20220830142553 -prefsLen 39613 -prefMapSize 243035 -appDir /usr/lib64/firefox/browser 30 true rdd
    

    I've attached a GDB backtrace, but wasn't sure what information to include.

    #0  0x00007f98ed533fec in __run_exit_handlers
        (status=1, listp=0x7f98ed6eb838 <__exit_funcs>, [email protected]=true, [email protected]=true) at exit.c:71
    #1  0x00007f98ed534200 in __GI_exit (status=<optimized out>) at exit.c:143
    #2  0x00007f98cde86c44 in checkCudaErrors
        (err=2, file=0x7f98cde8f3cc "../src/vabackend.c", function=0x7f98cde8fe00 <__func__.14> "nvQuerySurfaceAttributes", line=1508)
        at ../src/vabackend.c:138
    #3  0x00007f98cde8a180 in nvQuerySurfaceAttributes (ctx=0x7f98aecd0100, config=20, attrib_list=0x7f97eac61900, num_attribs=0x7f98ae4fe084)
        at ../src/vabackend.c:1508
    #4  0x00007f98d2ecd97a in vaQuerySurfaceAttributes (dpy=0x7f98c0c0e760, config=20, attrib_list=0x7f97eac61900, num_attribs=0x7f98ae4fe084)
        at /usr/src/debug/libva-2.14.0-1.fc36.x86_64/va/va.c:1152
    #5  0x00007f98d2a8278a in vaapi_decode_find_best_format (device=<optimized out>, frames=0x7f97eac61c00, config_id=20, avctx=0x7f988134e100)
        at /usr/src/debug/firefox-104.0.1-1.fc36.x86_64/media/ffvpx/libavcodec/vaapi_decode.c:305
    #6  vaapi_decode_make_config
        ([email protected]=0x7f988134e100, device_ref=<optimized out>, [email protected]=0x7f97eac61580, frames_ref=0x7f97eae7e2c0)
        at /usr/src/debug/firefox-104.0.1-1.fc36.x86_64/media/ffvpx/libavcodec/vaapi_decode.c:570
    #7  0x00007f98d2a83135 in ff_vaapi_decode_init (avctx=0x7f988134e100)
        at /usr/src/debug/firefox-104.0.1-1.fc36.x86_64/media/ffvpx/libavcodec/vaapi_decode.c:692
    #8  0x00007f98d2a634bf in hwaccel_init (hw_config=0x7f98d2d84600 <__compound_literal.0>, avctx=0x7f988134e100)
        at /usr/src/debug/firefox-104.0.1-1.fc36.x86_64/media/ffvpx/libavcodec/decode.c:1300
    #9  ff_get_format (avctx=0x7f988134e100, fmt=<optimized out>) at /usr/src/debug/firefox-104.0.1-1.fc36.x86_64/media/ffvpx/libavcodec/decode.c:1440
    #10 0x00007f98d2a99ebf in update_size (h=713, w=956, avctx=0x7f988134e100)
        at /usr/src/debug/firefox-104.0.1-1.fc36.x86_64/media/ffvpx/libavcodec/vp9.c:244
    #11 decode_frame_header
        ([email protected]=0x7f988134e100, [email protected]=0x7f9891b1c000 "\202I\203B", [email protected]=43247, [email protected]=0x7f98ae4fe324)
        at /usr/src/debug/firefox-104.0.1-1.fc36.x86_64/media/ffvpx/libavcodec/vp9.c:770
    #12 0x00007f98d2a9c0ee in vp9_decode_frame (avctx=0x7f988134e100, frame=0x7f987bc4fc00, got_frame=0x7f98ae4fe390, pkt=0x7f987ba70980)
        at /usr/src/debug/firefox-104.0.1-1.fc36.x86_64/media/ffvpx/libavcodec/vp9.c:1565
    #13 0x00007f98d2a61cae in decode_simple_internal (discarded_samples=<synthetic pointer>, frame=<optimized out>, avctx=0x7f988134e100)
        at /usr/src/debug/firefox-104.0.1-1.fc36.x86_64/media/ffvpx/libavcodec/decode.c:329
    #14 decode_simple_receive_frame (frame=<optimized out>, avctx=<optimized out>)
        at /usr/src/debug/firefox-104.0.1-1.fc36.x86_64/media/ffvpx/libavcodec/decode.c:530
    #15 decode_receive_frame_internal ([email protected]=0x7f988134e100, frame=0x7f987bc4fc00)
        at /usr/src/debug/firefox-104.0.1-1.fc36.x86_64/media/ffvpx/libavcodec/decode.c:550
    #16 0x00007f98d2a62604 in avcodec_send_packet (avctx=0x7f988134e100, avpkt=0x7f98ae4fe500)
        at /usr/src/debug/firefox-104.0.1-1.fc36.x86_64/media/ffvpx/libavcodec/decode.c:617
    #17 0x00007f98e250b8da in mozilla::FFmpegVideoDecoder<46465650>::DoDecode(mozilla::MediaRawData*, unsigned char*, int, bool*, nsTArray<RefPtr<mozilla::MediaData> >&) (this=0x7f98aee67400, aSample=0x7f98865e7380, aData=0x7f987bc69000 "\202I\203B", aSize=43247, aGotFrame=0x7f98ae4fe787, aResults=...)
        at /usr/src/debug/firefox-104.0.1-1.fc36.x86_64/dom/media/platforms/ffmpeg/FFmpegVideoDecoder.cpp:834
    #18 0x00007f98e250713f in mozilla::FFmpegDataDecoder<46465650>::DoDecode(mozilla::MediaRawData*, bool*, nsTArray<RefPtr<mozilla::MediaData> >&)
        (this=0x7f98aee67400, [email protected]=0x7f98865e7380, [email protected]=0x7f98ae4fe787, aResults=...)
        at /usr/src/debug/firefox-104.0.1-1.fc36.x86_64/dom/media/platforms/ffmpeg/FFmpegDataDecoder.cpp:193
    #19 0x00007f98e250b062 in mozilla::FFmpegDataDecoder<46465650>::ProcessDecode(mozilla::MediaRawData*) (this=<optimized out>, aSample=0x7f98865e7380)
        at /usr/src/debug/firefox-104.0.1-1.fc36.x86_64/dom/media/platforms/ffmpeg/FFmpegDataDecoder.cpp:147
    #20 0x00007f98e403703d in mozilla::detail::RunnableMethodArguments<mozilla::MediaRawData*>::applyImpl<mozilla::FFmpegDataDecoder<46465650>, RefPtr<mozilla::MozPromise<nsTArray<RefPtr<mozilla::MediaData> >, mozilla::MediaResult, true> > (mozilla::FFmpegDataDecoder<46465650>::*)(mozilla::MediaRawData*), StoreRefPtrPassByPtr<mozilla::MediaRawData>, 0ul>(mozilla::FFmpegDataDecoder<46465650>*, RefPtr<mozilla::MozPromise<nsTArray<RefPtr<mozilla::MediaData> >, mozilla::MediaResult, true> > (mozilla::FFmpegDataDecoder<46465650>::*)(mozilla::MediaRawData*), mozilla::Tuple<StoreRefPtrPassByPtr<mozilla::MediaRawData> >&, std::integer_sequence<unsigned long, 0ul>) (args=<optimized out>, m=<optimized out>, o=<optimized out>)
        at /usr/src/debug/firefox-104.0.1-1.fc36.x86_64/objdir/dist/include/nsThreadUtils.h:1147
    #21 mozilla::detail::RunnableMethodArguments<mozilla::MediaRawData*>::apply<mozilla::FFmpegDataDecoder<46465650>, RefPtr<mozilla::MozPromise<nsTArray<RefPtr<mozilla::MediaData> >, mozilla::MediaResult, true> > (mozilla::FFmpegDataDecoder<46465650>::*)(mozilla::MediaRawData*)>(mozilla::FFmpegDataDecoder<46465650>*, RefPtr<mozilla::MozPromise<nsTArray<RefPtr<mozilla::MediaData> >, mozilla::MediaResult, true> > (mozilla::FFmpegDataDecoder<46465650>::*)(mozilla::MediaRawData*)) (m=<optimized out>, o=<optimized out>, this=<optimized out>)
        at /usr/src/debug/firefox-104.0.1-1.fc36.x86_64/objdir/dist/include/nsThreadUtils.h:1153
    #22 mozilla::detail::MethodCall<mozilla::MozPromise<nsTArray<RefPtr<mozilla::MediaData> >, mozilla::MediaResult, true>, RefPtr<mozilla::MozPromise<nsTArray<RefPtr<mozilla::MediaData> >, mozilla::MediaResult, true> > (mozilla::FFmpegDataDecoder<46465650>::*)(mozilla::MediaRawData*), mozilla::FFmpegDataDecoder<46465650>, mozilla::MediaRawData*>::Invoke() (this=<optimized out>)
        at /usr/src/debug/firefox-104.0.1-1.fc36.x86_64/objdir/dist/include/mozilla/MozPromise.h:1518
    #23 mozilla::detail::ProxyRunnable<mozilla::MozPromise<nsTArray<RefPtr<mozilla::MediaData> >, mozilla::MediaResult, true>, RefPtr<mozilla::MozPromise<nsTArray<RefPtr<mozilla::MediaData> >, mozilla::MediaResult, true> > (mozilla::FFmpegDataDecoder<46465650>::*)(mozilla::MediaRawData*), mozilla::FFmpegDataDecoder<46465650>, mozilla::MediaRawData*>::Run() (this=0x7f9811dd0fd0)
        at /usr/src/debug/firefox-104.0.1-1.fc36.x86_64/objdir/dist/include/mozilla/MozPromise.h:1538
    #24 0x00007f98e38722c7 in mozilla::TaskQueue::Runner::Run() (this=0x7f9811eaee60)
        at /usr/src/debug/firefox-104.0.1-1.fc36.x86_64/xpcom/threads/TaskQueue.cpp:259
    #25 0x00007f98e3871faf in nsThreadPool::Run() (this=0x7f98aecd1130) at /usr/src/debug/firefox-104.0.1-1.fc36.x86_64/xpcom/threads/nsThreadPool.cpp:310
    #26 0x00007f98e3779c7c in nsThread::ProcessNextEvent(bool, bool*) (this=0x7f98c18f3100, aMayWait=<optimized out>, aResult=0x7f98ae4fea57)
        at /usr/src/debug/firefox-104.0.1-1.fc36.x86_64/objdir/dist/include/nsCOMPtr.h:851
    #27 0x00007f98e3779a13 in NS_ProcessNextEvent(nsIThread*, bool) (aThread=<optimized out>, aMayWait=<optimized out>)
        at /usr/src/debug/firefox-104.0.1-1.fc36.x86_64/xpcom/threads/nsThreadUtils.cpp:465
    #28 0x00007f98e3a4cfee in mozilla::ipc::MessagePumpForNonMainThreads::Run(base::MessagePump::Delegate*)
        (this=0x7f98ada879c0, aDelegate=0x7f98ae4feb00) at /usr/src/debug/firefox-104.0.1-1.fc36.x86_64/ipc/glue/MessagePump.cpp:300
    #29 0x00007f98e3a26eeb in MessageLoop::RunInternal() (this=<optimized out>)
        at /usr/src/debug/firefox-104.0.1-1.fc36.x86_64/objdir/dist/include/mozilla/RefPtr.h:280
    #30 MessageLoop::RunHandler() (this=<optimized out>) at /usr/src/debug/firefox-104.0.1-1.fc36.x86_64/ipc/chromium/src/base/message_loop.cc:373
    #31 MessageLoop::Run() (this=<optimized out>) at /usr/src/debug/firefox-104.0.1-1.fc36.x86_64/ipc/chromium/src/base/message_loop.cc:355
    #32 0x00007f98e3871898 in nsThread::ThreadFunc(void*) (aArg=0x7f98ada4ab60)
        at /usr/src/debug/firefox-104.0.1-1.fc36.x86_64/xpcom/threads/nsThread.cpp:384
    #33 0x00007f98ed4b7413 in _pt_root ([email protected]=0x7f98adc2c160) at ../../../../nspr/pr/src/pthreads/ptthread.c:201
    #34 0x0000564674b8bdf6 in set_alt_signal_stack_and_start(PthreadCreateParams*) (params=<optimized out>)
        at /usr/src/debug/firefox-104.0.1-1.fc36.x86_64/toolkit/crashreporter/pthread_create_interposer/pthread_create_interposer.cpp:80
    #35 0x00007f98ed57fe2d in start_thread (arg=<optimized out>) at pthread_create.c:442
    #36 0x00007f98ed6051b0 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
    

    Frame 2 looks interesting:

    #2  0x00007f98cde86c44 in checkCudaErrors (err=2, file=0x7f98cde8f3cc "../src/vabackend.c", 
        function=0x7f98cde8fe00 <__func__.14> "nvQuerySurfaceAttributes", line=1508) at ../src/vabackend.c:138
    138	        exit(EXIT_FAILURE);
    errStr = 0x7f98cca8dd5d "out of memory"
    ``
    
    However, I don't think I ran out of video memory or RAM. It did not kill the entire browser, only the content process and the tab still seemed to play video fine. I think it's killed the entire browser before, but I didn't log the error when that happened.
    opened by remyabel2 1
  • Cannot get Kodi to play along with it

    Cannot get Kodi to play along with it

    I use the driver with Firefox with no issues. With Kodi, which as far as I can read in the issues should also work, all I get is audio and a stalled picture which is updated every few seconds.

    Here are some logs.

    This is all on an Optimus laptop (Dell XPS 9570) with Arch linux and only the nvidia driver, so everything is running on the nvidia card.

    As a workaround I can use Kodi by forcing VDPAU, setting LIBVA_DRIVER_NAME=mesa. I miss hevc though.

    opened by jmarcet 11
Releases(v0.0.7)
  • v0.0.7(Oct 13, 2022)

    What's Changed

    • Fix for test.sh by @multiflexi in https://github.com/elFarto/nvidia-vaapi-driver/pull/94
    • meson: Make gst-codecparser optional by @philipl in https://github.com/elFarto/nvidia-vaapi-driver/pull/100
    • Added missing initialisation calls for mutexattr to fix random crash
    • Check if surface has been used in a different context before use

    New Contributors

    • @multiflexi made their first contribution in https://github.com/elFarto/nvidia-vaapi-driver/pull/94

    Full Changelog: https://github.com/elFarto/nvidia-vaapi-driver/compare/v0.0.6...v0.0.7

    Source code(tar.gz)
    Source code(zip)
  • v0.0.6(May 25, 2022)

    What's Changed

    • Multi-threaded decode. In previous versions the final steps of decoding a frame would only be started when vaExportSurfaceHandle was called. This wasn't correct, and only worked because ffmpeg based applications (such as Firefox) call it every frame, however that isn't required by VA-API. This change moves the final steps to a separate thread that begins when vaEndPicture is called.
    • Reworked GPU selection. We now use the the passed-in DRM fd to attempt to select the correct GPU to use. This can be overridden with the NVD_GPU environment variable which you can set to the id of the GPU you want to use. You can use the nvidia-smi tool to find the id.
    • Added option to limit the maximum instances per process using the NVD_MAX_INSTANCES environment variable. This setting limits how many concurrent contexts are allow, which can limit the amount of memory that's used. Useful for GPUs with limited VRAM on video heavy websites.
    • Added missing libva dependency to build, and set the minimum required version to 2.8.0.
    • Set EGL_SUPPORT_REUSE_NV to false when creating the EGLStream. This prevents NVIDIA's EGL library from buffering one of the frames, which could lead to the driver leaking that frame.
    • Update README.md to remove mention of FF96 being in beta. by @AdamSzopa in https://github.com/elFarto/nvidia-vaapi-driver/pull/55
    • meson: Add a wrap file for ff-nvcodec-headers by @nirbheek in https://github.com/elFarto/nvidia-vaapi-driver/pull/59
    • Add alignment and remove static by @pobrn in https://github.com/elFarto/nvidia-vaapi-driver/pull/67
    • vabackend: fix alignment of codecs by @pobrn in https://github.com/elFarto/nvidia-vaapi-driver/pull/72
    • vabackend: retain section from linker garbage collection by @pobrn in https://github.com/elFarto/nvidia-vaapi-driver/pull/81

    New Contributors

    • @AdamSzopa made their first contribution in https://github.com/elFarto/nvidia-vaapi-driver/pull/55
    • @nirbheek made their first contribution in https://github.com/elFarto/nvidia-vaapi-driver/pull/59

    Full Changelog: https://github.com/elFarto/nvidia-vaapi-driver/compare/v0.0.5...v0.0.6

    Source code(tar.gz)
    Source code(zip)
  • v0.0.5(Feb 12, 2022)

    What's Changed

    • AV1 support! This release adds support for decoding AV1 videos on 30-series NVIDIA cards. For use in Firefox, version 98+ is required. Thanks to @johnjohnlin, @Draghtnod, @struq, @philipl and @GageBerz for all the testing they did.
    • Reworked modeset check to ensure we always use the DRI render node, rather than the master node. Opening the master node causes a message to be logged to dmesg, which we want to avoid.

    Full Changelog: https://github.com/elFarto/nvidia-vaapi-driver/compare/v0.0.4...v0.0.5

    Source code(tar.gz)
    Source code(zip)
  • v0.0.4(Jan 31, 2022)

    What's Changed

    • Reworked surface export process. The previous surface export method (the key piece of code that made this library possible) only used two EGLImages to export finished frames to the client. Unfortunately this led to some weird artifacts where the wrong frame would end up in the EGLImage before the client used it. The export process has now been changed to have as many EGLImages as the client needs. This uses more memory, but fixes all the know visual glitches and has slightly less per-frame overhead.
    • Better clean-up on terminate. Some EGLImages were being left in memory causing a memory leak.
    • Improved surface allocation. Some clients don't provide a list of surfaces on context creation, so we need to take a guess at how many decode surfaces we need.
    • Improved device checking. Check the DRM render node if available instead of the master node, as that can generate an error message in the kernel log.
    • Added check for 16-bit surface support. We now check the driver to see if it has 16-bit surface support. Hopefully this will be added in a future NVIDIA driver version.

    Full Changelog: https://github.com/elFarto/nvidia-vaapi-driver/compare/v0.0.3...v0.0.4

    Source code(tar.gz)
    Source code(zip)
  • v0.0.3(Jan 22, 2022)

    What's Changed

    • Added av1 meson option to enable AV1 support at build time. The codec is still not functional, this is purely to allow testing.
    • Fixed VP8 support, this was broken due to lack of support on my 1060. Thanks to @imatimba for their testing!
    • Added a check for the Firefox sandbox on start-up, and fail to initalise if it's detected.
    • Added a check for the nvidia_drm modeset parameter on start-up, and fail to initalise if it's set to 0.

    Full Changelog: https://github.com/elFarto/nvidia-vaapi-driver/compare/v0.0.2...v0.0.3

    Source code(tar.gz)
    Source code(zip)
  • v0.0.2(Jan 14, 2022)

    What's Changed

    • MIT license, Proposed by @KAMiKAZOW in https://github.com/elFarto/nvidia-vaapi-driver/pull/10
    • Fix accumulating memory leaks by @anas2660 in https://github.com/elFarto/nvidia-vaapi-driver/pull/16
    • Fixed build issues on Arch by @dawidgarus in https://github.com/elFarto/nvidia-vaapi-driver/pull/9
    • General code cleanup by @pobrn in https://github.com/elFarto/nvidia-vaapi-driver/pull/19
    • Introduce use of nv-codec-headers by @philipl in https://github.com/elFarto/nvidia-vaapi-driver/pull/21
    • Fixed problems with EGL initialisation occasionally getting the wrong display
    • Fully removed AV1 from being advertised as supported
    • General bug fixes and logging improvements
    • Reworked the settings and environment variables needed to run in Firefox. We now ensure the driver is run in the RDD process, and disable that sandbox, instead of disabling the main content sandbox.
    • Fixed issue with NVIDIA 510 beta driver, #26
    • Fixed issue with Kodi using slightly different sizes for surfaces, #27
    • Fixed issue with Kodi attempting to use unimplemented codec, #28

    New Contributors

    • @KAMiKAZOW made their first contribution in https://github.com/elFarto/nvidia-vaapi-driver/pull/10
    • @anas2660 made their first contribution in https://github.com/elFarto/nvidia-vaapi-driver/pull/16
    • @dawidgarus made their first contribution in https://github.com/elFarto/nvidia-vaapi-driver/pull/9
    • @pobrn made their first contribution in https://github.com/elFarto/nvidia-vaapi-driver/pull/19
    • @philipl made their first contribution in https://github.com/elFarto/nvidia-vaapi-driver/pull/21

    Thank you to all the people who've contributed code and bug reports, they've help tremendously!

    Full Changelog: https://github.com/elFarto/nvidia-vaapi-driver/compare/v0.0.1...v0.0.2

    Source code(tar.gz)
    Source code(zip)
  • v0.0.1(Jan 3, 2022)

Owner
Stephen
Stephen
ResNet Implementation, Training, and Inference Using LibTorch C++ API

LibTorch C++ ResNet CIFAR Example Introduction ResNet implementation, training, and inference using LibTorch C++ API. Because there is no native imple

Lei Mao 23 Oct 29, 2022
Training and Evaluating Facial Classification Keras Models using the Tensorflow C API Implemented into a C++ Codebase.

CFace Training and Evaluating Facial Classification Keras Models using the Tensorflow C API Implemented into a C++ Codebase. Dependancies Tensorflow 2

null 7 Oct 18, 2022
Implement yolov5 with Tensorrt C++ api, and integrate batchedNMSPlugin. A Python wrapper is also provided.

yolov5 Original codes from tensorrtx. I modified the yololayer and integrated batchedNMSPlugin. A yolov5s.wts is provided for fast demo. How to genera

weiwei zhou 45 Oct 21, 2022
cudnn_frontend provides a c++ wrapper for the cudnn backend API and samples on how to use it

cuDNN Frontend API Introduction The cuDNN Frontend API is a C++ header-only library that demonstrates how to use the cuDNN C backend API. The cuDNN C

NVIDIA Corporation 122 Nov 20, 2022
Deep Learning API and Server in C++11 support for Caffe, Caffe2, PyTorch,TensorRT, Dlib, NCNN, Tensorflow, XGBoost and TSNE

Open Source Deep Learning Server & API DeepDetect (https://www.deepdetect.com/) is a machine learning API and server written in C++11. It makes state

JoliBrain 2.4k Nov 28, 2022
An unified library for fitting primitives from 3D point cloud data with both C++&Python API.

PrimitivesFittingLib An unified library for fitting multiple primitives from 3D point cloud data with both C++&Python API. The supported primitives ty

Yueci Deng 10 Jun 30, 2022
Header-only library for using Keras models in C++.

frugally-deep Use Keras models in C++ with ease Table of contents Introduction Usage Performance Requirements and Installation FAQ Introduction Would

Tobias Hermann 917 Nov 29, 2022
GPU Cloth TOP in TouchDesigner using CUDA-enabled NVIDIA Flex

This project demonstrates how to use NVIDIA FleX for GPU cloth simulation in a TouchDesigner Custom Operator. It also shows how to render dynamic meshes from the texture data using custom PBR GLSL material shaders inside TouchDesigner.

Vinícius Ginja 37 Jul 27, 2022
ICRA 2021 - Robust Place Recognition using an Imaging Lidar

Robust Place Recognition using an Imaging Lidar A place recognition package using high-resolution imaging lidar. For best performance, a lidar equippe

Tixiao Shan 290 Nov 14, 2022
Using PLT trampolines to provide a BLAS and LAPACK demuxing library.

libblastrampoline All problems in computer science can be solved by another level of indirection Using PLT trampolines to provide a BLAS and LAPACK de

Elliot Saba 52 Oct 17, 2022
A C library for product recommendations/suggestions using collaborative filtering (CF)

Recommender A C library for product recommendations/suggestions using collaborative filtering (CF). Recommender analyzes the feedback of some users (i

Ghassen Hamrouni 251 Nov 17, 2022
An open source machine learning library for performing regression tasks using RVM technique.

Introduction neonrvm is an open source machine learning library for performing regression tasks using RVM technique. It is written in C programming la

Siavash Eliasi 33 May 31, 2022
Spying on Microcontrollers using Current Sensing and embedded TinyML models

Welcome to CurrentSense-TinyML CurrentSense-TinyML is all about detecting microcontroller behaviour with current sensing and TinyML. Basically we are

Santander Security Research 71 Sep 17, 2022
Raspberry Pi guitar pedal using neural networks to emulate real amps and pedals.

NeuralPi NeuralPi is a guitar pedal using neural networks to emulate real amps and pedals on a Raspberry Pi 4. The NeuralPi software is a VST3 plugin

Keith Bloemer 851 Nov 15, 2022
vs2015上使用tensorRT加速yolov5推理(Using tensorrt to accelerate yolov5 reasoning on vs2015)

1、安装环境 CUDA10.2 TensorRT7.2 OpenCV3.4(工程中已给出,不需安装) vs2015 下载相关工程:https://github.com/wang-xinyu/tensorrtx.git 2、生成yolov5s.wts文件 在生成yolov5s.wts前,首先需要下载模

null 16 Apr 19, 2022
License plate parsing using Darknet and YOLO

DarkPlate Note that DarkPlate by itself is not a complete software project. The intended purpose was to create a simple project showing how to use Dar

Stéphane Charette 34 Oct 27, 2022
Super Mario Remake using C++, SFML, and Image Processing which was a project for Structure Programming Course, 1st Year

Super Mario Remake We use : C++ in OOP concepts SFML for game animations and sound effects. Image processing (Tensorflow and openCV) to add additional

Omar Elshopky 4 Sep 28, 2022
This is a small example project, that showcases the possibility of using a surrogate model to estimate the drag coefficient of arbitrary triangles.

flowAroundTriangles This is a small example project, that showcases the possibility of using a surrogate model to estimate the drag coefficient of arb

null 6 Sep 16, 2022