I suspect nvidia GBM implementation defaults to GBM_BO_USE_SCANOUT when no flags are passed and thehn tries to create KMS dumb buffers. In any case using GBM_BO_USE_RENDERING is correct since those buffers are created in the web process for rendering (as a color buffer storage).
Pull request: https://github.com/WebKit/WebKit/pull/16865
Committed 267070@main (75237ef8a286): <https://commits.webkit.org/267070@main> Reviewed commits have been landed. Closing PR #16865 and removing active labels.