elFarto/nvidia-vaapi-driver

Doesn't work with 545.29.02 (used to work with Beta 545.23.06)

Closed this issue ยท 15 comments

vainfo:

Trying display: wayland
libva info: VA-API version 1.18.0
libva info: User environment variable requested driver 'nvidia'
libva info: Trying to open /home/solopasha/.var/app/org.mozilla.firefox/dri/nvidia_drv_video.so
libva info: Found init function __vaDriverInit_1_0
       189.015528287 [4-4] ../src/vabackend.c:2171       __vaDriverInit_1_0 Initialising NVIDIA VA-API Driver: 40
       189.015533076 [4-4] ../src/vabackend.c:2180       __vaDriverInit_1_0 Now have 0 (0 max) instances
       189.015536132 [4-4] ../src/vabackend.c:2206       __vaDriverInit_1_0 Selecting Direct backend
       189.020488494 [4-4] ../src/direct/nv-driver.c: 223            init_nvdriver Initing nvdriver...
       189.020495267 [4-4] ../src/direct/nv-driver.c: 228            init_nvdriver Got dev info: 600 0 fe 1
       189.020513380 [4-4] ../src/direct/nv-driver.c: 246            init_nvdriver NVIDIA kernel driver version: 545.29.02, major version: 545
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.18 (libva 2.20.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
      VAProfileHEVCMain10             :	VAEntrypointVLD
      VAProfileHEVCMain12             :	VAEntrypointVLD
       189.094463257 [4-4] ../src/vabackend.c:2081              nvTerminate Terminating 0x559fa2680c70
       189.094515485 [4-4] ../src/vabackend.c:2095              nvTerminate Now have 0 (0 max) instances

firefox logs:

libva info: VA-API version 1.18.0
libva info: User environment variable requested driver 'nvidia'
libva info: Trying to open /home/solopasha/.var/app/org.mozilla.firefox/dri/nvidia_drv_video.so
libva info: Found init function __vaDriverInit_1_0
       240.687291959 [316-327] ../src/vabackend.c:2171       __vaDriverInit_1_0 Initialising NVIDIA VA-API Driver: 31
       240.687298100 [316-327] ../src/vabackend.c:2180       __vaDriverInit_1_0 Now have 0 (0 max) instances
       240.687301146 [316-327] ../src/vabackend.c:2206       __vaDriverInit_1_0 Selecting Direct backend
       240.692208989 [316-327] ../src/direct/nv-driver.c: 223            init_nvdriver Initing nvdriver...
       240.692218136 [316-327] ../src/direct/nv-driver.c: 228            init_nvdriver Got dev info: 600 0 fe 1
       240.692240137 [316-327] ../src/direct/nv-driver.c: 246            init_nvdriver NVIDIA kernel driver version: 545.29.02, major version: 545
libva info: va_openDriver() returns 0
       240.737530342 [316-327] ../src/vabackend.c:1409      nvQueryImageFormats In nvQueryImageFormats
       240.763341843 [316-327] ../src/vabackend.c: 648           nvCreateConfig got profile: 6 with 0 attributes
       240.763355068 [316-327] ../src/vabackend.c:1765 nvQuerySurfaceAttributes with 4 (8) (nil) 0
       240.763358043 [316-327] ../src/vabackend.c:1765 nvQuerySurfaceAttributes with 4 (8) 0x7fbaa01cbd00 8
       240.764832839 [316-327] ../src/vabackend.c:1838 nvQuerySurfaceAttributes Returning constraints: width: 48 - 4096, height: 16 - 4096
       240.764841566 [316-327] ../src/vabackend.c: 648           nvCreateConfig got profile: 7 with 0 attributes
       240.764845643 [316-327] ../src/vabackend.c:1765 nvQuerySurfaceAttributes with 4 (8) (nil) 0
       240.764848409 [316-327] ../src/vabackend.c:1765 nvQuerySurfaceAttributes with 4 (8) 0x7fbaa01cbe80 8
       240.766258274 [316-327] ../src/vabackend.c:1838 nvQuerySurfaceAttributes Returning constraints: width: 48 - 4096, height: 16 - 4096
       240.766265317 [316-327] ../src/vabackend.c: 648           nvCreateConfig got profile: 13 with 0 attributes
       240.766268893 [316-327] ../src/vabackend.c:1765 nvQuerySurfaceAttributes with 4 (8) (nil) 0
       240.766271398 [316-327] ../src/vabackend.c:1765 nvQuerySurfaceAttributes with 4 (8) 0x7fbaa01cb400 8
       240.767817428 [316-327] ../src/vabackend.c:1838 nvQuerySurfaceAttributes Returning constraints: width: 48 - 4096, height: 16 - 4096
       240.767824681 [316-327] ../src/vabackend.c: 648           nvCreateConfig got profile: 14 with 0 attributes
       240.767828208 [316-327] ../src/vabackend.c:1765 nvQuerySurfaceAttributes with 9 (8) (nil) 0
       240.767831995 [316-327] ../src/vabackend.c:1765 nvQuerySurfaceAttributes with 9 (8) 0x7fbaa01cb7c0 8
       240.769234676 [316-327] ../src/vabackend.c:1838 nvQuerySurfaceAttributes Returning constraints: width: 48 - 4096, height: 16 - 4096
       240.769242170 [316-327] ../src/vabackend.c: 648           nvCreateConfig got profile: 19 with 0 attributes
       240.769245487 [316-327] ../src/vabackend.c:1765 nvQuerySurfaceAttributes with 10 (8) (nil) 0
       240.769248112 [316-327] ../src/vabackend.c:1765 nvQuerySurfaceAttributes with 10 (8) 0x7fbaa01cb400 8
       240.770640905 [316-327] ../src/vabackend.c:1838 nvQuerySurfaceAttributes Returning constraints: width: 128 - 8192, height: 128 - 8192
       240.770865384 [316-327] ../src/vabackend.c:2081              nvTerminate Terminating 0x7fbab8825f20
       240.770928502 [316-327] ../src/vabackend.c:2095              nvTerminate Now have 0 (0 max) instances
       241.147626715 [316-335] ../src/vabackend.c:2171       __vaDriverInit_1_0 Initialising NVIDIA VA-API Driver: 31
       241.147678472 [316-335] ../src/vabackend.c:2180       __vaDriverInit_1_0 Now have 0 (0 max) instances
       241.147683301 [316-335] ../src/vabackend.c:2206       __vaDriverInit_1_0 Selecting Direct backend
       241.147703429 [316-335] ../src/direct/nv-driver.c: 223            init_nvdriver Initing nvdriver...
       241.147709249 [316-335] ../src/direct/nv-driver.c: 228            init_nvdriver Got dev info: 600 0 fe 1
       241.147754444 [316-335] ../src/direct/nv-driver.c: 246            init_nvdriver NVIDIA kernel driver version: 545.29.02, major version: 545
       241.198572361 [316-335] ../src/vabackend.c:1409      nvQueryImageFormats In nvQueryImageFormats
       241.198815104 [316-335] ../src/vabackend.c:2081              nvTerminate Terminating 0x7fbab88255c0
       241.199009898 [316-335] ../src/vabackend.c:2095              nvTerminate Now have 0 (0 max) instances
       241.227092453 [316-351] ../src/vabackend.c:2171       __vaDriverInit_1_0 Initialising NVIDIA VA-API Driver: 31
       241.227104376 [316-351] ../src/vabackend.c:2180       __vaDriverInit_1_0 Now have 0 (0 max) instances
       241.227108644 [316-351] ../src/vabackend.c:2206       __vaDriverInit_1_0 Selecting Direct backend
       241.227125635 [316-351] ../src/direct/nv-driver.c: 223            init_nvdriver Initing nvdriver...
       241.227130034 [316-351] ../src/direct/nv-driver.c: 228            init_nvdriver Got dev info: 600 0 fe 1
       241.227152155 [316-351] ../src/direct/nv-driver.c: 246            init_nvdriver NVIDIA kernel driver version: 545.29.02, major version: 545
       241.275453749 [316-351] ../src/vabackend.c:1409      nvQueryImageFormats In nvQueryImageFormats
       241.275641369 [316-351] ../src/vabackend.c:2081              nvTerminate Terminating 0x7fbab88255c0
       241.275762385 [316-351] ../src/vabackend.c:2095              nvTerminate Now have 0 (0 max) instances
       241.309468481 [316-355] ../src/vabackend.c:2171       __vaDriverInit_1_0 Initialising NVIDIA VA-API Driver: 31
       241.309480423 [316-355] ../src/vabackend.c:2180       __vaDriverInit_1_0 Now have 0 (0 max) instances
       241.309484751 [316-355] ../src/vabackend.c:2206       __vaDriverInit_1_0 Selecting Direct backend
       241.309501322 [316-355] ../src/direct/nv-driver.c: 223            init_nvdriver Initing nvdriver...
       241.309505971 [316-355] ../src/direct/nv-driver.c: 228            init_nvdriver Got dev info: 600 0 fe 1
       241.309526209 [316-355] ../src/direct/nv-driver.c: 246            init_nvdriver NVIDIA kernel driver version: 545.29.02, major version: 545
       241.358502593 [316-355] ../src/vabackend.c:1409      nvQueryImageFormats In nvQueryImageFormats
       241.358711704 [316-355] ../src/vabackend.c:2081              nvTerminate Terminating 0x7fbab88255c0
       241.358838421 [316-355] ../src/vabackend.c:2095              nvTerminate Now have 0 (0 max) instances
       241.390161954 [316-359] ../src/vabackend.c:2171       __vaDriverInit_1_0 Initialising NVIDIA VA-API Driver: 31
       241.390172844 [316-359] ../src/vabackend.c:2180       __vaDriverInit_1_0 Now have 0 (0 max) instances
       241.390179516 [316-359] ../src/vabackend.c:2206       __vaDriverInit_1_0 Selecting Direct backend
       241.390194334 [316-359] ../src/direct/nv-driver.c: 223            init_nvdriver Initing nvdriver...
       241.390198081 [316-359] ../src/direct/nv-driver.c: 228            init_nvdriver Got dev info: 600 0 fe 1
       241.390214622 [316-359] ../src/direct/nv-driver.c: 246            init_nvdriver NVIDIA kernel driver version: 545.29.02, major version: 545
       241.441496716 [316-359] ../src/vabackend.c:1409      nvQueryImageFormats In nvQueryImageFormats
       241.441700046 [316-359] ../src/vabackend.c:2081              nvTerminate Terminating 0x7fbab88255c0
       241.441842983 [316-359] ../src/vabackend.c:2095              nvTerminate Now have 0 (0 max) instances
       241.475019699 [316-374] ../src/vabackend.c:2171       __vaDriverInit_1_0 Initialising NVIDIA VA-API Driver: 31
       241.475033976 [316-374] ../src/vabackend.c:2180       __vaDriverInit_1_0 Now have 0 (0 max) instances
       241.475040017 [316-374] ../src/vabackend.c:2206       __vaDriverInit_1_0 Selecting Direct backend
       241.475061557 [316-374] ../src/direct/nv-driver.c: 223            init_nvdriver Initing nvdriver...
       241.475068550 [316-374] ../src/direct/nv-driver.c: 228            init_nvdriver Got dev info: 600 0 fe 1
       241.475090902 [316-374] ../src/direct/nv-driver.c: 246            init_nvdriver NVIDIA kernel driver version: 545.29.02, major version: 545
       241.523504235 [316-374] ../src/vabackend.c:1409      nvQueryImageFormats In nvQueryImageFormats
       241.523734174 [316-374] ../src/vabackend.c:2081              nvTerminate Terminating 0x7fbab8826e20
       241.523863907 [316-374] ../src/vabackend.c:2095              nvTerminate Now have 0 (0 max) instances
       241.787665521 [316-382] ../src/vabackend.c:2171       __vaDriverInit_1_0 Initialising NVIDIA VA-API Driver: 31
       241.787676702 [316-382] ../src/vabackend.c:2180       __vaDriverInit_1_0 Now have 0 (0 max) instances
       241.787681401 [316-382] ../src/vabackend.c:2206       __vaDriverInit_1_0 Selecting Direct backend
       241.787701949 [316-382] ../src/direct/nv-driver.c: 223            init_nvdriver Initing nvdriver...
       241.787706768 [316-382] ../src/direct/nv-driver.c: 228            init_nvdriver Got dev info: 600 0 fe 1
       241.787728809 [316-382] ../src/direct/nv-driver.c: 246            init_nvdriver NVIDIA kernel driver version: 545.29.02, major version: 545
       241.840740726 [316-382] ../src/vabackend.c:1409      nvQueryImageFormats In nvQueryImageFormats
       241.867545333 [316-382] ../src/vabackend.c: 648           nvCreateConfig got profile: 19 with 0 attributes
       241.867555662 [316-382] ../src/vabackend.c:1765 nvQuerySurfaceAttributes with 10 (8) (nil) 0
       241.867558989 [316-382] ../src/vabackend.c:1765 nvQuerySurfaceAttributes with 10 (8) 0x7fba88ec0580 8
       241.868965337 [316-382] ../src/vabackend.c:1838 nvQuerySurfaceAttributes Returning constraints: width: 128 - 8192, height: 128 - 8192
       241.868972440 [316-382] ../src/vabackend.c:1765 nvQuerySurfaceAttributes with 10 (8) (nil) 32698
       241.868975466 [316-382] ../src/vabackend.c:1765 nvQuerySurfaceAttributes with 10 (8) 0x7fba88ec0ac0 8
       241.870358831 [316-382] ../src/vabackend.c:1838 nvQuerySurfaceAttributes Returning constraints: width: 128 - 8192, height: 128 - 8192
       241.870369211 [316-382] ../src/vabackend.c: 931        nvCreateSurfaces2 Creating surface 1920x1080, format 1 (0x7fba8b7dc840)
       241.870373028 [316-382] ../src/vabackend.c:1503            nvDeriveImage In nvDeriveImage
       241.870376344 [316-382] ../src/vabackend.c: 931        nvCreateSurfaces2 Creating surface 1920x1080, format 1 (0x7fba8b7dcc00)
       241.870379129 [316-382] ../src/vabackend.c: 931        nvCreateSurfaces2 Creating surface 1920x1080, format 1 (0x7fba8b7dcf20)
       241.870381854 [316-382] ../src/vabackend.c: 931        nvCreateSurfaces2 Creating surface 1920x1080, format 1 (0x7fba8b7dd1a0)
       241.870386754 [316-382] ../src/vabackend.c: 931        nvCreateSurfaces2 Creating surface 1920x1080, format 1 (0x7fba8b7dcb60)
       241.870389519 [316-382] ../src/vabackend.c: 931        nvCreateSurfaces2 Creating surface 1920x1080, format 1 (0x7fba8b7dd380)
       241.870392144 [316-382] ../src/vabackend.c: 931        nvCreateSurfaces2 Creating surface 1920x1080, format 1 (0x7fba8b7dc8e0)
       241.870395119 [316-382] ../src/vabackend.c: 931        nvCreateSurfaces2 Creating surface 1920x1080, format 1 (0x7fba8b7dd100)
       241.870397975 [316-382] ../src/vabackend.c: 931        nvCreateSurfaces2 Creating surface 1920x1080, format 1 (0x7fba8b7dd240)
       241.870400670 [316-382] ../src/vabackend.c: 931        nvCreateSurfaces2 Creating surface 1920x1080, format 1 (0x7fba8b7dd2e0)
       241.870403335 [316-382] ../src/vabackend.c: 931        nvCreateSurfaces2 Creating surface 1920x1080, format 1 (0x7fba8b7dcac0)
       241.870406721 [316-382] ../src/vabackend.c: 931        nvCreateSurfaces2 Creating surface 1920x1080, format 1 (0x7fba8b7dcde0)
       241.870410638 [316-382] ../src/vabackend.c: 931        nvCreateSurfaces2 Creating surface 1920x1080, format 1 (0x7fba8b7dc980)
       241.870413614 [316-382] ../src/vabackend.c: 931        nvCreateSurfaces2 Creating surface 1920x1080, format 1 (0x7fba8b7dc020)
       241.870415968 [316-382] ../src/vabackend.c: 931        nvCreateSurfaces2 Creating surface 1920x1080, format 1 (0x7fba8b7dca20)
       241.870418733 [316-382] ../src/vabackend.c: 931        nvCreateSurfaces2 Creating surface 1920x1080, format 1 (0x7fba8b7dc0c0)
       241.870421859 [316-382] ../src/vabackend.c: 931        nvCreateSurfaces2 Creating surface 1920x1080, format 1 (0x7fba8b7dc700)
       241.870424624 [316-382] ../src/vabackend.c: 931        nvCreateSurfaces2 Creating surface 1920x1080, format 1 (0x7fba8b7dc340)
       241.894951795 [316-382] ../src/vabackend.c: 648           nvCreateConfig got profile: 19 with 0 attributes
       241.894963196 [316-382] ../src/vabackend.c:1765 nvQuerySurfaceAttributes with 10 (8) (nil) 0
       241.894967955 [316-382] ../src/vabackend.c:1765 nvQuerySurfaceAttributes with 10 (8) 0x7fba88ec0ac0 8
       241.896749575 [316-382] ../src/vabackend.c:1838 nvQuerySurfaceAttributes Returning constraints: width: 128 - 8192, height: 128 - 8192
       241.896758131 [316-382] ../src/vabackend.c: 995          nvCreateContext with 18 render targets, 18 surfaces, at 1920x1080
       241.914635823 [316-387] ../src/vabackend.c: 386          resolveSurfaces [RT] Resolve thread for 0x7fba88d23000 started
       241.916885888 [316-382] ../src/vabackend.c:1311             nvEndPicture Decoded frame successfully to idx: 0 (0x7fba8b7dc340)
       241.916908961 [316-387] ../src/vabackend.c: 399          resolveSurfaces Reading from queue: 0 1
       241.916917758 [316-387] ../src/vabackend.c: 415          resolveSurfaces Mapping surface 0
       241.916917708 [316-382] ../src/vabackend.c:2055    nvExportSurfaceHandle Exporting surface: 0 (0x7fba8b7dc340)
       241.916933868 [316-382] ../src/direct/direct-export-buf.c: 198 direct_allocateBackingImage Allocating BackingImages: 0x7fba8b7ece60 1920x1080
       241.916938948 [316-382] ../src/direct/nv-driver.c: 433              alloc_image Calculated GOB size: 64x128 (0x4)
       241.916943917 [316-382] ../src/direct/nv-driver.c: 442              alloc_image Aligned image size: 1920x1152 = 2211840
       241.916956480 [316-387] ../src/vabackend.c: 419          resolveSurfaces Mapped surface 0 to 0x206e00000 (2048)
       241.917193443 [316-382] ../src/direct/nv-driver.c: 518              alloc_image created image: 1920x1080 300000000201014 1920 21c000
       241.917200286 [316-382] ../src/direct/nv-driver.c: 433              alloc_image Calculated GOB size: 64x128 (0x4)
       241.917203342 [316-382] ../src/direct/nv-driver.c: 442              alloc_image Aligned image size: 1920x640 = 1228800
       241.917343053 [316-382] ../src/direct/nv-driver.c: 518              alloc_image created image: 960x540 300000000201014 1920 12c000
       241.917348934 [316-382] ../src/direct/direct-export-buf.c: 204 direct_allocateBackingImage Importing images
       241.917353953 [316-382] ../src/direct/direct-export-buf.c: 118           import_to_cuda importing memory size: 1920x1080 = 21c000
       241.917530393 [316-382] ../src/direct/direct-export-buf.c: 118           import_to_cuda importing memory size: 960x540 = 12c000
       241.917746777 [316-382] ../src/vabackend.c:2068    nvExportSurfaceHandle Exporting with 1920 1080 0 1920 300000000201014 0 1920 300000000201014
       241.917754512 [316-382] ../src/vabackend.c:1350            nvSyncSurface Surface 0 not resolved, waiting
       241.917792733 [316-387] ../src/vabackend.c: 423          resolveSurfaces Surface 0 exported
       241.931894138 [316-382] ../src/direct/direct-export-buf.c:  42                    debug [EGL] eglCreateImageKHR: EGL_BAD_PARAMETER error: In eglCreateImageKHR: requested buffer attributes are not supported

       241.932313332 [316-386] ../src/vabackend.c:1084         nvDestroyContext Destroying context: 21
       241.932322379 [316-386] ../src/vabackend.c: 295           destroyContext Signaling resolve thread to exit
       241.932326737 [316-386] ../src/vabackend.c: 301           destroyContext Waiting for resolve thread to exit
       241.932332918 [316-387] ../src/vabackend.c: 428          resolveSurfaces [RT] Resolve thread for 0x7fba88d23000 exiting
       241.932358546 [316-386] ../src/vabackend.c: 303           destroyContext pthread_timedjoin_np finished with 0
       241.944042824 [316-386] ../src/vabackend.c: 965        nvDestroySurfaces Destroying surface 0 (0x7fba8b7dc340)
       241.944050067 [316-386] ../src/direct/direct-export-buf.c: 243      destroyBackingImage Destroying BackingImage: 0x7fba8b7ece60
       241.944313900 [316-386] ../src/vabackend.c: 965        nvDestroySurfaces Destroying surface -1 (0x7fba8b7dc700)
       241.944318910 [316-386] ../src/vabackend.c: 965        nvDestroySurfaces Destroying surface -1 (0x7fba8b7dc0c0)
       241.944322456 [316-386] ../src/vabackend.c: 965        nvDestroySurfaces Destroying surface -1 (0x7fba8b7dca20)
       241.944327846 [316-386] ../src/vabackend.c: 965        nvDestroySurfaces Destroying surface -1 (0x7fba8b7dc020)
       241.944331814 [316-386] ../src/vabackend.c: 965        nvDestroySurfaces Destroying surface -1 (0x7fba8b7dc980)
       241.944335781 [316-386] ../src/vabackend.c: 965        nvDestroySurfaces Destroying surface -1 (0x7fba8b7dcde0)
       241.944339588 [316-386] ../src/vabackend.c: 965        nvDestroySurfaces Destroying surface -1 (0x7fba8b7dcac0)
       241.944343225 [316-386] ../src/vabackend.c: 965        nvDestroySurfaces Destroying surface -1 (0x7fba8b7dd2e0)
       241.944347072 [316-386] ../src/vabackend.c: 965        nvDestroySurfaces Destroying surface -1 (0x7fba8b7dd240)
       241.944350709 [316-386] ../src/vabackend.c: 965        nvDestroySurfaces Destroying surface -1 (0x7fba8b7dd100)
       241.944354296 [316-386] ../src/vabackend.c: 965        nvDestroySurfaces Destroying surface -1 (0x7fba8b7dc8e0)
       241.944357822 [316-386] ../src/vabackend.c: 965        nvDestroySurfaces Destroying surface -1 (0x7fba8b7dd380)
       241.944361459 [316-386] ../src/vabackend.c: 965        nvDestroySurfaces Destroying surface -1 (0x7fba8b7dcb60)
       241.944364906 [316-386] ../src/vabackend.c: 965        nvDestroySurfaces Destroying surface -1 (0x7fba8b7dd1a0)
       241.944368472 [316-386] ../src/vabackend.c: 965        nvDestroySurfaces Destroying surface -1 (0x7fba8b7dcf20)
       241.944372009 [316-386] ../src/vabackend.c: 965        nvDestroySurfaces Destroying surface -1 (0x7fba8b7dcc00)
       241.944375676 [316-386] ../src/vabackend.c: 965        nvDestroySurfaces Destroying surface -1 (0x7fba8b7dc840)
       241.944380715 [316-386] ../src/vabackend.c:2081              nvTerminate Terminating 0x7fbab8825b60
       241.944519565 [316-386] ../src/vabackend.c:2095              nvTerminate Now have 0 (0 max) instances


That looks like an EGL issue, it's using the Mesa EGL library, not the NVIDIA one.

Same problem here. Is this something we should be trying to fix or is it just in the driver and that's how it is?

Interesting, I've just upgraded to 545.29.02 and it's effecting my machine aswell. I'll take a look into it when I get a moment.

Thanks mate. I did notice that the nvidia compute libs I built against were libnvidia-egl-wayland 1.1.12 and they dropped 1.1.13 a couple weeks ago, so rebuilding against that lib now to see if it makes any difference.

Edit: No change there :(

Hmm, this might not be good. I found an obvious difference between the versions that was tripping us up, but after fixing that it just errors with a different message:

eglCreateImageKHR: EGL_BAD_MATCH error: In eglCreateImageKHR: could not bind to DMA buffer

I don't see any other changes that should effect us. I'll take a closer look when I get more time.

No rush, we appreciate your work.

Just wanted to report that I am also facing the same issue (X11 with the Direct Rendering Backend). I am very much willing to provide logs and additional information/testing to help out.

As mentioned by @pallaswept above, absolutely no rush! we appreciate everything that you do @elFarto and we just want to do our best to support.

Ok, it should be fixed in master now. Haven't had a chance to try it on an older driver version yet, but it should still be good.

I've already rolled back to the old drivers and built this from master, so I'll test it out with the old drivers first and then upgrade and confirm the fix, and get back to you shortly with confirmation.

Edi: Confirmed working with old drivers (note the C+G in the bottom line):

+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 535.129.03             Driver Version: 535.129.03   CUDA Version: 12.2     |
|-----------------------------------------+----------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |         Memory-Usage | GPU-Util  Compute M. |
|                                         |                      |               MIG M. |
|=========================================+======================+======================|
|   0  NVIDIA GeForce RTX 3090        Off | 00000000:07:00.0  On |                  N/A |
| 34%   43C    P2             114W / 350W |   1625MiB / 24576MiB |      3%      Default |
|                                         |                      |                  N/A |
+-----------------------------------------+----------------------+----------------------+
                                                                                         
+---------------------------------------------------------------------------------------+
| Processes:                                                                            |
|  GPU   GI   CI        PID   Type   Process name                            GPU Memory |
|        ID   ID                                                             Usage      |
|=======================================================================================|
|    0   N/A  N/A      6094      G   /usr/bin/Xorg.bin                            32MiB |
|    0   N/A  N/A      6223      G   /usr/bin/kwin_wayland                       286MiB |
|    0   N/A  N/A      6287      G   /usr/bin/Xwayland                             6MiB |
|    0   N/A  N/A      6331      G   /usr/bin/ksmserver                            4MiB |
|    0   N/A  N/A      6334      G   /usr/bin/kded5                                4MiB |
|    0   N/A  N/A      6349      G   /usr/bin/plasmashell                        150MiB |
|    0   N/A  N/A      6464      G   ...c/polkit-kde-authentication-agent-1        4MiB |
|    0   N/A  N/A      6466      G   /usr/libexec/xdg-desktop-portal-kde           4MiB |
|    0   N/A  N/A      6692      G   /usr/bin/copyq                                4MiB |
|    0   N/A  N/A      6700      G   /usr/bin/yakuake                              4MiB |
|    0   N/A  N/A      6705      G   /usr/bin/keepassxc                            4MiB |
|    0   N/A  N/A      6714      G   /usr/bin/kaccess                              4MiB |
|    0   N/A  N/A      6802      G   /usr/bin/copyq                                4MiB |
|    0   N/A  N/A      6881      G   /usr/libexec/kdeconnectd                      4MiB |
|    0   N/A  N/A      6952      G   /usr/libexec/kf5/kioslave5                    4MiB |
|    0   N/A  N/A      7033      G   /usr/lib64/firefox/firefox                  574MiB |
|    0   N/A  N/A      7189      G   /usr/lib/mozilla/kmozillahelper               4MiB |
|    0   N/A  N/A      8984      G   ...bin/plasma-browser-integration-host        4MiB |
|    0   N/A  N/A     10042    C+G   /usr/lib64/firefox/firefox                  459MiB |
+---------------------------------------------------------------------------------------+

Edit:
Confirmed working with new drivers:

+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 545.29.02              Driver Version: 545.29.02    CUDA Version: 12.3     |
|-----------------------------------------+----------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |         Memory-Usage | GPU-Util  Compute M. |
|                                         |                      |               MIG M. |
|=========================================+======================+======================|
|   0  NVIDIA GeForce RTX 3090        Off | 00000000:07:00.0  On |                  N/A |
| 34%   48C    P2             118W / 350W |   1629MiB / 24576MiB |      3%      Default |
|                                         |                      |                  N/A |
+-----------------------------------------+----------------------+----------------------+
                                                                                         
+---------------------------------------------------------------------------------------+
| Processes:                                                                            |
|  GPU   GI   CI        PID   Type   Process name                            GPU Memory |
|        ID   ID                                                             Usage      |
|=======================================================================================|
|    0   N/A  N/A      5992      G   /usr/bin/Xorg.bin                            32MiB |
|    0   N/A  N/A      6121      G   /usr/bin/kwin_wayland                       298MiB |
|    0   N/A  N/A      6180      G   /usr/bin/Xwayland                             6MiB |
|    0   N/A  N/A      6189      G   /usr/bin/ksmserver                            4MiB |
|    0   N/A  N/A      6191      G   /usr/bin/kded5                                4MiB |
|    0   N/A  N/A      6207      G   /usr/bin/plasmashell                        150MiB |
|    0   N/A  N/A      6265      G   ...c/polkit-kde-authentication-agent-1        4MiB |
|    0   N/A  N/A      6267      G   /usr/libexec/xdg-desktop-portal-kde           4MiB |
|    0   N/A  N/A      6445      G   /usr/bin/copyq                                4MiB |
|    0   N/A  N/A      6454      G   /usr/bin/yakuake                              4MiB |
|    0   N/A  N/A      6455      G   /usr/bin/keepassxc                            4MiB |
|    0   N/A  N/A      6466      G   /usr/bin/kaccess                              4MiB |
|    0   N/A  N/A      6576      G   /usr/bin/copyq                                4MiB |
|    0   N/A  N/A      6664      G   /usr/libexec/kdeconnectd                      4MiB |
|    0   N/A  N/A      6714      G   /usr/libexec/kf5/kioslave5                    4MiB |
|    0   N/A  N/A      6814      G   /usr/lib64/firefox/firefox                  566MiB |
|    0   N/A  N/A      6981      G   /usr/lib/mozilla/kmozillahelper               4MiB |
|    0   N/A  N/A      9076      G   ...bin/plasma-browser-integration-host        4MiB |
|    0   N/A  N/A      9738    C+G   /usr/lib64/firefox/firefox                  459MiB |
+---------------------------------------------------------------------------------------+

Thanks @elFarto love your work mate.

Can also confirm it works w latest git.

Confirming that it's working for me on the latest driver with the following related env variables:

# LIBVA_DRIVER_NAME=vdpau
LIBVA_DRIVER_NAME=nvidia
# VDPAU_DRIVER=nvidia
MOZ_DISABLE_RDD_SANDBOX=1
MOZ_X11_EGL=1
NVD_BACKEND=direct
ADW_DISABLE_PORTAL=1

(X11 with Direct Rendering Backend)

Screenshot

Thanks for all your work @elFarto . We sincerely appreciate what you do.

Ok, it should be fixed in master now. Haven't had a chance to try it on an older driver version yet, but it should still be good.

Works fine with RTX 3060Ti / Driver 545.29.02
Thank you!

Thanks! Perhaps it's a high time for release, so that AUR picks it up. Thank you once again

v0.0.11 has been released with this fix included. Thanks for all your testing!