Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chrome Support #5

Open
luigifcruz opened this issue Jan 4, 2022 · 183 comments
Open

Chrome Support #5

luigifcruz opened this issue Jan 4, 2022 · 183 comments

Comments

@luigifcruz
Copy link

Does this library support Chrome? If not, what would take to add support?

Awesome library. Looking forward to testing it. I'm happy to contribute!

@elFarto
Copy link
Owner

elFarto commented Jan 4, 2022

I haven't tried it with Chrome yet, I wasn't aware that VA-API support had been added, or is it a patched version?

It shouldn't be too hard to add support, it's unlikely to do anything drastically different from Firefox.

@hf29h8sh321
Copy link

hf29h8sh321 commented Jan 4, 2022

Running with --enable-features=UseVaapiDecoder prints the following errors:

[419021:419021:0104/124417.354326:ERROR:vaapi_wrapper.cc(1070)] : FillProfileInfo_Locked failed for va_profile VAProfileH264Main and entrypoint VAEntrypointVLD
[419021:419021:0104/124417.356714:ERROR:vaapi_wrapper.cc(1070)] : FillProfileInfo_Locked failed for va_profile VAProfileH264High and entrypoint VAEntrypointVLD
[419021:419021:0104/124417.358761:ERROR:vaapi_wrapper.cc(1070)] : FillProfileInfo_Locked failed for va_profile VAProfileH264ConstrainedBaseline and entrypoint VAEntrypointVLD
[419021:419021:0104/124417.360671:ERROR:vaapi_wrapper.cc(1070)] : FillProfileInfo_Locked failed for va_profile VAProfileVP8Version0_3 and entrypoint VAEntrypointVLD
[419021:419021:0104/124417.362997:ERROR:vaapi_wrapper.cc(1070)] : FillProfileInfo_Locked failed for va_profile VAProfileVP9Profile0 and entrypoint VAEntrypointVLD

@luigifcruz
Copy link
Author

@elFarto I think it's a flag that needs to be enabled on compile time. But I think most distributions have it enabled. Not sure how well it works with the new Ozone layer.

@urbenlegend
Copy link

Getting the same errors as @hf29h8sh321 in Brave, which has VA-API enabled by default in their Linux builds.

Would love Chromium-based browser support here as well. Thanks!

@robsterooni
Copy link

Anyone have any idea where a change would have to be made for this to work? Looks like the error is logged from chromium itself, but I suspect the issue lies within some part of vaapi not bring implemented in this lib. I will do some digging on this when I get some time and would appreciate any pointers anyone may have.

@elFarto
Copy link
Owner

elFarto commented Jan 4, 2022

I'm focusing more on getting the library working well under Firefox, so this isn't a high priority at the moment.

The first thing to look at is where the FillProfileInfo_Locked message is logged, and see what it's looking for from the VA-API implementation. Once you can see why it's failing (likely a missing attribute, or function not implemented) we can look about fixing that.

@robsterooni
Copy link

Cool, thanks, I will start there once I have repro-d the errors logged in this issue. TBH i am hoping its just incorrect chromium flags as they are a mess and constantly changing. Congrats on the first release of this btw - its a potential game changer until Vulkan saves us all.

@helloer
Copy link

helloer commented Jan 4, 2022

The first thing to look at is where the FillProfileInfo_Locked message is logged, and see what it's looking for from the VA-API implementation. Once you can see why it's failing (likely a missing attribute, or function not implemented) we can look about fixing that.

Looks like the problem is with

//*attrib_list = cfg->attrib_list; //TODO is that the right thing/type?
chromium looks for VAConfigAttribRTFormat attribute here and right now it doesn't return such attributes

you can bypass this by hard coding values (very hacky)

attrib_list->type == VAConfigAttribRTFormat;
attrib_list->value = VA_RT_FORMAT_YUV420;
*num_attribs = 1;

moreover vaCreateContext will fail because chrome doesn't pass VASurfaceIDs to vaCreateContext. Also chromium uses vaPutSurface which is not implemented.

@philipl
Copy link
Contributor

philipl commented Jan 4, 2022

If chromium (Note that Google never build Chrome with vaapi support) is still using vaPutSurface in their X11 backend, then that makes everything slow anyway. It's probably not hard to implement, but it's also not zero-copy. The wayland backend must be using dma-buf passing if it's not going a CPU copy.

@puyoxyz
Copy link

puyoxyz commented Jan 5, 2022

chrome support would be cool for playing stadia in 4k

@elFarto
Copy link
Owner

elFarto commented Jan 5, 2022

Ok, the missing attribute is simple to fix, the surface IDs not being passed in is a bit more problematic, and the use of vaPutSurface is just weird.

I think we can work around the surface IDs not being passed in, as we don't really need them, they're just assigned a picture number to be used later. This could be move to a dynamic allocation. We would then just need to come up with some reasonable defaults for the missing ulNumDecodeSurfaces and ulNumOutputSurfaces fields, which shouldn't be too hard (I already had a note to look at that anyway).

vaPutSurface is going to be hard to get working if they're using it. vaPutImage is also difficult to work around. As noted above we don't really have any surfaces, they're all managed for us, so to 'put' something into a surface is not an action we can do. We could try stubbing those methods to return successful but not actually do anything and see what that breaks.

I noticed that their DMA-BUF export code seems to throw away the DRM modifiers, and that's a blocker. The NVIDIA driver requires they be passed into the import method (it's the same thing I've fixed in Firefox and MPV).

I also noticed some protected playback stuff, that's almost certainly never going to work, hopefully it doesn't use that by default.

@helloer
Copy link

helloer commented Jan 5, 2022

Looks like vaPutSurface will not be used when you start chromium with --use-gl=egl but there is another problem - chromium uses VAProfileNone with VAEntrypointVideoProc as entrypoint which is currently not supported by the driver.

@elFarto
Copy link
Owner

elFarto commented Jan 24, 2022

I've made a couple of changes to the library to try and support Chrome better, but I'm not having much luck testing it. Chrome gives me a weird EGL error when I try and start it. You'll likely need to use NVD_LOG=filename as it stdout doesn't get displayed.

@helloer
Copy link

helloer commented Jan 25, 2022

[36080-36080] ../src/export-buf.c: 141          findCudaDisplay Found 3 EGL devices
[36080-36080] ../src/export-buf.c: 145          findCudaDisplay Got EGL_CUDA_DEVICE_NV value '0' from device 0
[36080-36080] ../src/export-buf.c: 157          findCudaDisplay Checking device file: /dev/dri/renderD128
[36080-36080] ../src/export-buf.c: 164          findCudaDisplay Got DRM_IOCTL_GET_CAP ioctl response: 0 1
[36080-36080] ../src/export-buf.c: 204             initExporter Got EGLDisplay from CUDA device
[36080-36080] ../src/export-buf.c: 102                reconnect Reconnecting to stream
[36080-36080] ../src/vabackend.c: 446           nvCreateConfig got profile: 7 with 1 attributes
[36080-36080] ../src/vabackend.c: 465           nvCreateConfig got config attrib: 0 0 1
[36080:36232:0125/114726.887900:VERBOSE2:vaapi_video_decode_accelerator.cc(483)] DecodeTask(): Decoder requesting a new set of surfaces
[36080:36080:0125/114726.888755:VERBOSE2:vaapi_video_decode_accelerator.cc(578)] InitiateSurfaceSetChange():  |requested_num_pics_| = 6; |requested_num_reference_frames_| = 6
[36080:36080:0125/114726.888900:VERBOSE2:vaapi_video_decode_accelerator.cc(644)] TryFinishSurfaceSetChange(): Requesting 6 pictures of size: 1920x1088 and visible rectangle = 0,0 1920x1080
[36080:36080:0125/114726.890074:ERROR:vaapi_video_decode_accelerator.cc(724)] Failed to initialize VppVaapiWrapper
[36080:36080:0125/114726.890213:VERBOSE1:vaapi_video_decode_accelerator.cc(144)] NotifyError(): Notifying of error 4
[36080:36080:0125/114726.891818:VERBOSE2:vaapi_video_decode_accelerator.cc(1041)] Cleanup(): Destroying VAVDA
[36080-36080] ../src/vabackend.c:1621              nvTerminate In nvTerminate
[36080-36080] ../src/export-buf.c:  54          releaseExporter Releasing exporter, 0 outstanding frames
[36080-36080] ../src/export-buf.c:  71          releaseExporter Done releasing frames
[36080-36080] ../src/export-buf.c:  81          releaseExporter Done releasing EGLImages

LIBVA_DRIVER_NAME=nvidia NVD_LOG=1 chromium --enable-features=VaapiVideoDecoder --enable-logging=stderr --loglevel=0 --vmodule=vaapi_wrapper=4,vaapi_video_decode_accelerator=4 --use-gl=egl

Testing on 441c03d, I think it still fails because of missing VAProfileNone #5 (comment)

@Tatsh
Copy link

Tatsh commented Jan 25, 2022

Google Chrome Beta crashes a few times with --use-gl=egl and otherwise the above command makes no difference from before.

@Tatsh
Copy link

Tatsh commented Jan 27, 2022

Chrome Beta actually disables GPU entirely when this is loaded. Definitely something wrong.

@elFarto
Copy link
Owner

elFarto commented Jan 28, 2022

@helloer A couple of questions. Which chromium build are you running? and are you running this under Wayland?

I'm getting these errors at the moment, attempting to run it under X11:

[21490:21490:0128/205707.729988:ERROR:gpu_init.cc(453)] Passthrough is not supported, GL is egl, ANGLE is 
[21490:21490:0128/205707.748983:ERROR:sandbox_linux.cc(374)] InitializeSandbox() called with multiple threads in process gpu-process.
[21490-21490] ../src/export-buf.c:  52                    debug [EGL] eglCreateWindowSurface: EGL_BAD_MATCH error: In eglCreateWindowSurface: Native and EGL formats are incompatible
[21490:21490:0128/205707.777189:ERROR:gl_surface_egl.cc(1510)] eglCreateWindowSurface failed with error EGL_BAD_MATCH

@helloer
Copy link

helloer commented Jan 28, 2022

Which chromium build are you running? and are you running this under Wayland?

Chromium 97.0.4692.99 Arch Linux under X11. Maybe it's due to https://github.com/archlinux/svntogit-packages/blob/packages/chromium/trunk/unexpire-accelerated-video-decode-flag.patch?

@elFarto
Copy link
Owner

elFarto commented Jan 29, 2022

I've spent a few hours working on this today and managed to get...not far. I've discovered that XFCE's display composition is what was causing the the EGL_BAD_MATCH errors (I think). Disabling that got me to helloer's error. I hacked in some code to pretend we support VAProfileVideoProc, then got to this line.

I've checked the code in on the chrome_support branch.

@timocapa
Copy link

timocapa commented Apr 3, 2022

EGL_BAD_MATCH

I get the same thing on Gnome 42 on X11 with a GTX 1080 on 510.60.02 with GChrome 100

Not sure if I need --use-gl=egl, if I drop it the error goes too

If I open chrome://gpu, I get this:

[100114-100114] ../src/vabackend.c:1642       __vaDriverInit_1_0 Initialising NVIDIA VA-API Driver: 0x1bb4012f3800 10
[100114-100114] ../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.
[100114-100114] ../src/export-buf.c: 164       findGPUIndexFromFd Looking for GPU index: 0
[100114-100114] ../src/export-buf.c: 175       findGPUIndexFromFd Found 4 EGL devices
[100114-100114] ../src/export-buf.c: 184       findGPUIndexFromFd Got EGL_CUDA_DEVICE_NV value '0' for EGLDevice 0
[100114-100114] ../src/export-buf.c: 136 checkModesetParameterFromFd Unable to check nvidia_drm modeset setting
[100114-100114] ../src/export-buf.c: 208       findGPUIndexFromFd Selecting EGLDevice 0
[100114-100114] ../src/export-buf.c: 270             initExporter Driver doesn't support 16-bit surfaces
[100114-100114] ../src/export-buf.c: 103                reconnect Reconnecting to stream
[100114-100114] ../src/vabackend.c: 456           nvCreateConfig got profile: 6 with 1 attributes
[100114-100114] ../src/vabackend.c: 477           nvCreateConfig got config attrib: 0 0 1
[100114-100114] ../src/vabackend.c:1345 nvQuerySurfaceAttributes with 4 (nil) -1431655766
[100114-100114] ../src/vabackend.c:1345 nvQuerySurfaceAttributes with 4 0x1bb401640180 5
[100114-100114] ../src/vabackend.c: 456           nvCreateConfig got profile: 6 with 0 attributes
[100114-100114] ../src/vabackend.c: 456           nvCreateConfig got profile: 7 with 1 attributes
[100114-100114] ../src/vabackend.c: 477           nvCreateConfig got config attrib: 0 0 1
[100114-100114] ../src/vabackend.c:1345 nvQuerySurfaceAttributes with 4 (nil) -1431655766
[100114-100114] ../src/vabackend.c:1345 nvQuerySurfaceAttributes with 4 0x1bb401640180 5
[100114-100114] ../src/vabackend.c: 456           nvCreateConfig got profile: 7 with 0 attributes
[100114-100114] ../src/vabackend.c: 456           nvCreateConfig got profile: 13 with 1 attributes
[100114-100114] ../src/vabackend.c: 477           nvCreateConfig got config attrib: 0 0 1
[100114-100114] ../src/vabackend.c:1345 nvQuerySurfaceAttributes with 4 (nil) -1431655766
[100114-100114] ../src/vabackend.c:1345 nvQuerySurfaceAttributes with 4 0x1bb401640180 5
[100114-100114] ../src/vabackend.c: 456           nvCreateConfig got profile: 13 with 0 attributes
[100114-100114] ../src/vabackend.c: 456           nvCreateConfig got profile: 14 with 1 attributes
[100114-100114] ../src/vabackend.c: 477           nvCreateConfig got config attrib: 0 0 1
[100114-100114] ../src/vabackend.c:1345 nvQuerySurfaceAttributes with 9 (nil) -1431655766
[100114-100114] ../src/vabackend.c:1345 nvQuerySurfaceAttributes with 9 0x1bb401640180 5
[100114-100114] ../src/vabackend.c: 456           nvCreateConfig got profile: 14 with 0 attributes
[100114-100114] ../src/vabackend.c: 456           nvCreateConfig got profile: 19 with 1 attributes
[100114-100114] ../src/vabackend.c: 477           nvCreateConfig got config attrib: 0 0 1
[100114-100114] ../src/vabackend.c:1345 nvQuerySurfaceAttributes with 10 (nil) -1431655766
[100114-100114] ../src/vabackend.c:1345 nvQuerySurfaceAttributes with 10 0x1bb401640180 5
[100114-100114] ../src/vabackend.c: 456           nvCreateConfig got profile: 19 with 0 attributes
[100114-100114] ../src/vabackend.c:1626              nvTerminate Terminating 0x1bb4012f3800
[100114-100114] ../src/export-buf.c:  65          releaseExporter Releasing exporter, 0 outstanding frames
[100114-100114] ../src/export-buf.c:  82          releaseExporter Done releasing frames

if it means anything

@ghost
Copy link

ghost commented Jul 1, 2022

Hoping this could work on chrome some day. There's already vdpau backend implementation of va-api working perfectly on chromium. It currently supports all h264 profiles & vp9-profile0 & uses VDAVideoDecoder.
But as we know NVDEC is more efficient & closer to nvidia's proprietary implementation as VDPAU is dead outdated.

@elFarto
Copy link
Owner

elFarto commented Jul 24, 2022

I've reworked some stuff and got Chromium on X11 (with desktop GL) support sort of working, but it's quite a hack and very inefficient, and the resulting image isn't quite the correct colour due to the library having to do the YUV -> RGB conversion. I would not recommend it for daily use.
Chromium on X11 with EGL won't work until NVIDIA support the DRI3 open method in their X11 driver, there's nothing I can do to work around that.

However, I'm having a problem getting Chromium on Wayland (with EGL) to even initialise VA-API. I'm using this command on Fedora 36/GNOME 42:

 NVD_LOG=1 chromium-freeworld --enable-features=VaapiVideoDecoder --password-store=basic --use-gl=egl --enable-logging=stderr --vmodule=gpu_video_decode_accelerator_factory=4,vaapi_wrapper=4,vaapi_video_decode_accelerator=4 --disable-gpu-sandbox --disable-features=UseChromeOSDirectVideoDecoder

But I see an output early on about DRM Prime not being supported. This seems to be the result of the wl_drm protocol on the display server returning the capabilities of 0. I can't find what's setting that value.

Can some of you try launching chromium with VA-API and NVD_LOG=1 and see if it initialises the library on startup? Also, could you note which wayland compositor you're using. You don't specifically need this branch to test it, chromium will at least initialise the regular version.

@ghost
Copy link

ghost commented Jul 24, 2022

@elFarto Did you test your patches on xwayland with ozone enabled? I don't think egl will help with this because it has lot of other issues such as reduced gpu performance. Even if you make it work, no one gonna have chromium on egl backend.

@elFarto
Copy link
Owner

elFarto commented Jul 24, 2022

--ozone-platform=wayland is automatically passed with chromium-freeworld. Just tried regular chromium too, slightly different error:

[57047:57047:0724/154417.696624:WARNING:wayland_drm.cc(96)] Failed to get drm magic

rather than:

[55021:55021:0724/154043.238392:WARNING:wayland_drm.cc(96)] Drm prime capability is not supported

@timocapa
Copy link

timo@mauve ~> NVD_LOG=1 google-chrome-stable --enable-features=VaapiVideoDecoder --password-store=basic --use-gl=egl --enable-logging=stderr --vmodule=gpu_video_decode_accelerator_factory=4,vaapi_wrapper=4,vaapi_video_decode_accelerator=4 --disable-gpu-sandbox --disable-features=UseChromeOSDirectVideoDecoder --ozone-platform=wayland
[32525:32525:0724/164745.040269:WARNING:wayland_object.cc(95)] Binding to gtk_shell1 version 4 but version 5 is available.
[32525:32525:0724/164745.040300:WARNING:wayland_object.cc(95)] Binding to zwp_pointer_gestures_v1 version 1 but version 3 is available.
[32525:32525:0724/164745.040310:WARNING:wayland_object.cc(95)] Binding to zwp_linux_dmabuf_v1 version 3 but version 4 is available.
[32525:32525:0724/164745.040446:WARNING:wayland_drm.cc(96)] Drm prime capability is not supported

same thing on gchrome

@ghost
Copy link

ghost commented Jul 24, 2022

@elFarto I meant xwayland btw. Let ozone choose X11 as ozone backend & see if it really works.
env GDK_BACKEND=x11 NVD_LOG=1 chromium --ozone-platform=x11
Chromium with Wayland still hasn't ported drm support I guess.

@Korothi
Copy link

Korothi commented Dec 28, 2022

[filip@PC-ARCH ~]$ NVD_LOG=1 chromium
     12752.030663233 [19273-19273] ../src/vabackend.c:2083       __vaDriverInit_1_0 Initialising NVIDIA VA-API Driver: 10
     12752.030673783 [19273-19273] ../src/vabackend.c:2092       __vaDriverInit_1_0 Now have 0 (0 max) instances
     12752.030677513 [19273-19273] ../src/vabackend.c:2118       __vaDriverInit_1_0 Selecting Direct backend
     12752.036261359 [19273-19273] ../src/direct/direct-export-buf.c:  90      direct_initExporter Found NVIDIA GPU 0 at /dev/dri/renderD128
     12752.036268689 [19273-19273] ../src/direct/nv-driver.c: 190            init_nvdriver Initing nvdriver...
     12752.036271839 [19273-19273] ../src/direct/nv-driver.c: 195            init_nvdriver Got dev info: a00 1 2 6
     12752.036337147 [19273-19273] ../src/direct/nv-driver.c: 256            init_nvdriver NVIDIA kernel driver version: 525.60.11
     12752.158712890 [19273-19273] ../src/vabackend.c: 637           nvCreateConfig got profile: 6 with 1 attributes
     12752.158720960 [19273-19273] ../src/vabackend.c: 658           nvCreateConfig got config attrib: 0 0 1
     12752.158723480 [19273-19273] ../src/vabackend.c:1749 nvQuerySurfaceAttributes with 4 (8) (nil) -1431655766
     12752.158726170 [19273-19273] ../src/vabackend.c:1749 nvQuerySurfaceAttributes with 4 (8) 0xd9800da6040 7
     12752.159820070 [19273-19273] ../src/vabackend.c:1807 nvQuerySurfaceAttributes Returning constraints: width: 48 - 4096, height: 16 - 4096
     12752.159825800 [19273-19273] ../src/vabackend.c: 637           nvCreateConfig got profile: 6 with 0 attributes
     12752.159833889 [19273-19273] ../src/vabackend.c: 637           nvCreateConfig got profile: 7 with 1 attributes
     12752.159835809 [19273-19273] ../src/vabackend.c: 658           nvCreateConfig got config attrib: 0 0 1
     12752.159837439 [19273-19273] ../src/vabackend.c:1749 nvQuerySurfaceAttributes with 4 (8) (nil) -1431655766
     12752.159839319 [19273-19273] ../src/vabackend.c:1749 nvQuerySurfaceAttributes with 4 (8) 0xd9800da6040 7
     12752.160945249 [19273-19273] ../src/vabackend.c:1807 nvQuerySurfaceAttributes Returning constraints: width: 48 - 4096, height: 16 - 4096
     12752.160950289 [19273-19273] ../src/vabackend.c: 637           nvCreateConfig got profile: 7 with 0 attributes
     12752.160954439 [19273-19273] ../src/vabackend.c: 637           nvCreateConfig got profile: 13 with 1 attributes
     12752.160956119 [19273-19273] ../src/vabackend.c: 658           nvCreateConfig got config attrib: 0 0 1
     12752.160957599 [19273-19273] ../src/vabackend.c:1749 nvQuerySurfaceAttributes with 4 (8) (nil) -1431655766
     12752.160959269 [19273-19273] ../src/vabackend.c:1749 nvQuerySurfaceAttributes with 4 (8) 0xd9800da6040 7
     12752.161912982 [19273-19273] ../src/vabackend.c:1807 nvQuerySurfaceAttributes Returning constraints: width: 48 - 4096, height: 16 - 4096
     12752.161917682 [19273-19273] ../src/vabackend.c: 637           nvCreateConfig got profile: 13 with 0 attributes
     12752.161921252 [19273-19273] ../src/vabackend.c: 637           nvCreateConfig got profile: 17 with 1 attributes
     12752.161922922 [19273-19273] ../src/vabackend.c: 658           nvCreateConfig got config attrib: 0 0 1
     12752.161924412 [19273-19273] ../src/vabackend.c:1749 nvQuerySurfaceAttributes with 8 (8) (nil) -1431655766
     12752.161926312 [19273-19273] ../src/vabackend.c:1749 nvQuerySurfaceAttributes with 8 (8) 0xd9800da6040 7
     12752.162876905 [19273-19273] ../src/vabackend.c:1807 nvQuerySurfaceAttributes Returning constraints: width: 144 - 8192, height: 144 - 8192
     12752.162881585 [19273-19273] ../src/vabackend.c: 637           nvCreateConfig got profile: 17 with 0 attributes
     12752.162885285 [19273-19273] ../src/vabackend.c: 637           nvCreateConfig got profile: 14 with 1 attributes
     12752.162887065 [19273-19273] ../src/vabackend.c: 658           nvCreateConfig got config attrib: 0 0 1
     12752.162888565 [19273-19273] ../src/vabackend.c:1749 nvQuerySurfaceAttributes with 9 (8) (nil) -1431655766
     12752.162890125 [19273-19273] ../src/vabackend.c:1749 nvQuerySurfaceAttributes with 9 (8) 0xd9800da6040 7
     12752.163841158 [19273-19273] ../src/vabackend.c:1807 nvQuerySurfaceAttributes Returning constraints: width: 48 - 4096, height: 16 - 4096
     12752.163845938 [19273-19273] ../src/vabackend.c: 637           nvCreateConfig got profile: 14 with 0 attributes
     12752.163850088 [19273-19273] ../src/vabackend.c: 637           nvCreateConfig got profile: 19 with 1 attributes
     12752.163851918 [19273-19273] ../src/vabackend.c: 658           nvCreateConfig got config attrib: 0 0 1
     12752.163853398 [19273-19273] ../src/vabackend.c:1749 nvQuerySurfaceAttributes with 10 (8) (nil) -1431655766
     12752.163855148 [19273-19273] ../src/vabackend.c:1749 nvQuerySurfaceAttributes with 10 (8) 0xd9800da6040 7
     12752.164923828 [19273-19273] ../src/vabackend.c:1807 nvQuerySurfaceAttributes Returning constraints: width: 128 - 8192, height: 128 - 8192
     12752.164929398 [19273-19273] ../src/vabackend.c: 637           nvCreateConfig got profile: 19 with 0 attributes
     12752.164933578 [19273-19273] ../src/vabackend.c: 637           nvCreateConfig got profile: 32 with 1 attributes
     12752.164935298 [19273-19273] ../src/vabackend.c: 658           nvCreateConfig got config attrib: 0 0 1
     12752.164936868 [19273-19273] ../src/vabackend.c:1749 nvQuerySurfaceAttributes with 11 (8) (nil) -1431655766
     12752.164938698 [19273-19273] ../src/vabackend.c:1749 nvQuerySurfaceAttributes with 11 (8) 0xd9800da6040 7
     12752.165939750 [19273-19273] ../src/vabackend.c:1807 nvQuerySurfaceAttributes Returning constraints: width: 128 - 8192, height: 128 - 8192
     12752.165944280 [19273-19273] ../src/vabackend.c: 637           nvCreateConfig got profile: 32 with 0 attributes
     12752.165946400 [19273-19273] ../src/vabackend.c: 700           nvCreateConfig Unable to determine surface type for VP9/AV1 codec due to no RTFormat specified.
     12752.165950170 [19273-19273] ../src/vabackend.c: 637           nvCreateConfig got profile: 18 with 1 attributes
     12752.165952010 [19273-19273] ../src/vabackend.c: 658           nvCreateConfig got config attrib: 0 0 1
     12752.165953630 [19273-19273] ../src/vabackend.c:1749 nvQuerySurfaceAttributes with 8 (10) (nil) -1431655766
     12752.165955340 [19273-19273] ../src/vabackend.c:1749 nvQuerySurfaceAttributes with 8 (10) 0xd9800da6040 7
     12752.167111237 [19273-19273] ../src/vabackend.c:1807 nvQuerySurfaceAttributes Returning constraints: width: 144 - 8192, height: 144 - 8192
     12752.167115967 [19273-19273] ../src/vabackend.c: 637           nvCreateConfig got profile: 18 with 0 attributes
     12752.167119947 [19273-19273] ../src/vabackend.c: 637           nvCreateConfig got profile: 21 with 1 attributes
     12752.167121727 [19273-19273] ../src/vabackend.c: 658           nvCreateConfig got config attrib: 0 0 256
     12752.167123257 [19273-19273] ../src/vabackend.c:1749 nvQuerySurfaceAttributes with 10 (10) (nil) -1431655766
     12752.167124967 [19273-19273] ../src/vabackend.c:1749 nvQuerySurfaceAttributes with 10 (10) 0xd9800da6040 7
     12752.168232016 [19273-19273] ../src/vabackend.c:1807 nvQuerySurfaceAttributes Returning constraints: width: 128 - 8192, height: 128 - 8192
     12752.168236626 [19273-19273] ../src/vabackend.c: 637           nvCreateConfig got profile: 21 with 0 attributes
     12752.168248046 [19273-19273] ../src/vabackend.c:2055              nvTerminate Terminating 0xd980159dc00
     12752.168290975 [19273-19273] ../src/vabackend.c:2069              nvTerminate Now have 0 (0 max) instances
src/gbm_drv_common.c:56: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 538982482

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

@Korothi
Copy link

Korothi commented Dec 28, 2022

above was wayland. this is x11:

[filip@PC-ARCH ~]$ chromium
[4150:4323:1228/133407.891383:ERROR:vaapi_wrapper.cc(2291)] vaCreateContext failed, VA error: resource allocation failed
[4150:4323:1228/133407.891454:ERROR:vaapi_video_decoder.cc(1206)] failed creating VAContext
[4150:4150:1228/133407.913800:ERROR:shared_image_factory.cc(575)] Could not find SharedImageBackingFactory with params: usage: Gles2|Raster|DisplayRead|Scanout, format: RED_8, share_between_threads: 0, gmb_type: shared_memory
[4150:4150:1228/133407.913890:ERROR:shared_image_factory.cc(575)] Could not find SharedImageBackingFactory with params: usage: Gles2|Raster|DisplayRead|Scanout, format: RG_88, share_between_threads: 0, gmb_type: shared_memory
[4150:4150:1228/133407.931197:ERROR:shared_image_factory.cc(575)] Could not find SharedImageBackingFactory with params: usage: Gles2|Raster|DisplayRead|Scanout, format: RED_8, share_between_threads: 0, gmb_type: shared_memory
[4150:4150:1228/133407.931300:ERROR:shared_image_factory.cc(575)] Could not find SharedImageBackingFactory with params: usage: Gles2|Raster|DisplayRead|Scanout, format: RG_88, share_between_threads: 0, gmb_type: shared_memory
[4150:4150:1228/133407.937296:ERROR:shared_image_factory.cc(575)] Could not find SharedImageBackingFactory with params: usage: Gles2|Raster|DisplayRead|Scanout, format: RED_8, share_between_threads: 0, gmb_type: shared_memory
[4150:4150:1228/133407.937393:ERROR:shared_image_factory.cc(575)] Could not find SharedImageBackingFactory with params: usage: Gles2|Raster|DisplayRead|Scanout, format: RG_88, share_between_threads: 0, gmb_type: shared_memory
[4150:4150:1228/133407.943439:ERROR:shared_image_factory.cc(575)] Could not find SharedImageBackingFactory with params: usage: Gles2|Raster|DisplayRead|Scanout, format: RED_8, share_between_threads: 0, gmb_type: shared_memory
[4150:4150:1228/133407.943607:ERROR:shared_image_factory.cc(575)] Could not find SharedImageBackingFactory with params: usage: Gles2|Raster|DisplayRead|Scanout, format: RG_88, share_between_threads: 0, gmb_type: shared_memory
[4150:4150:1228/133407.950084:ERROR:shared_image_factory.cc(575)] Could not find SharedImageBackingFactory with params: usage: Gles2|Raster|DisplayRead|Scanout, format: RED_8, share_between_threads: 0, gmb_type: shared_memory
[4150:4150:1228/133407.955803:ERROR:shared_image_factory.cc(575)] Could not find SharedImageBackingFactory with params: usage: Gles2|Raster|DisplayRead|Scanout, format: RG_88, share_between_threads: 0, gmb_type: shared_memory
[4150:4150:1228/133407.956207:ERROR:shared_image_factory.cc(575)] Could not find SharedImageBackingFactory with params: usage: Gles2|Raster|DisplayRead|Scanout, format: RED_8, share_between_threads: 0, gmb_type: shared_memory
[4150:4150:1228/133407.956268:ERROR:shared_image_factory.cc(575)] Could not find SharedImageBackingFactory with params: usage: Gles2|Raster|DisplayRead|Scanout, format: RG_88, share_between_threads: 0, gmb_type: shared_memory
[4150:4150:1228/133408.058509:ERROR:shared_image_factory.cc(575)] Could not find SharedImageBackingFactory with params: usage: Gles2|Raster|DisplayRead|Scanout, format: RED_8, share_between_threads: 0, gmb_type: shared_memory
[4150:4150:1228/133408.058591:ERROR:shared_image_factory.cc(575)] Could not find SharedImageBackingFactory with params: usage: Gles2|Raster|DisplayRead|Scanout, format: RG_88, share_between_threads: 0, gmb_type: shared_memory
[4150:4150:1228/133408.211753:ERROR:shared_image_factory.cc(575)] Could not find SharedImageBackingFactory with params: usage: Gles2|Raster|DisplayRead|Scanout, format: RED_8, share_between_threads: 0, gmb_type: shared_memory
[4150:4150:1228/133408.211824:ERROR:shared_image_factory.cc(575)] Could not find SharedImageBackingFactory with params: usage: Gles2|Raster|DisplayRead|Scanout, format: RG_88, share_between_threads: 0, gmb_type: shared_memory

@elFarto
Copy link
Owner

elFarto commented Dec 28, 2022

It does look like there have been some changes to Chromium recently. The X11 backend is now trying to use DMA-BUFs which is good. However, there's another limitation, it requires a single fd be exported for both planes, which we can't currently do (I might be able to make the direct backend do it, but it runs into issues with smaller videos due to different modifiers). I did try some experiments with it, but didn't get too far.

The Chromium issue is here, however it's been open a while now, so I don't know if it'll get fixed.

@rmader
Copy link

rmader commented Oct 3, 2024

Relevant CLs that recently landed:

  1. https://chromium-review.googlesource.com/c/chromium/src/+/5893615
  2. https://chromium-review.googlesource.com/c/chromium/src/+/5899270

So on nightly it should be enough to run with --enable-features=VaapiOnNvidiaGPUs,AcceleratedVideoDecodeLinuxGL --ozone-platform=wayland, and hopefully soon just: --enable-features=VaapiOnNvidiaGPUs --ozone-platform=wayland

@xuanruiqi
Copy link

xuanruiqi commented Oct 7, 2024

BTW, I think Chrome support is now stable enough to consider official. More user testing is probably needed though.

OK apparently I was wrong - some of the lingering issues are still there...
Looks like H264 is mostly stable by now (which is already a huge step), VP8/VP9 can be quite a pain. I can use h264ify, but I'd really want VP8/9 to function too.
But the native pixmap fixup might make things much better

@greyltc
Copy link

greyltc commented Oct 18, 2024

I can confirm that the chromium package in Arch Linux's official repo decodes my h264 stream in hardware today (when launched under wayland like this):

$ lspci -d ::0300
43:00.0 VGA compatible controller: NVIDIA Corporation GP107GL [Quadro P620] (rev a1)
$ pacman -Q nvidia-utils
nvidia-utils 560.35.03-16
$ pacman -Q libva-nvidia-driver
libva-nvidia-driver 0.0.12-1
$ chromium --version
Chromium 130.0.6723.58 Arch Linux
$ NVD_BACKEND=direct NVD_LOG=1 LIBVA_DRIVER_NAME=nvidia chromium --enable-features=VaapiOnNvidiaGPUs,VaapiVideoDecodeLinuxGL,VaapiVideoDecodeLinuxZeroCopyGL --ozone-platform-hint=auto
     17660.006930622 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:2188       __vaDriverInit_1_0 Initialising NVIDIA VA-API Driver: 31
     17660.006945610 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:2197       __vaDriverInit_1_0 Now have 0 (0 max) instances
     17660.006949087 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:2223       __vaDriverInit_1_0 Selecting Direct backend
     17660.006970377 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/direct/nv-driver.c: 267            init_nvdriver Initing nvdriver...
     17660.006995254 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/direct/nv-driver.c: 285            init_nvdriver NVIDIA kernel driver version: 560.35.03, major version: 560, minor version: 35
     17660.007003429 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/direct/nv-driver.c: 292            init_nvdriver Got dev info: 4300 1 0 fe
[24487:24487:1017/194520.035072:ERROR:object_proxy.cc(576)] Failed to call method: org.freedesktop.ScreenSaver.GetActive: object_path= /org/freedesktop/ScreenSaver: org.freedesktop.DBus.Error.NotSupported: This method is not part of the idle inhibition specification: https://specifications.freedesktop.org/idle-inhibit-spec/latest/
     17660.184830101 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 606    nvGetConfigAttributes Got here with profile: 6 == 4
     17660.184845520 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 674           nvCreateConfig got profile: 6 with 1 attributes
     17660.184850188 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 1
     17660.184857031 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1802 nvQuerySurfaceAttributes with 4 (8) (nil) -1431655766
     17660.184861630 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1802 nvQuerySurfaceAttributes with 4 (8) 0x102c00b36840 8
     17660.188470180 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1869 nvQuerySurfaceAttributes Returning constraints: width: 48 - 4096, height: 16 - 4096
     17660.188484296 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 674           nvCreateConfig got profile: 6 with 0 attributes
     17660.188494445 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 606    nvGetConfigAttributes Got here with profile: 7 == 4
     17660.188498513 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 674           nvCreateConfig got profile: 7 with 1 attributes
     17660.188501980 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 1
     17660.188506588 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1802 nvQuerySurfaceAttributes with 4 (8) (nil) -1431655766
     17660.188510776 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1802 nvQuerySurfaceAttributes with 4 (8) 0x102c00b36840 8
     17660.191466081 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1869 nvQuerySurfaceAttributes Returning constraints: width: 48 - 4096, height: 16 - 4096
     17660.191480067 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 674           nvCreateConfig got profile: 7 with 0 attributes
     17660.191488032 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 606    nvGetConfigAttributes Got here with profile: 13 == 4
     17660.191492100 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 674           nvCreateConfig got profile: 13 with 1 attributes
     17660.191496298 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 1
     17660.191501277 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1802 nvQuerySurfaceAttributes with 4 (8) (nil) -1431655766
     17660.191505926 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1802 nvQuerySurfaceAttributes with 4 (8) 0x102c00b36840 8
     17660.194535641 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1869 nvQuerySurfaceAttributes Returning constraints: width: 48 - 4096, height: 16 - 4096
     17660.194549497 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 674           nvCreateConfig got profile: 13 with 0 attributes
     17660.194558875 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 606    nvGetConfigAttributes Got here with profile: 17 == 8
     17660.194562772 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 674           nvCreateConfig got profile: 17 with 1 attributes
     17660.194565908 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 1
     17660.194572240 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1802 nvQuerySurfaceAttributes with 8 (8) (nil) -1431655766
     17660.194577170 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1802 nvQuerySurfaceAttributes with 8 (8) 0x102c00b36840 8
     17660.197596265 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1869 nvQuerySurfaceAttributes Returning constraints: width: 144 - 8192, height: 144 - 8192
     17660.197610833 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 674           nvCreateConfig got profile: 17 with 0 attributes
     17660.197618547 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 606    nvGetConfigAttributes Got here with profile: 19 == 10
     17660.197622996 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 674           nvCreateConfig got profile: 19 with 1 attributes
     17660.197626152 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 1
     17660.197631281 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1802 nvQuerySurfaceAttributes with 10 (8) (nil) -1431655766
     17660.197636571 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1802 nvQuerySurfaceAttributes with 10 (8) 0x102c00b36840 8
     17660.200663341 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1869 nvQuerySurfaceAttributes Returning constraints: width: 128 - 8192, height: 128 - 8192
     17660.200734395 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 674           nvCreateConfig got profile: 19 with 0 attributes
     17660.200746648 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 606    nvGetConfigAttributes Got here with profile: 18 == 8
     17660.200752389 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 674           nvCreateConfig got profile: 18 with 1 attributes
     17660.200756727 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 1
     17660.200762158 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1802 nvQuerySurfaceAttributes with 8 (10) (nil) -1431655766
     17660.200766696 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1802 nvQuerySurfaceAttributes with 8 (10) 0x102c00b36840 8
     17660.203808334 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1869 nvQuerySurfaceAttributes Returning constraints: width: 144 - 8192, height: 144 - 8192
     17660.203820748 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 674           nvCreateConfig got profile: 18 with 0 attributes
     17660.203828482 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 606    nvGetConfigAttributes Got here with profile: 21 == 10
     17660.203832500 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 674           nvCreateConfig got profile: 21 with 1 attributes
     17660.203835636 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 256
     17660.203840405 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1802 nvQuerySurfaceAttributes with 10 (10) (nil) -1431655766
     17660.203844342 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1802 nvQuerySurfaceAttributes with 10 (10) 0x102c00b36840 8
     17660.206997551 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1869 nvQuerySurfaceAttributes Returning constraints: width: 128 - 8192, height: 128 - 8192
     17660.207010766 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 674           nvCreateConfig got profile: 21 with 0 attributes
     17660.207028580 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:2098              nvTerminate Terminating 0x102c00b1b600
     17660.207107308 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:2112              nvTerminate Now have 0 (0 max) instances
[24487:24487:1017/194523.565022:ERROR:interface_endpoint_client.cc(725)] Message 1 rejected by interface blink.mojom.WidgetHost
     17686.349711620 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:2188       __vaDriverInit_1_0 Initialising NVIDIA VA-API Driver: 31
     17686.349739182 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:2197       __vaDriverInit_1_0 Now have 0 (0 max) instances
     17686.349743991 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:2223       __vaDriverInit_1_0 Selecting Direct backend
     17686.349813382 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/direct/nv-driver.c: 267            init_nvdriver Initing nvdriver...
     17686.349851033 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/direct/nv-driver.c: 285            init_nvdriver NVIDIA kernel driver version: 560.35.03, major version: 560, minor version: 35
     17686.349858688 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/direct/nv-driver.c: 292            init_nvdriver Got dev info: 4300 1 0 fe
     17686.454033391 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 674           nvCreateConfig got profile: 13 with 1 attributes
     17686.454048911 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 1
     17686.454720850 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 674           nvCreateConfig got profile: 7 with 1 attributes
     17686.454730779 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 1
     17686.454737963 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1021          nvCreateContext creating context with 0 render targets, 0 surfaces, at 1920x1200
     17686.454745036 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1047          nvCreateContext 0 surfaces have been passed to vaCreateContext, this might cause errors. Setting surface count to 32
     17686.473776311 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 1920x1200, format 1 (0x102c034d1b80)
     17686.473798462 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x102c01dbc9a0 1920x1200 = 3686400 bytes
     17686.473830413 [24527-24801] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 416          resolveSurfaces [RT] Resolve thread for 0x102c0351cc00 started
     17686.474048926 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 110 117 124
     17686.474058534 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
     17686.474507162 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 1920x1200, format 1 (0x102c034d2a80)
     17686.474518263 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x102c01dbc8c0 1920x1200 = 3686400 bytes
     17686.474693875 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 110 117 126
     17686.474701289 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
     17686.475356948 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 1920x1200, format 1 (0x102c034a48c0)
     17686.475367177 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x102c01dbca80 1920x1200 = 3686400 bytes
     17686.515135368 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 129 130 131
     17686.515147341 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
     17686.515953114 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 1920x1200, format 1 (0x102c03560f00)
     17686.515966920 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x102c01dbe840 1920x1200 = 3686400 bytes
     17686.516176666 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 133 134 135
     17686.516185172 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
     17686.517962982 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 1920x1200, format 1 (0x102c03561860)
     17686.517975415 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x102c01dbc0e0 1920x1200 = 3686400 bytes
     17686.518187386 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 111 140 141
     17686.518194940 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
     17686.519983170 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 1920x1200, format 1 (0x102c035626c0)
     17686.519995152 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x102c01dbc700 1920x1200 = 3686400 bytes
     17686.520206762 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 144 145 146
     17686.520214828 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
     17686.521953012 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 1920x1200, format 1 (0x102c03563a20)
     17686.521966197 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x102c01dbf480 1920x1200 = 3686400 bytes
     17686.522218755 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 147 125 136
     17686.522227501 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
     17911.692034184 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1121         nvDestroyContext Destroying context: 3
     17911.692127530 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 325           destroyContext Signaling resolve thread to exit
     17911.692139874 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 331           destroyContext Waiting for resolve thread to exit
     17911.692158779 [24527-24801] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 458          resolveSurfaces [RT] Resolve thread for 0x102c0351cc00 exiting
     17911.692244321 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 333           destroyContext pthread_timedjoin_np finished with 0
[24487:24487:1017/194931.742271:ERROR:wayland_event_watcher.cc(47)] libwayland: warning: queue 0x265c000208c0 destroyed while proxies still attached:

[24487:24487:1017/194931.742402:ERROR:wayland_event_watcher.cc(47)] libwayland:   wl_buffer#53 still attached

[24487:24487:1017/194931.742449:ERROR:wayland_event_watcher.cc(47)] libwayland:   wl_buffer#45 still attached

[24487:24487:1017/194931.742634:ERROR:wayland_event_watcher.cc(47)] libwayland:   wl_buffer#46 still attached

[24487:24487:1017/194931.742777:ERROR:wayland_event_watcher.cc(47)] libwayland:   wl_shm_pool#48 still attached

and then a VP9 youtube video that I tried decoded on my GPU too. Pretty great. Thanks to everyone who put in the work to get this done! 🎉

@BRS5672023
Copy link

and then a VP9 youtube video that I tried decoded on my GPU too. Pretty great. Thanks to everyone who put in the work to get this done! 🎉

Can u also test if a 10bit hevc video would be decoded normally on a nvidia gpu? (For example, the following url)
https://developer.apple.com/videos/play/wwdc2024/10136/

According to Chromium Issue Tracker, the issue should be already resolved, while on my amdgpu I can only get black output..

Also, if u want test whether an HEVC main (not HEVC main 10) video works or not, u may use the following link..
https://test-videos.co.uk/vids/bigbuckbunny/mp4/h265/1080/Big_Buck_Bunny_1080_10s_1MB.mp4

@gilvbp
Copy link

gilvbp commented Oct 18, 2024

I can confirm that the chromium package in Arch Linux's official repo decodes my h264 stream in hardware today (when launched under wayland like this):

$ lspci -d ::0300
43:00.0 VGA compatible controller: NVIDIA Corporation GP107GL [Quadro P620] (rev a1)
$ pacman -Q nvidia-utils
nvidia-utils 560.35.03-16
$ pacman -Q libva-nvidia-driver
libva-nvidia-driver 0.0.12-1
$ chromium --version
Chromium 130.0.6723.58 Arch Linux
$ NVD_BACKEND=direct NVD_LOG=1 LIBVA_DRIVER_NAME=nvidia chromium --enable-features=VaapiOnNvidiaGPUs,VaapiVideoDecodeLinuxGL,VaapiVideoDecodeLinuxZeroCopyGL --ozone-platform-hint=auto
     17660.006930622 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:2188       __vaDriverInit_1_0 Initialising NVIDIA VA-API Driver: 31
     17660.006945610 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:2197       __vaDriverInit_1_0 Now have 0 (0 max) instances
     17660.006949087 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:2223       __vaDriverInit_1_0 Selecting Direct backend
     17660.006970377 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/direct/nv-driver.c: 267            init_nvdriver Initing nvdriver...
     17660.006995254 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/direct/nv-driver.c: 285            init_nvdriver NVIDIA kernel driver version: 560.35.03, major version: 560, minor version: 35
     17660.007003429 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/direct/nv-driver.c: 292            init_nvdriver Got dev info: 4300 1 0 fe
[24487:24487:1017/194520.035072:ERROR:object_proxy.cc(576)] Failed to call method: org.freedesktop.ScreenSaver.GetActive: object_path= /org/freedesktop/ScreenSaver: org.freedesktop.DBus.Error.NotSupported: This method is not part of the idle inhibition specification: https://specifications.freedesktop.org/idle-inhibit-spec/latest/
     17660.184830101 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 606    nvGetConfigAttributes Got here with profile: 6 == 4
     17660.184845520 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 674           nvCreateConfig got profile: 6 with 1 attributes
     17660.184850188 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 1
     17660.184857031 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1802 nvQuerySurfaceAttributes with 4 (8) (nil) -1431655766
     17660.184861630 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1802 nvQuerySurfaceAttributes with 4 (8) 0x102c00b36840 8
     17660.188470180 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1869 nvQuerySurfaceAttributes Returning constraints: width: 48 - 4096, height: 16 - 4096
     17660.188484296 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 674           nvCreateConfig got profile: 6 with 0 attributes
     17660.188494445 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 606    nvGetConfigAttributes Got here with profile: 7 == 4
     17660.188498513 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 674           nvCreateConfig got profile: 7 with 1 attributes
     17660.188501980 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 1
     17660.188506588 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1802 nvQuerySurfaceAttributes with 4 (8) (nil) -1431655766
     17660.188510776 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1802 nvQuerySurfaceAttributes with 4 (8) 0x102c00b36840 8
     17660.191466081 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1869 nvQuerySurfaceAttributes Returning constraints: width: 48 - 4096, height: 16 - 4096
     17660.191480067 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 674           nvCreateConfig got profile: 7 with 0 attributes
     17660.191488032 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 606    nvGetConfigAttributes Got here with profile: 13 == 4
     17660.191492100 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 674           nvCreateConfig got profile: 13 with 1 attributes
     17660.191496298 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 1
     17660.191501277 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1802 nvQuerySurfaceAttributes with 4 (8) (nil) -1431655766
     17660.191505926 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1802 nvQuerySurfaceAttributes with 4 (8) 0x102c00b36840 8
     17660.194535641 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1869 nvQuerySurfaceAttributes Returning constraints: width: 48 - 4096, height: 16 - 4096
     17660.194549497 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 674           nvCreateConfig got profile: 13 with 0 attributes
     17660.194558875 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 606    nvGetConfigAttributes Got here with profile: 17 == 8
     17660.194562772 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 674           nvCreateConfig got profile: 17 with 1 attributes
     17660.194565908 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 1
     17660.194572240 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1802 nvQuerySurfaceAttributes with 8 (8) (nil) -1431655766
     17660.194577170 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1802 nvQuerySurfaceAttributes with 8 (8) 0x102c00b36840 8
     17660.197596265 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1869 nvQuerySurfaceAttributes Returning constraints: width: 144 - 8192, height: 144 - 8192
     17660.197610833 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 674           nvCreateConfig got profile: 17 with 0 attributes
     17660.197618547 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 606    nvGetConfigAttributes Got here with profile: 19 == 10
     17660.197622996 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 674           nvCreateConfig got profile: 19 with 1 attributes
     17660.197626152 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 1
     17660.197631281 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1802 nvQuerySurfaceAttributes with 10 (8) (nil) -1431655766
     17660.197636571 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1802 nvQuerySurfaceAttributes with 10 (8) 0x102c00b36840 8
     17660.200663341 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1869 nvQuerySurfaceAttributes Returning constraints: width: 128 - 8192, height: 128 - 8192
     17660.200734395 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 674           nvCreateConfig got profile: 19 with 0 attributes
     17660.200746648 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 606    nvGetConfigAttributes Got here with profile: 18 == 8
     17660.200752389 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 674           nvCreateConfig got profile: 18 with 1 attributes
     17660.200756727 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 1
     17660.200762158 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1802 nvQuerySurfaceAttributes with 8 (10) (nil) -1431655766
     17660.200766696 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1802 nvQuerySurfaceAttributes with 8 (10) 0x102c00b36840 8
     17660.203808334 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1869 nvQuerySurfaceAttributes Returning constraints: width: 144 - 8192, height: 144 - 8192
     17660.203820748 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 674           nvCreateConfig got profile: 18 with 0 attributes
     17660.203828482 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 606    nvGetConfigAttributes Got here with profile: 21 == 10
     17660.203832500 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 674           nvCreateConfig got profile: 21 with 1 attributes
     17660.203835636 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 256
     17660.203840405 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1802 nvQuerySurfaceAttributes with 10 (10) (nil) -1431655766
     17660.203844342 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1802 nvQuerySurfaceAttributes with 10 (10) 0x102c00b36840 8
     17660.206997551 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1869 nvQuerySurfaceAttributes Returning constraints: width: 128 - 8192, height: 128 - 8192
     17660.207010766 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 674           nvCreateConfig got profile: 21 with 0 attributes
     17660.207028580 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:2098              nvTerminate Terminating 0x102c00b1b600
     17660.207107308 [24527-24527] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:2112              nvTerminate Now have 0 (0 max) instances
[24487:24487:1017/194523.565022:ERROR:interface_endpoint_client.cc(725)] Message 1 rejected by interface blink.mojom.WidgetHost
     17686.349711620 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:2188       __vaDriverInit_1_0 Initialising NVIDIA VA-API Driver: 31
     17686.349739182 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:2197       __vaDriverInit_1_0 Now have 0 (0 max) instances
     17686.349743991 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:2223       __vaDriverInit_1_0 Selecting Direct backend
     17686.349813382 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/direct/nv-driver.c: 267            init_nvdriver Initing nvdriver...
     17686.349851033 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/direct/nv-driver.c: 285            init_nvdriver NVIDIA kernel driver version: 560.35.03, major version: 560, minor version: 35
     17686.349858688 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/direct/nv-driver.c: 292            init_nvdriver Got dev info: 4300 1 0 fe
     17686.454033391 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 674           nvCreateConfig got profile: 13 with 1 attributes
     17686.454048911 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 1
     17686.454720850 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 674           nvCreateConfig got profile: 7 with 1 attributes
     17686.454730779 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 1
     17686.454737963 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1021          nvCreateContext creating context with 0 render targets, 0 surfaces, at 1920x1200
     17686.454745036 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1047          nvCreateContext 0 surfaces have been passed to vaCreateContext, this might cause errors. Setting surface count to 32
     17686.473776311 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 1920x1200, format 1 (0x102c034d1b80)
     17686.473798462 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x102c01dbc9a0 1920x1200 = 3686400 bytes
     17686.473830413 [24527-24801] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 416          resolveSurfaces [RT] Resolve thread for 0x102c0351cc00 started
     17686.474048926 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 110 117 124
     17686.474058534 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
     17686.474507162 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 1920x1200, format 1 (0x102c034d2a80)
     17686.474518263 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x102c01dbc8c0 1920x1200 = 3686400 bytes
     17686.474693875 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 110 117 126
     17686.474701289 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
     17686.475356948 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 1920x1200, format 1 (0x102c034a48c0)
     17686.475367177 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x102c01dbca80 1920x1200 = 3686400 bytes
     17686.515135368 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 129 130 131
     17686.515147341 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
     17686.515953114 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 1920x1200, format 1 (0x102c03560f00)
     17686.515966920 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x102c01dbe840 1920x1200 = 3686400 bytes
     17686.516176666 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 133 134 135
     17686.516185172 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
     17686.517962982 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 1920x1200, format 1 (0x102c03561860)
     17686.517975415 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x102c01dbc0e0 1920x1200 = 3686400 bytes
     17686.518187386 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 111 140 141
     17686.518194940 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
     17686.519983170 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 1920x1200, format 1 (0x102c035626c0)
     17686.519995152 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x102c01dbc700 1920x1200 = 3686400 bytes
     17686.520206762 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 144 145 146
     17686.520214828 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
     17686.521953012 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 1920x1200, format 1 (0x102c03563a20)
     17686.521966197 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x102c01dbf480 1920x1200 = 3686400 bytes
     17686.522218755 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 147 125 136
     17686.522227501 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
     17911.692034184 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1121         nvDestroyContext Destroying context: 3
     17911.692127530 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 325           destroyContext Signaling resolve thread to exit
     17911.692139874 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 331           destroyContext Waiting for resolve thread to exit
     17911.692158779 [24527-24801] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 458          resolveSurfaces [RT] Resolve thread for 0x102c0351cc00 exiting
     17911.692244321 [24527-24792] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 333           destroyContext pthread_timedjoin_np finished with 0
[24487:24487:1017/194931.742271:ERROR:wayland_event_watcher.cc(47)] libwayland: warning: queue 0x265c000208c0 destroyed while proxies still attached:

[24487:24487:1017/194931.742402:ERROR:wayland_event_watcher.cc(47)] libwayland:   wl_buffer#53 still attached

[24487:24487:1017/194931.742449:ERROR:wayland_event_watcher.cc(47)] libwayland:   wl_buffer#45 still attached

[24487:24487:1017/194931.742634:ERROR:wayland_event_watcher.cc(47)] libwayland:   wl_buffer#46 still attached

[24487:24487:1017/194931.742777:ERROR:wayland_event_watcher.cc(47)] libwayland:   wl_shm_pool#48 still attached

and then a VP9 youtube video that I tried decoded on my GPU too. Pretty great. Thanks to everyone who put in the work to get this done! 🎉

I can confirm that either! Great work @rmader !

@rmader
Copy link

rmader commented Oct 18, 2024

I can confirm that either! Great work @rmader !

Thanks, however most work was done by others. One important one was actually https://chromium-review.googlesource.com/c/chromium/src/+/5797623 which also paves some way to implement Wayland/KMS offloading in the future.

@LuanVSO
Copy link

LuanVSO commented Oct 18, 2024

mind sharing whats listed under GL implementation parts at chrome://gpu for you @gilvbp @greyltc ?

@jthoward64
Copy link

jthoward64 commented Oct 18, 2024

See my better formatted comment below I can also confirm that I am having success on Arch repo chromium with YouTube and the Apple video linked above
NVD_BACKEND=direct NVD_LOG=1 LIBVA_DRIVER_NAME=nvidia chromium --enable-features=VaapiOnNvidiaGPUs,VaapiVideoDecodeLinuxGL,VaapiVideoDecodeLinuxZeroCopyGL --ozone-platform-hint=auto                                                                                   (base)
    374747.156378230 [1049441-1049441] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:2188       __vaDriverInit_1_0 Initialising NVIDIA VA-API Driver: 31
    374747.156388539 [1049441-1049441] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:2197       __vaDriverInit_1_0 Now have 0 (0 max) instances
    374747.156390693 [1049441-1049441] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:2223       __vaDriverInit_1_0 Selecting Direct backend
    374747.156401384 [1049441-1049441] ../nvidia-vaapi-driver-0.0.12/src/direct/nv-driver.c: 267            init_nvdriver Initing nvdriver...
    374747.156415711 [1049441-1049441] ../nvidia-vaapi-driver-0.0.12/src/direct/nv-driver.c: 285            init_nvdriver NVIDIA kernel driver version: 560.35.03, major version: 560, minor version: 35
    374747.156419428 [1049441-1049441] ../nvidia-vaapi-driver-0.0.12/src/direct/nv-driver.c: 292            init_nvdriver Got dev info: 100 1 2 6

chrome://gpu reports the following

Graphics Feature Status
=======================
*   Canvas: Hardware accelerated
*   Canvas out-of-process rasterization: Enabled
*   Direct Rendering Display Compositor: Disabled
*   Compositing: Hardware accelerated
*   Multiple Raster Threads: Enabled
*   OpenGL: Enabled
*   Rasterization: Hardware accelerated
*   Raw Draw: Disabled
*   Skia Graphite: Disabled
*   Video Decode: Hardware accelerated
*   Video Encode: Software only. Hardware acceleration disabled
*   Vulkan: Disabled
*   WebGL: Hardware accelerated
*   WebGL2: Hardware accelerated
*   WebGPU: Disabled
*   WebNN: Disabled
Video Acceleration Information
==============================
Decoding                      : 
Decode h264 baseline          : 48x16 to 4096x4096 pixels
Decode h264 main              : 48x16 to 4096x4096 pixels
Decode h264 high              : 48x16 to 4096x4096 pixels
Decode vp8                    : 48x16 to 4096x4096 pixels
Decode vp9 profile0           : 128x128 to 8192x8192 pixels
Decode vp9 profile2           : 128x128 to 8192x8192 pixels
Decode hevc main              : 144x144 to 8192x8192 pixels
Decode hevc main 10           : 144x144 to 8192x8192 pixels
Decode hevc main still-picture: 144x144 to 8192x8192 pixels
Decode av1 profile main       : 128x128 to 8192x8192 pixels
Encoding

Scrolling through the log output the only warnings I saw were:

374747.270235142 [1049441-1049441] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 737           nvCreateConfig Unable to determine surface type for VP9/AV1 codec due to no RTFormat specified.

and

374749.562877584 [1049441-1049614] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1021          nvCreateContext creating context with 0 render targets, 0 surfaces, at 1280x720
    374749.562883826 [1049441-1049614] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1047          nvCreateContext 0 surfaces have been passed to vaCreateContext, this might cause errors. Setting surface count to 32

@LuanVSO GL implementation parts : (gl=egl-angle,angle=opengl)

@LuanVSO
Copy link

LuanVSO commented Oct 18, 2024

for me, angle=opengl only works on x11, only angle=Vulkan works on Wayland, but if try to enable video acceleration with Vulkan any video will be a transparent hole, and the window will have a lot of graphical glitches after trying to load a video (fedora 40 + chrome-beta 131)

log of this command: NVD_BACKEND=direct NVD_LOG=1 LIBVA_DRIVER_NAME=nvidia google-chrome --use-angle=gl --enable-features=VaapiOnNvidiaGPUs,VaapiVideoDecodeLinuxGL,VaapiVideoDecodeLinuxZeroCopyGL --ozone-platform-hint=auto

@jthoward64
Copy link

for me, angle=opengl only works on x11, only angle=Vulkan works on Wayland, but if try to enable video acceleration with Vulkan any video will be a transparent hole, and the window will have a lot of graphical glitches after trying to load a video (fedora 40 + chrome-beta 131)

log of this command: NVD_BACKEND=direct NVD_LOG=1 LIBVA_DRIVER_NAME=nvidia google-chrome --use-angle=gl --enable-features=VaapiOnNvidiaGPUs,VaapiVideoDecodeLinuxGL,VaapiVideoDecodeLinuxZeroCopyGL --ozone-platform-hint=auto

I can replicate the black rectangle under Vulkan ANGLE with the following spammed to the log

[1061316:1061316:1018/150952.212799:ERROR:gl_display.cc(497)] EGL Driver message (Error) : Internal Vulkan error (-8): A requested feature is not supported, in ../../third_party/angle/src/libANGLE/renderer/vulkan/linux/DmaBufImageSiblingVkLinux.cpp, initImpl:606.
[1061316:1061316:1018/150952.212865:ERROR:scoped_egl_image.cc(23)] Failed to create EGLImage: EGL_BAD_PARAMETER
[1061316:1061316:1018/150952.212896:ERROR:native_pixmap_egl_binding.cc(118)] Unable to initialize binding from pixmap
[1061316:1061316:1018/150952.212929:ERROR:ozone_image_backing.cc(309)] OzoneImageBacking::ProduceSkiaGanesh failed to create GL representation
[1061316:1061316:1018/150952.212956:ERROR:shared_image_manager.cc(255)] SharedImageManager::ProduceSkia: Trying to produce a Skia representation from an incompatible backing: OzoneImageBacking

However, I had no issues with OpenGL ANGLE under Wayland, is it possible you're missing a dependency like egl-wayland

@gilvbp
Copy link

gilvbp commented Oct 18, 2024

Chrome also working finally!

image

@xuanruiqi
Copy link

I can't even get chromium started using --use-angle=vulkan... Just no window displays for me

@shelterx
Copy link

It works with h264, I have never gotten the VP9 codec to work on youtube or whatever they use. It seems to work at first then it just falls back to CPU decoding.

@jthoward64
Copy link

jthoward64 commented Oct 18, 2024

Just to make it a bit easier to see what's going on, could everyone who's tested this please copy the below form, fill it out and post it

- Chromium source: 
- Chromium package: 
- X11/Wayland: 
- Desktop Environment and version: 
- Driver package: 
- Driver Version: 
- GPU Model: 


The following comes from chrome://flags/

List of non-default flags:

-

The following comes from chrome://gpu

- Video Decode: 
- Video Encode:
- Chrome version: 
- Command Line: 
- GL implementation parts:
- Video Acceleration Information
<!--
Paste the table here
-->

<details>
<summary>Paste Logs Below</summary>
<pre><code>
Put your logs here, don't mind the HTML, it makes the text collapse
</pre></code>
</details>

@jthoward64
Copy link

jthoward64 commented Oct 18, 2024

  • Chromium source: Arch repo
  • Chromium package: chromium
  • X11/Wayland: Wayland
  • Desktop Environment and version: Plasma 6.2
  • Driver package: nvidia-dkms
  • Driver Version: 560.35.03
  • GPU Model: RTX 4080

The following comes from chrome://flags/

List of non-default flags:

None

The following comes from chrome://gpu

  • Video Decode: Hardware accelerated
  • Video Encode: Software only. Hardware acceleration disabled
  • Chrome version: Chrome/131.0.6758.0
  • Command Line: /usr/lib/chromium/chromium --ozone-platform-hint=auto --enable-features=VaapiOnNvidiaGPUs,VaapiVideoDecodeLinuxGL,VaapiVideoDecodeLinuxZeroCopyGL --ozone-platform-hint=auto --flag-switches-begin --flag-switches-end --ozone-platform=wayland
  • GL implementation parts: (gl=egl-angle,angle=opengl)
  • Video Acceleration Information
Video Acceleration Information
==============================
Decoding                      : 
Decode h264 baseline          : 48x16 to 4096x4096 pixels
Decode h264 main              : 48x16 to 4096x4096 pixels
Decode h264 high              : 48x16 to 4096x4096 pixels
Decode vp8                    : 48x16 to 4096x4096 pixels
Decode vp9 profile0           : 128x128 to 8192x8192 pixels
Decode vp9 profile2           : 128x128 to 8192x8192 pixels
Decode hevc main              : 144x144 to 8192x8192 pixels
Decode hevc main 10           : 144x144 to 8192x8192 pixels
Decode hevc main still-picture: 144x144 to 8192x8192 pixels
Decode av1 profile main       : 128x128 to 8192x8192 pixels
Encoding                      :
Paste Logs Below
397112.106745199 [1076488-1076488] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:2188       __vaDriverInit_1_0 Initialising NVIDIA VA-API Driver: 31
    397112.106755248 [1076488-1076488] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:2197       __vaDriverInit_1_0 Now have 0 (0 max) instances
    397112.106758675 [1076488-1076488] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:2223       __vaDriverInit_1_0 Selecting Direct backend
    397112.106774374 [1076488-1076488] ../nvidia-vaapi-driver-0.0.12/src/direct/nv-driver.c: 267            init_nvdriver Initing nvdriver...
    397112.106789333 [1076488-1076488] ../nvidia-vaapi-driver-0.0.12/src/direct/nv-driver.c: 285            init_nvdriver NVIDIA kernel driver version: 560.35.03, major version: 560, minor version: 35
    397112.106792970 [1076488-1076488] ../nvidia-vaapi-driver-0.0.12/src/direct/nv-driver.c: 292            init_nvdriver Got dev info: 100 1 2 6
    397112.213504343 [1076488-1076488] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 606    nvGetConfigAttributes Got here with profile: 6 == 4
    397112.213513570 [1076488-1076488] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 674           nvCreateConfig got profile: 6 with 1 attributes
    397112.213517267 [1076488-1076488] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 1
    397112.213521365 [1076488-1076488] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1802 nvQuerySurfaceAttributes with 4 (8) (nil) -1431655766
    397112.213523880 [1076488-1076488] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1802 nvQuerySurfaceAttributes with 4 (8) 0x188c01b9c0e0 8
    397112.214935318 [1076488-1076488] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1869 nvQuerySurfaceAttributes Returning constraints: width: 48 - 4096, height: 16 - 4096
    397112.214941519 [1076488-1076488] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 674           nvCreateConfig got profile: 6 with 0 attributes
    397112.214946709 [1076488-1076488] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 606    nvGetConfigAttributes Got here with profile: 7 == 4
    397112.214949044 [1076488-1076488] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 674           nvCreateConfig got profile: 7 with 1 attributes
    397112.214950617 [1076488-1076488] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 1
    397112.214952791 [1076488-1076488] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1802 nvQuerySurfaceAttributes with 4 (8) (nil) -1431655766
    397112.214955295 [1076488-1076488] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1802 nvQuerySurfaceAttributes with 4 (8) 0x188c01b9c0e0 8
    397112.216368286 [1076488-1076488] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1869 nvQuerySurfaceAttributes Returning constraints: width: 48 - 4096, height: 16 - 4096
    397112.216374147 [1076488-1076488] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 674           nvCreateConfig got profile: 7 with 0 attributes
    397112.216378786 [1076488-1076488] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 606    nvGetConfigAttributes Got here with profile: 13 == 4
    397112.216381100 [1076488-1076488] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 674           nvCreateConfig got profile: 13 with 1 attributes
    397112.216382854 [1076488-1076488] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 1
    397112.216385068 [1076488-1076488] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1802 nvQuerySurfaceAttributes with 4 (8) (nil) -1431655766
    397112.216387142 [1076488-1076488] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1802 nvQuerySurfaceAttributes with 4 (8) 0x188c01b9c0e0 8
    397112.217930719 [1076488-1076488] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1869 nvQuerySurfaceAttributes Returning constraints: width: 48 - 4096, height: 16 - 4096
    397112.217936380 [1076488-1076488] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 674           nvCreateConfig got profile: 13 with 0 attributes
    397112.217940838 [1076488-1076488] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 606    nvGetConfigAttributes Got here with profile: 17 == 8
    397112.217943002 [1076488-1076488] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 674           nvCreateConfig got profile: 17 with 1 attributes
    397112.217945227 [1076488-1076488] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 1
    397112.217948102 [1076488-1076488] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1802 nvQuerySurfaceAttributes with 8 (8) (nil) -1431655766
    397112.217950316 [1076488-1076488] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1802 nvQuerySurfaceAttributes with 8 (8) 0x188c01b9c0e0 8
    397112.219491649 [1076488-1076488] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1869 nvQuerySurfaceAttributes Returning constraints: width: 144 - 8192, height: 144 - 8192
    397112.219497410 [1076488-1076488] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 674           nvCreateConfig got profile: 17 with 0 attributes
    397112.219501708 [1076488-1076488] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 606    nvGetConfigAttributes Got here with profile: 14 == 9
    397112.219504223 [1076488-1076488] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 674           nvCreateConfig got profile: 14 with 1 attributes
    397112.219506377 [1076488-1076488] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 1
    397112.219508151 [1076488-1076488] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1802 nvQuerySurfaceAttributes with 9 (8) (nil) -1431655766
    397112.219510255 [1076488-1076488] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1802 nvQuerySurfaceAttributes with 9 (8) 0x188c01b9c0e0 8
    397112.220915470 [1076488-1076488] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1869 nvQuerySurfaceAttributes Returning constraints: width: 48 - 4096, height: 16 - 4096
    397112.220921111 [1076488-1076488] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 674           nvCreateConfig got profile: 14 with 0 attributes
    397112.220925469 [1076488-1076488] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 606    nvGetConfigAttributes Got here with profile: 19 == 10
    397112.220927864 [1076488-1076488] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 674           nvCreateConfig got profile: 19 with 1 attributes
    397112.220930208 [1076488-1076488] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 1
    397112.220933394 [1076488-1076488] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1802 nvQuerySurfaceAttributes with 10 (8) (nil) -1431655766
    397112.220935729 [1076488-1076488] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1802 nvQuerySurfaceAttributes with 10 (8) 0x188c01b9c0e0 8
    397112.222342678 [1076488-1076488] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1869 nvQuerySurfaceAttributes Returning constraints: width: 128 - 8192, height: 128 - 8192
    397112.222350332 [1076488-1076488] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 674           nvCreateConfig got profile: 19 with 0 attributes
    397112.222354931 [1076488-1076488] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 606    nvGetConfigAttributes Got here with profile: 32 == 11
    397112.222357386 [1076488-1076488] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 674           nvCreateConfig got profile: 32 with 1 attributes
    397112.222358999 [1076488-1076488] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 1
    397112.222361714 [1076488-1076488] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1802 nvQuerySurfaceAttributes with 11 (8) (nil) -1431655766
    397112.222363878 [1076488-1076488] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1802 nvQuerySurfaceAttributes with 11 (8) 0x188c01b9c0e0 8
    397112.223750840 [1076488-1076488] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1869 nvQuerySurfaceAttributes Returning constraints: width: 128 - 8192, height: 128 - 8192
    397112.223756500 [1076488-1076488] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 674           nvCreateConfig got profile: 32 with 0 attributes
    397112.223759306 [1076488-1076488] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 737           nvCreateConfig Unable to determine surface type for VP9/AV1 codec due to no RTFormat specified.
    397112.223763273 [1076488-1076488] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 606    nvGetConfigAttributes Got here with profile: 18 == 8
    397112.223765708 [1076488-1076488] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 674           nvCreateConfig got profile: 18 with 1 attributes
    397112.223767251 [1076488-1076488] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 1
    397112.223769054 [1076488-1076488] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1802 nvQuerySurfaceAttributes with 8 (10) (nil) -1431655766
    397112.223771869 [1076488-1076488] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1802 nvQuerySurfaceAttributes with 8 (10) 0x188c01b9c0e0 8
    397112.225158310 [1076488-1076488] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1869 nvQuerySurfaceAttributes Returning constraints: width: 144 - 8192, height: 144 - 8192
    397112.225164151 [1076488-1076488] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 674           nvCreateConfig got profile: 18 with 0 attributes
    397112.225168409 [1076488-1076488] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 606    nvGetConfigAttributes Got here with profile: 21 == 10
    397112.225170453 [1076488-1076488] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 674           nvCreateConfig got profile: 21 with 1 attributes
    397112.225172016 [1076488-1076488] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 256
    397112.225174631 [1076488-1076488] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1802 nvQuerySurfaceAttributes with 10 (10) (nil) -1431655766
    397112.225176655 [1076488-1076488] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1802 nvQuerySurfaceAttributes with 10 (10) 0x188c01b9c0e0 8
    397112.226888300 [1076488-1076488] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1869 nvQuerySurfaceAttributes Returning constraints: width: 128 - 8192, height: 128 - 8192
    397112.226893830 [1076488-1076488] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 674           nvCreateConfig got profile: 21 with 0 attributes
    397112.226905923 [1076488-1076488] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:2098              nvTerminate Terminating 0x188c00b17400
    397112.226956879 [1076488-1076488] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:2112              nvTerminate Now have 0 (0 max) instances
    397600.231849758 [1076488-1077380] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:2188       __vaDriverInit_1_0 Initialising NVIDIA VA-API Driver: 31
    397600.231860759 [1076488-1077380] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:2197       __vaDriverInit_1_0 Now have 0 (0 max) instances
    397600.231866890 [1076488-1077380] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:2223       __vaDriverInit_1_0 Selecting Direct backend
    397600.231889072 [1076488-1077380] ../nvidia-vaapi-driver-0.0.12/src/direct/nv-driver.c: 267            init_nvdriver Initing nvdriver...
    397600.231908329 [1076488-1077380] ../nvidia-vaapi-driver-0.0.12/src/direct/nv-driver.c: 285            init_nvdriver NVIDIA kernel driver version: 560.35.03, major version: 560, minor version: 35
    397600.231912206 [1076488-1077380] ../nvidia-vaapi-driver-0.0.12/src/direct/nv-driver.c: 292            init_nvdriver Got dev info: 100 1 2 6
    397600.310825404 [1076488-1077380] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 674           nvCreateConfig got profile: 32 with 1 attributes
    397600.310838288 [1076488-1077380] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 1
    397600.311292848 [1076488-1077380] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1021          nvCreateContext creating context with 0 render targets, 0 surfaces, at 1920x1080
    397600.311299791 [1076488-1077380] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1047          nvCreateContext 0 surfaces have been passed to vaCreateContext, this might cause errors. Setting surface count to 32
    397600.328563939 [1076488-1077380] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 1920x1080, format 1 (0x188c03835d60)
    397600.328570722 [1076488-1077394] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 416          resolveSurfaces [RT] Resolve thread for 0x188c032cfc00 started
    397600.328577545 [1076488-1077380] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x188c02d88540 1920x1080 = 3440640 bytes
    397600.328717931 [1076488-1077380] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 128 130 142
    397600.328721237 [1076488-1077380] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
    397600.329072782 [1076488-1077380] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 1920x1080, format 1 (0x188c03836d00)
    397600.329078302 [1076488-1077380] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x188c02d8b640 1920x1080 = 3440640 bytes
    397600.329180455 [1076488-1077380] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 128 130 143
    397600.329183401 [1076488-1077380] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
    397600.329389711 [1076488-1077380] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1345             nvEndPicture cuvidDecodePicture failed: 1
[1076488:1077380:1018/180005.889178:ERROR:vaapi_wrapper.cc(3497)] vaEndPicture failed, VA error: internal decoding error
[1076488:1077380:1018/180005.889254:ERROR:vaapi_video_decoder.cc(1225)] error decoding stream
    397600.331307409 [1076488-1077380] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1121         nvDestroyContext Destroying context: 2
    397600.331312829 [1076488-1077380] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 325           destroyContext Signaling resolve thread to exit
    397600.331316155 [1076488-1077380] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 331           destroyContext Waiting for resolve thread to exit
    397600.331329851 [1076488-1077394] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 458          resolveSurfaces [RT] Resolve thread for 0x188c032cfc00 exiting
    397600.331360409 [1076488-1077380] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 333           destroyContext pthread_timedjoin_np finished with 0
[1077249:3:1018/180005.895865:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180005.896027:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180005.896122:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180005.896211:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180005.898354:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180005.898418:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180005.898447:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180005.898475:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180005.899067:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180005.899119:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180005.899163:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180005.899192:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:4:1018/180005.899682:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:4:1018/180005.899758:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:4:1018/180005.899798:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:4:1018/180005.899821:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:4:1018/180005.900251:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:4:1018/180005.900302:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:4:1018/180005.900331:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:4:1018/180005.900374:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:10:1018/180005.900707:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:10:1018/180005.900746:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:10:1018/180005.900833:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:10:1018/180005.900876:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180005.923215:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180005.923277:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180005.923302:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180005.923325:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
    397600.565163679 [1076488-1077380] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 991        nvDestroySurfaces Destroying surface 0 (0x188c03836d00)
    397600.565326056 [1076488-1077380] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 991        nvDestroySurfaces Destroying surface -1 (0x188c03835d60)
    397600.565446955 [1076488-1077380] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:2098              nvTerminate Terminating 0x188c02a26000
    397600.565543147 [1076488-1077380] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:2112              nvTerminate Now have 0 (0 max) instances
[1077249:3:1018/180006.235065:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180006.235187:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180006.235223:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180006.235255:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180006.265509:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180006.265562:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180006.265582:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180006.265600:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:4:1018/180006.307334:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:4:1018/180006.307439:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:4:1018/180006.307473:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:4:1018/180006.307496:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:4:1018/180006.349305:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:4:1018/180006.349389:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:4:1018/180006.349425:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:4:1018/180006.349448:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180006.391019:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180006.391091:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180006.391136:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180006.391165:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180006.433111:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180006.433176:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180006.433202:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180006.433224:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180006.474786:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180006.474844:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180006.474870:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180006.474895:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180006.516619:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180006.516717:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180006.516748:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180006.516778:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180006.558300:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180006.558364:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180006.558385:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180006.558424:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180006.599805:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180006.599874:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180006.599903:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180006.599929:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180006.641642:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180006.641723:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180006.641759:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180006.641776:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180006.683358:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180006.683432:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180006.683456:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180006.683475:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180006.724967:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180006.725063:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180006.725179:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180006.725269:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180006.766455:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180006.766497:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180006.766515:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180006.766532:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180006.808169:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180006.808214:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180006.808239:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180006.808256:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180006.850099:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180006.850188:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180006.850235:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180006.850266:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180006.891561:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180006.891646:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180006.891677:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180006.891706:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180006.933177:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180006.933248:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180006.933280:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180006.933309:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180006.974805:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180006.974914:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180006.974965:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180006.975005:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180007.016376:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180007.016434:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180007.016457:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180007.016479:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180007.083169:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180007.083239:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180007.083270:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180007.083299:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:15:1018/180007.125413:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:15:1018/180007.125534:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:15:1018/180007.125577:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:15:1018/180007.125607:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180007.166706:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180007.166811:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180007.166844:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180007.166870:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180007.208155:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180007.208212:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180007.208237:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180007.208260:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180007.249970:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180007.250035:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180007.250076:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180007.250113:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180007.291684:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180007.291861:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180007.291901:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180007.291972:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180007.333208:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180007.333299:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180007.333385:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180007.333431:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180007.374930:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180007.374991:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180007.375016:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180007.375050:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180007.416549:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180007.416619:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180007.416656:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180007.416688:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:4:1018/180007.458320:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:4:1018/180007.458406:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:4:1018/180007.458437:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:4:1018/180007.458471:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180007.499874:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180007.499952:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180007.499974:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180007.499997:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:10:1018/180007.541540:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:10:1018/180007.541644:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:10:1018/180007.541682:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:10:1018/180007.541715:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:4:1018/180007.583243:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:4:1018/180007.583299:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:4:1018/180007.583318:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:4:1018/180007.583337:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180007.624951:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180007.625016:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180007.625050:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180007.625073:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180007.666734:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180007.666843:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180007.666877:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180007.666902:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180007.708331:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180007.708385:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180007.708407:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180007.708427:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:4:1018/180007.750201:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:4:1018/180007.750295:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:4:1018/180007.750329:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:4:1018/180007.750354:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180007.791834:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180007.791934:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180007.791974:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180007.792003:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180007.833487:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180007.833588:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180007.833628:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180007.833663:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180007.875039:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180007.875104:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180007.875130:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180007.875154:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180007.916693:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180007.916772:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180007.916824:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180007.916852:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180007.958707:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180007.958832:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180007.958875:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180007.958911:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180008.000237:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180008.000335:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180008.000375:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180008.000401:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180008.041618:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180008.041695:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180008.041719:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180008.041739:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180008.083489:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180008.083602:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180008.083670:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180008.083707:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180008.125203:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180008.125325:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180008.125444:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180008.125503:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180008.166809:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180008.166896:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180008.166933:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180008.166962:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180008.208457:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180008.208564:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180008.208594:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180008.208647:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180008.249976:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180008.250036:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180008.250065:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180008.250089:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180008.291716:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180008.291766:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180008.291800:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180008.291848:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:4:1018/180008.333403:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:4:1018/180008.333469:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:4:1018/180008.333490:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:4:1018/180008.333802:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180008.375029:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180008.375097:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180008.375117:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180008.375137:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:4:1018/180008.416804:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:4:1018/180008.416876:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:4:1018/180008.416912:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:4:1018/180008.416941:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180008.458406:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180008.458463:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180008.458483:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180008.458500:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180008.500046:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180008.500090:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180008.500109:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180008.500128:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180008.541847:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180008.541994:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180008.542032:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180008.542067:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180008.583508:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180008.583610:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180008.583636:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180008.583661:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180008.625012:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180008.625068:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180008.625095:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180008.625120:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180008.666841:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180008.666930:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180008.666983:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180008.667027:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180008.708518:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180008.708600:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180008.708649:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180008.708689:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180008.750138:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180008.750229:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180008.750274:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180008.750308:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180008.791737:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180008.791824:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180008.791868:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180008.791896:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180008.833376:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180008.833440:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180008.833473:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180008.833502:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180008.875333:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180008.875414:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180008.875439:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180008.875463:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180008.916819:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180008.916908:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180008.916939:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180008.916978:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180008.958354:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180008.958394:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180008.958414:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180008.958433:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180009.000143:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180009.000213:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180009.000262:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180009.000296:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180009.041820:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180009.041879:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180009.041909:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180009.041932:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180009.083440:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180009.083504:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180009.083527:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180009.083563:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180009.125105:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180009.125160:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180009.125184:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180009.125201:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180009.166749:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180009.166856:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180009.166888:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180009.166915:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180009.208909:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180009.208984:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180009.209011:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180009.209035:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180009.250165:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180009.250222:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180009.250246:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180009.250266:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180009.291813:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180009.291896:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180009.291921:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180009.291945:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180009.333399:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180009.333463:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180009.333493:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180009.333521:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180009.375050:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180009.375106:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180009.375137:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180009.375171:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180009.416831:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180009.416892:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180009.416921:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180009.416951:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180009.458457:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180009.458505:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180009.458541:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180009.458575:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180009.500004:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180009.500057:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180009.500085:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180009.500110:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180009.541801:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180009.541855:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180009.541901:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180009.541937:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180009.583461:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180009.583524:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180009.583551:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180009.583576:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180009.625073:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180009.625113:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180009.625136:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180009.625160:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180009.666800:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180009.666886:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180009.666913:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180009.666940:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:4:1018/180009.708388:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:4:1018/180009.708477:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:4:1018/180009.708506:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:4:1018/180009.708532:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180009.750032:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180009.750092:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180009.750113:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180009.750132:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180009.791661:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180009.791719:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180009.791744:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180009.791760:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180009.833463:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180009.833561:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180009.833602:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180009.833638:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180009.875206:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180009.875326:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180009.875369:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180009.875398:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180009.916666:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180009.916731:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180009.916757:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180009.916781:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180009.958527:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180009.958602:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180009.958625:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180009.958646:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180010.000173:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180010.000257:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180010.000284:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180010.000325:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180010.041962:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180010.042099:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180010.042125:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180010.042151:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180010.083350:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180010.083409:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180010.083429:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180010.083448:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180010.125061:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180010.125117:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180010.125142:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180010.125159:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180010.166948:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180010.167039:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180010.167085:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180010.167122:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180010.208500:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180010.208593:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180010.208635:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180010.208659:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180010.250111:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180010.250159:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180010.250180:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180010.250199:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180010.291812:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180010.291886:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180010.291925:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180010.291954:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180010.333497:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180010.333564:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180010.333595:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180010.333621:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180010.375281:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180010.375351:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180010.375379:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180010.375400:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180010.416740:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180010.416813:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180010.416846:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180010.416877:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:4:1018/180010.458439:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:4:1018/180010.458511:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:4:1018/180010.458545:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:4:1018/180010.458575:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180010.500067:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180010.500113:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180010.500131:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180010.500147:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180010.541726:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180010.541775:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180010.541801:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180010.541818:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180010.583392:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180010.583483:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180010.583516:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180010.583564:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180010.625123:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180010.625182:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180010.625201:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180010.625219:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180010.666813:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180010.666895:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180010.666936:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180010.666964:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180010.708831:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180010.708917:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180010.708951:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180010.708976:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180010.750070:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180010.750143:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180010.750171:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180010.750198:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180010.791752:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180010.791818:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180010.791843:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180010.791864:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180010.833484:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180010.833532:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180010.833552:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180010.833571:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180010.875107:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180010.875171:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180010.875227:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180010.875256:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180010.916740:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180010.916803:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180010.916826:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180010.916845:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180010.958454:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180010.958526:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180010.958585:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180010.958625:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180011.000203:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180011.000359:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180011.000450:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180011.000525:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180011.041790:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180011.041869:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180011.041922:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180011.041958:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180011.083380:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180011.083443:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180011.083468:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180011.083492:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180011.125080:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180011.125131:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180011.125159:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180011.125184:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180011.166953:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180011.167015:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180011.167051:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180011.167114:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180011.208440:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180011.208509:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180011.208537:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180011.208555:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180011.250164:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180011.250244:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180011.250285:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180011.250330:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180011.291866:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180011.291955:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180011.291999:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180011.292039:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180011.333511:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180011.333588:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180011.333613:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180011.333634:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180011.375079:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180011.375145:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180011.375174:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180011.375201:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180011.416719:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180011.416765:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180011.416786:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180011.416803:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180011.458539:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180011.458606:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180011.458626:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180011.458645:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180011.500054:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180011.500115:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180011.500133:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180011.500151:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180011.541759:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180011.541854:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180011.541904:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180011.542000:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180011.583400:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180011.583495:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180011.583542:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180011.583570:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:4:1018/180011.625065:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:4:1018/180011.625107:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:4:1018/180011.625142:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:4:1018/180011.625170:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[1077249:3:1018/180011.666706:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[1077249:3:1018/180011.666756:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[1077249:3:1018/180011.666775:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[1077249:3:1018/180011.666812:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
    397606.178421400 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:2188       __vaDriverInit_1_0 Initialising NVIDIA VA-API Driver: 31
    397606.178431309 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:2197       __vaDriverInit_1_0 Now have 0 (0 max) instances
    397606.178433924 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:2223       __vaDriverInit_1_0 Selecting Direct backend
    397606.178449152 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/direct/nv-driver.c: 267            init_nvdriver Initing nvdriver...
    397606.178464822 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/direct/nv-driver.c: 285            init_nvdriver NVIDIA kernel driver version: 560.35.03, major version: 560, minor version: 35
    397606.178468098 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/direct/nv-driver.c: 292            init_nvdriver Got dev info: 100 1 2 6
    397606.235570388 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 674           nvCreateConfig got profile: 19 with 1 attributes
    397606.235579415 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 1
    397606.235899100 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1021          nvCreateContext creating context with 0 render targets, 0 surfaces, at 1920x1080
    397606.235903107 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1047          nvCreateContext 0 surfaces have been passed to vaCreateContext, this might cause errors. Setting surface count to 32
    397606.256164024 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 1920x1080, format 1 (0x188c07d62bc0)
    397606.256178672 [1076488-1077424] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 416          resolveSurfaces [RT] Resolve thread for 0x188c065b5400 started
    397606.256181467 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x188c02d7a4c0 1920x1080 = 3440640 bytes
    397606.256317094 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 147 149 150
    397606.256319999 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
    397606.256621059 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 1920x1080, format 1 (0x188c07d63b60)
    397606.256627191 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x188c02d7b100 1920x1080 = 3440640 bytes
    397606.256723944 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 147 149 151
    397606.256726699 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
    397606.257600141 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 1920x1080, format 1 (0x188c07d74a00)
    397606.257605271 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x188c02d7af40 1920x1080 = 3440640 bytes
    397606.257702805 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 154 155 156
    397606.257705510 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
    397606.258466199 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 1920x1080, format 1 (0x188c07d75360)
    397606.258470738 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x188c02d7ad80 1920x1080 = 3440640 bytes
    397606.258560418 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 157 158 159
    397606.258562983 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
    397606.259345132 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 1920x1080, format 1 (0x188c07d75cc0)
    397606.259350162 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x188c02d7aae0 1920x1080 = 3440640 bytes
    397606.259446664 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 162 163 164
    397606.259449259 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
    397606.260243331 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 1920x1080, format 1 (0x188c07d76b20)
    397606.260249593 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x188c02d7aca0 1920x1080 = 3440640 bytes
    397606.260373607 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 165 166 167
    397606.260378417 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
    397606.261237271 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 1920x1080, format 1 (0x188c07d77480)
    397606.261242972 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x188c02d7bf00 1920x1080 = 3440640 bytes
    397606.261422512 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 168 169 170
    397606.261425317 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
    397606.262235069 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 1920x1080, format 1 (0x188c07dbc320)
    397606.262240149 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x188c02d7bb80 1920x1080 = 3440640 bytes
    397606.262334507 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 177 178 179
    397606.262337082 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
    397606.263090958 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 1920x1080, format 1 (0x188c07dbcc80)
    397606.263095667 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x188c02d7b9c0 1920x1080 = 3440640 bytes
    397606.263184675 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 182 183 184
    397606.263187190 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
    397606.263937850 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 1920x1080, format 1 (0x188c07dbdae0)
    397606.263946476 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x188c02d80000 1920x1080 = 3440640 bytes
    397606.264038791 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 187 188 189
    397606.264041436 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
    397606.264806784 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 1920x1080, format 1 (0x188c07dbe440)
    397606.264811232 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x188c02d80540 1920x1080 = 3440640 bytes
    397606.264899709 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 192 193 194
    397606.264902154 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
    397606.265674826 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 1920x1080, format 1 (0x188c07dbeda0)
    397606.265681769 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x188c02d80700 1920x1080 = 3440640 bytes
    397606.265832534 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 197 198 199
    397606.265837443 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
    397606.266666782 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 1920x1080, format 1 (0x188c02f059a0)
    397606.266672192 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x188c02d80460 1920x1080 = 3440640 bytes
    397606.266768304 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 202 203 204
    397606.266770929 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
    397606.267537539 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 1920x1080, format 1 (0x188c07dc0640)
    397606.267542329 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x188c02d800e0 1920x1080 = 3440640 bytes
    397606.267631187 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 207 208 209
    397606.267633741 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
    397606.268389661 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 1920x1080, format 1 (0x188c07dc0fa0)
    397606.268394841 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x188c02d81420 1920x1080 = 3440640 bytes
    397606.268487897 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 212 207 213
    397606.268490432 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
    397606.269304973 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 1920x1080, format 1 (0x188c07dc2800)
    397606.269309682 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x188c02d81260 1920x1080 = 3440640 bytes
    397606.269401776 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 216 218 219
    397606.269404251 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
    397606.549154450 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 1920x1080, format 1 (0x188c07dc3160)
    397606.549169248 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x188c02d80ee0 1920x1080 = 3440640 bytes
    397606.549340161 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 132 215 222
    397606.549344640 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
    397606.550233130 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 1920x1080, format 1 (0x188c030fdae0)
    397606.550239202 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x188c02d82060 1920x1080 = 3440640 bytes
    397606.550344832 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 225 226 227
    397606.550347487 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
    397606.649697586 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 1920x1080, format 1 (0x188c084ccaa0)
    397606.649704759 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x188c02d8bf00 1920x1080 = 3440640 bytes
    397606.649813776 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 171 217 223
    397606.649816471 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
    397606.766991449 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 1920x1080, format 1 (0x188c07d76260)
    397606.766997951 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x188c02d83020 1920x1080 = 3440640 bytes
    397606.767110134 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 230 233 236
    397606.767113069 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
    397606.767977755 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 1920x1080, format 1 (0x188c085800a0)
    397606.767984037 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x188c08481a40 1920x1080 = 3440640 bytes
    397606.768090278 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 239 243 234
    397606.768093163 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
    397607.326490185 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 1920x1080, format 1 (0x188c08581900)
    397607.326502097 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x188c02d7b020 1920x1080 = 3440640 bytes
    397607.326632785 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 252 253 254
    397607.326635480 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
    397607.327624240 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 1920x1080, format 1 (0x188c085835c0)
    397607.327628979 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x188c02d82ae0 1920x1080 = 3440640 bytes
    397607.351038272 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 255 256 257
    397607.351041428 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
    397607.351919519 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 1920x1080, format 1 (0x188c08581720)
    397607.351928546 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x188c08485960 1920x1080 = 3440640 bytes
    397607.352057520 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 258 259 260
    397607.352061999 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
    397607.352927215 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 1920x1080, format 1 (0x188c084ce6c0)
    397607.352932996 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x188c08485a40 1920x1080 = 3440640 bytes
    397607.353040760 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 261 262 263
    397607.353044607 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
    397607.353854780 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 1920x1080, format 1 (0x188c08582c60)
    397607.353859138 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x188c084850a0 1920x1080 = 3440640 bytes
    397607.353952705 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 264 265 266
    397607.353955170 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
    397609.439815077 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1121         nvDestroyContext Destroying context: 2
    397609.439830907 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 325           destroyContext Signaling resolve thread to exit
    397609.439840385 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 331           destroyContext Waiting for resolve thread to exit
    397609.439846757 [1076488-1077424] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 458          resolveSurfaces [RT] Resolve thread for 0x188c065b5400 exiting
    397609.439880982 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 333           destroyContext pthread_timedjoin_np finished with 0
    397609.489153039 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 991        nvDestroySurfaces Destroying surface 24 (0x188c08582c60)
    397609.489284719 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 991        nvDestroySurfaces Destroying surface 23 (0x188c084ce6c0)
    397609.489392362 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 991        nvDestroySurfaces Destroying surface 22 (0x188c08581720)
    397609.489470941 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 991        nvDestroySurfaces Destroying surface 21 (0x188c085835c0)
    397609.489530964 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 991        nvDestroySurfaces Destroying surface 20 (0x188c08581900)
    397609.489596629 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 991        nvDestroySurfaces Destroying surface 19 (0x188c085800a0)
    397609.489710764 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 991        nvDestroySurfaces Destroying surface 18 (0x188c07d76260)
    397609.489771650 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 991        nvDestroySurfaces Destroying surface 17 (0x188c084ccaa0)
    397609.490052821 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 991        nvDestroySurfaces Destroying surface 16 (0x188c030fdae0)
    397609.490153762 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 991        nvDestroySurfaces Destroying surface 15 (0x188c07dc3160)
    397609.490219607 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 991        nvDestroySurfaces Destroying surface 14 (0x188c07dc2800)
    397609.490312683 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 991        nvDestroySurfaces Destroying surface 13 (0x188c07dc0fa0)
    397609.490424585 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 991        nvDestroySurfaces Destroying surface 12 (0x188c07dc0640)
    397609.490507321 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 991        nvDestroySurfaces Destroying surface 11 (0x188c02f059a0)
    397609.490589306 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 991        nvDestroySurfaces Destroying surface 10 (0x188c07dbeda0)
    397609.490704134 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 991        nvDestroySurfaces Destroying surface 9 (0x188c07dbe440)
    397609.490811797 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 991        nvDestroySurfaces Destroying surface 8 (0x188c07dbdae0)
    397609.490954106 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 991        nvDestroySurfaces Destroying surface 7 (0x188c07dbcc80)
    397609.491062161 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 991        nvDestroySurfaces Destroying surface 6 (0x188c07dbc320)
    397609.491155738 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 991        nvDestroySurfaces Destroying surface 5 (0x188c07d77480)
    397609.491267750 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 991        nvDestroySurfaces Destroying surface 4 (0x188c07d76b20)
    397609.491328875 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 991        nvDestroySurfaces Destroying surface 3 (0x188c07d75cc0)
    397609.491409718 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 991        nvDestroySurfaces Destroying surface 2 (0x188c07d75360)
    397609.491520969 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 991        nvDestroySurfaces Destroying surface 1 (0x188c07d74a00)
    397609.491623923 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 991        nvDestroySurfaces Destroying surface 0 (0x188c07d63b60)
    397609.491686372 [1076488-1077420] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 991        nvDestroySurfaces Destroying surface -1 (0x188c07d62bc0)
    397609.491774458 [1076488-1077430] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 674           nvCreateConfig got profile: 19 with 1 attributes
    397609.491783856 [1076488-1077430] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 1
    397609.491972874 [1076488-1077430] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1021          nvCreateContext creating context with 0 render targets, 0 surfaces, at 2560x1440
    397609.491975679 [1076488-1077430] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1047          nvCreateContext 0 surfaces have been passed to vaCreateContext, this might cause errors. Setting surface count to 32
    397609.512566931 [1076488-1077430] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 2560x1440, format 1 (0x188c07dbe8a0)
    397609.512581549 [1076488-1077430] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x188c02d20460 2560x1440 = 5898240 bytes
    397609.512569536 [1076488-1077432] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 416          resolveSurfaces [RT] Resolve thread for 0x188c02bd2400 started
    397609.512701897 [1076488-1077430] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 129 145 146
    397609.512704792 [1076488-1077430] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
    397609.513037712 [1076488-1077430] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 2560x1440, format 1 (0x188c07dc05a0)
    397609.513042180 [1076488-1077430] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x188c02d23020 2560x1440 = 5898240 bytes
    397609.513131770 [1076488-1077430] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 129 145 149
    397609.513134144 [1076488-1077430] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
    397609.514336769 [1076488-1077430] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 2560x1440, format 1 (0x188c07dc1ae0)
    397609.514342320 [1076488-1077430] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x188c08483020 2560x1440 = 5898240 bytes
    397609.514443932 [1076488-1077430] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 152 153 154
    397609.514446978 [1076488-1077430] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
    397609.515587125 [1076488-1077430] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 2560x1440, format 1 (0x188c07dc0fa0)
    397609.515592134 [1076488-1077430] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x188c02d74c40 2560x1440 = 5898240 bytes
    397609.515698084 [1076488-1077430] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 155 156 157
    397609.515701982 [1076488-1077430] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
    397609.516915567 [1076488-1077430] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 2560x1440, format 1 (0x188c07dc2e40)
    397609.516921218 [1076488-1077430] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x188c02d74ee0 2560x1440 = 5898240 bytes
    397609.517033741 [1076488-1077430] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 161 162 163
    397609.517036857 [1076488-1077430] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
    397609.518267806 [1076488-1077430] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 2560x1440, format 1 (0x188c012ee260)
    397609.518274107 [1076488-1077430] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x188c02d773a0 2560x1440 = 5898240 bytes
    397609.518463967 [1076488-1077430] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 164 165 166
    397609.518467052 [1076488-1077430] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
    397609.519719612 [1076488-1077430] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 2560x1440, format 1 (0x188c01047980)
    397609.519725002 [1076488-1077430] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x188c02d76060 2560x1440 = 5898240 bytes
    397609.519822927 [1076488-1077430] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 172 173 174
    397609.519825823 [1076488-1077430] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
    397609.520982701 [1076488-1077430] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 2560x1440, format 1 (0x188c02f07c00)
    397609.520988082 [1076488-1077430] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x188c02d8b9c0 2560x1440 = 5898240 bytes
    397609.521100975 [1076488-1077430] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 177 178 179
    397609.521104442 [1076488-1077430] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
    397609.522275226 [1076488-1077430] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 2560x1440, format 1 (0x188c02f075c0)
    397609.522280356 [1076488-1077430] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x188c02d8a4c0 2560x1440 = 5898240 bytes
    397609.522377991 [1076488-1077430] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 182 183 184
    397609.522380686 [1076488-1077430] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
    397609.523561850 [1076488-1077430] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 2560x1440, format 1 (0x188c08580dc0)
    397609.523569164 [1076488-1077430] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x188c02d76a00 2560x1440 = 5898240 bytes
    397609.523701585 [1076488-1077430] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 187 188 191
    397609.523706955 [1076488-1077430] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
    397609.524968030 [1076488-1077430] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 2560x1440, format 1 (0x188c01047200)
    397609.524973841 [1076488-1077430] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x188c02d749a0 2560x1440 = 5898240 bytes
    397609.525082807 [1076488-1077430] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 190 193 194
    397609.525085703 [1076488-1077430] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
    397609.526254885 [1076488-1077430] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 2560x1440, format 1 (0x188c01044c80)
    397609.526260075 [1076488-1077430] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x188c0848ad80 2560x1440 = 5898240 bytes
    397609.526356467 [1076488-1077430] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 197 198 199
    397609.526359132 [1076488-1077430] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
    397609.527513385 [1076488-1077430] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 2560x1440, format 1 (0x188c08583700)
    397609.527519447 [1076488-1077430] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x188c08489880 2560x1440 = 5898240 bytes
    397609.527627922 [1076488-1077430] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 202 203 204
    397609.527630607 [1076488-1077430] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
    397609.528809617 [1076488-1077430] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 2560x1440, format 1 (0x188c085817c0)
    397609.528815348 [1076488-1077430] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x188c0848b8e0 2560x1440 = 5898240 bytes
    397609.528916760 [1076488-1077430] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 207 208 209
    397609.528919345 [1076488-1077430] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
    397609.530091773 [1076488-1077430] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 2560x1440, format 1 (0x188c085829e0)
    397609.530096872 [1076488-1077430] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x188c0848b480 2560x1440 = 5898240 bytes
    397609.530191381 [1076488-1077430] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 212 213 214
    397609.530194126 [1076488-1077430] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
    397609.531338822 [1076488-1077430] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 2560x1440, format 1 (0x188c084cd720)
    397609.531343912 [1076488-1077430] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x188c08488620 2560x1440 = 5898240 bytes
    397609.531433010 [1076488-1077430] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 217 218 219
    397609.531435475 [1076488-1077430] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
    397609.816090835 [1076488-1077430] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 2560x1440, format 1 (0x188c084ce6c0)
    397609.816104621 [1076488-1077430] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x188c08488c40 2560x1440 = 5898240 bytes
    397609.816249525 [1076488-1077430] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 168 220 221
    397609.816252270 [1076488-1077430] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
    397609.817662819 [1076488-1077430] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 2560x1440, format 1 (0x188c085cc320)
    397609.817668099 [1076488-1077430] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x188c0848aca0 2560x1440 = 5898240 bytes
    397609.817774079 [1076488-1077430] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 227 228 229
    397609.817778137 [1076488-1077430] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
    397610.017164394 [1076488-1077430] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 2560x1440, format 1 (0x188c085cf840)
    397610.017178801 [1076488-1077430] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x188c02d77c60 2560x1440 = 5898240 bytes
    397610.017310761 [1076488-1077430] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 192 223 234
    397610.017313556 [1076488-1077430] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
    397612.837975727 [1076488-1077430] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1121         nvDestroyContext Destroying context: 232
    397612.837993410 [1076488-1077430] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 325           destroyContext Signaling resolve thread to exit
    397612.837998781 [1076488-1077430] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 331           destroyContext Waiting for resolve thread to exit
    397612.838010954 [1076488-1077432] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 458          resolveSurfaces [RT] Resolve thread for 0x188c02bd2400 exiting
    397612.838042092 [1076488-1077430] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 333           destroyContext pthread_timedjoin_np finished with 0
[1076444:1076444:1018/180018.425667:ERROR:wayland_event_watcher.cc(47)] libwayland: warning: queue 0x51c00004680 destroyed while proxies still attached:

[1076444:1076444:1018/180018.425744:ERROR:wayland_event_watcher.cc(47)] libwayland:   wl_shm_pool#43 still attached

@LuanVSO
Copy link

LuanVSO commented Oct 18, 2024

  • Chromium source: google website
  • Chromium package: google-chrome-beta.rpm
  • X11/Wayland: wayland
  • Desktop Environment and version: Plasma 6.2.0 (fedora 40 KDE)
  • Driver package: rpmfusion-nonfree/akmod-nvidia
  • Driver Version: 560.35.03
  • GPU Model: NVIDIA GeForce RTX 4070 Ti SUPER

The following comes from chrome://flags/

List of non-default flags:

  • fluent-overlay-scrollbars
  • smooth-scrolling
  • enable-parallel-downloading
  • fluent-scrollbars
  • hardware-media-key-handling - disabled

The following comes from chrome://gpu

  • Video Decode: Software only. Hardware acceleration disabled
  • Video Encode: Software only. Hardware acceleration disabled
  • Chrome version: Chrome/131.0.6778.3
  • Command Line: /opt/google/chrome-beta/custom-google-chrome --ozone-platform-hint=auto --use-angle=gl --enable-features=AllowQt,WaylandXdgToplevelDrag,TouchpadOverscrollHistoryNavigation,VaapiOnNvidiaGPUs,VaapiVideoDecodeLinuxGL,VaapiVideoDecodeLinuxZeroCopyGL --ozone-platform=wayland
  • GL implementation parts: (gl=egl-angle,angle=swiftshader)
  • Video Acceleration Information
❯ vainfo
Trying display: wayland
libva info: VA-API version 1.21.0
libva info: Trying to open /usr/lib64/dri-nonfree/nvidia_drv_video.so
libva info: Trying to open /usr/lib64/dri-freeworld/nvidia_drv_video.so
libva info: Trying to open /usr/lib64/dri/nvidia_drv_video.so
libva info: Found init function __vaDriverInit_1_0
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.21 (libva 2.21.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
Paste Logs Below

646.781115858 [7408-7408] ../src/vabackend.c:2188       __vaDriverInit_1_0 Initialising NVIDIA VA-API Driver: 31
646.781121508 [7408-7408] ../src/vabackend.c:2197       __vaDriverInit_1_0 Now have 0 (0 max) instances
646.781122988 [7408-7408] ../src/vabackend.c:2223       __vaDriverInit_1_0 Selecting Direct backend
646.781129818 [7408-7408] ../src/direct/nv-driver.c: 267            init_nvdriver Initing nvdriver...
646.781141338 [7408-7408] ../src/direct/nv-driver.c: 285            init_nvdriver NVIDIA kernel driver version: 560.35.03, major version: 560, minor version: 35
646.781143378 [7408-7408] ../src/direct/nv-driver.c: 292            init_nvdriver Got dev info: 100 1 2 6
646.995728935 [7408-7408] ../src/vabackend.c: 606    nvGetConfigAttributes Got here with profile: 6 == 4
646.995740915 [7408-7408] ../src/vabackend.c: 674           nvCreateConfig got profile: 6 with 1 attributes
646.995742735 [7408-7408] ../src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 1
646.995744365 [7408-7408] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 4 (8) (nil) -1431655766
646.995745595 [7408-7408] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 4 (8) 0x24ec00e1fc60 8
647.000365909 [7408-7408] ../src/vabackend.c:1869 nvQuerySurfaceAttributes Returning constraints: width: 48 - 4096, height: 16 - 4096
647.000376309 [7408-7408] ../src/vabackend.c: 674           nvCreateConfig got profile: 6 with 0 attributes
647.000387959 [7408-7408] ../src/vabackend.c: 606    nvGetConfigAttributes Got here with profile: 7 == 4
647.000389909 [7408-7408] ../src/vabackend.c: 674           nvCreateConfig got profile: 7 with 1 attributes
647.000391209 [7408-7408] ../src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 1
647.000392309 [7408-7408] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 4 (8) (nil) -1431655766
647.000393409 [7408-7408] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 4 (8) 0x24ec00e1fc60 8
647.004950603 [7408-7408] ../src/vabackend.c:1869 nvQuerySurfaceAttributes Returning constraints: width: 48 - 4096, height: 16 - 4096
647.004955283 [7408-7408] ../src/vabackend.c: 674           nvCreateConfig got profile: 7 with 0 attributes
647.004959023 [7408-7408] ../src/vabackend.c: 606    nvGetConfigAttributes Got here with profile: 13 == 4
647.004960233 [7408-7408] ../src/vabackend.c: 674           nvCreateConfig got profile: 13 with 1 attributes
647.004961423 [7408-7408] ../src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 1
647.004962793 [7408-7408] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 4 (8) (nil) -1431655766
647.004964293 [7408-7408] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 4 (8) 0x24ec00e1fc60 8
647.009519127 [7408-7408] ../src/vabackend.c:1869 nvQuerySurfaceAttributes Returning constraints: width: 48 - 4096, height: 16 - 4096
647.009523737 [7408-7408] ../src/vabackend.c: 674           nvCreateConfig got profile: 13 with 0 attributes
647.009527347 [7408-7408] ../src/vabackend.c: 606    nvGetConfigAttributes Got here with profile: 17 == 8
647.009528387 [7408-7408] ../src/vabackend.c: 674           nvCreateConfig got profile: 17 with 1 attributes
647.009529257 [7408-7408] ../src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 1
647.009530277 [7408-7408] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 8 (8) (nil) -1431655766
647.009531247 [7408-7408] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 8 (8) 0x24ec00e1fc60 8
647.014060152 [7408-7408] ../src/vabackend.c:1869 nvQuerySurfaceAttributes Returning constraints: width: 144 - 8192, height: 144 - 8192
647.014064692 [7408-7408] ../src/vabackend.c: 674           nvCreateConfig got profile: 17 with 0 attributes
647.014068082 [7408-7408] ../src/vabackend.c: 606    nvGetConfigAttributes Got here with profile: 14 == 9
647.014069072 [7408-7408] ../src/vabackend.c: 674           nvCreateConfig got profile: 14 with 1 attributes
647.014069942 [7408-7408] ../src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 1
647.014070932 [7408-7408] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 9 (8) (nil) -1431655766
647.014071942 [7408-7408] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 9 (8) 0x24ec00e1fc60 8
647.018636696 [7408-7408] ../src/vabackend.c:1869 nvQuerySurfaceAttributes Returning constraints: width: 48 - 4096, height: 16 - 4096
647.018641136 [7408-7408] ../src/vabackend.c: 674           nvCreateConfig got profile: 14 with 0 attributes
647.018644566 [7408-7408] ../src/vabackend.c: 606    nvGetConfigAttributes Got here with profile: 19 == 10
647.018645616 [7408-7408] ../src/vabackend.c: 674           nvCreateConfig got profile: 19 with 1 attributes
647.018646476 [7408-7408] ../src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 1
647.018647496 [7408-7408] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 10 (8) (nil) -1431655766
647.018648496 [7408-7408] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 10 (8) 0x24ec00e1fc60 8
647.023210021 [7408-7408] ../src/vabackend.c:1869 nvQuerySurfaceAttributes Returning constraints: width: 128 - 8192, height: 128 - 8192
647.023249670 [7408-7408] ../src/vabackend.c: 674           nvCreateConfig got profile: 19 with 0 attributes
647.023255020 [7408-7408] ../src/vabackend.c: 606    nvGetConfigAttributes Got here with profile: 32 == 11
647.023256090 [7408-7408] ../src/vabackend.c: 674           nvCreateConfig got profile: 32 with 1 attributes
647.023257040 [7408-7408] ../src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 1
647.023258190 [7408-7408] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 11 (8) (nil) -1431655766
647.023259460 [7408-7408] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 11 (8) 0x24ec00e1fc60 8
647.027829145 [7408-7408] ../src/vabackend.c:1869 nvQuerySurfaceAttributes Returning constraints: width: 128 - 8192, height: 128 - 8192
647.027833765 [7408-7408] ../src/vabackend.c: 674           nvCreateConfig got profile: 32 with 0 attributes
647.027835295 [7408-7408] ../src/vabackend.c: 737           nvCreateConfig Unable to determine surface type for VP9/AV1 codec due to no RTFormat specified.
647.027838344 [7408-7408] ../src/vabackend.c: 606    nvGetConfigAttributes Got here with profile: 18 == 8
647.027839404 [7408-7408] ../src/vabackend.c: 674           nvCreateConfig got profile: 18 with 1 attributes
647.027840374 [7408-7408] ../src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 1
647.027841434 [7408-7408] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 8 (10) (nil) -1431655766
647.027842524 [7408-7408] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 8 (10) 0x24ec00e1fc60 8
647.032384689 [7408-7408] ../src/vabackend.c:1869 nvQuerySurfaceAttributes Returning constraints: width: 144 - 8192, height: 144 - 8192
647.032389259 [7408-7408] ../src/vabackend.c: 674           nvCreateConfig got profile: 18 with 0 attributes
647.032392659 [7408-7408] ../src/vabackend.c: 606    nvGetConfigAttributes Got here with profile: 21 == 10
647.032393639 [7408-7408] ../src/vabackend.c: 674           nvCreateConfig got profile: 21 with 1 attributes
647.032394529 [7408-7408] ../src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 256
647.032395569 [7408-7408] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 10 (10) (nil) -1431655766
647.032396549 [7408-7408] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 10 (10) 0x24ec00e1fc60 8
647.036945614 [7408-7408] ../src/vabackend.c:1869 nvQuerySurfaceAttributes Returning constraints: width: 128 - 8192, height: 128 - 8192
647.036950134 [7408-7408] ../src/vabackend.c: 674           nvCreateConfig got profile: 21 with 0 attributes
647.036961373 [7408-7408] ../src/vabackend.c:2098              nvTerminate Terminating 0x24ec00ee4c00
647.037450781 [7408-7408] ../src/vabackend.c:2112              nvTerminate Now have 0 (0 max) instances
647.184773965 [7408-7408] ../src/direct/direct-export-buf.c:  46                    debug [EGL] eglCreateImageKHR: createImageFromDmaBufs failed
[7408:7408:1018/191748.832948:ERROR:angle_platform_impl.cc(44)] ImageEGL.cpp:112 (operator()): eglCreateImage failed with 0x00003009
ERR: ImageEGL.cpp:112 (operator()): eglCreateImage failed with 0x00003009
[7408:7408:1018/191748.833016:ERROR:scoped_egl_image.cc(23)] Failed to create EGLImage: EGL_SUCCESS
[7408:7408:1018/191748.833056:ERROR:native_pixmap_egl_binding.cc(118)] Unable to initialize binding from pixmap
[7408:7408:1018/191748.833091:ERROR:ozone_image_backing.cc(309)] OzoneImageBacking::ProduceSkiaGanesh failed to create GL representation
[7408:7408:1018/191748.833121:ERROR:shared_image_manager.cc(257)] SharedImageManager::ProduceSkia: Trying to produce a Skia representation from an incompatible backing: OzoneImageBacking
[7408:7408:1018/191748.833178:ERROR:gpu_service_impl.cc(1154)] Exiting GPU process because some drivers can't recover from errors. GPUprocess will restart shortly.
[7356:7356:1018/191748.849691:ERROR:gpu_process_host.cc(982)] GPU process exited unexpectedly: exit_code=8704
647.339097619 [7564-7564] ../src/vabackend.c:2188       __vaDriverInit_1_0 Initialising NVIDIA VA-API Driver: 31
647.339101899 [7564-7564] ../src/vabackend.c:2197       __vaDriverInit_1_0 Now have 0 (0 max) instances
647.339103159 [7564-7564] ../src/vabackend.c:2223       __vaDriverInit_1_0 Selecting Direct backend
647.339110279 [7564-7564] ../src/direct/nv-driver.c: 267            init_nvdriver Initing nvdriver...
647.339121799 [7564-7564] ../src/direct/nv-driver.c: 285            init_nvdriver NVIDIA kernel driver version: 560.35.03, major version: 560, minor version: 35
647.339123939 [7564-7564] ../src/direct/nv-driver.c: 292            init_nvdriver Got dev info: 100 1 2 6
647.522343991 [7564-7564] ../src/vabackend.c: 606    nvGetConfigAttributes Got here with profile: 6 == 4
647.522348171 [7564-7564] ../src/vabackend.c: 674           nvCreateConfig got profile: 6 with 1 attributes
647.522349971 [7564-7564] ../src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 1
647.522351471 [7564-7564] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 4 (8) (nil) -1431655766
647.522352631 [7564-7564] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 4 (8) 0x24ec00e1bc60 8
647.526731337 [7564-7564] ../src/vabackend.c:1869 nvQuerySurfaceAttributes Returning constraints: width: 48 - 4096, height: 16 - 4096
647.526741767 [7564-7564] ../src/vabackend.c: 674           nvCreateConfig got profile: 6 with 0 attributes
647.526749387 [7564-7564] ../src/vabackend.c: 606    nvGetConfigAttributes Got here with profile: 7 == 4
647.526750797 [7564-7564] ../src/vabackend.c: 674           nvCreateConfig got profile: 7 with 1 attributes
647.526751837 [7564-7564] ../src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 1
647.526752907 [7564-7564] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 4 (8) (nil) -1431655766
647.526753997 [7564-7564] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 4 (8) 0x24ec00e1bc60 8
647.531211962 [7564-7564] ../src/vabackend.c:1869 nvQuerySurfaceAttributes Returning constraints: width: 48 - 4096, height: 16 - 4096
647.531216642 [7564-7564] ../src/vabackend.c: 674           nvCreateConfig got profile: 7 with 0 attributes
647.531220172 [7564-7564] ../src/vabackend.c: 606    nvGetConfigAttributes Got here with profile: 13 == 4
647.531221662 [7564-7564] ../src/vabackend.c: 674           nvCreateConfig got profile: 13 with 1 attributes
647.531222632 [7564-7564] ../src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 1
647.531223682 [7564-7564] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 4 (8) (nil) -1431655766
647.531224732 [7564-7564] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 4 (8) 0x24ec00e1bc60 8
647.535629697 [7564-7564] ../src/vabackend.c:1869 nvQuerySurfaceAttributes Returning constraints: width: 48 - 4096, height: 16 - 4096
647.535634357 [7564-7564] ../src/vabackend.c: 674           nvCreateConfig got profile: 13 with 0 attributes
647.535637837 [7564-7564] ../src/vabackend.c: 606    nvGetConfigAttributes Got here with profile: 17 == 8
647.535638827 [7564-7564] ../src/vabackend.c: 674           nvCreateConfig got profile: 17 with 1 attributes
647.535639797 [7564-7564] ../src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 1
647.535640817 [7564-7564] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 8 (8) (nil) -1431655766
647.535641797 [7564-7564] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 8 (8) 0x24ec00e1bc60 8
647.540065962 [7564-7564] ../src/vabackend.c:1869 nvQuerySurfaceAttributes Returning constraints: width: 144 - 8192, height: 144 - 8192
647.540070332 [7564-7564] ../src/vabackend.c: 674           nvCreateConfig got profile: 17 with 0 attributes
647.540073682 [7564-7564] ../src/vabackend.c: 606    nvGetConfigAttributes Got here with profile: 14 == 9
647.540074702 [7564-7564] ../src/vabackend.c: 674           nvCreateConfig got profile: 14 with 1 attributes
647.540075552 [7564-7564] ../src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 1
647.540076552 [7564-7564] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 9 (8) (nil) -1431655766
647.540077522 [7564-7564] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 9 (8) 0x24ec00e1bc60 8
647.544534297 [7564-7564] ../src/vabackend.c:1869 nvQuerySurfaceAttributes Returning constraints: width: 48 - 4096, height: 16 - 4096
647.544538767 [7564-7564] ../src/vabackend.c: 674           nvCreateConfig got profile: 14 with 0 attributes
647.544542117 [7564-7564] ../src/vabackend.c: 606    nvGetConfigAttributes Got here with profile: 19 == 10
647.544543477 [7564-7564] ../src/vabackend.c: 674           nvCreateConfig got profile: 19 with 1 attributes
647.544544367 [7564-7564] ../src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 1
647.544545387 [7564-7564] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 10 (8) (nil) -1431655766
647.544546367 [7564-7564] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 10 (8) 0x24ec00e1bc60 8
647.548978892 [7564-7564] ../src/vabackend.c:1869 nvQuerySurfaceAttributes Returning constraints: width: 128 - 8192, height: 128 - 8192
647.549025912 [7564-7564] ../src/vabackend.c: 674           nvCreateConfig got profile: 19 with 0 attributes
647.549030602 [7564-7564] ../src/vabackend.c: 606    nvGetConfigAttributes Got here with profile: 32 == 11
647.549031772 [7564-7564] ../src/vabackend.c: 674           nvCreateConfig got profile: 32 with 1 attributes
647.549032692 [7564-7564] ../src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 1
647.549033792 [7564-7564] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 11 (8) (nil) -1431655766
647.549035002 [7564-7564] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 11 (8) 0x24ec00e1bc60 8
647.553463447 [7564-7564] ../src/vabackend.c:1869 nvQuerySurfaceAttributes Returning constraints: width: 128 - 8192, height: 128 - 8192
647.553467957 [7564-7564] ../src/vabackend.c: 674           nvCreateConfig got profile: 32 with 0 attributes
647.553469477 [7564-7564] ../src/vabackend.c: 737           nvCreateConfig Unable to determine surface type for VP9/AV1 codec due to no RTFormat specified.
647.553472447 [7564-7564] ../src/vabackend.c: 606    nvGetConfigAttributes Got here with profile: 18 == 8
647.553473517 [7564-7564] ../src/vabackend.c: 674           nvCreateConfig got profile: 18 with 1 attributes
647.553474497 [7564-7564] ../src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 1
647.553475647 [7564-7564] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 8 (10) (nil) -1431655766
647.553476727 [7564-7564] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 8 (10) 0x24ec00e1bc60 8
647.557921872 [7564-7564] ../src/vabackend.c:1869 nvQuerySurfaceAttributes Returning constraints: width: 144 - 8192, height: 144 - 8192
647.557926502 [7564-7564] ../src/vabackend.c: 674           nvCreateConfig got profile: 18 with 0 attributes
647.557930072 [7564-7564] ../src/vabackend.c: 606    nvGetConfigAttributes Got here with profile: 21 == 10
647.557931252 [7564-7564] ../src/vabackend.c: 674           nvCreateConfig got profile: 21 with 1 attributes
647.557932162 [7564-7564] ../src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 256
647.557933232 [7564-7564] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 10 (10) (nil) -1431655766
647.557934302 [7564-7564] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 10 (10) 0x24ec00e1bc60 8
647.562317097 [7564-7564] ../src/vabackend.c:1869 nvQuerySurfaceAttributes Returning constraints: width: 128 - 8192, height: 128 - 8192
647.562321667 [7564-7564] ../src/vabackend.c: 674           nvCreateConfig got profile: 21 with 0 attributes
647.562332197 [7564-7564] ../src/vabackend.c:2098              nvTerminate Terminating 0x24ec00ee0c00
647.562815314 [7564-7564] ../src/vabackend.c:2112              nvTerminate Now have 0 (0 max) instances
647.631074461 [7564-7564] ../src/direct/direct-export-buf.c:  46                    debug [EGL] eglCreateImageKHR: createImageFromDmaBufs failed
[7564:7564:1018/191749.279246:ERROR:angle_platform_impl.cc(44)] ImageEGL.cpp:112 (operator()): eglCreateImage failed with 0x00003009
ERR: ImageEGL.cpp:112 (operator()): eglCreateImage failed with 0x00003009
[7564:7564:1018/191749.279297:ERROR:scoped_egl_image.cc(23)] Failed to create EGLImage: EGL_SUCCESS
[7564:7564:1018/191749.279330:ERROR:native_pixmap_egl_binding.cc(118)] Unable to initialize binding from pixmap
[7564:7564:1018/191749.279358:ERROR:ozone_image_backing.cc(309)] OzoneImageBacking::ProduceSkiaGanesh failed to create GL representation
[7564:7564:1018/191749.279383:ERROR:shared_image_manager.cc(257)] SharedImageManager::ProduceSkia: Trying to produce a Skia representation from an incompatible backing: OzoneImageBacking
[7564:7564:1018/191749.279423:ERROR:gpu_service_impl.cc(1154)] Exiting GPU process because some drivers can't recover from errors. GPUprocess will restart shortly.
[7356:7356:1018/191749.293462:ERROR:gpu_process_host.cc(982)] GPU process exited unexpectedly: exit_code=8704
647.785288887 [7596-7596] ../src/vabackend.c:2188       __vaDriverInit_1_0 Initialising NVIDIA VA-API Driver: 31
647.785293477 [7596-7596] ../src/vabackend.c:2197       __vaDriverInit_1_0 Now have 0 (0 max) instances
647.785294757 [7596-7596] ../src/vabackend.c:2223       __vaDriverInit_1_0 Selecting Direct backend
647.785300487 [7596-7596] ../src/direct/nv-driver.c: 267            init_nvdriver Initing nvdriver...
647.785310027 [7596-7596] ../src/direct/nv-driver.c: 285            init_nvdriver NVIDIA kernel driver version: 560.35.03, major version: 560, minor version: 35
647.785312017 [7596-7596] ../src/direct/nv-driver.c: 292            init_nvdriver Got dev info: 100 1 2 6
647.981317897 [7596-7596] ../src/vabackend.c: 606    nvGetConfigAttributes Got here with profile: 6 == 4
647.981322557 [7596-7596] ../src/vabackend.c: 674           nvCreateConfig got profile: 6 with 1 attributes
647.981324497 [7596-7596] ../src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 1
647.981326007 [7596-7596] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 4 (8) (nil) -1431655766
647.981327167 [7596-7596] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 4 (8) 0x24ec00e1bc60 8
647.985826112 [7596-7596] ../src/vabackend.c:1869 nvQuerySurfaceAttributes Returning constraints: width: 48 - 4096, height: 16 - 4096
647.985837612 [7596-7596] ../src/vabackend.c: 674           nvCreateConfig got profile: 6 with 0 attributes
647.985848632 [7596-7596] ../src/vabackend.c: 606    nvGetConfigAttributes Got here with profile: 7 == 4
647.985850452 [7596-7596] ../src/vabackend.c: 674           nvCreateConfig got profile: 7 with 1 attributes
647.985851732 [7596-7596] ../src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 1
647.985853012 [7596-7596] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 4 (8) (nil) -1431655766
647.985854672 [7596-7596] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 4 (8) 0x24ec00e1bc60 8
647.990391896 [7596-7596] ../src/vabackend.c:1869 nvQuerySurfaceAttributes Returning constraints: width: 48 - 4096, height: 16 - 4096
647.990396416 [7596-7596] ../src/vabackend.c: 674           nvCreateConfig got profile: 7 with 0 attributes
647.990400056 [7596-7596] ../src/vabackend.c: 606    nvGetConfigAttributes Got here with profile: 13 == 4
647.990401156 [7596-7596] ../src/vabackend.c: 674           nvCreateConfig got profile: 13 with 1 attributes
647.990402086 [7596-7596] ../src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 1
647.990403166 [7596-7596] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 4 (8) (nil) -1431655766
647.990404426 [7596-7596] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 4 (8) 0x24ec00e1bc60 8
[7410:7431:1018/191749.642600:ERROR:ssl_client_socket_impl.cc(878)] handshake failed; returned -1, SSL error code 1, net_error -202
647.994928781 [7596-7596] ../src/vabackend.c:1869 nvQuerySurfaceAttributes Returning constraints: width: 48 - 4096, height: 16 - 4096
647.994933471 [7596-7596] ../src/vabackend.c: 674           nvCreateConfig got profile: 13 with 0 attributes
647.994937211 [7596-7596] ../src/vabackend.c: 606    nvGetConfigAttributes Got here with profile: 17 == 8
647.994938321 [7596-7596] ../src/vabackend.c: 674           nvCreateConfig got profile: 17 with 1 attributes
647.994939231 [7596-7596] ../src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 1
647.994940321 [7596-7596] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 8 (8) (nil) -1431655766
647.994941461 [7596-7596] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 8 (8) 0x24ec00e1bc60 8
647.999414726 [7596-7596] ../src/vabackend.c:1869 nvQuerySurfaceAttributes Returning constraints: width: 144 - 8192, height: 144 - 8192
647.999419336 [7596-7596] ../src/vabackend.c: 674           nvCreateConfig got profile: 17 with 0 attributes
647.999422786 [7596-7596] ../src/vabackend.c: 606    nvGetConfigAttributes Got here with profile: 14 == 9
647.999423866 [7596-7596] ../src/vabackend.c: 674           nvCreateConfig got profile: 14 with 1 attributes
647.999424756 [7596-7596] ../src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 1
647.999425766 [7596-7596] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 9 (8) (nil) -1431655766
647.999426836 [7596-7596] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 9 (8) 0x24ec00e1bc60 8
648.003831131 [7596-7596] ../src/vabackend.c:1869 nvQuerySurfaceAttributes Returning constraints: width: 48 - 4096, height: 16 - 4096
648.003835641 [7596-7596] ../src/vabackend.c: 674           nvCreateConfig got profile: 14 with 0 attributes
648.003839101 [7596-7596] ../src/vabackend.c: 606    nvGetConfigAttributes Got here with profile: 19 == 10
648.003840161 [7596-7596] ../src/vabackend.c: 674           nvCreateConfig got profile: 19 with 1 attributes
648.003841041 [7596-7596] ../src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 1
648.003842161 [7596-7596] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 10 (8) (nil) -1431655766
648.003843141 [7596-7596] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 10 (8) 0x24ec00e1bc60 8
648.008325056 [7596-7596] ../src/vabackend.c:1869 nvQuerySurfaceAttributes Returning constraints: width: 128 - 8192, height: 128 - 8192
648.008361256 [7596-7596] ../src/vabackend.c: 674           nvCreateConfig got profile: 19 with 0 attributes
648.008367105 [7596-7596] ../src/vabackend.c: 606    nvGetConfigAttributes Got here with profile: 32 == 11
648.008368585 [7596-7596] ../src/vabackend.c: 674           nvCreateConfig got profile: 32 with 1 attributes
648.008369995 [7596-7596] ../src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 1
648.008371525 [7596-7596] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 11 (8) (nil) -1431655766
648.008372985 [7596-7596] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 11 (8) 0x24ec00e1bc60 8
648.012825741 [7596-7596] ../src/vabackend.c:1869 nvQuerySurfaceAttributes Returning constraints: width: 128 - 8192, height: 128 - 8192
648.012830391 [7596-7596] ../src/vabackend.c: 674           nvCreateConfig got profile: 32 with 0 attributes
648.012831901 [7596-7596] ../src/vabackend.c: 737           nvCreateConfig Unable to determine surface type for VP9/AV1 codec due to no RTFormat specified.
648.012834961 [7596-7596] ../src/vabackend.c: 606    nvGetConfigAttributes Got here with profile: 18 == 8
648.012835991 [7596-7596] ../src/vabackend.c: 674           nvCreateConfig got profile: 18 with 1 attributes
648.012836941 [7596-7596] ../src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 1
648.012838011 [7596-7596] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 8 (10) (nil) -1431655766
648.012839061 [7596-7596] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 8 (10) 0x24ec00e1bc60 8
648.017252026 [7596-7596] ../src/vabackend.c:1869 nvQuerySurfaceAttributes Returning constraints: width: 144 - 8192, height: 144 - 8192
648.017256656 [7596-7596] ../src/vabackend.c: 674           nvCreateConfig got profile: 18 with 0 attributes
648.017260176 [7596-7596] ../src/vabackend.c: 606    nvGetConfigAttributes Got here with profile: 21 == 10
648.017261206 [7596-7596] ../src/vabackend.c: 674           nvCreateConfig got profile: 21 with 1 attributes
648.017262096 [7596-7596] ../src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 256
648.017263156 [7596-7596] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 10 (10) (nil) -1431655766
648.017264166 [7596-7596] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 10 (10) 0x24ec00e1bc60 8
648.021775240 [7596-7596] ../src/vabackend.c:1869 nvQuerySurfaceAttributes Returning constraints: width: 128 - 8192, height: 128 - 8192
648.021780100 [7596-7596] ../src/vabackend.c: 674           nvCreateConfig got profile: 21 with 0 attributes
648.021792140 [7596-7596] ../src/vabackend.c:2098              nvTerminate Terminating 0x24ec00ee0c00
648.022299407 [7596-7596] ../src/vabackend.c:2112              nvTerminate Now have 0 (0 max) instances
648.152571337 [7596-7596] ../src/direct/direct-export-buf.c:  46                    debug [EGL] eglCreateImageKHR: createImageFromDmaBufs failed
[7596:7596:1018/191749.800743:ERROR:angle_platform_impl.cc(44)] ImageEGL.cpp:112 (operator()): eglCreateImage failed with 0x00003009
ERR: ImageEGL.cpp:112 (operator()): eglCreateImage failed with 0x00003009
[7596:7596:1018/191749.800812:ERROR:scoped_egl_image.cc(23)] Failed to create EGLImage: EGL_SUCCESS
[7596:7596:1018/191749.800848:ERROR:native_pixmap_egl_binding.cc(118)] Unable to initialize binding from pixmap
[7596:7596:1018/191749.800881:ERROR:ozone_image_backing.cc(309)] OzoneImageBacking::ProduceSkiaGanesh failed to create GL representation
[7596:7596:1018/191749.800911:ERROR:shared_image_manager.cc(257)] SharedImageManager::ProduceSkia: Trying to produce a Skia representation from an incompatible backing: OzoneImageBacking
[7596:7596:1018/191749.800963:ERROR:gpu_service_impl.cc(1154)] Exiting GPU process because some drivers can't recover from errors. GPUprocess will restart shortly.
[7356:7356:1018/191749.820030:ERROR:gpu_process_host.cc(982)] GPU process exited unexpectedly: exit_code=8704
648.301149144 [7630-7630] ../src/vabackend.c:2188       __vaDriverInit_1_0 Initialising NVIDIA VA-API Driver: 31
648.301154063 [7630-7630] ../src/vabackend.c:2197       __vaDriverInit_1_0 Now have 0 (0 max) instances
648.301155373 [7630-7630] ../src/vabackend.c:2223       __vaDriverInit_1_0 Selecting Direct backend
648.308031255 [7630-7630] ../src/direct/nv-driver.c: 267            init_nvdriver Initing nvdriver...
648.308045175 [7630-7630] ../src/direct/nv-driver.c: 285            init_nvdriver NVIDIA kernel driver version: 560.35.03, major version: 560, minor version: 35
648.308047225 [7630-7630] ../src/direct/nv-driver.c: 292            init_nvdriver Got dev info: 100 1 2 6
648.479797462 [7630-7630] ../src/vabackend.c: 606    nvGetConfigAttributes Got here with profile: 6 == 4
648.479801732 [7630-7630] ../src/vabackend.c: 674           nvCreateConfig got profile: 6 with 1 attributes
648.479803512 [7630-7630] ../src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 1
648.479805112 [7630-7630] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 4 (8) (nil) -1431655766
648.479806242 [7630-7630] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 4 (8) 0x24ec00b532c0 8
648.484291936 [7630-7630] ../src/vabackend.c:1869 nvQuerySurfaceAttributes Returning constraints: width: 48 - 4096, height: 16 - 4096
648.484301916 [7630-7630] ../src/vabackend.c: 674           nvCreateConfig got profile: 6 with 0 attributes
648.484309496 [7630-7630] ../src/vabackend.c: 606    nvGetConfigAttributes Got here with profile: 7 == 4
648.484310606 [7630-7630] ../src/vabackend.c: 674           nvCreateConfig got profile: 7 with 1 attributes
648.484311596 [7630-7630] ../src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 1
648.484312736 [7630-7630] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 4 (8) (nil) -1431655766
648.484313796 [7630-7630] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 4 (8) 0x24ec00b532c0 8
648.488689162 [7630-7630] ../src/vabackend.c:1869 nvQuerySurfaceAttributes Returning constraints: width: 48 - 4096, height: 16 - 4096
648.488693692 [7630-7630] ../src/vabackend.c: 674           nvCreateConfig got profile: 7 with 0 attributes
648.488697182 [7630-7630] ../src/vabackend.c: 606    nvGetConfigAttributes Got here with profile: 13 == 4
648.488698222 [7630-7630] ../src/vabackend.c: 674           nvCreateConfig got profile: 13 with 1 attributes
648.488699142 [7630-7630] ../src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 1
648.488700162 [7630-7630] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 4 (8) (nil) -1431655766
648.488701212 [7630-7630] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 4 (8) 0x24ec00b532c0 8
648.493113297 [7630-7630] ../src/vabackend.c:1869 nvQuerySurfaceAttributes Returning constraints: width: 48 - 4096, height: 16 - 4096
648.493117807 [7630-7630] ../src/vabackend.c: 674           nvCreateConfig got profile: 13 with 0 attributes
648.493121267 [7630-7630] ../src/vabackend.c: 606    nvGetConfigAttributes Got here with profile: 17 == 8
648.493122237 [7630-7630] ../src/vabackend.c: 674           nvCreateConfig got profile: 17 with 1 attributes
648.493123127 [7630-7630] ../src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 1
648.493124127 [7630-7630] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 8 (8) (nil) -1431655766
648.493125127 [7630-7630] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 8 (8) 0x24ec00b532c0 8
648.497546922 [7630-7630] ../src/vabackend.c:1869 nvQuerySurfaceAttributes Returning constraints: width: 144 - 8192, height: 144 - 8192
648.497551482 [7630-7630] ../src/vabackend.c: 674           nvCreateConfig got profile: 17 with 0 attributes
648.497554732 [7630-7630] ../src/vabackend.c: 606    nvGetConfigAttributes Got here with profile: 14 == 9
648.497555672 [7630-7630] ../src/vabackend.c: 674           nvCreateConfig got profile: 14 with 1 attributes
648.497556532 [7630-7630] ../src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 1
648.497557492 [7630-7630] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 9 (8) (nil) -1431655766
648.497558442 [7630-7630] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 9 (8) 0x24ec00b532c0 8
648.501986577 [7630-7630] ../src/vabackend.c:1869 nvQuerySurfaceAttributes Returning constraints: width: 48 - 4096, height: 16 - 4096
648.501991097 [7630-7630] ../src/vabackend.c: 674           nvCreateConfig got profile: 14 with 0 attributes
648.501994367 [7630-7630] ../src/vabackend.c: 606    nvGetConfigAttributes Got here with profile: 19 == 10
648.501995387 [7630-7630] ../src/vabackend.c: 674           nvCreateConfig got profile: 19 with 1 attributes
648.501996217 [7630-7630] ../src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 1
648.501997197 [7630-7630] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 10 (8) (nil) -1431655766
648.501998147 [7630-7630] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 10 (8) 0x24ec00b532c0 8
648.506376453 [7630-7630] ../src/vabackend.c:1869 nvQuerySurfaceAttributes Returning constraints: width: 128 - 8192, height: 128 - 8192
648.506416692 [7630-7630] ../src/vabackend.c: 674           nvCreateConfig got profile: 19 with 0 attributes
648.506421522 [7630-7630] ../src/vabackend.c: 606    nvGetConfigAttributes Got here with profile: 32 == 11
648.506422612 [7630-7630] ../src/vabackend.c: 674           nvCreateConfig got profile: 32 with 1 attributes
648.506423552 [7630-7630] ../src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 1
648.506424702 [7630-7630] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 11 (8) (nil) -1431655766
648.506425742 [7630-7630] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 11 (8) 0x24ec00b532c0 8
648.510872007 [7630-7630] ../src/vabackend.c:1869 nvQuerySurfaceAttributes Returning constraints: width: 128 - 8192, height: 128 - 8192
648.510876427 [7630-7630] ../src/vabackend.c: 674           nvCreateConfig got profile: 32 with 0 attributes
648.510877997 [7630-7630] ../src/vabackend.c: 737           nvCreateConfig Unable to determine surface type for VP9/AV1 codec due to no RTFormat specified.
648.510880987 [7630-7630] ../src/vabackend.c: 606    nvGetConfigAttributes Got here with profile: 18 == 8
648.510882027 [7630-7630] ../src/vabackend.c: 674           nvCreateConfig got profile: 18 with 1 attributes
648.510882957 [7630-7630] ../src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 1
648.510884007 [7630-7630] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 8 (10) (nil) -1431655766
648.510885127 [7630-7630] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 8 (10) 0x24ec00b532c0 8
648.515327152 [7630-7630] ../src/vabackend.c:1869 nvQuerySurfaceAttributes Returning constraints: width: 144 - 8192, height: 144 - 8192
648.515331612 [7630-7630] ../src/vabackend.c: 674           nvCreateConfig got profile: 18 with 0 attributes
648.515334942 [7630-7630] ../src/vabackend.c: 606    nvGetConfigAttributes Got here with profile: 21 == 10
648.515335932 [7630-7630] ../src/vabackend.c: 674           nvCreateConfig got profile: 21 with 1 attributes
648.515336802 [7630-7630] ../src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 256
648.515337852 [7630-7630] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 10 (10) (nil) -1431655766
648.515338872 [7630-7630] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 10 (10) 0x24ec00b532c0 8
648.519744548 [7630-7630] ../src/vabackend.c:1869 nvQuerySurfaceAttributes Returning constraints: width: 128 - 8192, height: 128 - 8192
648.519749048 [7630-7630] ../src/vabackend.c: 674           nvCreateConfig got profile: 21 with 0 attributes
648.519760037 [7630-7630] ../src/vabackend.c:2098              nvTerminate Terminating 0x24ec00019e00
648.520262245 [7630-7630] ../src/vabackend.c:2112              nvTerminate Now have 0 (0 max) instances
[7439:7:1018/191750.222629:ERROR:command_buffer_proxy_impl.cc(131)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
[7438:7:1018/191750.222777:ERROR:command_buffer_proxy_impl.cc(131)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
Created TensorFlow Lite XNNPACK delegate for CPU.
Warning: /usr/lib/libvulkan_broadcom.so: classe ELF errada: ELFCLASS32
Warning: loader_icd_scan: Failed loading library associated with ICD JSON /usr/lib/libvulkan_broadcom.so. Ignoring this JSON
Warning: /usr/lib/libvulkan_freedreno.so: classe ELF errada: ELFCLASS32
Warning: loader_icd_scan: Failed loading library associated with ICD JSON /usr/lib/libvulkan_freedreno.so. Ignoring this JSON
Warning: /usr/lib/libvulkan_intel_hasvk.so: classe ELF errada: ELFCLASS32
Warning: loader_icd_scan: Failed loading library associated with ICD JSON /usr/lib/libvulkan_intel_hasvk.so. Ignoring this JSON
Warning: /usr/lib/libvulkan_intel.so: classe ELF errada: ELFCLASS32
Warning: loader_icd_scan: Failed loading library associated with ICD JSON /usr/lib/libvulkan_intel.so. Ignoring this JSON
Warning: /usr/lib/libvulkan_lvp.so: classe ELF errada: ELFCLASS32
Warning: loader_icd_scan: Failed loading library associated with ICD JSON /usr/lib/libvulkan_lvp.so. Ignoring this JSON
Warning: /usr/lib/libvulkan_nouveau.so: classe ELF errada: ELFCLASS32
Warning: loader_icd_scan: Failed loading library associated with ICD JSON /usr/lib/libvulkan_nouveau.so. Ignoring this JSON
Warning: /usr/lib/libvulkan_panfrost.so: classe ELF errada: ELFCLASS32
Warning: loader_icd_scan: Failed loading library associated with ICD JSON /usr/lib/libvulkan_panfrost.so. Ignoring this JSON
Warning: /usr/lib/libvulkan_powervr_mesa.so: classe ELF errada: ELFCLASS32
Warning: loader_icd_scan: Failed loading library associated with ICD JSON /usr/lib/libvulkan_powervr_mesa.so. Ignoring this JSON
Warning: /usr/lib/libvulkan_radeon.so: classe ELF errada: ELFCLASS32
Warning: loader_icd_scan: Failed loading library associated with ICD JSON /usr/lib/libvulkan_radeon.so. Ignoring this JSON
Warning: /usr/lib/libGLX_nvidia.so.0: classe ELF errada: ELFCLASS32
Warning: loader_icd_scan: Failed loading library associated with ICD JSON /usr/lib/libGLX_nvidia.so.0. Ignoring this JSON
[7630:7630:1018/191755.874409:ERROR:gl_display.cc(497)] EGL Driver message (Error) eglCreateContext: Requested version is not supported
Warning: eglCreateContext failed with EGL_BAD_ATTRIBUTE
- While trying to discover a BackendType::OpenGL adapter.
at CheckEGL (../../third_party/dawn/src/dawn/native/opengl/UtilsEGL.cpp:84)

[7356:7356:1018/191815.127674:ERROR:wayland_event_watcher.cc(47)] libwayland: warning: queue 0x311c00004680 destroyed while proxies still attached:

[7356:7356:1018/191815.127722:ERROR:wayland_event_watcher.cc(47)] libwayland: wl_shm_pool#47 still attached


i do have egl-wayland and egl-gbm installed:

libglvnd-egl-1.7.0-4.fc40.x86_64
egl-utils-9.0.0-6.fc40.x86_64
libwayland-egl-1.23.0-2.fc40.x86_64
libwayland-egl-1.23.0-2.fc40.i686
libglvnd-egl-1.7.0-4.fc40.i686
egl-x11-1.0.0^20240916gitf13be94-1.fc40.x86_64
egl-gbm-1.1.2^20240919gitb24587d-3.fc40.x86_64
egl-x11-1.0.0^20240916gitf13be94-1.fc40.i686
egl-gbm-1.1.2^20240919gitb24587d-3.fc40.i686
egl-wayland-1.1.17^20240924gitc10c530-2.fc40.x86_64
egl-wayland-1.1.17^20240924gitc10c530-2.fc40.i686

@LuanVSO
Copy link

LuanVSO commented Oct 19, 2024

i've figured it out, had to disable the AMD igpu in the bios and now opengl works fine

@xuanruiqi
Copy link

xuanruiqi commented Oct 19, 2024

At least it's working the vast majority of the time for me now.

  • Chromium source: Arch repo
  • Chromium package: chromium
  • X11/Wayland: Wayland
  • Desktop Environment and version: GNOME 47
  • Driver package: nvidia-open-dkms
  • Driver Version: 560.35.03-16
  • GPU Model: NVIDIA GeForce GTX 1660 SUPER

The following comes from chrome://flags/

List of non-default flags:

  • ignore-gpu-blocklist
  • enable-gpu-rasterization
  • enable-zero-copy
  • scrollable-tabstrip
  • canvas-oop-rasterization

The following comes from chrome://gpu

  • Video Decode: Hardware accelerated
  • Video Encode: Software only. Hardware acceleration disabled
  • Chrome version: Chrome/130.0.6723.58
  • Command Line: /usr/lib/chromium/chromium --oauth2-client-id=[redacted] --oauth2-client-secret=[redacted] --enable-features=UseOzonePlatform --ozone-platform=wayland --enable-features=VaapiVideoDecodeLinuxGL,VaapiVideoDecodeLinuxZeroCopyGL,VaapiOnNvidiaGPUs,VaapiIgnoreDriverChecks,UseMultiPlaneFormatForHardwareVideo --enable-wayland-ime --wayland-text-input-version=3 --enable-oop-rasterization --enable-gpu-composition --use-angle=gl --enable-features=VaapiOnNvidiaGPUs,VaapiVideoDecodeLinuxGL,VaapiVideoDecodeLinuxZeroCopyGL --ozone-platform-hint=auto --flag-switches-begin --enable-gpu-rasterization --enable-zero-copy --ignore-gpu-blocklist --enable-features=VaapiOnNvidiaGPUs,VaapiVideoDecodeLinuxGL,VaapiVideoDecodeLinuxZeroCopyGL,CanvasOopRasterization,EnableDrDc,ScrollableTabStrip:minTabWidth/54 --flag-switches-end
  • GL implementation parts: (gl=egl-angle,angle=opengl)
  • Video Acceleration Information

Decoding :
Decode h264 baseline : 48x16 to 4096x4096 pixels
Decode h264 main : 48x16 to 4096x4096 pixels
Decode h264 high : 48x16 to 4096x4096 pixels
Decode vp8 : 48x16 to 4096x4096 pixels
Decode vp9 profile0 : 128x128 to 8192x8192 pixels
Decode vp9 profile2 : 128x128 to 8192x8192 pixels
Decode hevc main : 144x144 to 8192x8192 pixels
Decode hevc main 10 : 144x144 to 8192x8192 pixels
Decode hevc main still-picture: 144x144 to 8192x8192 pixels
Encoding :

Paste Logs Below

      7079.796402303 [34085-38845] ../src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0xf1c064f9ea0 640x360 = 409600 bytes
      7079.797138056 [34085-38845] ../src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 282 283 284
      7079.797146292 [34085-38845] ../src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
      7079.798014706 [34085-38845] ../src/vabackend.c: 955        nvCreateSurfaces2 Creating surface 640x360, format 1 (0xf1c042f1900)
      7079.798025967 [34085-38845] ../src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0xf1c064f96c0 640x360 = 409600 bytes
      7079.798759045 [34085-38845] ../src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 287 288 289
      7079.798766219 [34085-38845] ../src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
      7079.799628632 [34085-38845] ../src/vabackend.c: 955        nvCreateSurfaces2 Creating surface 640x360, format 1 (0xf1c042f2260)
      7079.799639783 [34085-38845] ../src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0xf1c064fb1e0 640x360 = 409600 bytes
      7079.800381437 [34085-38845] ../src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 292 293 294
      7079.800389312 [34085-38845] ../src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
      7079.801276802 [34085-38845] ../src/vabackend.c: 955        nvCreateSurfaces2 Creating surface 640x360, format 1 (0xf1c042f2bc0)
      7079.801285639 [34085-38845] ../src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0xf1c064fb020 640x360 = 409600 bytes
      7079.802031341 [34085-38845] ../src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 297 298 299
      7079.802038274 [34085-38845] ../src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
      7079.906542447 [34085-38845] ../src/vabackend.c: 955        nvCreateSurfaces2 Creating surface 640x360, format 1 (0xf1c0475d0e0)
      7079.906564990 [34085-38845] ../src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0xf1c05135180 640x360 = 409600 bytes
      7079.907602514 [34085-38845] ../src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 229 233 265
      7079.907611601 [34085-38845] ../src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
      7080.046943839 [34085-38845] ../src/vabackend.c:1118         nvDestroyContext Destroying context: 2
      7080.046970289 [34085-38845] ../src/vabackend.c: 323           destroyContext Signaling resolve thread to exit
      7080.046981971 [34085-38845] ../src/vabackend.c: 329           destroyContext Waiting for resolve thread to exit
      7080.046992030 [34085-38849] ../src/vabackend.c: 456          resolveSurfaces [RT] Resolve thread for 0xf1c07475400 exiting
      7080.047046784 [34085-38845] ../src/vabackend.c: 331           destroyContext pthread_timedjoin_np finished with 0
      7080.249633962 [34085-38845] ../src/vabackend.c: 989        nvDestroySurfaces Destroying surface 15 (0xf1c0475d0e0)
      7080.249777714 [34085-38845] ../src/vabackend.c: 989        nvDestroySurfaces Destroying surface 14 (0xf1c042f2bc0)
      7080.249876972 [34085-38845] ../src/vabackend.c: 989        nvDestroySurfaces Destroying surface 13 (0xf1c042f2260)
      7080.249965720 [34085-38845] ../src/vabackend.c: 989        nvDestroySurfaces Destroying surface 12 (0xf1c042f1900)
      7080.250063646 [34085-38845] ../src/vabackend.c: 989        nvDestroySurfaces Destroying surface 11 (0xf1c04cc5e00)
      7080.250154157 [34085-38845] ../src/vabackend.c: 989        nvDestroySurfaces Destroying surface 10 (0xf1c042f0500)
      7080.250242644 [34085-38845] ../src/vabackend.c: 989        nvDestroySurfaces Destroying surface 9 (0xf1c04cf4dc0)
      7080.250332505 [34085-38845] ../src/vabackend.c: 989        nvDestroySurfaces Destroying surface 8 (0xf1c01676940)
      7080.250419429 [34085-38845] ../src/vabackend.c: 989        nvDestroySurfaces Destroying surface 7 (0xf1c01675540)
      7080.250510902 [34085-38845] ../src/vabackend.c: 989        nvDestroySurfaces Destroying surface 6 (0xf1c01674460)
      7080.250600312 [34085-38845] ../src/vabackend.c: 989        nvDestroySurfaces Destroying surface 5 (0xf1c0426d7c0)
      7080.250928744 [34085-38845] ../src/vabackend.c: 989        nvDestroySurfaces Destroying surface 4 (0xf1c0426ca00)
      7080.251021239 [34085-38845] ../src/vabackend.c: 989        nvDestroySurfaces Destroying surface 3 (0xf1c042cbc00)
      7080.251106009 [34085-38845] ../src/vabackend.c: 989        nvDestroySurfaces Destroying surface 2 (0xf1c042cb160)
      7080.251199667 [34085-38845] ../src/vabackend.c: 989        nvDestroySurfaces Destroying surface 1 (0xf1c05c564e0)
      7080.251286561 [34085-38845] ../src/vabackend.c: 989        nvDestroySurfaces Destroying surface 0 (0xf1c047614a0)
      7080.251379808 [34085-38845] ../src/vabackend.c: 989        nvDestroySurfaces Destroying surface -1 (0xf1c042c92c0)
      7080.251525834 [34085-38845] ../src/vabackend.c:2095              nvTerminate Terminating 0xf1c06186200
      7080.252008949 [34085-38845] ../src/vabackend.c:2109              nvTerminate Now have 0 (0 max) instances
libva info: VA-API version 1.22.0
libva info: User environment variable requested driver 'nvidia'
libva info: Trying to open /usr/lib/dri/nvidia_drv_video.so
libva info: Found init function __vaDriverInit_1_0
      7080.933643836 [34085-38850] ../src/vabackend.c:2187       __vaDriverInit_1_0 Initialising NVIDIA VA-API Driver: 31
      7080.933650088 [34085-38850] ../src/vabackend.c:2196       __vaDriverInit_1_0 Now have 0 (0 max) instances
      7080.933655919 [34085-38850] ../src/vabackend.c:2222       __vaDriverInit_1_0 Selecting Direct backend
      7080.933683421 [34085-38850] ../src/direct/nv-driver.c: 295            init_nvdriver Initing nvdriver...
      7080.933708469 [34085-38850] ../src/direct/nv-driver.c: 313            init_nvdriver NVIDIA kernel driver version: 560.35.03, major version: 560, minor version: 35
      7080.933714300 [34085-38850] ../src/direct/nv-driver.c: 320            init_nvdriver Got dev info: 700 1 2 6
libva info: va_openDriver() returns 0
      7081.072701644 [34085-38850] ../src/vabackend.c: 672           nvCreateConfig got profile: 19 with 1 attributes
      7081.072711122 [34085-38850] ../src/vabackend.c: 693           nvCreateConfig got config attrib: 0 0 1
      7081.073179328 [34085-38850] ../src/vabackend.c:1019          nvCreateContext creating context with 0 render targets, 0 surfaces, at 640x360
      7081.073190520 [34085-38850] ../src/vabackend.c:1045          nvCreateContext 0/1 surfaces have been passed to vaCreateContext, this might cause errors. Setting surface count to 32
      7081.106116202 [34085-38850] ../src/vabackend.c: 955        nvCreateSurfaces2 Creating surface 640x360, format 1 (0xf1c042cb020)
      7081.106121723 [34085-38854] ../src/vabackend.c: 414          resolveSurfaces [RT] Resolve thread for 0xf1c07479000 started
      7081.106138805 [34085-38850] ../src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0xf1c0564b020 640x360 = 409600 bytes
      7081.107656559 [34085-38850] ../src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 227 228 229
      7081.107665215 [34085-38850] ../src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
      7081.108988872 [34085-38850] ../src/vabackend.c: 955        nvCreateSurfaces2 Creating surface 640x360, format 1 (0xf1c042ca760)
      7081.108997778 [34085-38850] ../src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0xf1c0564ae60 640x360 = 409600 bytes
      7081.109771173 [34085-38850] ../src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 227 228 230
      7081.109778978 [34085-38850] ../src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
      7081.110778300 [34085-38850] ../src/vabackend.c: 955        nvCreateSurfaces2 Creating surface 640x360, format 1 (0xf1c042cad00)
      7081.110787357 [34085-38850] ../src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0xf1c05e79b20 640x360 = 409600 bytes
      7081.111529442 [34085-38850] ../src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 233 234 235
      7081.111535944 [34085-38850] ../src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
      7081.112426931 [34085-38850] ../src/vabackend.c: 955        nvCreateSurfaces2 Creating surface 640x360, format 1 (0xf1c042c8320)
      7081.112434305 [34085-38850] ../src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0xf1c05e7a300 640x360 = 409600 bytes
      7081.113173315 [34085-38850] ../src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 236 237 238
      7081.113179957 [34085-38850] ../src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
      7081.114040887 [34085-38850] ../src/vabackend.c: 955        nvCreateSurfaces2 Creating surface 640x360, format 1 (0xf1c0475caa0)
      7081.114048802 [34085-38850] ../src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0xf1c0564be20 640x360 = 409600 bytes
      7081.114815304 [34085-38850] ../src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 203 242 243
      7081.114821976 [34085-38850] ../src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
      7081.115747889 [34085-38850] ../src/vabackend.c: 955        nvCreateSurfaces2 Creating surface 640x360, format 1 (0xf1c0475d0e0)
      7081.115757458 [34085-38850] ../src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0xf1c05e7a220 640x360 = 409600 bytes
      7081.116588591 [34085-38850] ../src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 246 247 248
      7081.116595003 [34085-38850] ../src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
      7081.117458408 [34085-38850] ../src/vabackend.c: 955        nvCreateSurfaces2 Creating surface 640x360, format 1 (0xf1c012afb60)
      7081.117467576 [34085-38850] ../src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0xf1c05e781c0 640x360 = 409600 bytes
      7081.118195253 [34085-38850] ../src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 251 252 253
      7081.118201305 [34085-38850] ../src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
      7081.119055532 [34085-38850] ../src/vabackend.c: 955        nvCreateSurfaces2 Creating surface 640x360, format 1 (0xf1c0475c500)
      7081.119063487 [34085-38850] ../src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0xf1c05e78000 640x360 = 409600 bytes
      7081.119792347 [34085-38850] ../src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 256 257 258
      7081.119798309 [34085-38850] ../src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
      7081.120672925 [34085-38850] ../src/vabackend.c: 955        nvCreateSurfaces2 Creating surface 640x360, format 1 (0xf1c0475e4e0)
      7081.120685048 [34085-38850] ../src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0xf1c05e78c40 640x360 = 409600 bytes
      7081.121431862 [34085-38850] ../src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 261 262 263
      7081.121438484 [34085-38850] ../src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
      7081.122307650 [34085-38850] ../src/vabackend.c: 955        nvCreateSurfaces2 Creating surface 640x360, format 1 (0xf1c0475d2c0)
      7081.122317889 [34085-38850] ../src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0xf1c05e790a0 640x360 = 409600 bytes
      7081.123061106 [34085-38850] ../src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 266 267 268
      7081.123067719 [34085-38850] ../src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
      7081.124491555 [34085-38850] ../src/vabackend.c: 955        nvCreateSurfaces2 Creating surface 640x360, format 1 (0xf1c04cf4500)
      7081.124501804 [34085-38850] ../src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0xf1c015655e0 640x360 = 409600 bytes
      7081.125615934 [34085-38850] ../src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 271 272 273
      7081.125623909 [34085-38850] ../src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
      7081.126510678 [34085-38850] ../src/vabackend.c: 955        nvCreateSurfaces2 Creating surface 640x360, format 1 (0xf1c042f0960)
      7081.126520497 [34085-38850] ../src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0xf1c01565340 640x360 = 409600 bytes
      7081.127263173 [34085-38850] ../src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 276 277 278
      7081.127269615 [34085-38850] ../src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
      7081.128142678 [34085-38850] ../src/vabackend.c: 955        nvCreateSurfaces2 Creating surface 640x360, format 1 (0xf1c04cc6440)
      7081.128151725 [34085-38850] ../src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0xf1c01565420 640x360 = 409600 bytes
      7081.128885735 [34085-38850] ../src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 282 283 284
      7081.128891636 [34085-38850] ../src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
      7081.129745613 [34085-38850] ../src/vabackend.c: 955        nvCreateSurfaces2 Creating surface 640x360, format 1 (0xf1c042f0dc0)
      7081.129757075 [34085-38850] ../src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0xf1c01564b60 640x360 = 409600 bytes
      7081.130511423 [34085-38850] ../src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 287 288 289
      7081.130518366 [34085-38850] ../src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
      7081.131446424 [34085-38850] ../src/vabackend.c: 955        nvCreateSurfaces2 Creating surface 640x360, format 1 (0xf1c043ac640)
      7081.131457074 [34085-38850] ../src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0xf1c01566300 640x360 = 409600 bytes
      7081.132258862 [34085-38850] ../src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 292 293 294
      7081.132265805 [34085-38850] ../src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
      7081.133155149 [34085-38850] ../src/vabackend.c: 955        nvCreateSurfaces2 Creating surface 640x360, format 1 (0xf1c059f72a0)
      7081.133164717 [34085-38850] ../src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0xf1c015649a0 640x360 = 409600 bytes
      7081.133916811 [34085-38850] ../src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 297 298 299
      7081.133924446 [34085-38850] ../src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
      7081.203683871 [34085-38850] ../src/vabackend.c:1118         nvDestroyContext Destroying context: 2
      7081.203704009 [34085-38850] ../src/vabackend.c: 323           destroyContext Signaling resolve thread to exit
      7081.203715531 [34085-38850] ../src/vabackend.c: 329           destroyContext Waiting for resolve thread to exit
      7081.203723897 [34085-38854] ../src/vabackend.c: 456          resolveSurfaces [RT] Resolve thread for 0xf1c07479000 exiting
      7081.203774392 [34085-38850] ../src/vabackend.c: 331           destroyContext pthread_timedjoin_np finished with 0
      7081.333529135 [34085-38850] ../src/vabackend.c: 989        nvDestroySurfaces Destroying surface 14 (0xf1c059f72a0)
      7081.333653441 [34085-38850] ../src/vabackend.c: 989        nvDestroySurfaces Destroying surface 13 (0xf1c043ac640)
      7081.333750905 [34085-38850] ../src/vabackend.c: 989        nvDestroySurfaces Destroying surface 12 (0xf1c042f0dc0)
      7081.333838521 [34085-38850] ../src/vabackend.c: 989        nvDestroySurfaces Destroying surface 11 (0xf1c04cc6440)
      7081.333927089 [34085-38850] ../src/vabackend.c: 989        nvDestroySurfaces Destroying surface 10 (0xf1c042f0960)
      7081.334017460 [34085-38850] ../src/vabackend.c: 989        nvDestroySurfaces Destroying surface 9 (0xf1c04cf4500)
      7081.334120966 [34085-38850] ../src/vabackend.c: 989        nvDestroySurfaces Destroying surface 8 (0xf1c0475d2c0)
      7081.334205586 [34085-38850] ../src/vabackend.c: 989        nvDestroySurfaces Destroying surface 7 (0xf1c0475e4e0)
      7081.334292491 [34085-38850] ../src/vabackend.c: 989        nvDestroySurfaces Destroying surface 6 (0xf1c0475c500)
      7081.334383232 [34085-38850] ../src/vabackend.c: 989        nvDestroySurfaces Destroying surface 5 (0xf1c012afb60)
      7081.334471279 [34085-38850] ../src/vabackend.c: 989        nvDestroySurfaces Destroying surface 4 (0xf1c0475d0e0)
      7081.334554386 [34085-38850] ../src/vabackend.c: 989        nvDestroySurfaces Destroying surface 3 (0xf1c0475caa0)
      7081.334640189 [34085-38850] ../src/vabackend.c: 989        nvDestroySurfaces Destroying surface 2 (0xf1c042c8320)
      7081.334728616 [34085-38850] ../src/vabackend.c: 989        nvDestroySurfaces Destroying surface 1 (0xf1c042cad00)
      7081.334814850 [34085-38850] ../src/vabackend.c: 989        nvDestroySurfaces Destroying surface 0 (0xf1c042ca760)
      7081.335041148 [34085-38850] ../src/vabackend.c: 989        nvDestroySurfaces Destroying surface -1 (0xf1c042cb020)
      7081.335203305 [34085-38850] ../src/vabackend.c:2095              nvTerminate Terminating 0xf1c04ef4600
      7081.335670460 [34085-38850] ../src/vabackend.c:2109              nvTerminate Now have 0 (0 max) instances

So it appears that the decoder still occasionally crashes, unfortunately, but at least it is able to restart correctly even if crashed and is not really a hindrance.

@greyltc
Copy link

greyltc commented Oct 19, 2024

Can u also test if a 10bit hevc video would be decoded normally on a nvidia gpu? (For example, the following url)
https://developer.apple.com/videos/play/wwdc2024/10136/

@BRS5672023, it plays, decodes in hardware, and draws to the display, but it's not smooth at all. constant, serious stuttering

$ lspci -d ::0300
43:00.0 VGA compatible controller: NVIDIA Corporation GP107GL [Quadro P620] (rev a1)
$ pacman -Q nvidia-utils
nvidia-utils 560.35.03-16
$ pacman -Q libva-nvidia-driver
libva-nvidia-driver 0.0.12-1
$ chromium --version
Chromium 130.0.6723.58 Arch Linux
NVD_BACKEND=direct NVD_LOG=1 LIBVA_DRIVER_NAME=nvidia chromium --enable-features=VaapiOnNvidiaGPUs,VaapiVideoDecodeLinuxGL,VaapiVideoDecodeLinuxZeroCopyGL --ozone-platform-hint=auto https://developer.apple.com/videos/play/wwdc2024/10136/
       559.012743554 [6416-6416] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:2188       __vaDriverInit_1_0 Initialising NVIDIA VA-API Driver: 31
       559.012767350 [6416-6416] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:2197       __vaDriverInit_1_0 Now have 0 (0 max) instances
       559.012771478 [6416-6416] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:2223       __vaDriverInit_1_0 Selecting Direct backend
       559.012792389 [6416-6416] ../nvidia-vaapi-driver-0.0.12/src/direct/nv-driver.c: 267            init_nvdriver Initing nvdriver...
       559.012817217 [6416-6416] ../nvidia-vaapi-driver-0.0.12/src/direct/nv-driver.c: 285            init_nvdriver NVIDIA kernel driver version: 560.35.03, major version: 560, minor version: 35
       559.012825263 [6416-6416] ../nvidia-vaapi-driver-0.0.12/src/direct/nv-driver.c: 292            init_nvdriver Got dev info: 4300 1 0 fe
[6375:6375:1019/095653.100252:ERROR:object_proxy.cc(576)] Failed to call method: org.freedesktop.ScreenSaver.GetActive: object_path= /org/freedesktop/ScreenSaver: org.freedesktop.DBus.Error.NotSupported: This method is not part of the idle inhibition specification: https://specifications.freedesktop.org/idle-inhibit-spec/latest/
       559.190302510 [6416-6416] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 606    nvGetConfigAttributes Got here with profile: 6 == 4
       559.190321297 [6416-6416] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 674           nvCreateConfig got profile: 6 with 1 attributes
       559.190326447 [6416-6416] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 1
       559.190331617 [6416-6416] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1802 nvQuerySurfaceAttributes with 4 (8) (nil) -1431655766
       559.190335244 [6416-6416] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1802 nvQuerySurfaceAttributes with 4 (8) 0x22bc00b42840 8
       559.193269599 [6416-6416] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1869 nvQuerySurfaceAttributes Returning constraints: width: 48 - 4096, height: 16 - 4096
       559.193294067 [6416-6416] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 674           nvCreateConfig got profile: 6 with 0 attributes
       559.193303956 [6416-6416] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 606    nvGetConfigAttributes Got here with profile: 7 == 4
       559.193307453 [6416-6416] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 674           nvCreateConfig got profile: 7 with 1 attributes
       559.193310900 [6416-6416] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 1
       559.193314837 [6416-6416] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1802 nvQuerySurfaceAttributes with 4 (8) (nil) -1431655766
       559.193318214 [6416-6416] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1802 nvQuerySurfaceAttributes with 4 (8) 0x22bc00b42840 8
       559.196287407 [6416-6416] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1869 nvQuerySurfaceAttributes Returning constraints: width: 48 - 4096, height: 16 - 4096
       559.196300623 [6416-6416] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 674           nvCreateConfig got profile: 7 with 0 attributes
       559.196308849 [6416-6416] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 606    nvGetConfigAttributes Got here with profile: 13 == 4
       559.196312085 [6416-6416] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 674           nvCreateConfig got profile: 13 with 1 attributes
       559.196315312 [6416-6416] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 1
       559.196319119 [6416-6416] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1802 nvQuerySurfaceAttributes with 4 (8) (nil) -1431655766
       559.196322295 [6416-6416] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1802 nvQuerySurfaceAttributes with 4 (8) 0x22bc00b42840 8
       559.199263384 [6416-6416] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1869 nvQuerySurfaceAttributes Returning constraints: width: 48 - 4096, height: 16 - 4096
       559.199277622 [6416-6416] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 674           nvCreateConfig got profile: 13 with 0 attributes
       559.199295497 [6416-6416] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 606    nvGetConfigAttributes Got here with profile: 17 == 8
       559.199298863 [6416-6416] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 674           nvCreateConfig got profile: 17 with 1 attributes
       559.199302130 [6416-6416] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 1
       559.199305797 [6416-6416] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1802 nvQuerySurfaceAttributes with 8 (8) (nil) -1431655766
       559.199309013 [6416-6416] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1802 nvQuerySurfaceAttributes with 8 (8) 0x22bc00b42840 8
       559.202261263 [6416-6416] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1869 nvQuerySurfaceAttributes Returning constraints: width: 144 - 8192, height: 144 - 8192
       559.202274750 [6416-6416] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 674           nvCreateConfig got profile: 17 with 0 attributes
       559.202283617 [6416-6416] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 606    nvGetConfigAttributes Got here with profile: 19 == 10
       559.202286853 [6416-6416] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 674           nvCreateConfig got profile: 19 with 1 attributes
       559.202289969 [6416-6416] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 1
       559.202293887 [6416-6416] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1802 nvQuerySurfaceAttributes with 10 (8) (nil) -1431655766
       559.202297093 [6416-6416] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1802 nvQuerySurfaceAttributes with 10 (8) 0x22bc00b42840 8
       559.205211049 [6416-6416] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1869 nvQuerySurfaceAttributes Returning constraints: width: 128 - 8192, height: 128 - 8192
       559.205288700 [6416-6416] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 674           nvCreateConfig got profile: 19 with 0 attributes
       559.205300303 [6416-6416] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 606    nvGetConfigAttributes Got here with profile: 18 == 8
       559.205303689 [6416-6416] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 674           nvCreateConfig got profile: 18 with 1 attributes
       559.205306916 [6416-6416] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 1
       559.205310463 [6416-6416] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1802 nvQuerySurfaceAttributes with 8 (10) (nil) -1431655766
       559.205313689 [6416-6416] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1802 nvQuerySurfaceAttributes with 8 (10) 0x22bc00b42840 8
       559.208310276 [6416-6416] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1869 nvQuerySurfaceAttributes Returning constraints: width: 144 - 8192, height: 144 - 8192
       559.208324834 [6416-6416] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 674           nvCreateConfig got profile: 18 with 0 attributes
       559.208333211 [6416-6416] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 606    nvGetConfigAttributes Got here with profile: 21 == 10
       559.208336417 [6416-6416] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 674           nvCreateConfig got profile: 21 with 1 attributes
       559.208339493 [6416-6416] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 256
       559.208343140 [6416-6416] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1802 nvQuerySurfaceAttributes with 10 (10) (nil) -1431655766
       559.208346356 [6416-6416] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1802 nvQuerySurfaceAttributes with 10 (10) 0x22bc00b42840 8
       559.211283217 [6416-6416] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1869 nvQuerySurfaceAttributes Returning constraints: width: 128 - 8192, height: 128 - 8192
       559.211297094 [6416-6416] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 674           nvCreateConfig got profile: 21 with 0 attributes
       559.211320830 [6416-6416] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:2098              nvTerminate Terminating 0x22bc00b27600
       559.211512875 [6416-6416] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:2112              nvTerminate Now have 0 (0 max) instances
       560.873060294 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:2188       __vaDriverInit_1_0 Initialising NVIDIA VA-API Driver: 31
       560.873080082 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:2197       __vaDriverInit_1_0 Now have 0 (0 max) instances
       560.873090593 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:2223       __vaDriverInit_1_0 Selecting Direct backend
       560.873769277 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/direct/nv-driver.c: 267            init_nvdriver Initing nvdriver...
       560.873808082 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/direct/nv-driver.c: 285            init_nvdriver NVIDIA kernel driver version: 560.35.03, major version: 560, minor version: 35
       560.873816539 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/direct/nv-driver.c: 292            init_nvdriver Got dev info: 4300 1 0 fe
       560.955475477 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 674           nvCreateConfig got profile: 18 with 1 attributes
       560.955494193 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 1
       560.956561015 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1021          nvCreateContext creating context with 0 render targets, 0 surfaces, at 3840x2160
       560.956568920 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1047          nvCreateContext 0 surfaces have been passed to vaCreateContext, this might cause errors. Setting surface count to 32
       560.988006113 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 3840x2160, format 100 (0x22bc022bb2a0)
       560.988037244 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x22bc0224aca0 3840x2160 = 25559040 bytes
       560.988025060 [6416-6605] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 416          resolveSurfaces [RT] Resolve thread for 0x22bc02334000 started
       560.988277743 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 95 103 109
       560.988286720 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
       560.988795523 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 3840x2160, format 100 (0x22bc023408c0)
       560.988805112 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x22bc0224aae0 3840x2160 = 25559040 bytes
       560.988978921 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 95 103 116
       560.988985834 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
       560.989419280 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 3840x2160, format 100 (0x22bc023417c0)
       560.989429730 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x22bc0224b800 3840x2160 = 25559040 bytes
       560.989604301 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 119 120 121
       560.989611745 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
       561.011118787 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 3840x2160, format 100 (0x22bc02341ea0)
       561.011139558 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x22bc0224b640 3840x2160 = 25559040 bytes
       561.011331923 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 122 125 126
       561.011339868 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
       561.017385037 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 3840x2160, format 100 (0x22bc02343ca0)
       561.017395638 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x22bc0224b480 3840x2160 = 25559040 bytes
       561.056804371 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 129 132 130
       561.056812416 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
       561.057257544 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 3840x2160, format 100 (0x22bc021337a0)
       561.057268265 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x22bc0224b2c0 3840x2160 = 25559040 bytes
       561.057509806 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 132 115 136
       561.057517692 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
       561.063519496 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 3840x2160, format 100 (0x22bc023512c0)
       561.063542090 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x22bc02370e00 3840x2160 = 25559040 bytes
       561.063854750 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 138 140 141
       561.063867374 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
       561.069774855 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 3840x2160, format 100 (0x22bc023523a0)
       561.069791778 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x22bc02370c40 3840x2160 = 25559040 bytes
       561.070077816 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 144 145 146
       561.070089970 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
       561.076100030 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 3840x2160, format 100 (0x22bc02353480)
       561.076122895 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x22bc02370a80 3840x2160 = 25559040 bytes
       561.076422208 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 148 150 151
       561.076434773 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
       561.082286925 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 3840x2160, format 100 (0x22bc023a85a0)
       561.082311012 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x22bc023708c0 3840x2160 = 25559040 bytes
       561.082569737 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 154 155 156
       561.082580658 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
       561.088537344 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 3840x2160, format 100 (0x22bc023a9680)
       561.088557263 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x22bc02371c00 3840x2160 = 25559040 bytes
       561.088829244 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 158 160 161
       561.088839754 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
       561.094746794 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 3840x2160, format 100 (0x22bc02342bc0)
       561.094763827 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x22bc02371a40 3840x2160 = 25559040 bytes
       561.094807522 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/direct/nv-driver.c:  74          nv_alloc_object nv_alloc_object failed: 0 51 9
       561.094812953 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/direct/nv-driver.c: 408             alloc_memory nv_alloc_object NV01_MEMORY_LOCAL_USER failed
       561.094817532 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/direct/nv-driver.c: 501             alloc_buffer alloc_memory failed
       561.094822642 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 329    direct_realiseSurface Unable to realise surface: 0x22bc02342bc0 (-1)
       561.094827161 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:2077    nvExportSurfaceHandle Unable to export surface
[6416:6600:1019/095655.108052:ERROR:vaapi_wrapper.cc(2589)] vaExportSurfaceHandle failed, VA error: resource allocation failed
       561.095020458 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 991        nvDestroySurfaces Destroying surface -1 (0x22bc02342bc0)
       561.095049294 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 3840x2160, format 100 (0x22bc02342d00)
       561.095057330 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x22bc02371960 3840x2160 = 25559040 bytes
       561.095096596 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/direct/nv-driver.c:  74          nv_alloc_object nv_alloc_object failed: 0 51 9
       561.095102558 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/direct/nv-driver.c: 408             alloc_memory nv_alloc_object NV01_MEMORY_LOCAL_USER failed
       561.095107026 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/direct/nv-driver.c: 501             alloc_buffer alloc_memory failed
       561.095111896 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 329    direct_realiseSurface Unable to realise surface: 0x22bc02342d00 (-1)
       561.095116425 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:2077    nvExportSurfaceHandle Unable to export surface
[6416:6600:1019/095655.108337:ERROR:vaapi_wrapper.cc(2589)] vaExportSurfaceHandle failed, VA error: resource allocation failed
       561.095223063 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 991        nvDestroySurfaces Destroying surface -1 (0x22bc02342d00)
       561.095240286 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 3840x2160, format 100 (0x22bc02342760)
       561.095254775 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x22bc02371960 3840x2160 = 25559040 bytes
       561.095292839 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/direct/nv-driver.c:  74          nv_alloc_object nv_alloc_object failed: 0 51 9
       561.095298029 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/direct/nv-driver.c: 408             alloc_memory nv_alloc_object NV01_MEMORY_LOCAL_USER failed
       561.095302468 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/direct/nv-driver.c: 501             alloc_buffer alloc_memory failed
       561.095307307 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 329    direct_realiseSurface Unable to realise surface: 0x22bc02342760 (-1)
       561.095311796 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:2077    nvExportSurfaceHandle Unable to export surface

...

[6416:6600:1019/095703.574416:ERROR:vaapi_wrapper.cc(2589)] vaExportSurfaceHandle failed, VA error: resource allocation failed
       569.561290642 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 991        nvDestroySurfaces Destroying surface -1 (0x22bc023aa1c0)
       569.561299188 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 3840x2160, format 100 (0x22bc023a9a40)
       569.561303527 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x22bc01fc9c00 3840x2160 = 25559040 bytes
       569.561330028 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/direct/nv-driver.c:  74          nv_alloc_object nv_alloc_object failed: 0 51 9
       569.561333796 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/direct/nv-driver.c: 408             alloc_memory nv_alloc_object NV01_MEMORY_LOCAL_USER failed
       569.561336611 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/direct/nv-driver.c: 501             alloc_buffer alloc_memory failed
       569.561339627 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 329    direct_realiseSurface Unable to realise surface: 0x22bc023a9a40 (-1)
       569.561342442 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:2077    nvExportSurfaceHandle Unable to export surface
[6416:6600:1019/095703.574560:ERROR:vaapi_wrapper.cc(2589)] vaExportSurfaceHandle failed, VA error: resource allocation failed
       569.561467315 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 991        nvDestroySurfaces Destroying surface -1 (0x22bc023a9a40)
       569.561581568 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1121         nvDestroyContext Destroying context: 2
       569.561587179 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 325           destroyContext Signaling resolve thread to exit
       569.561593230 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 331           destroyContext Waiting for resolve thread to exit
       569.561629691 [6416-6605] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 458          resolveSurfaces [RT] Resolve thread for 0x22bc02334000 exiting
       569.561762279 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 333           destroyContext pthread_timedjoin_np finished with 0
[6375:6375:1019/095703.618014:ERROR:wayland_event_watcher.cc(47)] libwayland: warning: queue 0x37dc0221ca00 destroyed while proxies still attached:

[6375:6375:1019/095703.618152:ERROR:wayland_event_watcher.cc(47)] libwayland:   wl_buffer#51 still attached

[6375:6375:1019/095703.618202:ERROR:wayland_event_watcher.cc(47)] libwayland:   wl_buffer#48 still attached

[6375:6375:1019/095703.618244:ERROR:wayland_event_watcher.cc(47)] libwayland:   wl_shm_pool#47 still attached

prints like these are constantly spamming the log while the video is playing/stuttering:

       569.559204341 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 329    direct_realiseSurface Unable to realise surface: 0x22bc023a9a40 (-1)
       569.559207177 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:2077    nvExportSurfaceHandle Unable to export surface
[6416:6600:1019/095703.572425:ERROR:vaapi_wrapper.cc(2589)] vaExportSurfaceHandle failed, VA error: resource allocation failed
       569.559290639 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 991        nvDestroySurfaces Destroying surface -1 (0x22bc023a9a40)
       569.559298895 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 3840x2160, format 100 (0x22bc01207660)
       569.559303244 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x22bc01fc9c00 3840x2160 = 25559040 bytes
       569.559329174 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/direct/nv-driver.c:  74          nv_alloc_object nv_alloc_object failed: 0 51 9
       569.559332511 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/direct/nv-driver.c: 408             alloc_memory nv_alloc_object NV01_MEMORY_LOCAL_USER failed
       569.559335316 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/direct/nv-driver.c: 501             alloc_buffer alloc_memory failed
       569.559338362 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 329    direct_realiseSurface Unable to realise surface: 0x22bc01207660 (-1)
       569.559341207 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:2077    nvExportSurfaceHandle Unable to export surface
[6416:6600:1019/095703.572559:ERROR:vaapi_wrapper.cc(2589)] vaExportSurfaceHandle failed, VA error: resource allocation failed
       569.559425241 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 991        nvDestroySurfaces Destroying surface -1 (0x22bc01207660)
       569.559433417 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 3840x2160, format 100 (0x22bc023aa1c0)
       569.559437625 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x22bc01fc9c00 3840x2160 = 25559040 bytes
       569.559463295 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/direct/nv-driver.c:  74          nv_alloc_object nv_alloc_object failed: 0 51 9
       569.559466551 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/direct/nv-driver.c: 408             alloc_memory nv_alloc_object NV01_MEMORY_LOCAL_USER failed
       569.559469357 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/direct/nv-driver.c: 501             alloc_buffer alloc_memory failed
       569.559472343 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 329    direct_realiseSurface Unable to realise surface: 0x22bc023aa1c0 (-1)
       569.559475168 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:2077    nvExportSurfaceHandle Unable to export surface
[6416:6600:1019/095703.572693:ERROR:vaapi_wrapper.cc(2589)] vaExportSurfaceHandle failed, VA error: resource allocation failed
       569.559559833 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 991        nvDestroySurfaces Destroying surface -1 (0x22bc023aa1c0)
       569.559568009 [6416-6600] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 3840x2160, format 100 (0x22bc023a9a40)

https://test-videos.co.uk/vids/bigbuckbunny/mp4/h265/1080/Big_Buck_Bunny_1080_10s_1MB.mp4 works as expected

@greyltc
Copy link

greyltc commented Oct 19, 2024

mind sharing whats listed under GL implementation parts at chrome://gpu for you

@LuanVSO : GL implementation parts : (gl=egl-angle,angle=opengl)

@greyltc
Copy link

greyltc commented Oct 19, 2024

  • Chromium source: https://gitlab.archlinux.org/archlinux/packaging/packages/chromium/-/tags/130.0.6723.58-1
  • Chromium package: https://mirror.moson.org/arch/extra/os/x86_64/chromium-130.0.6723.58-1-x86_64.pkg.tar.zst
  • X11/Wayland: Wayland
  • Desktop Environment and version: GNOME 47.1
  • Driver package: https://mirror.moson.org/arch/extra/os/x86_64/nvidia-560.35.03-15-x86_64.pkg.tar.zst
  • Driver Version: 560.35.03-15
  • GPU Model:
$ lspci -nn -d ::0300
43:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP107GL [Quadro P620] [10de:1cb6] (rev a1)

The following comes from chrome://flags/

List of non-default flags: too tedious

The following comes from chrome://gpu

  • Video Decode: * Video Decode: Hardware accelerated
  • Video Encode: * Video Encode: Software only. Hardware acceleration disabled
  • Chrome version: Chrome version : Chrome/130.0.6723.58
  • Command Line: Command Line : /usr/lib/chromium/chromium --enable-features=VaapiOnNvidiaGPUs,VaapiVideoDecodeLinuxGL,VaapiVideoDecodeLinuxZeroCopyGL --ozone-platform-hint=auto --flag-switches-begin --flag-switches-end --ozone-platform=wayland https://test-videos.co.uk/vids/bigbuckbunny/mp4/h265/1080/Big_Buck_Bunny_1080_10s_1MB.mp4
  • GL implementation parts: GL implementation parts : (gl=egl-angle,angle=opengl)
  • Video Acceleration Information
Video Acceleration Information
==============================
Decoding                      : 
Decode h264 baseline          : 48x16 to 4096x4096 pixels
Decode h264 main              : 48x16 to 4096x4096 pixels
Decode h264 high              : 48x16 to 4096x4096 pixels
Decode vp9 profile0           : 128x128 to 8192x8192 pixels
Decode vp9 profile2           : 128x128 to 8192x8192 pixels
Decode hevc main              : 144x144 to 8192x8192 pixels
Decode hevc main 10           : 144x144 to 8192x8192 pixels
Decode hevc main still-picture: 144x144 to 8192x8192 pixels
Encoding                      :
Paste Logs Below

$ lspci -d ::0300
43:00.0 VGA compatible controller: NVIDIA Corporation GP107GL [Quadro P620] (rev a1)
$ pacman -Q nvidia-utils
nvidia-utils 560.35.03-16
$ pacman -Q libva-nvidia-driver
libva-nvidia-driver 0.0.12-1
$ chromium --version
Chromium 130.0.6723.58 Arch Linux
$ NVD_BACKEND=direct NVD_LOG=1 LIBVA_DRIVER_NAME=nvidia chromium --enable-features=VaapiOnNvidiaGPUs,VaapiVideoDecodeLinuxGL,VaapiVideoDecodeLinuxZeroCopyGL --ozone-platform-hint=auto https://test-videos.co.uk/vids/bigbuckbunny/mp4/h265/1080/Big_Buck_Bunny_1080_10s_1MB.mp4
      3701.409090225 [10585-10585] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:2188       __vaDriverInit_1_0 Initialising NVIDIA VA-API Driver: 31
      3701.409109431 [10585-10585] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:2197       __vaDriverInit_1_0 Now have 0 (0 max) instances
      3701.409112938 [10585-10585] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:2223       __vaDriverInit_1_0 Selecting Direct backend
      3701.409137875 [10585-10585] ../nvidia-vaapi-driver-0.0.12/src/direct/nv-driver.c: 267            init_nvdriver Initing nvdriver...
      3701.409163013 [10585-10585] ../nvidia-vaapi-driver-0.0.12/src/direct/nv-driver.c: 285            init_nvdriver NVIDIA kernel driver version: 560.35.03, major version: 560, minor version: 35
      3701.409170106 [10585-10585] ../nvidia-vaapi-driver-0.0.12/src/direct/nv-driver.c: 292            init_nvdriver Got dev info: 4300 1 0 fe
[10546:10546:1019/104915.506892:ERROR:object_proxy.cc(576)] Failed to call method: org.freedesktop.ScreenSaver.GetActive: object_path= /org/freedesktop/ScreenSaver: org.freedesktop.DBus.Error.NotSupported: This method is not part of the idle inhibition specification: https://specifications.freedesktop.org/idle-inhibit-spec/latest/
      3701.596140062 [10585-10585] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 606    nvGetConfigAttributes Got here with profile: 6 == 4
      3701.596160921 [10585-10585] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 674           nvCreateConfig got profile: 6 with 1 attributes
      3701.596165600 [10585-10585] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 1
      3701.596173104 [10585-10585] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1802 nvQuerySurfaceAttributes with 4 (8) (nil) -1431655766
      3701.596179737 [10585-10585] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1802 nvQuerySurfaceAttributes with 4 (8) 0x202400b42840 8
      3701.599261140 [10585-10585] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1869 nvQuerySurfaceAttributes Returning constraints: width: 48 - 4096, height: 16 - 4096
      3701.599277862 [10585-10585] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 674           nvCreateConfig got profile: 6 with 0 attributes
      3701.599289383 [10585-10585] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 606    nvGetConfigAttributes Got here with profile: 7 == 4
      3701.599294563 [10585-10585] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 674           nvCreateConfig got profile: 7 with 1 attributes
      3701.599300284 [10585-10585] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 1
      3701.599305584 [10585-10585] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1802 nvQuerySurfaceAttributes with 4 (8) (nil) -1431655766
      3701.599310363 [10585-10585] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1802 nvQuerySurfaceAttributes with 4 (8) 0x202400b42840 8
      3701.602907519 [10585-10585] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1869 nvQuerySurfaceAttributes Returning constraints: width: 48 - 4096, height: 16 - 4096
      3701.602924451 [10585-10585] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 674           nvCreateConfig got profile: 7 with 0 attributes
      3701.602935703 [10585-10585] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 606    nvGetConfigAttributes Got here with profile: 13 == 4
      3701.602940522 [10585-10585] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 674           nvCreateConfig got profile: 13 with 1 attributes
      3701.602945210 [10585-10585] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 1
      3701.602950490 [10585-10585] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1802 nvQuerySurfaceAttributes with 4 (8) (nil) -1431655766
      3701.602955299 [10585-10585] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1802 nvQuerySurfaceAttributes with 4 (8) 0x202400b42840 8
      3701.606106424 [10585-10585] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1869 nvQuerySurfaceAttributes Returning constraints: width: 48 - 4096, height: 16 - 4096
      3701.606122154 [10585-10585] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 674           nvCreateConfig got profile: 13 with 0 attributes
      3701.606133566 [10585-10585] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 606    nvGetConfigAttributes Got here with profile: 17 == 8
      3701.606141310 [10585-10585] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 674           nvCreateConfig got profile: 17 with 1 attributes
      3701.606146089 [10585-10585] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 1
      3701.606150708 [10585-10585] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1802 nvQuerySurfaceAttributes with 8 (8) (nil) -1431655766
      3701.606156389 [10585-10585] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1802 nvQuerySurfaceAttributes with 8 (8) 0x202400b42840 8
      3701.609252540 [10585-10585] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1869 nvQuerySurfaceAttributes Returning constraints: width: 144 - 8192, height: 144 - 8192
      3701.609268059 [10585-10585] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 674           nvCreateConfig got profile: 17 with 0 attributes
      3701.609278739 [10585-10585] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 606    nvGetConfigAttributes Got here with profile: 19 == 10
      3701.609285172 [10585-10585] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 674           nvCreateConfig got profile: 19 with 1 attributes
      3701.609289870 [10585-10585] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 1
      3701.609295140 [10585-10585] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1802 nvQuerySurfaceAttributes with 10 (8) (nil) -1431655766
      3701.609303636 [10585-10585] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1802 nvQuerySurfaceAttributes with 10 (8) 0x202400b42840 8
      3701.612508532 [10585-10585] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1869 nvQuerySurfaceAttributes Returning constraints: width: 128 - 8192, height: 128 - 8192
      3701.612599223 [10585-10585] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 674           nvCreateConfig got profile: 19 with 0 attributes
      3701.612615825 [10585-10585] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 606    nvGetConfigAttributes Got here with profile: 18 == 8
      3701.612621766 [10585-10585] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 674           nvCreateConfig got profile: 18 with 1 attributes
      3701.612629380 [10585-10585] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 1
      3701.612635191 [10585-10585] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1802 nvQuerySurfaceAttributes with 8 (10) (nil) -1431655766
      3701.612640551 [10585-10585] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1802 nvQuerySurfaceAttributes with 8 (10) 0x202400b42840 8
      3701.616551049 [10585-10585] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1869 nvQuerySurfaceAttributes Returning constraints: width: 144 - 8192, height: 144 - 8192
      3701.616569053 [10585-10585] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 674           nvCreateConfig got profile: 18 with 0 attributes
      3701.616579182 [10585-10585] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 606    nvGetConfigAttributes Got here with profile: 21 == 10
      3701.616585203 [10585-10585] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 674           nvCreateConfig got profile: 21 with 1 attributes
      3701.616590383 [10585-10585] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 256
      3701.616595122 [10585-10585] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1802 nvQuerySurfaceAttributes with 10 (10) (nil) -1431655766
      3701.616602175 [10585-10585] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1802 nvQuerySurfaceAttributes with 10 (10) 0x202400b42840 8
      3701.619939972 [10585-10585] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1869 nvQuerySurfaceAttributes Returning constraints: width: 128 - 8192, height: 128 - 8192
      3701.619956674 [10585-10585] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 674           nvCreateConfig got profile: 21 with 0 attributes
      3701.619981481 [10585-10585] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:2098              nvTerminate Terminating 0x202400b27600
      3701.620077512 [10585-10585] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:2112              nvTerminate Now have 0 (0 max) instances
      3702.321550736 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:2188       __vaDriverInit_1_0 Initialising NVIDIA VA-API Driver: 31
      3702.321569271 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:2197       __vaDriverInit_1_0 Now have 0 (0 max) instances
      3702.321576574 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:2223       __vaDriverInit_1_0 Selecting Direct backend
      3702.321625887 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/direct/nv-driver.c: 267            init_nvdriver Initing nvdriver...
      3702.321671363 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/direct/nv-driver.c: 285            init_nvdriver NVIDIA kernel driver version: 560.35.03, major version: 560, minor version: 35
      3702.321683196 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/direct/nv-driver.c: 292            init_nvdriver Got dev info: 4300 1 0 fe
      3702.404560271 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 674           nvCreateConfig got profile: 17 with 1 attributes
      3702.404574878 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 1
      3702.406070049 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1021          nvCreateContext creating context with 0 render targets, 0 surfaces, at 1920x1080
      3702.406079236 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1047          nvCreateContext 0 surfaces have been passed to vaCreateContext, this might cause errors. Setting surface count to 32
      3702.423918602 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 1920x1080, format 1 (0x2024021983c0)
      3702.423939752 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x202402056d80 1920x1080 = 3440640 bytes
      3702.423953428 [10585-10740] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 416          resolveSurfaces [RT] Resolve thread for 0x202402178c00 started
      3702.424164927 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 93 99 115
      3702.424173844 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
      3702.424675570 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 1920x1080, format 1 (0x2024021992c0)
      3702.424685509 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x202402056bc0 1920x1080 = 3440640 bytes
      3702.424860940 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 93 99 117
      3702.424868965 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
      3702.425408503 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 1920x1080, format 1 (0x202402199a40)
      3702.425419454 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x202402056ae0 1920x1080 = 3440640 bytes
      3702.425599594 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 118 119 120
      3702.425607689 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
      3702.427642337 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 1920x1080, format 1 (0x20240219abc0)
      3702.427654099 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x202402057720 1920x1080 = 3440640 bytes
      3702.427831975 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 121 122 123
      3702.427840541 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
      3702.429344789 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 1920x1080, format 1 (0x20240219b520)
      3702.429355729 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x202402057640 1920x1080 = 3440640 bytes
      3702.429537222 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 124 125 126
      3702.429545678 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
      3702.466392743 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 1920x1080, format 1 (0x202402610140)
      3702.466403874 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x202402057480 1920x1080 = 3440640 bytes
      3702.466587801 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 129 132 133
      3702.466596368 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
      3702.468040242 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 1920x1080, format 1 (0x202402610fa0)
      3702.468051363 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x2024020572c0 1920x1080 = 3440640 bytes
      3702.468235300 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 137 135 138
      3702.468243866 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
      3702.469695735 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 1920x1080, format 1 (0x202402611d60)
      3702.469706816 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x2024016e6060 1920x1080 = 3440640 bytes
      3702.470182944 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 139 140 141
      3702.470191280 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
      3702.471320150 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 1920x1080, format 1 (0x202402612c60)
      3702.471341119 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x202402630000 1920x1080 = 3440640 bytes
      3702.471571714 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 142 143 144
      3702.471580110 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
      3702.473019065 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 1920x1080, format 1 (0x202402613340)
      3702.473030106 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x202402630540 1920x1080 = 3440640 bytes
      3702.473229051 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 151 152 153
      3702.473237747 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
      3702.474624744 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 1920x1080, format 1 (0x202402644000)
      3702.474636156 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x202402630380 1920x1080 = 3440640 bytes
      3702.474815915 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 156 157 158
      3702.474823559 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
      3702.476266912 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 1920x1080, format 1 (0x202402644f00)
      3702.476278434 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x2024026301c0 1920x1080 = 3440640 bytes
      3702.476468152 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 161 162 163
      3702.476477349 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
      3702.477909561 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 1920x1080, format 1 (0x202401f8bca0)
      3702.477920151 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x202402631a40 1920x1080 = 3440640 bytes
      3702.478101253 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 166 167 168
      3702.478109739 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
      3702.479571256 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 1920x1080, format 1 (0x202402646260)
      3702.479582607 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x202402056ca0 1920x1080 = 3440640 bytes
      3702.479776924 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 171 172 173
      3702.479785239 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
      3702.481266253 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 1920x1080, format 1 (0x202402646940)
      3702.481277354 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x2024016e49a0 1920x1080 = 3440640 bytes
      3702.481463075 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 176 177 178
      3702.481471982 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
      3702.482933118 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 1920x1080, format 1 (0x2024026477a0)
      3702.482945301 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x2024016e6220 1920x1080 = 3440640 bytes
      3702.483346017 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 179 180 181
      3702.483354944 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
      3702.484558615 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 1920x1080, format 1 (0x2024026705a0)
      3702.484570267 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x2024016e4700 1920x1080 = 3440640 bytes
      3702.484752451 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 142 182 183
      3702.484762059 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
      3702.486254324 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 1920x1080, format 1 (0x202402671900)
      3702.486272088 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x202402633100 1920x1080 = 3440640 bytes
      3702.486473067 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 127 190 192
      3702.486482464 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
      3702.487887716 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 1920x1080, format 1 (0x202402672760)
      3702.487898977 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x202402633020 1920x1080 = 3440640 bytes
      3702.488079507 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 196 197 198
      3702.488088595 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
      3718.980519825 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:1121         nvDestroyContext Destroying context: 2
      3718.980555422 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 325           destroyContext Signaling resolve thread to exit
      3718.980567876 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 331           destroyContext Waiting for resolve thread to exit
      3718.980605106 [10585-10740] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 458          resolveSurfaces [RT] Resolve thread for 0x202402178c00 exiting
      3718.980737325 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 333           destroyContext pthread_timedjoin_np finished with 0
      3719.162020924 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 991        nvDestroySurfaces Destroying surface 17 (0x202402672760)
      3719.162697541 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 991        nvDestroySurfaces Destroying surface 16 (0x202402671900)
      3719.163501578 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 991        nvDestroySurfaces Destroying surface 15 (0x2024026705a0)
      3719.164085499 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 991        nvDestroySurfaces Destroying surface 14 (0x2024026477a0)
      3719.164305725 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 991        nvDestroySurfaces Destroying surface 13 (0x202402646940)
      3719.164540879 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 991        nvDestroySurfaces Destroying surface 12 (0x202402646260)
      3719.164726078 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 991        nvDestroySurfaces Destroying surface 11 (0x202401f8bca0)
      3719.164881932 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 991        nvDestroySurfaces Destroying surface 10 (0x202402644f00)
      3719.165027427 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 991        nvDestroySurfaces Destroying surface 9 (0x202402644000)
      3719.165180385 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 991        nvDestroySurfaces Destroying surface 8 (0x202402613340)
      3719.165329186 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 991        nvDestroySurfaces Destroying surface 7 (0x202402612c60)
      3719.165496011 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 991        nvDestroySurfaces Destroying surface 6 (0x202402611d60)
      3719.165644641 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 991        nvDestroySurfaces Destroying surface 5 (0x202402610fa0)
      3719.165793512 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 991        nvDestroySurfaces Destroying surface 4 (0x202402610140)
      3719.165944116 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 991        nvDestroySurfaces Destroying surface 3 (0x20240219b520)
      3719.166155875 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 991        nvDestroySurfaces Destroying surface 2 (0x20240219abc0)
      3719.166409153 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 991        nvDestroySurfaces Destroying surface 1 (0x202402199a40)
      3719.166565238 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 991        nvDestroySurfaces Destroying surface 0 (0x2024021992c0)
      3719.166766207 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c: 991        nvDestroySurfaces Destroying surface -1 (0x2024021983c0)
      3719.167031497 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:2098              nvTerminate Terminating 0x202401dc0e00
      3719.167185688 [10585-10736] ../nvidia-vaapi-driver-0.0.12/src/vabackend.c:2112              nvTerminate Now have 0 (0 max) instances
[10546:10546:1019/105136.053136:ERROR:wayland_event_watcher.cc(47)] libwayland: warning: queue 0x4c400020840 destroyed while proxies still attached:

[10546:10546:1019/105136.053367:ERROR:wayland_event_watcher.cc(47)] libwayland: wl_buffer#53 still attached

[10546:10546:1019/105136.053530:ERROR:wayland_event_watcher.cc(47)] libwayland: wl_buffer#52 still attached

[10546:10546:1019/105136.053601:ERROR:wayland_event_watcher.cc(47)] libwayland: wl_shm_pool#46 still attached

my full chrome://gpu/ report is here: about-gpu-2024-10-19T16-49-37-248Z.txt

@LuanVSO
Copy link

LuanVSO commented Oct 19, 2024

for me HEVC and VP9 is flawless, it is better than amd driver even but AV1 fails and falls back to cpu decoding

Paste Logs Below

❯ NVD_LOG=1 chromium-browser
10271.926399337 [23961-23961] ../src/vabackend.c:2188       __vaDriverInit_1_0 Initialising NVIDIA VA-API Driver: 31
10271.926405437 [23961-23961] ../src/vabackend.c:2197       __vaDriverInit_1_0 Now have 0 (0 max) instances
10271.926406907 [23961-23961] ../src/vabackend.c:2223       __vaDriverInit_1_0 Selecting Direct backend
10271.926413617 [23961-23961] ../src/direct/nv-driver.c: 267            init_nvdriver Initing nvdriver...
10271.926424897 [23961-23961] ../src/direct/nv-driver.c: 285            init_nvdriver NVIDIA kernel driver version: 560.35.03, major version: 560, minor version: 35
10271.926428937 [23961-23961] ../src/direct/nv-driver.c: 292            init_nvdriver Got dev info: 100 1 2 6
10272.125818444 [23961-23961] ../src/vabackend.c: 606    nvGetConfigAttributes Got here with profile: 6 == 4
10272.125823174 [23961-23961] ../src/vabackend.c: 674           nvCreateConfig got profile: 6 with 1 attributes
10272.125825144 [23961-23961] ../src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 1
10272.125826784 [23961-23961] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 4 (8) (nil) -1431655766
10272.125828004 [23961-23961] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 4 (8) 0xde400e37b80 8
10272.130474796 [23961-23961] ../src/vabackend.c:1869 nvQuerySurfaceAttributes Returning constraints: width: 48 - 4096, height: 16 - 4096
10272.130479576 [23961-23961] ../src/vabackend.c: 674           nvCreateConfig got profile: 6 with 0 attributes
10272.130483656 [23961-23961] ../src/vabackend.c: 606    nvGetConfigAttributes Got here with profile: 7 == 4
10272.130484846 [23961-23961] ../src/vabackend.c: 674           nvCreateConfig got profile: 7 with 1 attributes
10272.130485816 [23961-23961] ../src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 1
10272.130486876 [23961-23961] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 4 (8) (nil) -1431655766
10272.130488036 [23961-23961] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 4 (8) 0xde400e37b80 8
10272.135105648 [23961-23961] ../src/vabackend.c:1869 nvQuerySurfaceAttributes Returning constraints: width: 48 - 4096, height: 16 - 4096
10272.135110188 [23961-23961] ../src/vabackend.c: 674           nvCreateConfig got profile: 7 with 0 attributes
10272.135113748 [23961-23961] ../src/vabackend.c: 606    nvGetConfigAttributes Got here with profile: 13 == 4
10272.135114938 [23961-23961] ../src/vabackend.c: 674           nvCreateConfig got profile: 13 with 1 attributes
10272.135115858 [23961-23961] ../src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 1
10272.135116897 [23961-23961] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 4 (8) (nil) -1431655766
10272.135117957 [23961-23961] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 4 (8) 0xde400e37b80 8
10272.139851829 [23961-23961] ../src/vabackend.c:1869 nvQuerySurfaceAttributes Returning constraints: width: 48 - 4096, height: 16 - 4096
10272.139856429 [23961-23961] ../src/vabackend.c: 674           nvCreateConfig got profile: 13 with 0 attributes
10272.139860279 [23961-23961] ../src/vabackend.c: 606    nvGetConfigAttributes Got here with profile: 17 == 8
10272.139861309 [23961-23961] ../src/vabackend.c: 674           nvCreateConfig got profile: 17 with 1 attributes
10272.139862499 [23961-23961] ../src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 1
10272.139863539 [23961-23961] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 8 (8) (nil) -1431655766
10272.139864539 [23961-23961] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 8 (8) 0xde400e37b80 8
10272.144566940 [23961-23961] ../src/vabackend.c:1869 nvQuerySurfaceAttributes Returning constraints: width: 144 - 8192, height: 144 - 8192
10272.144571540 [23961-23961] ../src/vabackend.c: 674           nvCreateConfig got profile: 17 with 0 attributes
10272.144574690 [23961-23961] ../src/vabackend.c: 606    nvGetConfigAttributes Got here with profile: 14 == 9
10272.144575780 [23961-23961] ../src/vabackend.c: 674           nvCreateConfig got profile: 14 with 1 attributes
10272.144576670 [23961-23961] ../src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 1
10272.144577660 [23961-23961] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 9 (8) (nil) -1431655766
10272.144578740 [23961-23961] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 9 (8) 0xde400e37b80 8
10272.149365551 [23961-23961] ../src/vabackend.c:1869 nvQuerySurfaceAttributes Returning constraints: width: 48 - 4096, height: 16 - 4096
10272.149370181 [23961-23961] ../src/vabackend.c: 674           nvCreateConfig got profile: 14 with 0 attributes
10272.149373351 [23961-23961] ../src/vabackend.c: 606    nvGetConfigAttributes Got here with profile: 19 == 10
10272.149374631 [23961-23961] ../src/vabackend.c: 674           nvCreateConfig got profile: 19 with 1 attributes
10272.149375631 [23961-23961] ../src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 1
10272.149376741 [23961-23961] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 10 (8) (nil) -1431655766
10272.149377821 [23961-23961] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 10 (8) 0xde400e37b80 8
10272.154085492 [23961-23961] ../src/vabackend.c:1869 nvQuerySurfaceAttributes Returning constraints: width: 128 - 8192, height: 128 - 8192
10272.154120142 [23961-23961] ../src/vabackend.c: 674           nvCreateConfig got profile: 19 with 0 attributes
10272.154124172 [23961-23961] ../src/vabackend.c: 606    nvGetConfigAttributes Got here with profile: 32 == 11
10272.154125212 [23961-23961] ../src/vabackend.c: 674           nvCreateConfig got profile: 32 with 1 attributes
10272.154126512 [23961-23961] ../src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 1
10272.154127592 [23961-23961] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 11 (8) (nil) -1431655766
10272.154128592 [23961-23961] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 11 (8) 0xde400e37b80 8
10272.158903773 [23961-23961] ../src/vabackend.c:1869 nvQuerySurfaceAttributes Returning constraints: width: 128 - 8192, height: 128 - 8192
10272.158908273 [23961-23961] ../src/vabackend.c: 674           nvCreateConfig got profile: 32 with 0 attributes
10272.158909903 [23961-23961] ../src/vabackend.c: 737           nvCreateConfig Unable to determine surface type for VP9/AV1 codecdue to no RTFormat specified.
10272.158912643 [23961-23961] ../src/vabackend.c: 606    nvGetConfigAttributes Got here with profile: 18 == 8
10272.158913783 [23961-23961] ../src/vabackend.c: 674           nvCreateConfig got profile: 18 with 1 attributes
10272.158914733 [23961-23961] ../src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 1
10272.158915863 [23961-23961] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 8 (10) (nil) -1431655766
10272.158916963 [23961-23961] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 8 (10) 0xde400e37b80 8
10272.163573815 [23961-23961] ../src/vabackend.c:1869 nvQuerySurfaceAttributes Returning constraints: width: 144 - 8192, height: 144 - 8192
10272.163578315 [23961-23961] ../src/vabackend.c: 674           nvCreateConfig got profile: 18 with 0 attributes
10272.163581495 [23961-23961] ../src/vabackend.c: 606    nvGetConfigAttributes Got here with profile: 21 == 10
10272.163582565 [23961-23961] ../src/vabackend.c: 674           nvCreateConfig got profile: 21 with 1 attributes
10272.163583435 [23961-23961] ../src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 256
10272.163584485 [23961-23961] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 10 (10) (nil) -1431655766
10272.163585555 [23961-23961] ../src/vabackend.c:1802 nvQuerySurfaceAttributes with 10 (10) 0xde400e37b80 8
10272.168381435 [23961-23961] ../src/vabackend.c:1869 nvQuerySurfaceAttributes Returning constraints: width: 128 - 8192, height: 128 - 8192
10272.168385975 [23961-23961] ../src/vabackend.c: 674           nvCreateConfig got profile: 21 with 0 attributes
10272.168395595 [23961-23961] ../src/vabackend.c:2098              nvTerminate Terminating 0xde400e23400
10272.168916292 [23961-23961] ../src/vabackend.c:2112              nvTerminate Now have 0 (0 max) instances
Warning: /usr/lib/libvulkan_broadcom.so: classe ELF errada: ELFCLASS32
Warning: loader_icd_scan: Failed loading library associated with ICD JSON /usr/lib/libvulkan_broadcom.so. Ignoring this JSON
Warning: /usr/lib/libvulkan_freedreno.so: classe ELF errada: ELFCLASS32
Warning: loader_icd_scan: Failed loading library associated with ICD JSON /usr/lib/libvulkan_freedreno.so. Ignoring this JSON
Warning: /usr/lib/libvulkan_intel_hasvk.so: classe ELF errada: ELFCLASS32
Warning: loader_icd_scan: Failed loading library associated with ICD JSON /usr/lib/libvulkan_intel_hasvk.so. Ignoring this JSON
Warning: /usr/lib/libvulkan_intel.so: classe ELF errada: ELFCLASS32
Warning: loader_icd_scan: Failed loading library associated with ICD JSON /usr/lib/libvulkan_intel.so. Ignoring this JSON
Warning: /usr/lib/libvulkan_lvp.so: classe ELF errada: ELFCLASS32
Warning: loader_icd_scan: Failed loading library associated with ICD JSON /usr/lib/libvulkan_lvp.so. Ignoring this JSON
Warning: /usr/lib/libvulkan_nouveau.so: classe ELF errada: ELFCLASS32
Warning: loader_icd_scan: Failed loading library associated with ICD JSON /usr/lib/libvulkan_nouveau.so. Ignoring this JSON
Warning: /usr/lib/libvulkan_panfrost.so: classe ELF errada: ELFCLASS32
Warning: loader_icd_scan: Failed loading library associated with ICD JSON /usr/lib/libvulkan_panfrost.so. Ignoring this JSON
Warning: /usr/lib/libvulkan_powervr_mesa.so: classe ELF errada: ELFCLASS32
Warning: loader_icd_scan: Failed loading library associated with ICD JSON /usr/lib/libvulkan_powervr_mesa.so. Ignoring this JSON
Warning: /usr/lib/libvulkan_radeon.so: classe ELF errada: ELFCLASS32
Warning: loader_icd_scan: Failed loading library associated with ICD JSON /usr/lib/libvulkan_radeon.so. Ignoring this JSON
Warning: /usr/lib/libGLX_nvidia.so.0: classe ELF errada: ELFCLASS32
Warning: loader_icd_scan: Failed loading library associated with ICD JSON /usr/lib/libGLX_nvidia.so.0. Ignoring this JSON
10299.454647694 [23961-24217] ../src/vabackend.c:2188       __vaDriverInit_1_0 Initialising NVIDIA VA-API Driver: 31
10299.454653414 [23961-24217] ../src/vabackend.c:2197       __vaDriverInit_1_0 Now have 0 (0 max) instances
10299.454655154 [23961-24217] ../src/vabackend.c:2223       __vaDriverInit_1_0 Selecting Direct backend
10299.454668664 [23961-24217] ../src/direct/nv-driver.c: 267            init_nvdriver Initing nvdriver...
10299.454688033 [23961-24217] ../src/direct/nv-driver.c: 285            init_nvdriver NVIDIA kernel driver version: 560.35.03, major version: 560, minor version: 35
10299.454692713 [23961-24217] ../src/direct/nv-driver.c: 292            init_nvdriver Got dev info: 100 1 2 6
10299.563986758 [23961-24217] ../src/vabackend.c: 674           nvCreateConfig got profile: 19 with 1 attributes
10299.563991878 [23961-24217] ../src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 1
10299.564431706 [23961-24217] ../src/vabackend.c:1021          nvCreateContext creating context with 0 render targets, 0 surfaces, at 3840x2160
10299.564438206 [23961-24217] ../src/vabackend.c:1047          nvCreateContext 0 surfaces have been passed to vaCreateContext, this might cause errors. Setting surface count to 32
10299.589400424 [23961-24217] ../src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 3840x2160, format 1 (0xde408da59a0)
10299.589407114 [23961-24217] ../src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0xde4084cca80 3840x2160 = 12779520 bytes
10299.589408774 [23961-24221] ../src/vabackend.c: 416          resolveSurfaces [RT] Resolve thread for 0xde405665000 started
10299.607047407 [23961-24217] ../src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 127 128 129
10299.607051847 [23961-24217] ../src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
10299.608099710 [23961-24217] ../src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 3840x2160, format 1 (0xde408da68a0)
10299.608104780 [23961-24217] ../src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0xde4084cc540 3840x2160 = 12779520 bytes
10299.608736576 [23961-24217] ../src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 127 128 130
10299.608738576 [23961-24217] ../src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
10299.609668071 [23961-24217] ../src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 3840x2160, format 1 (0xde408da72a0)
10299.609672571 [23961-24217] ../src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0xde4084cd880 3840x2160 = 12779520 bytes
10299.610274707 [23961-24217] ../src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 133 134 135
10299.610277027 [23961-24217] ../src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
10299.611838547 [23961-24217] ../src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 3840x2160, format 1 (0xde40928c000)
10299.611842987 [23961-24217] ../src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0xde4084cc7e0 3840x2160 = 12779520 bytes
10299.612543513 [23961-24217] ../src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 136 137 138
10299.612545683 [23961-24217] ../src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
10299.614252713 [23961-24217] ../src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 3840x2160, format 1 (0xde40928c6e0)
10299.614256863 [23961-24217] ../src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0xde4084cd0a0 3840x2160 = 12779520 bytes
10299.614982408 [23961-24217] ../src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 141 142 143
10299.614984288 [23961-24217] ../src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
10299.616026912 [23961-24217] ../src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 3840x2160, format 1 (0xde40928d720)
10299.616031692 [23961-24217] ../src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0xde4024d63e0 3840x2160 = 12779520 bytes
10299.617746782 [23961-24217] ../src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 146 147 148
10299.617749942 [23961-24217] ../src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
10299.618515487 [23961-24217] ../src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 3840x2160, format 1 (0xde40928e260)
10299.618519617 [23961-24217] ../src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0xde4084cd7a0 3840x2160 = 12779520 bytes
10299.619170723 [23961-24217] ../src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 151 152 153
10299.619172913 [23961-24217] ../src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
10299.620633674 [23961-24217] ../src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 3840x2160, format 1 (0xde40928e3a0)
10299.620637674 [23961-24217] ../src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0xde4084cd5e0 3840x2160 = 12779520 bytes
10299.621333680 [23961-24217] ../src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 156 157 158
10299.621335670 [23961-24217] ../src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
10299.622764241 [23961-24217] ../src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 3840x2160, format 1 (0xde40928eee0)
10299.622772821 [23961-24217] ../src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0xde4084ce220 3840x2160 = 12779520 bytes
10299.623563016 [23961-24217] ../src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 159 160 161
10299.623565506 [23961-24217] ../src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
10299.624884558 [23961-24217] ../src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 3840x2160, format 1 (0xde40928fd40)
10299.624892868 [23961-24217] ../src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0xde402506a00 3840x2160 = 12779520 bytes
10299.625692753 [23961-24217] ../src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 164 167 168
10299.625696143 [23961-24217] ../src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
10299.626997305 [23961-24217] ../src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 3840x2160, format 1 (0xde40929cf00)
10299.627012835 [23961-24217] ../src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0xde4025050a0 3840x2160 = 12779520 bytes
10299.627797730 [23961-24217] ../src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 171 172 173
10299.627800570 [23961-24217] ../src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
10299.629121992 [23961-24217] ../src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 3840x2160, format 1 (0xde40929d860)
10299.629128482 [23961-24217] ../src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0xde402504ee0 3840x2160 = 12779520 bytes
10299.629913437 [23961-24217] ../src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 176 177 178
10299.629916227 [23961-24217] ../src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
10299.631221190 [23961-24217] ../src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 3840x2160, format 1 (0xde408cbdf40)
10299.631227279 [23961-24217] ../src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0xde402504fc0 3840x2160 = 12779520 bytes
10299.631946365 [23961-24217] ../src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 181 182 183
10299.631949225 [23961-24217] ../src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
10299.633327767 [23961-24217] ../src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 3840x2160, format 1 (0xde40929e9e0)
10299.633333417 [23961-24217] ../src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0xde407e94700 3840x2160 = 12779520 bytes
10299.634061112 [23961-24217] ../src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 186 187 188
10299.634064572 [23961-24217] ../src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
10299.635446124 [23961-24217] ../src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 3840x2160, format 1 (0xde40929fb60)
10299.635450934 [23961-24217] ../src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0xde407e94540 3840x2160 = 12779520 bytes
10299.636295029 [23961-24217] ../src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 191 192 193
10299.636298419 [23961-24217] ../src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
10299.638440756 [23961-24217] ../src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 3840x2160, format 1 (0xde4092b4280)
10299.638446176 [23961-24217] ../src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0xde407e942a0 3840x2160 = 12779520 bytes
10299.639610759 [23961-24217] ../src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 195 198 194
10299.639614329 [23961-24217] ../src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
libpng warning: iCCP: known incorrect sRGB profile
10299.714324604 [23961-24217] ../src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 3840x2160, format 1 (0xde4092b5e00)
10299.714333884 [23961-24217] ../src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0xde407e940e0 3840x2160 = 12779520 bytes
10299.715882535 [23961-24217] ../src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 103 196 206
10299.715885535 [23961-24217] ../src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
10299.716895638 [23961-24217] ../src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 3840x2160, format 1 (0xde4092b66c0)
10299.716900838 [23961-24217] ../src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0xde407e963e0 3840x2160 = 12779520 bytes
10299.717575684 [23961-24217] ../src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 209 210 211
10299.717578164 [23961-24217] ../src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
10299.839158694 [23961-24217] ../src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 3840x2160, format 1 (0xde4092b6e40)
10299.839166324 [23961-24217] ../src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0xde407e97720 3840x2160 = 12779520 bytes
10299.839896570 [23961-24217] ../src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 111 205 214
10299.839899050 [23961-24217] ../src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
10299.841228312 [23961-24217] ../src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 3840x2160, format 1 (0xde4012dba20)
10299.841233202 [23961-24217] ../src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0xde407e96840 3840x2160 = 12779520 bytes
10299.841939468 [23961-24217] ../src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 218 219 220
10299.841941608 [23961-24217] ../src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
10299.843288829 [23961-24217] ../src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 3840x2160, format 1 (0xde409338820)
10299.843293229 [23961-24217] ../src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0xde402506760 3840x2160 = 12779520 bytes
10299.844008735 [23961-24217] ../src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 223 224 225
10299.844015165 [23961-24217] ../src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
10299.845332277 [23961-24217] ../src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 3840x2160, format 1 (0xde409339180)
10299.845336357 [23961-24217] ../src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0xde407e96920 3840x2160 = 12779520 bytes
10299.846046163 [23961-24217] ../src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 228 229 230
10299.846048613 [23961-24217] ../src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
10300.341240540 [23961-24217] ../src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 3840x2160, format 1 (0xde408cbdea0)
10300.341247580 [23961-24217] ../src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0xde40804a840 3840x2160 = 12779520 bytes
10300.342043815 [23961-24217] ../src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 202 204 216
10300.342047575 [23961-24217] ../src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
10300.343321377 [23961-24217] ../src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 3840x2160, format 1 (0xde4092b77a0)
10300.343326287 [23961-24217] ../src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0xde40804aa00 3840x2160 = 12779520 bytes
10300.344054703 [23961-24217] ../src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 238 239 240
10300.344057543 [23961-24217] ../src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
10300.345380815 [23961-24217] ../src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 3840x2160, format 1 (0xde407f22620)
10300.345385345 [23961-24217] ../src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0xde40804a5a0 3840x2160 = 12779520 bytes
10300.346093321 [23961-24217] ../src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 243 244 245
10300.346096031 [23961-24217] ../src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
10300.349506780 [23961-24217] ../src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 3840x2160, format 1 (0xde40933b520)
10300.349512140 [23961-24217] ../src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0xde408048620 3840x2160 = 12779520 bytes
10300.351193720 [23961-24217] ../src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 249 250 252
10300.351197440 [23961-24217] ../src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
10316.748922147 [23961-24217] ../src/vabackend.c:1121         nvDestroyContext Destroying context: 2
10316.748928647 [23961-24217] ../src/vabackend.c: 325           destroyContext Signaling resolve thread to exit
10316.748930467 [23961-24217] ../src/vabackend.c: 331           destroyContext Waiting for resolve thread to exit
10316.750766156 [23961-24221] ../src/vabackend.c: 458          resolveSurfaces [RT] Resolve thread for 0xde405665000 exiting
10316.750791676 [23961-24217] ../src/vabackend.c: 333           destroyContext pthread_timedjoin_np finished with 0
10316.824610777 [23961-24217] ../src/vabackend.c: 991        nvDestroySurfaces Destroying surface 24 (0xde40933b520)
10316.824719237 [23961-24217] ../src/vabackend.c: 991        nvDestroySurfaces Destroying surface 23 (0xde407f22620)
10316.824787556 [23961-24217] ../src/vabackend.c: 991        nvDestroySurfaces Destroying surface 22 (0xde4092b77a0)
10316.824858716 [23961-24217] ../src/vabackend.c: 991        nvDestroySurfaces Destroying surface 21 (0xde408cbdea0)
10316.824925415 [23961-24217] ../src/vabackend.c: 991        nvDestroySurfaces Destroying surface 20 (0xde409339180)
10316.824996335 [23961-24217] ../src/vabackend.c: 991        nvDestroySurfaces Destroying surface 19 (0xde409338820)
10316.825069614 [23961-24217] ../src/vabackend.c: 991        nvDestroySurfaces Destroying surface 18 (0xde4012dba20)
10316.825178994 [23961-24217] ../src/vabackend.c: 991        nvDestroySurfaces Destroying surface 17 (0xde4092b6e40)
10316.825244953 [23961-24217] ../src/vabackend.c: 991        nvDestroySurfaces Destroying surface 16 (0xde4092b66c0)
10316.825317843 [23961-24217] ../src/vabackend.c: 991        nvDestroySurfaces Destroying surface 15 (0xde4092b5e00)
10316.825386832 [23961-24217] ../src/vabackend.c: 991        nvDestroySurfaces Destroying surface 14 (0xde4092b4280)
10316.825454282 [23961-24217] ../src/vabackend.c: 991        nvDestroySurfaces Destroying surface 13 (0xde40929fb60)
10316.825519952 [23961-24217] ../src/vabackend.c: 991        nvDestroySurfaces Destroying surface 12 (0xde40929e9e0)
10316.825587921 [23961-24217] ../src/vabackend.c: 991        nvDestroySurfaces Destroying surface 11 (0xde408cbdf40)
10316.825655481 [23961-24217] ../src/vabackend.c: 991        nvDestroySurfaces Destroying surface 10 (0xde40929d860)
10316.825722020 [23961-24217] ../src/vabackend.c: 991        nvDestroySurfaces Destroying surface 9 (0xde40929cf00)
10316.825786420 [23961-24217] ../src/vabackend.c: 991        nvDestroySurfaces Destroying surface 8 (0xde40928fd40)
10316.825859369 [23961-24217] ../src/vabackend.c: 991        nvDestroySurfaces Destroying surface 7 (0xde40928eee0)
10316.825929459 [23961-24217] ../src/vabackend.c: 991        nvDestroySurfaces Destroying surface 6 (0xde40928e3a0)
10316.825999249 [23961-24217] ../src/vabackend.c: 991        nvDestroySurfaces Destroying surface 5 (0xde40928e260)
10316.826080148 [23961-24217] ../src/vabackend.c: 991        nvDestroySurfaces Destroying surface 4 (0xde40928d720)
10316.826150848 [23961-24217] ../src/vabackend.c: 991        nvDestroySurfaces Destroying surface 3 (0xde40928c6e0)
10316.826221457 [23961-24217] ../src/vabackend.c: 991        nvDestroySurfaces Destroying surface 2 (0xde40928c000)
10316.826294347 [23961-24217] ../src/vabackend.c: 991        nvDestroySurfaces Destroying surface 1 (0xde408da72a0)
10316.826364626 [23961-24217] ../src/vabackend.c: 991        nvDestroySurfaces Destroying surface 0 (0xde408da68a0)
10316.826430606 [23961-24217] ../src/vabackend.c: 991        nvDestroySurfaces Destroying surface -1 (0xde408da59a0)
10316.826528375 [23961-24217] ../src/vabackend.c:2098              nvTerminate Terminating 0xde40594ca00
10316.827157982 [23961-24217] ../src/vabackend.c:2112              nvTerminate Now have 0 (0 max) instances
10316.887834953 [23961-24217] ../src/vabackend.c:2188       __vaDriverInit_1_0 Initialising NVIDIA VA-API Driver: 31
10316.887839183 [23961-24217] ../src/vabackend.c:2197       __vaDriverInit_1_0 Now have 0 (0 max) instances
10316.887840683 [23961-24217] ../src/vabackend.c:2223       __vaDriverInit_1_0 Selecting Direct backend
10316.887847583 [23961-24217] ../src/direct/nv-driver.c: 267            init_nvdriver Initing nvdriver...
10316.887859402 [23961-24217] ../src/direct/nv-driver.c: 285            init_nvdriver NVIDIA kernel driver version: 560.35.03, major version: 560, minor version: 35
10316.887861492 [23961-24217] ../src/direct/nv-driver.c: 292            init_nvdriver Got dev info: 100 1 2 6
10316.989497964 [23961-24217] ../src/vabackend.c: 674           nvCreateConfig got profile: 32 with 1 attributes
10316.989504804 [23961-24217] ../src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 1
10316.989794772 [23961-24217] ../src/vabackend.c:1021          nvCreateContext creating context with 0 render targets, 0 surfaces, at 3840x2160
10316.989796792 [23961-24217] ../src/vabackend.c:1047          nvCreateContext 0 surfaces have been passed to vaCreateContext, this might cause errors. Setting surface count to 32
10317.015623045 [23961-24249] ../src/vabackend.c: 416          resolveSurfaces [RT] Resolve thread for 0xde4096e6800 started
10317.015634365 [23961-24217] ../src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 3840x2160, format 1 (0xde407bc5720)
10317.015798954 [23961-24217] ../src/vabackend.c:1345             nvEndPicture cuvidDecodePicture failed: 1
[23961:24217:1019/174716.662639:ERROR:vaapi_wrapper.cc(3497)] vaEndPicture failed, VA error: internal decoding error
[23961:24217:1019/174716.662726:ERROR:vaapi_video_decoder.cc(1225)] error decoding stream
10317.016819148 [23961-24250] ../src/vabackend.c: 674           nvCreateConfig got profile: 32 with 1 attributes
10317.016824798 [23961-24250] ../src/vabackend.c: 695           nvCreateConfig got config attrib: 0 0 1
10317.017059016 [23961-24217] ../src/vabackend.c:1121         nvDestroyContext Destroying context: 2
10317.017062816 [23961-24217] ../src/vabackend.c: 325           destroyContext Signaling resolve thread to exit
10317.017064806 [23961-24217] ../src/vabackend.c: 331           destroyContext Waiting for resolve thread to exit
10317.017071856 [23961-24249] ../src/vabackend.c: 458          resolveSurfaces [RT] Resolve thread for 0xde4096e6800 exiting
10317.017096946 [23961-24217] ../src/vabackend.c: 333           destroyContext pthread_timedjoin_np finished with 0
10317.249145924 [23961-24217] ../src/vabackend.c: 991        nvDestroySurfaces Destroying surface 0 (0xde407bc5720)
10317.249161244 [23961-24250] ../src/vabackend.c:1021          nvCreateContext creating context with 0 render targets, 0 surfaces, at 3840x2160
10317.249163774 [23961-24250] ../src/vabackend.c:1047          nvCreateContext 0 surfaces have been passed to vaCreateContext, this might cause errors. Setting surface count to 32
10317.276320569 [23961-24250] ../src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 3840x2160, format 1 (0xde408d3f8e0)
10317.276326019 [23961-24268] ../src/vabackend.c: 416          resolveSurfaces [RT] Resolve thread for 0xde4023ae800 started
10317.276328409 [23961-24250] ../src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0xde408289500 3840x2160 = 12779520 bytes
10317.277254264 [23961-24250] ../src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 103 118 130
10317.277257424 [23961-24250] ../src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
10317.278185598 [23961-24250] ../src/vabackend.c: 957        nvCreateSurfaces2 Creating surface 3840x2160, format 1 (0xde408c8b160)
10317.278191118 [23961-24250] ../src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0xde40828bf00 3840x2160 = 12779520 bytes
10317.278729825 [23961-24250] ../src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 103 118 134
10317.278731915 [23961-24250] ../src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
10317.279469830 [23961-24250] ../src/vabackend.c:1345             nvEndPicture cuvidDecodePicture failed: 1
[23961:24250:1019/174716.926305:ERROR:vaapi_wrapper.cc(3497)] vaEndPicture failed, VA error: internal decoding error
[23961:24250:1019/174716.926386:ERROR:vaapi_video_decoder.cc(1225)] error decoding stream
10317.281810606 [23961-24250] ../src/vabackend.c:1121         nvDestroyContext Destroying context: 39
10317.281815886 [23961-24250] ../src/vabackend.c: 325           destroyContext Signaling resolve thread to exit
10317.281818046 [23961-24250] ../src/vabackend.c: 331           destroyContext Waiting for resolve thread to exit
10317.281825276 [23961-24268] ../src/vabackend.c: 458          resolveSurfaces [RT] Resolve thread for 0xde4023ae800 exiting
10317.281847406 [23961-24250] ../src/vabackend.c: 333           destroyContext pthread_timedjoin_np finished with 0
[24004:3:1019/174716.945297:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[24004:3:1019/174716.945415:ERROR:client_shared_image.cc(121)] Failed to map the buffer.
[24004:3:1019/174716.945523:ERROR:client_shared_image.cc(107)] ScopedMapping init failed.
[24004:3:1019/174716.945607:ERROR:client_shared_image.cc(254)] Unable to create ScopedMapping
[24004:3:1019/174716.965260:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[24004:3:1019/174716.965369:ERROR:client_shared_image.cc(121)] Failed to map the buffer.
[24004:3:1019/174716.965512:ERROR:client_shared_image.cc(107)] ScopedMapping init failed.
[24004:3:1019/174716.965604:ERROR:client_shared_image.cc(254)] Unable to create ScopedMapping
[24004:3:1019/174716.966061:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[24004:3:1019/174716.966128:ERROR:client_shared_image.cc(121)] Failed to map the buffer.
[24004:3:1019/174716.966205:ERROR:client_shared_image.cc(107)] ScopedMapping init failed.
[24004:3:1019/174716.966276:ERROR:client_shared_image.cc(254)] Unable to create ScopedMapping
[24004:3:1019/174716.966630:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[24004:3:1019/174716.966692:ERROR:client_shared_image.cc(121)] Failed to map the buffer.
[24004:3:1019/174716.966771:ERROR:client_shared_image.cc(107)] ScopedMapping init failed.
[24004:3:1019/174716.966851:ERROR:client_shared_image.cc(254)] Unable to create ScopedMapping
[24004:3:1019/174716.967242:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
...
[24004:3:1019/174729.998405:ERROR:client_shared_image.cc(121)] Failed to map the buffer.
[24004:3:1019/174729.998471:ERROR:client_shared_image.cc(107)] ScopedMapping init failed.
[24004:3:1019/174729.998519:ERROR:client_shared_image.cc(254)] Unable to create ScopedMapping
[24004:3:1019/174730.015147:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[24004:3:1019/174730.015803:ERROR:client_shared_image.cc(121)] Failed to map the buffer.
[24004:3:1019/174730.015876:ERROR:client_shared_image.cc(107)] ScopedMapping init failed.
[24004:3:1019/174730.015924:ERROR:client_shared_image.cc(254)] Unable to create ScopedMapping
[24004:3:1019/174730.031941:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[24004:3:1019/174730.031997:ERROR:client_shared_image.cc(121)] Failed to map the buffer.
[24004:3:1019/174730.032032:ERROR:client_shared_image.cc(107)] ScopedMapping init failed.
[24004:3:1019/174730.032062:ERROR:client_shared_image.cc(254)] Unable to create ScopedMapping
[24004:3:1019/174730.046858:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[24004:3:1019/174730.048360:ERROR:client_shared_image.cc(121)] Failed to map the buffer.
[24004:3:1019/174730.048421:ERROR:client_shared_image.cc(107)] ScopedMapping init failed.
[24004:3:1019/174730.048504:ERROR:client_shared_image.cc(254)] Unable to create ScopedMapping
[23912:23912:1019/174730.072782:ERROR:wayland_event_watcher.cc(47)] libwayland: warning: queue 0xd2400004980 destroyed while proxies still attached:

[23912:23912:1019/174730.072818:ERROR:wayland_event_watcher.cc(47)] libwayland: wl_shm_pool#51 still attached

@shelterx
Copy link

shelterx commented Oct 20, 2024

This video falls back to cpu decode if you go higher resolution.
https://youtu.be/KLuTLF3x9sA?si=7lIGJsr7K9wRdG-l

Or if it was this one.. Can't check right now
https://youtu.be/KOc146R8sws?si=3fALaXVYCMjLqIbq

@greyltc
Copy link

greyltc commented Oct 20, 2024

This video falls back to cpu decode if you go higher resolution.
https://youtu.be/KLuTLF3x9sA?si=7lIGJsr7K9wRdG-l

Yeah, same for me. It works in 1440p, but then when I go up to 2160p it craps out (falling back to CPU decoding) like this:

[36817:36910:1020/122127.630778:ERROR:vaapi_wrapper.cc(2589)] vaExportSurfaceHandle failed, VA error: resource allocation failed
[36817:36910:1020/122127.630958:ERROR:vaapi_video_decoder.cc(1225)] failed Initialize()ing the frame pool
[36163:4:1020/122128.882346:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[36163:4:1020/122128.882528:ERROR:client_shared_image.cc(121)] Failed to map the buffer.
[36163:4:1020/122128.882598:ERROR:client_shared_image.cc(107)] ScopedMapping init failed.
[36163:4:1020/122128.882663:ERROR:client_shared_image.cc(254)] Unable to create ScopedMapping
[36163:4:1020/122128.903231:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[36163:4:1020/122128.903369:ERROR:client_shared_image.cc(121)] Failed to map the buffer.
[36163:4:1020/122128.903445:ERROR:client_shared_image.cc(107)] ScopedMapping init failed.
[36163:4:1020/122128.903514:ERROR:client_shared_image.cc(254)] Unable to create ScopedMapping
...
# repeats forever

@LuanVSO
Copy link

LuanVSO commented Oct 21, 2024

twitch ads breaks it as well, at the end of the ad it will keep switching between the last two frames of the ad instead of playing the stream, no logs for this one unfortunately

@shelterx
Copy link

This video falls back to cpu decode if you go higher resolution.
https://youtu.be/KLuTLF3x9sA?si=7lIGJsr7K9wRdG-l

Yeah, same for me. It works in 1440p, but then when I go up to 2160p it craps out (falling back to CPU decoding) like this:

Nice find, regarding the max resolution. I tried it here as well, and 1440p works, 2160p falls back to CPU.

@jfroy
Copy link

jfroy commented Nov 12, 2024

The resolution issue may be AV1-specific. If you don't prefer AV1 in your YouTube settings and get a VP9 4K stream, it will decode in hardware.

Screenshot_20241112_030529

@jfroy
Copy link

jfroy commented Nov 12, 2024

AV1 decode failure logs:

    155331.742625443 [2873453-2876731] ../src/vabackend.c: 670           nvCreateConfig got profile: 32 with 1 attributes
    155331.742630703 [2873453-2876731] ../src/vabackend.c: 691           nvCreateConfig got config attrib: 0 0 1
    155331.742953561 [2873453-2876731] ../src/vabackend.c:1017          nvCreateContext creating context with 0 render targets, 0 surfaces, at 3840x2160
    155331.742955201 [2873453-2876731] ../src/vabackend.c:1043          nvCreateContext 0/1 surfaces have been passed to vaCreateContext, this might cause errors. Setting surface count to 32
    155331.766708055 [2873453-2876731] ../src/vabackend.c: 953        nvCreateSurfaces2 Creating surface 3840x2160, format 1 (0x3514038e0f00)
    155331.766716034 [2873453-2876731] ../src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x3514033f4d20 3840x2160 = 12779520 bytes
    155331.766727754 [2873453-2876750] ../src/vabackend.c: 412          resolveSurfaces [RT] Resolve thread for 0x351403740c00 started
    155331.767565169 [2873453-2876731] ../src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 174 180 192
    155331.767567329 [2873453-2876731] ../src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
    155331.769192148 [2873453-2876731] ../src/vabackend.c: 953        nvCreateSurfaces2 Creating surface 3840x2160, format 1 (0x3514038e1540)
    155331.769195818 [2873453-2876731] ../src/direct/direct-export-buf.c: 151 direct_allocateBackingImage Allocating BackingImage: 0x3514031c3aa0 3840x2160 = 12779520 bytes
    155331.769987393 [2873453-2876731] ../src/direct/direct-export-buf.c: 160 direct_allocateBackingImage Allocate Buffer: 180 174 179
    155331.769989443 [2873453-2876731] ../src/direct/direct-export-buf.c: 170 direct_allocateBackingImage Importing memory to CUDA
    155331.770692758 [2873453-2876731] ../src/vabackend.c:1340             nvEndPicture cuvidDecodePicture failed: 1
[2873453:2876731:1112/151556.826330:ERROR:vaapi_wrapper.cc(3497)] vaEndPicture failed, VA error: internal decoding error
[2873453:2876731:1112/151556.826395:ERROR:vaapi_video_decoder.cc(1225)] error decoding stream
    155331.771876921 [2873453-2876731] ../src/vabackend.c:1116         nvDestroyContext Destroying context: 2
    155331.771879301 [2873453-2876731] ../src/vabackend.c: 321           destroyContext Signaling resolve thread to exit
    155331.771881401 [2873453-2876731] ../src/vabackend.c: 327           destroyContext Waiting for resolve thread to exit
    155331.771887690 [2873453-2876750] ../src/vabackend.c: 454          resolveSurfaces [RT] Resolve thread for 0x351403740c00 exiting
    155331.771913960 [2873453-2876731] ../src/vabackend.c: 329           destroyContext pthread_timedjoin_np finished with 0
    155332.003942344 [2873453-2876731] ../src/vabackend.c: 987        nvDestroySurfaces Destroying surface 0 (0x3514038e1540)
    155332.004067264 [2873453-2876731] ../src/vabackend.c: 987        nvDestroySurfaces Destroying surface -1 (0x3514038e0f00)
    155332.004342492 [2873453-2876731] ../src/vabackend.c:2093              nvTerminate Terminating 0x351402bed400
    155332.004965088 [2873453-2876731] ../src/vabackend.c:2107              nvTerminate Now have 0 (0 max) instances

nvEndPicture cuvidDecodePicture failed: 1
[2873453:2876731:1112/151556.826330:ERROR:vaapi_wrapper.cc(3497)] vaEndPicture failed, VA error: internal decoding error

@jfroy
Copy link

jfroy commented Nov 12, 2024

CUresult 1 is CUDA_ERROR_INVALID_VALUE. So probably likely that the CUVIDPICPARAMS structure is not correct for 4K AV1 bitstreams.

@xuanruiqi
Copy link

xuanruiqi commented Nov 13, 2024

After the recent update to 131, I get this cryptic error in chrome://gpu

[6049:6049:1113/220408.223558:ERROR:gl_display.cc(497)] : EGL Driver message (Error) eglCreateContext: Requested version is not supported
[6049:6049:1113/220648.819176:ERROR:gl_display.cc(497)] : EGL Driver message (Error) eglCreateContext: Requested version is not supported

and, of course, no hardware video dec accel. Downgrade to 130 and the problem doesn't exist anymore, so it looks like a regression.
Anyone has any idea what's going on? I don't see any major changes to the relevant subsystems in 131?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests