<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:fdo-bugs@engestrom.ch" title="Eric Engestrom <fdo-bugs@engestrom.ch>"> <span class="fn">Eric Engestrom</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED NOTABUG - Weston drm-backend.so seems to fail with Mesa master and LIBGL_ALWAYS_SOFTWARE=1"
href="https://bugs.freedesktop.org/show_bug.cgi?id=109258">bug 109258</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>NEW
</td>
<td>RESOLVED
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>NOTABUG
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED NOTABUG - Weston drm-backend.so seems to fail with Mesa master and LIBGL_ALWAYS_SOFTWARE=1"
href="https://bugs.freedesktop.org/show_bug.cgi?id=109258#c6">Comment # 6</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED NOTABUG - Weston drm-backend.so seems to fail with Mesa master and LIBGL_ALWAYS_SOFTWARE=1"
href="https://bugs.freedesktop.org/show_bug.cgi?id=109258">bug 109258</a>
from <span class="vcard"><a class="email" href="mailto:fdo-bugs@engestrom.ch" title="Eric Engestrom <fdo-bugs@engestrom.ch>"> <span class="fn">Eric Engestrom</span></a>
</span></b>
<pre>(In reply to n3rdopolis from <a href="show_bug.cgi?id=109258#c5">comment #5</a>)
<span class="quote">> Created <span class=""><a href="attachment.cgi?id=143147" name="attach_143147" title="Reverse 47273d7312cb5b5b6b0b9faa814d574bbbce1c01">attachment 143147</a> <a href="attachment.cgi?id=143147&action=edit" title="Reverse 47273d7312cb5b5b6b0b9faa814d574bbbce1c01">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=109258&attachment=143147'>[review]</a> [review]
> Reverse 47273d7312cb5b5b6b0b9faa814d574bbbce1c01
>
> Weston and Gnome shell work with LIBGL_ALWAYS_SOFTWARE with this patch, but
> all I did was revert commit 47273d7312cb5b5b6b0b9faa814d574bbbce1c01 and
> then changed up the conflicts.</span >
This revert makes Mesa ignore LIBGL_ALWAYS_SOFTWARE for the drm (and android)
platforms.
This is making it "work" by not doing what the user asked for, which is not
what we want.
DRM does not have a software path yet, hence the
/* Not supported yet */
if (disp->Options.ForceSoftware)
return EGL_FALSE;
in dri2_initialize_drm()
If a software DRM path is needed, then patches to implement it are welcome :)
I have to admit for rendering I'm not sure what needs to be done there, but for
display if you don't have a DRM driver you can use VKMS.
I'm closing this as NOTABUG, as EGL is working as intended.
If a wayland compositor want to discard the user's instructions and use the
hardware when given LIBGL_ALWAYS_SOFTWARE, it needs to override the env var
(set to `0` or simply unset) before calling eglInitialize().</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>