Wayland apps fail to run with zwp_linux_dmabuf error (failed to import supplied dmabufs: Unsupported buffer format 808669784 [DRM_FORMAT_XRGB2101010]) (or 808665665 [DRM_FORMAT_ABGR2101010])
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MPV |
Fix Released
|
Unknown
|
|||
Mesa |
Fix Released
|
Unknown
|
|||
mesa (Ubuntu) |
Fix Released
|
High
|
Chris Halse Rogers | ||
Bionic |
Fix Released
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
High
|
Timo Aaltonen |
Bug Description
[Impact]
Wayland apps fail to start in focal with:
error 7: failed to import supplied dmabufs: Unsupported buffer format 808669784
[Test Case]
Just run: es2gears_wayland
[Regression Potential]
Medium/unknown. The fix is quite new.
[Other Info]
When attempting to run es2gears_wayland against GNOME Shell, it fails with:
EGL_VERSION = 1.5
vertex shader info:
fragment shader info:
info:
[destroyed object]: error 7: failed to import supplied dmabufs: Unsupported buffer format 808669784
The full wayland protocol trace is:
[3104432.914] -> wl_display@
[3104432.972] -> wl_display@
[3104433.139] wl_display@
[3104433.175] wl_registry@
[3104433.207] wl_registry@
[3104433.240] -> wl_registry@
[3104433.285] wl_registry@
[3104433.316] wl_registry@
[3104433.347] wl_registry@
[3104433.376] wl_registry@
[3104433.404] wl_registry@
[3104433.432] wl_registry@
[3104433.459] wl_registry@
[3104433.485] wl_registry@
[3104433.513] wl_registry@
[3104433.542] -> wl_registry@
[3104433.582] wl_registry@
[3104433.611] wl_registry@
[3104433.640] wl_registry@
[3104433.670] wl_registry@
[3104433.699] wl_registry@
[3104433.728] wl_registry@
[3104433.758] wl_registry@
[3104433.787] wl_registry@
[3104433.816] wl_registry@
[3104433.846] wl_registry@
[3104433.875] wl_registry@
[3104433.904] wl_registry@
[3104433.933] wl_registry@
[3104433.960] wl_registry@
[3104433.991] wl_callback@
[3104436.266] -> wl_display@
[3104436.279] -> wl_display@
[3104436.647] wl_display@
[3104436.672] wl_registry@
[3104436.726] -> wl_registry@
[3104436.744] wl_registry@
[3104436.780] wl_registry@
[3104436.790] wl_registry@
[3104436.803] wl_registry@
[3104436.833] wl_registry@
[3104436.868] wl_registry@
[3104436.882] wl_registry@
[3104436.898] wl_registry@
[3104436.913] wl_registry@
[3104436.925] wl_registry@
[3104436.937] wl_registry@
[3104436.950] wl_registry@
[3104436.963] wl_registry@
[3104436.976] wl_registry@
[3104436.990] wl_registry@
[3104437.001] wl_registry@
[3104437.013] wl_registry@
[3104437.026] wl_registry@
[3104437.038] wl_registry@
[3104437.051] wl_registry@
[3104437.066] -> wl_registry@
[3104437.083] wl_registry@
[3104437.096] wl_registry@
[3104437.111] wl_registry@
[3104437.125] wl_registry@
[3104437.140] wl_callback@
[3104437.146] -> wl_display@
[3104437.333] wl_display@
[3104437.339] wl_drm@
[3104437.408] -> wl_drm@
[3104437.413] wl_drm@
[3104437.438] wl_drm@
[3104437.442] wl_drm@
[3104437.448] wl_drm@
[3104437.452] wl_drm@
[3104437.457] wl_drm@
[3104437.461] wl_drm@
[3104437.466] wl_drm@
[3104437.471] wl_drm@
[3104437.492] wl_drm@
[3104437.496] wl_drm@
[3104437.518] wl_drm@
[3104437.523] wl_drm@
[3104437.528] wl_drm@
[3104437.533] wl_drm@
[3104437.539] zwp_linux_
[3104437.543] zwp_linux_
[3104437.556] zwp_linux_
[3104437.581] zwp_linux_
[3104437.614] zwp_linux_
[3104437.624] zwp_linux_
[3104437.629] zwp_linux_
[3104437.639] zwp_linux_
[3104437.650] zwp_linux_
[3104437.663] zwp_linux_
[3104437.674] zwp_linux_
[3104437.680] zwp_linux_
[3104437.693] zwp_linux_
[3104437.706] zwp_linux_
[3104437.717] zwp_linux_
[3104437.723] zwp_linux_
[3104437.735] zwp_linux_
[3104437.748] zwp_linux_
[3104437.759] wl_callback@
[3104437.766] -> wl_display@
[3104437.860] wl_display@
[3104437.872] wl_drm@
[3104437.877] wl_callback@
EGL_VERSION = 1.5
[3104473.572] -> wl_compositor@
[3104473.606] -> wl_compositor@
[3104473.613] -> wl_region@9.add(0, 0, 300, 300)
[3104473.673] -> wl_surface@
[3104473.677] -> wl_region@
[3104473.681] -> wl_shell@
[3104473.707] -> wl_shell_
vertex shader info:
fragment shader info:
info:
[3104479.756] -> wl_surface@
[3104479.798] -> wl_surface@
[3104479.831] -> zwp_linux_
[3104479.849] -> zwp_linux_
[3104479.906] -> zwp_linux_
[3104479.923] -> zwp_linux_
[3104479.929] -> wl_surface@
[3104479.957] -> wl_surface@
[3104480.471] -> wl_surface@
[3104482.941] wl_display@
[3104482.968] wl_display@
[destroyed object]: error 7: failed to import supplied dmabufs: Unsupported buffer format 808669784
Notably, when run against Weston, the trace is:
[3371099.320] -> wl_display@
[3371099.394] -> wl_display@
[3371099.536] wl_display@
[3371099.569] wl_registry@
[3371099.602] -> wl_registry@
[3371099.639] wl_registry@
[3371099.658] wl_registry@
[3371099.687] wl_registry@
[3371099.717] wl_registry@
[3371099.747] wl_registry@
[3371099.776] wl_registry@
[3371099.806] wl_registry@
[3371099.836] wl_registry@
[3371099.866] wl_registry@
[3371099.887] wl_registry@
[3371099.919] wl_registry@
[3371099.949] wl_registry@
[3371099.979] wl_registry@
[3371100.009] wl_registry@
[3371100.039] wl_registry@
[3371100.069] wl_registry@
[3371100.099] wl_registry@
[3371100.149] wl_registry@
[3371100.184] -> wl_registry@
[3371100.229] wl_registry@
[3371100.263] wl_registry@
[3371100.294] wl_callback@
[3371103.528] -> wl_display@
[3371103.559] -> wl_display@
[3371103.670] wl_display@
[3371103.690] wl_registry@
[3371103.716] wl_registry@
[3371103.745] wl_registry@
[3371103.774] wl_registry@
[3371103.806] wl_registry@
[3371103.832] wl_registry@
[3371103.861] wl_registry@
[3371103.891] wl_registry@
[3371103.919] wl_registry@
[3371103.945] wl_registry@
[3371103.976] wl_registry@
[3371104.008] -> wl_registry@
[3371104.045] wl_registry@
[3371104.072] -> wl_registry@
[3371104.108] wl_registry@
[3371104.135] wl_registry@
[3371104.182] wl_registry@
[3371104.213] wl_registry@
[3371104.243] wl_registry@
[3371104.274] wl_registry@
[3371104.302] wl_registry@
[3371104.333] wl_registry@
[3371104.365] wl_registry@
[3371104.392] wl_callback@
[3371104.410] -> wl_display@
[3371104.923] wl_display@
[3371104.943] wl_drm@
[3371105.012] -> wl_drm@
[3371105.030] wl_drm@
[3371105.048] wl_drm@
[3371105.063] wl_drm@
[3371105.077] wl_drm@
[3371105.093] wl_drm@
[3371105.106] wl_drm@
[3371105.118] wl_drm@
[3371105.133] wl_drm@
[3371105.147] wl_drm@
[3371105.161] wl_drm@
[3371105.176] wl_drm@
[3371105.190] wl_drm@
[3371105.205] wl_drm@
[3371105.219] wl_drm@
[3371105.233] wl_drm@
[3371105.247] zwp_linux_
[3371105.280] zwp_linux_
[3371105.310] zwp_linux_
[3371105.340] zwp_linux_
[3371105.373] zwp_linux_
[3371105.401] zwp_linux_
[3371105.432] zwp_linux_
[3371105.473] zwp_linux_
[3371105.522] zwp_linux_
[3371105.560] zwp_linux_
[3371105.599] zwp_linux_
[3371105.638] zwp_linux_
[3371105.670] zwp_linux_
[3371105.698] zwp_linux_
[3371105.727] zwp_linux_
[3371105.757] zwp_linux_
[3371105.788] zwp_linux_
[3371105.813] zwp_linux_
[3371105.843] zwp_linux_
[3371105.871] zwp_linux_
[3371105.903] zwp_linux_
[3371105.933] zwp_linux_
[3371105.965] zwp_linux_
[3371105.998] zwp_linux_
[3371106.023] zwp_linux_
[3371106.059] zwp_linux_
[3371106.094] zwp_linux_
[3371106.157] zwp_linux_
[3371106.199] zwp_linux_
[3371106.224] zwp_linux_
[3371106.252] zwp_linux_
[3371106.289] zwp_linux_
[3371106.326] zwp_linux_
[3371106.352] zwp_linux_
[3371106.379] zwp_linux_
[3371106.409] zwp_linux_
[3371106.436] zwp_linux_
[3371106.466] zwp_linux_
[3371106.494] zwp_linux_
[3371106.522] zwp_linux_
[3371106.567] zwp_linux_
[3371106.595] zwp_linux_
[3371106.620] zwp_linux_
[3371106.648] zwp_linux_
[3371106.676] zwp_linux_
[3371106.703] zwp_linux_
[3371106.731] zwp_linux_
[3371106.757] zwp_linux_
[3371106.785] zwp_linux_
[3371106.814] zwp_linux_
[3371106.843] zwp_linux_
[3371106.871] zwp_linux_
[3371106.898] zwp_linux_
[3371106.922] zwp_linux_
[3371106.950] zwp_linux_
[3371106.979] zwp_linux_
[3371107.009] zwp_linux_
[3371107.036] zwp_linux_
[3371107.064] zwp_linux_
[3371107.091] zwp_linux_
[3371107.138] zwp_linux_
[3371107.170] zwp_linux_
[3371107.202] zwp_linux_
[3371107.234] zwp_linux_
[3371107.265] zwp_linux_
[3371107.295] zwp_linux_
[3371107.320] zwp_linux_
[3371107.351] zwp_linux_
[3371107.380] zwp_linux_
[3371107.410] zwp_linux_
[3371107.442] zwp_linux_
[3371107.472] zwp_linux_
[3371107.502] zwp_linux_
[3371107.534] zwp_linux_
[3371107.566] zwp_linux_
[3371107.597] zwp_linux_
[3371107.629] zwp_linux_
[3371107.659] zwp_linux_
[3371107.688] zwp_linux_
[3371107.720] zwp_linux_
[3371107.750] zwp_linux_
[3371107.780] zwp_linux_
[3371107.809] zwp_linux_
[3371107.839] zwp_linux_
[3371107.870] zwp_linux_
[3371107.899] zwp_linux_
[3371107.925] zwp_linux_
[3371107.951] zwp_linux_
[3371107.979] zwp_linux_
[3371108.005] zwp_linux_
[3371108.035] zwp_linux_
[3371108.066] zwp_linux_
[3371108.096] zwp_linux_
[3371108.126] zwp_linux_
[3371108.155] zwp_linux_
[3371108.186] zwp_linux_
[3371108.217] zwp_linux_
[3371108.249] zwp_linux_
[3371108.279] zwp_linux_
[3371108.309] zwp_linux_
[3371108.341] zwp_linux_
[3371108.371] zwp_linux_
[3371108.402] zwp_linux_
[3371108.432] zwp_linux_
[3371108.460] zwp_linux_
[3371108.492] zwp_linux_
[3371108.522] zwp_linux_
[3371108.552] zwp_linux_
[3371108.580] zwp_linux_
[3371108.608] wl_callback@
[3371108.625] -> wl_display@
[3371109.998] wl_display@
[3371110.024] wl_drm@
[3371110.034] wl_callback@
EGL_VERSION = 1.5
[3371142.412] -> wl_compositor@
[3371142.425] -> wl_compositor@
[3371142.431] -> wl_region@9.add(0, 0, 300, 300)
[3371142.441] -> wl_surface@
[3371142.446] -> wl_region@
[3371142.450] -> wl_shell@
[3371142.464] -> wl_shell_
vertex shader info:
fragment shader info:
info:
[3371149.387] -> wl_surface@
[3371149.408] -> wl_surface@
[3371149.415] -> zwp_linux_
[3371149.432] -> zwp_linux_
[3371149.455] -> zwp_linux_
[3371149.477] -> zwp_linux_
[3371149.483] -> wl_surface@
[3371149.497] -> wl_surface@
[3371150.008] -> wl_surface@
…trace continues extremely verbosely; everything works.
Notably, it seems that the Mesa is sending the same zwp_linux_
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: mutter 3.35.91-1ubuntu1
ProcVersionSign
Uname: Linux 5.3.0+bcachefs.
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu21
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Mon Mar 23 17:23:33 2020
InstallationDate: Installed on 2019-08-29 (207 days ago)
InstallationMedia: Ubuntu 19.10 bcachefs (20190828)
SourcePackage: mutter
UpgradeStatus: Upgraded to focal on 2020-01-20 (62 days ago)
summary: |
- es2gears_wayland fails to run with zwp_linux_dmabuf error (failed to - import supplied dmabufs: Unsupported buffer format 808669784) + Clients fail to run with zwp_linux_dmabuf error (failed to import + supplied dmabufs: Unsupported buffer format 808669784) [DRM_FORMAT_XRGB2101010] |
Changed in mutter (Ubuntu): | |
status: | Confirmed → Won't Fix |
Changed in mesa (Ubuntu): | |
status: | Confirmed → In Progress |
importance: | Undecided → High |
assignee: | nobody → Chris Halse Rogers (raof) |
no longer affects: | mesa-demos (Ubuntu) |
no longer affects: | mpv (Ubuntu) |
Changed in mesa: | |
status: | Unknown → New |
Changed in mutter: | |
status: | Unknown → Fix Released |
Changed in mesa: | |
status: | New → Fix Released |
Changed in mesa (Ubuntu): | |
status: | In Progress → Fix Committed |
tags: | added: fixed-upstream |
tags: | added: fixed-in-mesa-20.1 |
description: | updated |
tags: | added: rls-ff-incoming |
summary: |
- Clients fail to run with zwp_linux_dmabuf error (failed to import + Wayland apps fail to run with zwp_linux_dmabuf error (failed to import supplied dmabufs: Unsupported buffer format 808669784) [DRM_FORMAT_XRGB2101010] |
summary: |
Wayland apps fail to run with zwp_linux_dmabuf error (failed to import - supplied dmabufs: Unsupported buffer format 808669784) - [DRM_FORMAT_XRGB2101010] + supplied dmabufs: Unsupported buffer format 808669784 + [DRM_FORMAT_XRGB2101010]) (or 808665665 [DRM_FORMAT_ABGR2101010]) |
tags: | added: fixed-in-mesa-20.0.7 |
tags: | removed: rls-ff-incoming |
Changed in mutter (Ubuntu Focal): | |
status: | New → Won't Fix |
Changed in mesa (Ubuntu Focal): | |
assignee: | nobody → Timo Aaltonen (tjaalton) |
no longer affects: | mutter (Ubuntu) |
no longer affects: | mutter (Ubuntu Focal) |
no longer affects: | mutter |
Changed in mesa (Ubuntu Focal): | |
status: | Confirmed → In Progress |
importance: | Undecided → High |
tags: |
added: verification-done-bionic removed: verification-needed-bionic |
Changed in mesa (Ubuntu Bionic): | |
status: | Fix Committed → Invalid |
Changed in mpv: | |
status: | Unknown → Fix Released |
That's DRM_FORMAT_ XRGB2101010 so this sounds like https:/ /gitlab. gnome.org/ GNOME/mutter/ issues/ 987