<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Wayland compositors are unable to use hardware acceleration on i915"
href="https://bugs.freedesktop.org/show_bug.cgi?id=108487#c18">Comment # 18</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Wayland compositors are unable to use hardware acceleration on i915"
href="https://bugs.freedesktop.org/show_bug.cgi?id=108487">bug 108487</a>
from <span class="vcard"><a class="email" href="mailto:alexvillacislasso@hotmail.com" title="Alex Villacís Lasso <alexvillacislasso@hotmail.com>"> <span class="fn">Alex Villacís Lasso</span></a>
</span></b>
<pre>Created <span class=""><a href="attachment.cgi?id=144243" name="attach_144243" title="gbm: gbm_bo_get_handle_for_plane fallback to nonplanar handle">attachment 144243</a> <a href="attachment.cgi?id=144243&action=edit" title="gbm: gbm_bo_get_handle_for_plane fallback to nonplanar handle">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=108487&attachment=144243'>[review]</a>
gbm: gbm_bo_get_handle_for_plane fallback to nonplanar handle
Here is a patch for Mesa 19.0.3 that fixes the issue for me on Fedora 30
x86_64. Essentially the patch returns the nonplanar handle if the API check
fails, making the gbm_bo_get_handle_for_plane() call equivalent to
gbm_bo_get_handle() if requesting plane 0. With this patch, weston starts up
and works correctly for me. Gnome Shell remains unaffected.
Merge request (against master) here:
<a href="https://gitlab.freedesktop.org/mesa/mesa/merge_requests/871">https://gitlab.freedesktop.org/mesa/mesa/merge_requests/871</a>
This should eventually be backported to 19.0.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>