Bug 260431 - [GTK][WPE] Pass GBM_BO_USE_RENDERING to gbm_bo_create
Summary: [GTK][WPE] Pass GBM_BO_USE_RENDERING to gbm_bo_create
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Carlos Garcia Campos
URL:
Keywords: Gtk
Depends on:
Blocks:
 
Reported: 2023-08-19 07:36 PDT by Carlos Garcia Campos
Modified: 2023-08-19 08:43 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Carlos Garcia Campos 2023-08-19 07:36:53 PDT
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).
Comment 1 Carlos Garcia Campos 2023-08-19 07:39:58 PDT
Pull request: https://github.com/WebKit/WebKit/pull/16865
Comment 2 EWS 2023-08-19 08:43:22 PDT
Committed 267070@main (75237ef8a286): <https://commits.webkit.org/267070@main>

Reviewed commits have been landed. Closing PR #16865 and removing active labels.