New issue
Advanced search Search tips

Issue 892242 link

Starred by 5 users

Issue metadata

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



Sign in to add a comment

Fix virtio-gpu stride issues

Project Member Reported by davidri...@chromium.org, Oct 4

Issue description

Currently windows need width to be a multiple of 16 to correctly render with the virtio gpu driver.
 
Labels: Proj-Containers
Status: Available (was: Untriaged)
<triage>Marking as available</triage>
Labels: -Grfx Gfx
Project Member

Comment 4 by bugdroid1@chromium.org, Dec 15

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/platform2/+/2f88b5500401d9d6c07b6673d9f7326c5dee62d8

commit 2f88b5500401d9d6c07b6673d9f7326c5dee62d8
Author: Zach Reizner <zachr@google.com>
Date: Sat Dec 15 06:40:20 2018

vm_tools: sommelier: fix stride0 on create_prime_buffer

This fixes an issue with using virtio-gpu resources over virtio-wayland
in which the guest and the host would have different values for the
stride of a framebuffer. This does not affect rendering but does confuse
the host compositor when it tries to import the real dmabuf with the
wrong stride. To solve the issue, sommelier attempts to fix the stride
being sent to the compositor over the wayland protocol.

TEST=eglgears_wayland
BUG=chromium:875998,chromium:892242

Change-Id: I31e7c221a941ebebc099b5e57f175951be2008b6
Reviewed-on: https://chromium-review.googlesource.com/1279274
Commit-Ready: Zach Reizner <zachr@chromium.org>
Tested-by: Zach Reizner <zachr@chromium.org>
Reviewed-by: David Riley <davidriley@chromium.org>

[modify] https://crrev.com/2f88b5500401d9d6c07b6673d9f7326c5dee62d8/vm_tools/sommelier/sommelier-drm.c
[modify] https://crrev.com/2f88b5500401d9d6c07b6673d9f7326c5dee62d8/vm_tools/sommelier/sommelier.gyp

Mark fixed?

Sign in to add a comment