nvidia-vaapi-driver icon indicating copy to clipboard operation
nvidia-vaapi-driver copied to clipboard

A lot of videos (temporarily) freeze at start while the audio is playing correctly

Open Swift42 opened this issue 8 months ago • 9 comments

When I scroll through a site with auto-playing AV1 videos (e.g. 9Gag), I have a strange effect:

Around 50% of all videos have a frozen image at the start, while the audio is playing correctly. Then, after 5 to 10 seconds, the video suddenly kicks in and the video plays normally till the end. And it's not consistent: Sometimes e.g. video A plays correctly and video B has the freeze effect. Then after a page reload video A freezes and video B plays correctly. When I disable the hardware decoding, all is running normally (no freeze).

I'm using v0.0.13 with Firefox 137.0.1 and a RTX 3050 on Linux Mint 22.1

May have nothing to do with it, but Firefox outputs this a lot:

src/gbm_drv_common.c:130: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 943212370

Swift42 avatar Apr 17 '25 00:04 Swift42

Can you grab the log with NVD_LOG=1 set?

elFarto avatar Apr 19 '25 18:04 elFarto

Can you grab the log with NVD_LOG=1 set?

I'm getting the same error on youtube, RTX 3080ti, same driver and firefox versions, but I don't have any videos freezing.

Log from hovering a youtube thumbnail
libva info: VA-API version 1.22.0
libva info: User environment variable requested driver 'nvidia'
libva info: Trying to open /run/opengl-driver/lib/dri/nvidia_drv_video.so
libva info: Found init function __vaDriverInit_1_0
      2770.105508305 [81062-81097] ../src/vabackend.c:2187       __vaDriverInit_1_0 Initialising NVIDIA VA-API Driver: 31
      2770.105511756 [81062-81097] ../src/vabackend.c:2196       __vaDriverInit_1_0 Now have 0 (0 max) instances
      2770.105513645 [81062-81097] ../src/vabackend.c:2222       __vaDriverInit_1_0 Selecting Direct backend
      2770.112046401 [81062-81097] ../src/direct/nv-driver.c: 295            init_nvdriver Initing nvdriver...
      2770.112062985 [81062-81097] ../src/direct/nv-driver.c: 313            init_nvdriver NVIDIA kernel driver version: 565.77, major version: 565, minor version: 77
      2770.112066218 [81062-81097] ../src/direct/nv-driver.c: 320            init_nvdriver Got dev info: 100 1 2 6
libva info: va_openDriver() returns 0
      2770.201355104 [81062-81097] ../src/vabackend.c:1443      nvQueryImageFormats In nvQueryImageFormats
      2770.326328540 [81062-81097] ../src/vabackend.c: 672           nvCreateConfig got profile: 6 with 0 attributes
      2770.326340902 [81062-81097] ../src/vabackend.c:1799 nvQuerySurfaceAttributes with 4 (8) (nil) 0
      2770.326342679 [81062-81097] ../src/vabackend.c:1799 nvQuerySurfaceAttributes with 4 (8) 0x7f2033b31940 8
      2770.336197055 [81062-81097] ../src/vabackend.c:1866 nvQuerySurfaceAttributes Returning constraints: width: 48 - 4096, height: 16 - 4096
      2770.336211088 [81062-81097] ../src/vabackend.c: 672           nvCreateConfig got profile: 7 with 0 attributes
      2770.336217031 [81062-81097] ../src/vabackend.c:1799 nvQuerySurfaceAttributes with 4 (8) (nil) 0
      2770.336218762 [81062-81097] ../src/vabackend.c:1799 nvQuerySurfaceAttributes with 4 (8) 0x7f2033b31940 8
      2770.344682032 [81062-81097] ../src/vabackend.c:1866 nvQuerySurfaceAttributes Returning constraints: width: 48 - 4096, height: 16 - 4096
      2770.344694701 [81062-81097] ../src/vabackend.c: 672           nvCreateConfig got profile: 13 with 0 attributes
      2770.344698339 [81062-81097] ../src/vabackend.c:1799 nvQuerySurfaceAttributes with 4 (8) (nil) 0
      2770.344699992 [81062-81097] ../src/vabackend.c:1799 nvQuerySurfaceAttributes with 4 (8) 0x7f2033b31940 8
      2770.351067430 [81062-81097] ../src/vabackend.c:1866 nvQuerySurfaceAttributes Returning constraints: width: 48 - 4096, height: 16 - 4096
      2770.351076798 [81062-81097] ../src/vabackend.c: 672           nvCreateConfig got profile: 17 with 0 attributes
      2770.351079992 [81062-81097] ../src/vabackend.c:1799 nvQuerySurfaceAttributes with 8 (8) (nil) 0
      2770.351081604 [81062-81097] ../src/vabackend.c:1799 nvQuerySurfaceAttributes with 8 (8) 0x7f2033b31940 8
      2770.359493557 [81062-81097] ../src/vabackend.c:1866 nvQuerySurfaceAttributes Returning constraints: width: 144 - 8192, height: 144 - 8192
      2770.359507782 [81062-81097] ../src/vabackend.c: 672           nvCreateConfig got profile: 14 with 0 attributes
      2770.359512202 [81062-81097] ../src/vabackend.c:1799 nvQuerySurfaceAttributes with 9 (8) (nil) 0
      2770.359513931 [81062-81097] ../src/vabackend.c:1799 nvQuerySurfaceAttributes with 9 (8) 0x7f2033b31940 8
      2770.367523983 [81062-81097] ../src/vabackend.c:1866 nvQuerySurfaceAttributes Returning constraints: width: 48 - 4096, height: 16 - 4096
      2770.367536587 [81062-81097] ../src/vabackend.c: 672           nvCreateConfig got profile: 19 with 0 attributes
      2770.367540757 [81062-81097] ../src/vabackend.c:1799 nvQuerySurfaceAttributes with 10 (8) (nil) 0
      2770.367542307 [81062-81097] ../src/vabackend.c:1799 nvQuerySurfaceAttributes with 10 (8) 0x7f2033b31940 8
      2770.377133958 [81062-81097] ../src/vabackend.c:1866 nvQuerySurfaceAttributes Returning constraints: width: 128 - 8192, height: 128 - 8192
      2770.377149675 [81062-81097] ../src/vabackend.c: 672           nvCreateConfig got profile: 32 with 0 attributes
      2770.377152174 [81062-81097] ../src/vabackend.c: 735           nvCreateConfig Unable to determine surface type for VP9/AV1 codec due to no RTFormat specified.
      2770.377156678 [81062-81097] ../src/vabackend.c:1799 nvQuerySurfaceAttributes with 11 (8) (nil) 0
      2770.377158374 [81062-81097] ../src/vabackend.c:1799 nvQuerySurfaceAttributes with 11 (8) 0x7f2033b31940 8
      2770.384459770 [81062-81097] ../src/vabackend.c:1866 nvQuerySurfaceAttributes Returning constraints: width: 128 - 8192, height: 128 - 8192
      2770.384474123 [81062-81097] ../src/vabackend.c: 672           nvCreateConfig got profile: 18 with 0 attributes
      2770.384478825 [81062-81097] ../src/vabackend.c:1799 nvQuerySurfaceAttributes with 8 (10) (nil) 0
      2770.384480516 [81062-81097] ../src/vabackend.c:1799 nvQuerySurfaceAttributes with 8 (10) 0x7f2033b31940 8
      2770.393884739 [81062-81097] ../src/vabackend.c:1866 nvQuerySurfaceAttributes Returning constraints: width: 144 - 8192, height: 144 - 8192
      2770.393900388 [81062-81097] ../src/vabackend.c: 672           nvCreateConfig got profile: 21 with 0 attributes
      2770.393905525 [81062-81097] ../src/vabackend.c:1799 nvQuerySurfaceAttributes with 10 (10) (nil) 0
      2770.393910610 [81062-81097] ../src/vabackend.c:1799 nvQuerySurfaceAttributes with 10 (10) 0x7f2033b31940 8
      2770.401200857 [81062-81097] ../src/vabackend.c:1866 nvQuerySurfaceAttributes Returning constraints: width: 128 - 8192, height: 128 - 8192
      2770.401261688 [81062-81097] ../src/vabackend.c:1443      nvQueryImageFormats In nvQueryImageFormats
      2770.401633239 [81062-81708] ../src/vabackend.c:2095              nvTerminate Terminating 0x7f2053d3e300
      2770.402907956 [81062-81708] ../src/vabackend.c:2109              nvTerminate Now have 0 (0 max) instances
      2770.456938259 [81062-81097] ../src/vabackend.c:2187       __vaDriverInit_1_0 Initialising NVIDIA VA-API Driver: 31
      2770.456951462 [81062-81097] ../src/vabackend.c:2196       __vaDriverInit_1_0 Now have 0 (0 max) instances
      2770.456955293 [81062-81097] ../src/vabackend.c:2222       __vaDriverInit_1_0 Selecting Direct backend
      2770.456965904 [81062-81097] ../src/direct/nv-driver.c: 295            init_nvdriver Initing nvdriver...
      2770.456982147 [81062-81097] ../src/direct/nv-driver.c: 313            init_nvdriver NVIDIA kernel driver version: 565.77, major version: 565, minor version: 77
      2770.456988484 [81062-81097] ../src/direct/nv-driver.c: 320            init_nvdriver Got dev info: 100 1 2 6
      2770.541484637 [81062-81097] ../src/vabackend.c:1443      nvQueryImageFormats In nvQueryImageFormats
      2770.541541961 [81062-81097] ../src/vabackend.c:1443      nvQueryImageFormats In nvQueryImageFormats
      2770.542138885 [81062-81097] ../src/vabackend.c:1443      nvQueryImageFormats In nvQueryImageFormats
      2770.542598863 [81062-81097] ../src/vabackend.c:1443      nvQueryImageFormats In nvQueryImageFormats
      2770.548506337 [81062-81097] ../src/vabackend.c:1443      nvQueryImageFormats In nvQueryImageFormats
      2770.548741575 [81062-81097] ../src/vabackend.c:1443      nvQueryImageFormats In nvQueryImageFormats
      2770.550133199 [81062-81097] ../src/vabackend.c:1443      nvQueryImageFormats In nvQueryImageFormats
      2770.550395238 [81062-81097] ../src/vabackend.c:1443      nvQueryImageFormats In nvQueryImageFormats
      2770.550620696 [81062-81097] ../src/vabackend.c:1443      nvQueryImageFormats In nvQueryImageFormats
      2770.550796594 [81062-81097] ../src/vabackend.c:1443      nvQueryImageFormats In nvQueryImageFormats
      2770.550956851 [81062-81097] ../src/vabackend.c:1443      nvQueryImageFormats In nvQueryImageFormats
      2770.551113684 [81062-81097] ../src/vabackend.c:1443      nvQueryImageFormats In nvQueryImageFormats
      2770.551260300 [81062-81097] ../src/vabackend.c:1443      nvQueryImageFormats In nvQueryImageFormats
      2770.551416058 [81062-81097] ../src/vabackend.c:1443      nvQueryImageFormats In nvQueryImageFormats
      2770.551555434 [81062-81097] ../src/vabackend.c:1443      nvQueryImageFormats In nvQueryImageFormats
      2770.551686782 [81062-81097] ../src/vabackend.c:1443      nvQueryImageFormats In nvQueryImageFormats
      2770.551808427 [81062-81097] ../src/vabackend.c:1443      nvQueryImageFormats In nvQueryImageFormats
      2770.551937715 [81062-81097] ../src/vabackend.c:1443      nvQueryImageFormats In nvQueryImageFormats
      2770.552070788 [81062-81097] ../src/vabackend.c:1443      nvQueryImageFormats In nvQueryImageFormats
      2770.664925127 [81062-81718] ../src/vabackend.c: 672           nvCreateConfig got profile: 32 with 0 attributes
      2770.664934136 [81062-81718] ../src/vabackend.c: 735           nvCreateConfig Unable to determine surface type for VP9/AV1 codec due to no RTFormat specified.
      2770.664938055 [81062-81718] ../src/vabackend.c:1799 nvQuerySurfaceAttributes with 11 (8) (nil) 0
      2770.664939731 [81062-81718] ../src/vabackend.c:1799 nvQuerySurfaceAttributes with 11 (8) 0x7f2045e56a00 8
      2770.673960259 [81062-81718] ../src/vabackend.c:1866 nvQuerySurfaceAttributes Returning constraints: width: 128 - 8192, height: 128 - 8192
      2770.673972222 [81062-81718] ../src/vabackend.c:1799 nvQuerySurfaceAttributes with 11 (8) (nil) 32544
      2770.673973664 [81062-81718] ../src/vabackend.c:1799 nvQuerySurfaceAttributes with 11 (8) 0x7f2045e56a00 8
      2770.684233369 [81062-81718] ../src/vabackend.c:1866 nvQuerySurfaceAttributes Returning constraints: width: 128 - 8192, height: 128 - 8192
      2770.684252047 [81062-81718] ../src/vabackend.c: 955        nvCreateSurfaces2 Creating surface 640x360, format 1 (0x7f201cffd4c0)
      2770.684255181 [81062-81718] ../src/vabackend.c:1537            nvDeriveImage In nvDeriveImage
      2770.799954360 [81062-81718] ../src/vabackend.c: 672           nvCreateConfig got profile: 32 with 0 attributes
      2770.799961461 [81062-81718] ../src/vabackend.c: 735           nvCreateConfig Unable to determine surface type for VP9/AV1 codec due to no RTFormat specified.
      2770.799965351 [81062-81718] ../src/vabackend.c:1799 nvQuerySurfaceAttributes with 11 (8) (nil) 0
      2770.799967046 [81062-81718] ../src/vabackend.c:1799 nvQuerySurfaceAttributes with 11 (8) 0x7f2045e56a00 8
      2770.811141191 [81062-81718] ../src/vabackend.c:1866 nvQuerySurfaceAttributes Returning constraints: width: 128 - 8192, height: 128 - 8192
      2770.811150853 [81062-81718] ../src/vabackend.c:1019          nvCreateContext creating context with 0 render targets, 1 surfaces, at 640x360
      2770.811153002 [81062-81718] ../src/vabackend.c:1045          nvCreateContext 0/1 surfaces have been passed to vaCreateContext, this might cause errors. Setting surface count to 32
      2770.829312363 [81062-81782] ../src/vabackend.c: 414          resolveSurfaces [RT] Resolve thread for 0x7f201c652000 started
      2770.829346626 [81062-81718] ../src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x7f201d3ec820 640x360 = 409600 bytes
      2770.830145378 [81062-81718] ../src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 62 63 64
      2770.830148322 [81062-81718] ../src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
      2770.926513220 [81062-81718] ../src/vabackend.c: 955        nvCreateSurfaces2 Creating surface 640x360, format 1 (0x7f2020dfc200)
      2770.926561041 [81062-81718] ../src/vabackend.c: 955        nvCreateSurfaces2 Creating surface 640x360, format 1 (0x7f2020dfcde0)
      2770.926573601 [81062-81718] ../src/vabackend.c: 955        nvCreateSurfaces2 Creating surface 640x360, format 1 (0x7f2020dfc520)
      2770.926588547 [81062-81718] ../src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x7f201d3ecac0 640x360 = 409600 bytes
      2770.926828694 [81062-81782] ../src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x7f201d3ecba0 640x360 = 409600 bytes
      2770.927382067 [81062-81718] ../src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 62 88 89
      2770.927384526 [81062-81718] ../src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
      2770.927423250 [81062-81782] ../src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 87 90 62
      2770.927426739 [81062-81782] ../src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
      2770.929520912 [81062-81782] ../src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x7f201d3ecc80 640x360 = 409600 bytes
      2770.930422175 [81062-81782] ../src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 87 90 91
      2770.930426575 [81062-81782] ../src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 943212370

src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 943212370

src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 943212370

src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 943212370

      2770.947396773 [81062-81718] ../src/vabackend.c: 955        nvCreateSurfaces2 Creating surface 640x360, format 1 (0x7f200546e520)
      2770.947426316 [81062-81718] ../src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x7f201d3ecd60 640x360 = 409600 bytes
      2770.948215595 [81062-81718] ../src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 88 90 93
      2770.948220535 [81062-81718] ../src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
      2770.950152396 [81062-81718] ../src/vabackend.c: 955        nvCreateSurfaces2 Creating surface 640x360, format 1 (0x7f200546eb60)
      2770.950183392 [81062-81718] ../src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x7f201d3ecf20 640x360 = 409600 bytes
      2770.951802093 [81062-81718] ../src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 88 90 94
      2770.951806155 [81062-81718] ../src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
      2770.956115470 [81062-81718] ../src/vabackend.c: 955        nvCreateSurfaces2 Creating surface 640x360, format 1 (0x7f200546f100)
      2770.956136294 [81062-81718] ../src/vabackend.c: 955        nvCreateSurfaces2 Creating surface 640x360, format 1 (0x7f200546f1a0)
      2770.956306927 [81062-81718] ../src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x7f2004bfe040 640x360 = 409600 bytes
      2770.956302217 [81062-81782] ../src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x7f201d3ece40 640x360 = 409600 bytes
      2770.957215460 [81062-81718] ../src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 65 92 96
      2770.957217353 [81062-81718] ../src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
      2770.957222692 [81062-81782] ../src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 90 95 97
      2770.957226336 [81062-81782] ../src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
      2770.979847345 [81062-81718] ../src/vabackend.c: 955        nvCreateSurfaces2 Creating surface 640x360, format 1 (0x7f2005477980)
      2770.979875818 [81062-81718] ../src/vabackend.c: 955        nvCreateSurfaces2 Creating surface 640x360, format 1 (0x7f2005478100)
      2770.979884024 [81062-81718] ../src/vabackend.c: 955        nvCreateSurfaces2 Creating surface 640x360, format 1 (0x7f2005478420)
      2770.979896714 [81062-81718] ../src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x7f2004bfe120 640x360 = 409600 bytes
      2770.980084281 [81062-81782] ../src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x7f2004bfec80 640x360 = 409600 bytes
      2770.980822307 [81062-81718] ../src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 65 104 105
      2770.980824590 [81062-81718] ../src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
      2770.980881981 [81062-81782] ../src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 103 106 65
      2770.980886468 [81062-81782] ../src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
      2770.982870835 [81062-81782] ../src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x7f2004bfe200 640x360 = 409600 bytes
      2770.983825996 [81062-81782] ../src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 103 106 107
      2770.983831153 [81062-81782] ../src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
      2771.147141889 [81062-81718] ../src/vabackend.c: 955        nvCreateSurfaces2 Creating surface 640x360, format 1 (0x7f201cffc5c0)
      2771.147190143 [81062-81718] ../src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x7f2004bfe2e0 640x360 = 409600 bytes
      2771.148042915 [81062-81718] ../src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 117 90 115
      2771.148045569 [81062-81718] ../src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
      2771.261822191 [81062-81720] ../src/vabackend.c:1118         nvDestroyContext Destroying context: 4
      2771.261834124 [81062-81720] ../src/vabackend.c: 323           destroyContext Signaling resolve thread to exit
      2771.261837068 [81062-81720] ../src/vabackend.c: 329           destroyContext Waiting for resolve thread to exit
      2771.261843696 [81062-81782] ../src/vabackend.c: 456          resolveSurfaces [RT] Resolve thread for 0x7f201c652000 exiting
      2771.261882298 [81062-81720] ../src/vabackend.c: 331           destroyContext pthread_timedjoin_np finished with 0
      2771.324174522 [81062-81720] ../src/vabackend.c: 989        nvDestroySurfaces Destroying surface 7 (0x7f200546f1a0)
      2771.324263746 [81062-81720] ../src/vabackend.c: 989        nvDestroySurfaces Destroying surface 9 (0x7f2005478100)
      2771.324327242 [81062-81720] ../src/vabackend.c: 989        nvDestroySurfaces Destroying surface 4 (0x7f200546e520)
      2771.324381500 [81062-81720] ../src/vabackend.c: 989        nvDestroySurfaces Destroying surface 11 (0x7f201cffc5c0)
      2771.324425922 [81062-81720] ../src/vabackend.c: 989        nvDestroySurfaces Destroying surface 10 (0x7f2005478420)
      2771.324474083 [81062-81720] ../src/vabackend.c: 989        nvDestroySurfaces Destroying surface 0 (0x7f201cffd4c0)
      2771.324528655 [81062-81720] ../src/vabackend.c: 989        nvDestroySurfaces Destroying surface 6 (0x7f200546f100)
      2771.324575487 [81062-81720] ../src/vabackend.c: 989        nvDestroySurfaces Destroying surface 8 (0x7f2005477980)
      2771.324623381 [81062-81720] ../src/vabackend.c: 989        nvDestroySurfaces Destroying surface 3 (0x7f2020dfc520)
      2771.324667085 [81062-81720] ../src/vabackend.c: 989        nvDestroySurfaces Destroying surface 5 (0x7f200546eb60)
      2771.324710811 [81062-81720] ../src/vabackend.c: 989        nvDestroySurfaces Destroying surface 1 (0x7f2020dfc200)
      2771.324756316 [81062-81720] ../src/vabackend.c: 989        nvDestroySurfaces Destroying surface 2 (0x7f2020dfcde0)
      2771.324809778 [81062-81720] ../src/vabackend.c:2095              nvTerminate Terminating 0x7f2053d3d040
      2771.325399584 [81062-81720] ../src/vabackend.c:2109              nvTerminate Now have 0 (0 max) instances
      2771.378931205 [81062-81097] ../src/vabackend.c:2187       __vaDriverInit_1_0 Initialising NVIDIA VA-API Driver: 31
      2771.378939643 [81062-81097] ../src/vabackend.c:2196       __vaDriverInit_1_0 Now have 0 (0 max) instances
      2771.378940974 [81062-81097] ../src/vabackend.c:2222       __vaDriverInit_1_0 Selecting Direct backend
      2771.378950012 [81062-81097] ../src/direct/nv-driver.c: 295            init_nvdriver Initing nvdriver...
      2771.378960792 [81062-81097] ../src/direct/nv-driver.c: 313            init_nvdriver NVIDIA kernel driver version: 565.77, major version: 565, minor version: 77
      2771.378964411 [81062-81097] ../src/direct/nv-driver.c: 320            init_nvdriver Got dev info: 100 1 2 6
      2771.470851762 [81062-81097] ../src/vabackend.c:1443      nvQueryImageFormats In nvQueryImageFormats
      2771.470911481 [81062-81097] ../src/vabackend.c:1443      nvQueryImageFormats In nvQueryImageFormats
      2771.471392332 [81062-81097] ../src/vabackend.c:1443      nvQueryImageFormats In nvQueryImageFormats
      2771.472714993 [81062-81097] ../src/vabackend.c:1443      nvQueryImageFormats In nvQueryImageFormats
      2771.473229281 [81062-81097] ../src/vabackend.c:1443      nvQueryImageFormats In nvQueryImageFormats
      2771.473687188 [81062-81097] ../src/vabackend.c:1443      nvQueryImageFormats In nvQueryImageFormats
      2771.474024986 [81062-81097] ../src/vabackend.c:1443      nvQueryImageFormats In nvQueryImageFormats
      2771.542496635 [81062-81097] ../src/vabackend.c:1443      nvQueryImageFormats In nvQueryImageFormats
      2771.548845116 [81062-81097] ../src/vabackend.c:1443      nvQueryImageFormats In nvQueryImageFormats
      2771.552437239 [81062-81097] ../src/vabackend.c:1443      nvQueryImageFormats In nvQueryImageFormats
      2771.552677774 [81062-81097] ../src/vabackend.c:1443      nvQueryImageFormats In nvQueryImageFormats
      2771.552878602 [81062-81097] ../src/vabackend.c:1443      nvQueryImageFormats In nvQueryImageFormats
      2771.553074532 [81062-81097] ../src/vabackend.c:1443      nvQueryImageFormats In nvQueryImageFormats
      2771.575909105 [81062-81097] ../src/vabackend.c:1443      nvQueryImageFormats In nvQueryImageFormats
      2771.607887593 [81062-81718] ../src/vabackend.c: 672           nvCreateConfig got profile: 32 with 0 attributes
      2771.607897794 [81062-81718] ../src/vabackend.c: 735           nvCreateConfig Unable to determine surface type for VP9/AV1 codec due to no RTFormat specified.
      2771.607902204 [81062-81718] ../src/vabackend.c:1799 nvQuerySurfaceAttributes with 11 (8) (nil) 0
      2771.607904856 [81062-81718] ../src/vabackend.c:1799 nvQuerySurfaceAttributes with 11 (8) 0x7f201c6654c0 8
      2771.685800607 [81062-81718] ../src/vabackend.c:1866 nvQuerySurfaceAttributes Returning constraints: width: 128 - 8192, height: 128 - 8192
      2771.685814806 [81062-81718] ../src/vabackend.c:1799 nvQuerySurfaceAttributes with 11 (8) (nil) 32544
      2771.685816289 [81062-81718] ../src/vabackend.c:1799 nvQuerySurfaceAttributes with 11 (8) 0x7f201c6654c0 8
      2771.697389388 [81062-81718] ../src/vabackend.c:1866 nvQuerySurfaceAttributes Returning constraints: width: 128 - 8192, height: 128 - 8192
      2771.697412225 [81062-81718] ../src/vabackend.c: 955        nvCreateSurfaces2 Creating surface 640x360, format 1 (0x7f201cbab9c0)
      2771.697416585 [81062-81718] ../src/vabackend.c:1537            nvDeriveImage In nvDeriveImage
      2771.822366778 [81062-81718] ../src/vabackend.c: 672           nvCreateConfig got profile: 32 with 0 attributes
      2771.822377110 [81062-81718] ../src/vabackend.c: 735           nvCreateConfig Unable to determine surface type for VP9/AV1 codec due to no RTFormat specified.
      2771.822382892 [81062-81718] ../src/vabackend.c:1799 nvQuerySurfaceAttributes with 11 (8) (nil) 0
      2771.822385263 [81062-81718] ../src/vabackend.c:1799 nvQuerySurfaceAttributes with 11 (8) 0x7f201c6654c0 8
      2771.886513351 [81062-81717] ../src/vabackend.c: 672           nvCreateConfig got profile: 19 with 0 attributes
      2771.886530494 [81062-81717] ../src/vabackend.c:1799 nvQuerySurfaceAttributes with 10 (8) (nil) 0
      2771.886534077 [81062-81717] ../src/vabackend.c:1799 nvQuerySurfaceAttributes with 10 (8) 0x7f201c665580 8
      2771.897874770 [81062-81718] ../src/vabackend.c:1866 nvQuerySurfaceAttributes Returning constraints: width: 128 - 8192, height: 128 - 8192
      2771.897898911 [81062-81718] ../src/vabackend.c:1019          nvCreateContext creating context with 0 render targets, 1 surfaces, at 640x360
      2771.897903696 [81062-81718] ../src/vabackend.c:1045          nvCreateContext 0/1 surfaces have been passed to vaCreateContext, this might cause errors. Setting surface count to 32
      2771.909272469 [81062-81717] ../src/vabackend.c:1866 nvQuerySurfaceAttributes Returning constraints: width: 128 - 8192, height: 128 - 8192
      2771.909290004 [81062-81717] ../src/vabackend.c:1799 nvQuerySurfaceAttributes with 10 (8) (nil) 32544
      2771.909293752 [81062-81717] ../src/vabackend.c:1799 nvQuerySurfaceAttributes with 10 (8) 0x7f201c6654c0 8
      2771.918145697 [81062-81717] ../src/vabackend.c:1866 nvQuerySurfaceAttributes Returning constraints: width: 128 - 8192, height: 128 - 8192
      2771.918160389 [81062-81717] ../src/vabackend.c: 955        nvCreateSurfaces2 Creating surface 640x360, format 1 (0x7f201cbabb00)
      2771.918163518 [81062-81717] ../src/vabackend.c:1537            nvDeriveImage In nvDeriveImage
      2771.947215417 [81062-81812] ../src/vabackend.c: 414          resolveSurfaces [RT] Resolve thread for 0x7f201c50d000 started
      2771.947247659 [81062-81718] ../src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x7f201d3ecc80 640x360 = 409600 bytes
      2771.948778997 [81062-81718] ../src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 60 62 64
      2771.948784205 [81062-81718] ../src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
      2771.955138357 [81062-81718] ../src/vabackend.c:1118         nvDestroyContext Destroying context: 6
      2771.955144635 [81062-81718] ../src/vabackend.c: 323           destroyContext Signaling resolve thread to exit
      2771.955148075 [81062-81718] ../src/vabackend.c: 329           destroyContext Waiting for resolve thread to exit
      2771.955155718 [81062-81812] ../src/vabackend.c: 456          resolveSurfaces [RT] Resolve thread for 0x7f201c50d000 exiting
      2771.955183633 [81062-81718] ../src/vabackend.c: 331           destroyContext pthread_timedjoin_np finished with 0
      2772.059070333 [81062-81717] ../src/vabackend.c: 672           nvCreateConfig got profile: 19 with 0 attributes
      2772.059081595 [81062-81717] ../src/vabackend.c:1799 nvQuerySurfaceAttributes with 10 (8) (nil) 0
      2772.059083334 [81062-81717] ../src/vabackend.c:1799 nvQuerySurfaceAttributes with 10 (8) 0x7f2033b31c40 8
      2772.067379358 [81062-81717] ../src/vabackend.c:1866 nvQuerySurfaceAttributes Returning constraints: width: 128 - 8192, height: 128 - 8192
      2772.067389614 [81062-81717] ../src/vabackend.c:1019          nvCreateContext creating context with 0 render targets, 1 surfaces, at 640x360
      2772.067391372 [81062-81717] ../src/vabackend.c:1045          nvCreateContext 0/1 surfaces have been passed to vaCreateContext, this might cause errors. Setting surface count to 32
      2772.201233730 [81062-81823] ../src/vabackend.c: 414          resolveSurfaces [RT] Resolve thread for 0x7f201d60b000 started
      2772.202016968 [81062-81717] ../src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x7f201d3ecac0 640x360 = 409600 bytes
      2772.202896748 [81062-81717] ../src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 66 85 87
      2772.202899596 [81062-81717] ../src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
      2772.208684076 [81062-81718] ../src/vabackend.c: 989        nvDestroySurfaces Destroying surface 0 (0x7f201cbab9c0)
      2772.209041672 [81062-81717] ../src/vabackend.c:1118         nvDestroyContext Destroying context: 11
      2772.209046142 [81062-81717] ../src/vabackend.c: 323           destroyContext Signaling resolve thread to exit
      2772.209048582 [81062-81717] ../src/vabackend.c: 329           destroyContext Waiting for resolve thread to exit
      2772.209082509 [81062-81823] ../src/vabackend.c: 456          resolveSurfaces [RT] Resolve thread for 0x7f201d60b000 exiting
      2772.209107446 [81062-81717] ../src/vabackend.c: 331           destroyContext pthread_timedjoin_np finished with 0
      2772.436900720 [81062-81717] ../src/vabackend.c: 989        nvDestroySurfaces Destroying surface 0 (0x7f201cbabb00)
      2772.437010743 [81062-81717] ../src/vabackend.c:2095              nvTerminate Terminating 0x7f2053d3d7c0
      2772.437590719 [81062-81717] ../src/vabackend.c:2109              nvTerminate Now have 0 (0 max) instances
      2772.733647609 [81062-81097] ../src/vabackend.c:2187       __vaDriverInit_1_0 Initialising NVIDIA VA-API Driver: 31
      2772.733657648 [81062-81097] ../src/vabackend.c:2196       __vaDriverInit_1_0 Now have 0 (0 max) instances
      2772.733659198 [81062-81097] ../src/vabackend.c:2222       __vaDriverInit_1_0 Selecting Direct backend
      2772.733669202 [81062-81097] ../src/direct/nv-driver.c: 295            init_nvdriver Initing nvdriver...
      2772.733682043 [81062-81097] ../src/direct/nv-driver.c: 313            init_nvdriver NVIDIA kernel driver version: 565.77, major version: 565, minor version: 77
      2772.733684859 [81062-81097] ../src/direct/nv-driver.c: 320            init_nvdriver Got dev info: 100 1 2 6
      2772.818944827 [81062-81097] ../src/vabackend.c:1443      nvQueryImageFormats In nvQueryImageFormats
      2772.819391751 [81062-81850] ../src/vabackend.c:2095              nvTerminate Terminating 0x7f2053d3ee40
      2772.820136500 [81062-81850] ../src/vabackend.c:2109              nvTerminate Now have 0 (0 max) instances
vainfo
> NVD_LOG=1 nix shell nixpkgs#libva-utils -c vainfo
Trying display: wayland
libva info: VA-API version 1.22.0
libva info: User environment variable requested driver 'nvidia'
libva info: Trying to open /run/opengl-driver/lib/dri/nvidia_drv_video.so
libva info: Found init function __vaDriverInit_1_0
      3413.964080787 [100247-100247] ../src/vabackend.c:2187       __vaDriverInit_1_0 Initialising NVIDIA VA-API Driver: 40
      3413.964084589 [100247-100247] ../src/vabackend.c:2196       __vaDriverInit_1_0 Now have 0 (0 max) instances
      3413.964086708 [100247-100247] ../src/vabackend.c:2222       __vaDriverInit_1_0 Selecting Direct backend
      3413.986836061 [100247-100247] ../src/direct/nv-driver.c: 295            init_nvdriver Initing nvdriver...
      3413.986854941 [100247-100247] ../src/direct/nv-driver.c: 313            init_nvdriver NVIDIA kernel driver version: 565.77, major version: 565, minor version: 77
      3413.986858985 [100247-100247] ../src/direct/nv-driver.c: 320            init_nvdriver Got dev info: 100 1 2 6
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.22 (libva 2.22.0)
vainfo: Driver version: VA-API NVDEC driver [direct backend]
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointVLD
      VAProfileVC1Simple              : VAEntrypointVLD
      VAProfileVC1Main                : VAEntrypointVLD
      VAProfileVC1Advanced            : VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointVLD
      VAProfileH264High               : VAEntrypointVLD
      VAProfileH264ConstrainedBaseline: VAEntrypointVLD
      VAProfileHEVCMain               : VAEntrypointVLD
      VAProfileVP8Version0_3          : VAEntrypointVLD
      VAProfileVP9Profile0            : VAEntrypointVLD
      VAProfileAV1Profile0            : VAEntrypointVLD
      VAProfileHEVCMain10             : VAEntrypointVLD
      VAProfileHEVCMain12             : VAEntrypointVLD
      VAProfileVP9Profile2            : VAEntrypointVLD
      VAProfileHEVCMain444            : VAEntrypointVLD
      VAProfileHEVCMain444_10         : VAEntrypointVLD
      VAProfileHEVCMain444_12         : VAEntrypointVLD
      3414.203306120 [100247-100247] ../src/vabackend.c:2095              nvTerminate Terminating 0x37b510c0
      3414.203794488 [100247-100247] ../src/vabackend.c:2109              nvTerminate Now have 0 (0 max) instances

tedbyron avatar Apr 25 '25 00:04 tedbyron

Here is the log (while I was scrolling through the site and some videos were delayed):

nvd_log.txt

Swift42 avatar Apr 25 '25 09:04 Swift42

I tried to solve it by:

  • using an older version (0.0.11, 0.0.12)
  • lowering the screen resolution
  • using an older nvidia driver (e.g. 535 instead 550)

But the described freezing persists. I don't know what else I can try.

Swift42 avatar May 10 '25 01:05 Swift42

I updated the NVidia driver from 550 to 570. I also tried to use kernel 6.11 instead of 6.8. Sadly the problem persists. I'm out of ideas.

Swift42 avatar May 15 '25 17:05 Swift42

I have also experienced this for some time now. It doesn't necessarily happen on the beginning of the video, but rather on playback start when the driver is initialized, as Firefox seems to kill the decoder pretty fast after you pause a video. It seems to be completely random, a specific video may or may not trigger it, there's no consistency to it whatsoever it seems. ~~From my very limited testing though, I could only reproduce it with a 4K video, but I am not sure if I just got unlucky or not~~ Never mind, just had it happen on a 1080p video.

Most videos also experience significant frame drops at the beginning of playback, for anywhere from 5-15 seconds, after that the playback is smooth. The freeze seems to happen during this period of frame drops at the beginning of playback, if it happens.

Running GTX 1080 Ti with Firefox 138.0.4 on Arch Linux, latest drivers (570.144), with current master (https://github.com/elFarto/nvidia-vaapi-driver/commit/effa3af05da4525d850a525ae2dedf5eb80351d7). I have also disabled AV1 playback from Firefox (media.av1.enabled=false in about:config) as my GPU does not support AV1 decoding anyway.

Log

~ ❱ NVD_LOG=1 firefox
     25657.594755053 [39118-39149] ../src/vabackend.c:2260       __vaDriverInit_1_0 Initialising NVIDIA VA-API Driver
     25657.594766346 [39118-39149] ../src/vabackend.c:2268       __vaDriverInit_1_0 Got DRM FD: 1 23
     25657.594775335 [39118-39149] ../src/vabackend.c:2280       __vaDriverInit_1_0 Now have 0 (0 max) instances
     25657.594780954 [39118-39149] ../src/vabackend.c:2307       __vaDriverInit_1_0 Selecting Direct backend
     25657.628557312 [39118-39149] ../src/direct/nv-driver.c: 305            init_nvdriver Initing nvdriver...
     25657.628597089 [39118-39149] ../src/direct/nv-driver.c: 323            init_nvdriver NVIDIA kernel driver version: 570.144, major version: 570, minor version: 144
     25657.628607066 [39118-39149] ../src/direct/nv-driver.c: 330            init_nvdriver Got dev info: 100 1 0 fe
     25657.758837904 [39118-39616] ../src/vabackend.c:2168              nvTerminate Terminating 0x7b22c8375400
     25657.758957990 [39118-39616] ../src/vabackend.c:2182              nvTerminate Now have 0 (0 max) instances
     25658.186435107 [39118-39149] ../src/vabackend.c:2260       __vaDriverInit_1_0 Initialising NVIDIA VA-API Driver
     25658.186450934 [39118-39149] ../src/vabackend.c:2268       __vaDriverInit_1_0 Got DRM FD: 1 23
     25658.186458638 [39118-39149] ../src/vabackend.c:2280       __vaDriverInit_1_0 Now have 0 (0 max) instances
     25658.186463288 [39118-39149] ../src/vabackend.c:2307       __vaDriverInit_1_0 Selecting Direct backend
     25658.186482196 [39118-39149] ../src/direct/nv-driver.c: 305            init_nvdriver Initing nvdriver...
     25658.186509851 [39118-39149] ../src/direct/nv-driver.c: 323            init_nvdriver NVIDIA kernel driver version: 570.144, major version: 570, minor version: 144
     25658.186518932 [39118-39149] ../src/direct/nv-driver.c: 330            init_nvdriver Got dev info: 100 1 0 fe
     25658.304131728 [39118-39676] ../src/vabackend.c: 988        nvCreateSurfaces2 Creating surface 3840x2160, format 1 (0x7b2293e6e4c0)
     25658.306445585 [39118-39676] ../src/vabackend.c:1051          nvCreateContext Creating context with 0 render targets, at 3840x2160
     25658.328703074 [39118-39676] ../src/vabackend.c:1134          nvCreateContext Creating decoder: 0x7b2293ecf000 for context id: 4
     25658.328788943 [39118-39687] ../src/vabackend.c: 403          resolveSurfaces [RT] Resolve thread for 0x7b22aa330000 started
     25658.329730500 [39118-39676] ../src/direct/direct-export-buf.c: 190 direct_allocateBackingImage Allocating BackingImages: 0x7b2293e96cc0 3840x2160
     25658.488976089 [39118-39678] ../src/vabackend.c:1170         nvDestroyContext Destroying context: 4
     25658.488993144 [39118-39678] ../src/vabackend.c: 321           destroyContext Signaling resolve thread to exit
     25658.489010678 [39118-39678] ../src/vabackend.c: 327           destroyContext Waiting for resolve thread to exit
     25658.560050061 [39118-39687] ../src/vabackend.c: 458          resolveSurfaces [RT] Resolve thread for 0x7b22aa330000 exiting
     25658.560103286 [39118-39678] ../src/vabackend.c: 329           destroyContext Finished waiting for resolve thread with 0
     25658.560119826 [39118-39678] ../src/vabackend.c:1023        nvDestroySurfaces Destroying surface 0 (0x7b2293e6e4c0)
     25658.560270530 [39118-39678] ../src/vabackend.c:2168              nvTerminate Terminating 0x7b22c8378100
     25658.560348392 [39118-39678] ../src/vabackend.c:2182              nvTerminate Now have 0 (0 max) instances
     25659.866081997 [39118-39149] ../src/vabackend.c:2260       __vaDriverInit_1_0 Initialising NVIDIA VA-API Driver
     25659.866097396 [39118-39149] ../src/vabackend.c:2268       __vaDriverInit_1_0 Got DRM FD: 1 23
     25659.866108428 [39118-39149] ../src/vabackend.c:2280       __vaDriverInit_1_0 Now have 0 (0 max) instances
     25659.866114762 [39118-39149] ../src/vabackend.c:2307       __vaDriverInit_1_0 Selecting Direct backend
     25659.866134089 [39118-39149] ../src/direct/nv-driver.c: 305            init_nvdriver Initing nvdriver...
     25659.866167039 [39118-39149] ../src/direct/nv-driver.c: 323            init_nvdriver NVIDIA kernel driver version: 570.144, major version: 570, minor version: 144
     25659.866177491 [39118-39149] ../src/direct/nv-driver.c: 330            init_nvdriver Got dev info: 100 1 0 fe
     25659.950773978 [39118-39730] ../src/vabackend.c: 988        nvCreateSurfaces2 Creating surface 3840x2160, format 1 (0x7b2293d4f7e0)
     25659.952629141 [39118-39730] ../src/vabackend.c:1051          nvCreateContext Creating context with 0 render targets, at 3840x2160
     25659.969082337 [39118-39730] ../src/vabackend.c:1134          nvCreateContext Creating decoder: 0x7b2293db0000 for context id: 4
     25659.969169325 [39118-39733] ../src/vabackend.c: 403          resolveSurfaces [RT] Resolve thread for 0x7b2297249000 started
     25659.969914149 [39118-39730] ../src/direct/direct-export-buf.c: 190 direct_allocateBackingImage Allocating BackingImages: 0x7b22942e2a50 3840x2160
     25659.984172816 [39118-39730] ../src/vabackend.c: 988        nvCreateSurfaces2 Creating surface 3840x2160, format 1 (0x7b229724b700)
     25659.985063828 [39118-39730] ../src/direct/direct-export-buf.c: 190 direct_allocateBackingImage Allocating BackingImages: 0x7b2297252640 3840x2160
     25659.990324362 [39118-39730] ../src/direct/direct-export-buf.c:  85                    debug [EGL] eglExportDMABUFImageQueryMESA: EGL_BAD_MATCH error: In eglExportDMABUFImageQueryMESA: EGLImage can't be exported to dma-buf

     25659.991130272 [39118-39730] ../src/vabackend.c: 988        nvCreateSurfaces2 Creating surface 3840x2160, format 1 (0x7b229724b7a0)
     25659.991316071 [39118-39730] ../src/direct/direct-export-buf.c: 190 direct_allocateBackingImage Allocating BackingImages: 0x7b2297251ae0 3840x2160
     25659.996243785 [39118-39730] ../src/vabackend.c: 988        nvCreateSurfaces2 Creating surface 3840x2160, format 1 (0x7b229724c600)
     25659.996400030 [39118-39730] ../src/vabackend.c: 988        nvCreateSurfaces2 Creating surface 3840x2160, format 1 (0x7b229724cce0)
     25660.000903976 [39118-39733] ../src/direct/direct-export-buf.c: 190 direct_allocateBackingImage Allocating BackingImages: 0x7b2297252710 3840x2160
     25660.000906533 [39118-39730] ../src/direct/direct-export-buf.c: 190 direct_allocateBackingImage Allocating BackingImages: 0x7b22972527e0 3840x2160
     25660.108485976 [39118-39730] ../src/vabackend.c: 988        nvCreateSurfaces2 Creating surface 3840x2160, format 1 (0x7b22819d82e0)
     25660.108613016 [39118-39730] ../src/direct/direct-export-buf.c: 190 direct_allocateBackingImage Allocating BackingImages: 0x7b22942e1600 3840x2160
     25660.118507134 [39118-39730] ../src/vabackend.c: 988        nvCreateSurfaces2 Creating surface 3840x2160, format 1 (0x7b22819d7ac0)
     25660.118610445 [39118-39730] ../src/direct/direct-export-buf.c: 190 direct_allocateBackingImage Allocating BackingImages: 0x7b2297252bf0 3840x2160
     25660.191024917 [39118-39730] ../src/vabackend.c: 988        nvCreateSurfaces2 Creating surface 3840x2160, format 1 (0x7b22819d8060)
     25660.191148301 [39118-39730] ../src/direct/direct-export-buf.c: 190 direct_allocateBackingImage Allocating BackingImages: 0x7b22972517a0 3840x2160
     25660.410458255 [39118-39730] ../src/vabackend.c: 988        nvCreateSurfaces2 Creating surface 3840x2160, format 1 (0x7b22819d8ba0)
     25660.410576079 [39118-39730] ../src/direct/direct-export-buf.c: 190 direct_allocateBackingImage Allocating BackingImages: 0x7b2297252a50 3840x2160
     25660.494277791 [39118-39730] ../src/vabackend.c: 988        nvCreateSurfaces2 Creating surface 3840x2160, format 1 (0x7b22819d0e80)
     25660.494398678 [39118-39730] ../src/direct/direct-export-buf.c: 190 direct_allocateBackingImage Allocating BackingImages: 0x7b2297252e60 3840x2160
     25661.088129518 [39118-39730] ../src/vabackend.c: 988        nvCreateSurfaces2 Creating surface 3840x2160, format 1 (0x7b2293d4f740)
     25661.088234776 [39118-39730] ../src/direct/direct-export-buf.c: 190 direct_allocateBackingImage Allocating BackingImages: 0x7b22819cf570 3840x2160
     25663.152839010 [39118-39730] ../src/vabackend.c: 988        nvCreateSurfaces2 Creating surface 3840x2160, format 1 (0x7b22819d16a0)
     25663.153583812 [39118-39730] ../src/direct/direct-export-buf.c: 190 direct_allocateBackingImage Allocating BackingImages: 0x7b22819cf640 3840x2160
     25667.100597577 [39118-39730] ../src/vabackend.c: 988        nvCreateSurfaces2 Creating surface 3840x2160, format 1 (0x7b2293d4f6a0)
     25667.101221910 [39118-39730] ../src/direct/direct-export-buf.c: 190 direct_allocateBackingImage Allocating BackingImages: 0x7b22819ce870 3840x2160
vainfo

~ ❱ vainfo 
Trying display: wayland
vainfo: VA-API version: 1.22 (libva 2.22.0)
vainfo: Driver version: VA-API NVDEC driver [direct backend]
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            :	VAEntrypointVLD
      VAProfileMPEG2Main              :	VAEntrypointVLD
      VAProfileVC1Simple              :	VAEntrypointVLD
      VAProfileVC1Main                :	VAEntrypointVLD
      VAProfileVC1Advanced            :	VAEntrypointVLD
      VAProfileH264Main               :	VAEntrypointVLD
      VAProfileH264High               :	VAEntrypointVLD
      VAProfileH264ConstrainedBaseline:	VAEntrypointVLD
      VAProfileHEVCMain               :	VAEntrypointVLD
      VAProfileVP9Profile0            :	VAEntrypointVLD
      VAProfileHEVCMain10             :	VAEntrypointVLD
      VAProfileHEVCMain12             :	VAEntrypointVLD
      VAProfileVP9Profile2            :	VAEntrypointVLD

Aciz avatar May 23 '25 19:05 Aciz

I think you did it! With the latest 0.0.14 I have no freezing anymore. Thank you so much @elFarto

Swift42 avatar Jun 25 '25 12:06 Swift42

You can close the issue then @Swift42 .

nerijus avatar Jun 25 '25 13:06 nerijus