New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 882825 link

Starred by 1 user

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 3
Type: Bug



Sign in to add a comment

Can't run example wayland clients with DRM buffers

Reported by alexandr...@collabora.com, Sep 11

Issue description

Running, e.g., wayland_simple_client --use-drm, fails with:

[0911/133630.296795:ERROR:client_base.cc(625)] Can't create gbm buffer
[0911/133630.296866:FATAL:client_base.cc(580)] Check failed: buffer. Can't create drm buffer
#0 0x7f8f3c6a9f8d base::debug::StackTrace::StackTrace()
#1 0x7f8f3c39152c base::debug::StackTrace::StackTrace()
#2 0x7f8f3c3bd1ed logging::LogMessage::~LogMessage()
#3 0x00000040ba85 exo::wayland::clients::ClientBase::CreateBuffer()
#4 0x00000040a1cb exo::wayland::clients::ClientBase::Init()
#5 0x000000405e27 main
#6 0x7f8f3a668b17 __libc_start_main
#7 0x000000405c9a _start

 
Components: Internals>GPU
Project Member

Comment 2 by bugdroid1@chromium.org, Sep 11

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/7d6fd724f43b81abafb701f900914c18c3abf93e

commit 7d6fd724f43b81abafb701f900914c18c3abf93e
Author: Alexandros Frantzis <alexandros.frantzis@collabora.com>
Date: Tue Sep 11 16:27:41 2018

exo/clients: Use DRM_FORMAT_ARGB8888 for GBM buffers

DRM_FORMAT_ARGB8888 (which is B,G,R,A in memory order) matches the used
GL internal format and is also more widely supported by minigbm drivers.

Bug: 882825
Change-Id: I909ceb04172e4c7a97c97e9c94a36f3bb467053a
Reviewed-on: https://chromium-review.googlesource.com/1219387
Reviewed-by: Daniele Castagna <dcastagna@chromium.org>
Commit-Queue: Daniele Castagna <dcastagna@chromium.org>
Cr-Commit-Position: refs/heads/master@{#590340}
[modify] https://crrev.com/7d6fd724f43b81abafb701f900914c18c3abf93e/components/exo/wayland/clients/client_base.cc

Labels: Needs-Milestone
Cc: dcasta...@chromium.org alexandr...@collabora.com
Status: Available (was: Unconfirmed)
Couldn't assign to Alexandros, cc'ing instead. 
This issue has been fixed by https://chromium-review.googlesource.com/c/chromium/src/+/1219387 (which has been merged), so feel free to change it to 'done'.

Sign in to add a comment