Closed
Bug 1688851
Opened 3 years ago
Closed 3 years ago
[Linux/EGL] Use gbm_bo_create instead of gbm_bo_create_with_modifiers if all modifiers are set to DRM_FORMAT_MOD_INVALID
Categories
(Core :: Graphics, defect, P3)
Tracking
()
RESOLVED
FIXED
87 Branch
Tracking | Status | |
---|---|---|
firefox87 | --- | fixed |
People
(Reporter: rmader, Assigned: rmader)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
This would stop mesa from spamming Only invalid modifier specified
to stderr when running e.g. WebGL with DMABUFs on Mutter/Wayland.
See https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7601#note_778855 for context.
Assignee | ||
Comment 1•3 years ago
|
||
Martin, needinfoing you here so you know about it.
Flags: needinfo?(stransky)
Updated•3 years ago
|
Severity: -- → S3
Priority: -- → P3
Comment 2•3 years ago
|
||
Okay, I think the fix may be easy. We just need to scan the format modifiers and remove them when they're invalid. That can be done at nsDMABufDevice::nsDMABufDevice() where the format modifiers are loaded.
Updated•3 years ago
|
Flags: needinfo?(stransky)
Assignee | ||
Comment 3•3 years ago
|
||
Updated•3 years ago
|
Assignee: nobody → robert.mader
Status: NEW → ASSIGNED
Pushed by archaeopteryx@coole-files.de: https://hg.mozilla.org/integration/autoland/rev/9562386904cc Check if modifiers are valid before adding. r=stransky,jgilbert
Comment 5•3 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
status-firefox87:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 87 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•