<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO - Ubuntu 15.04/Oibaf PPA - Unity bar not transparent"
href="https://bugs.freedesktop.org/show_bug.cgi?id=91747#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO - Ubuntu 15.04/Oibaf PPA - Unity bar not transparent"
href="https://bugs.freedesktop.org/show_bug.cgi?id=91747">bug 91747</a>
from <span class="vcard"><a class="email" href="mailto:brianp@vmware.com" title="Brian Paul <brianp@vmware.com>"> <span class="fn">Brian Paul</span></a>
</span></b>
<pre>Thanks to Sinclair Yeh's detective work, it appears that the unity shell is
disabling transparency when it finds "LLVM" in the GL_RENDERER string.
We've seen the same issue here with our latest VMware driver which includes the
LLVM version in the GL_RENDERER string. Sinclair found this code in the Unity
shell in plugins/unityshell/src/unityshell.cpp:
//In case of software rendering then enable lowgfx mode.
std::string renderer = ANSI_TO_TCHAR(NUX_REINTERPRET_CAST(const char *,
glGetString(GL_RENDERER)));
if (renderer.find("Software Rasterizer") != std::string::npos ||
renderer.find("Mesa X11") != std::string::npos ||
renderer.find("LLVM") != std::string::npos ||
renderer.find("on softpipe") != std::string::npos ||
(getenv("UNITY_LOW_GFX_MODE") != NULL &&
atoi(getenv("UNITY_LOW_GFX_MODE")) == 1) ||
optionGetLowGraphicsMode())
{
unity_settings_.SetLowGfxMode(true);
}
It looks like Marek added code in the r600 driver to include LLVM version info
in the renderer string too:
commit a3723fb9e32ab114dcffcf74946def92647c5f03
Author: Marek Olšák <<a href="mailto:marek.olsak@amd.com">marek.olsak@amd.com</a>>
Date: Mon Jul 20 00:15:59 2015 +0200
gallium/radeon: add DRM and LLVM version to the renderer string
So, if the reporter of this bug is using the r600 driver, that could explain
things. He mentions a change in June/July.
Clearly, the unity code above is pretty dodgy. I'll see if we can report the
issue upstream.
BTW, I tried pinging the bug reporter but email to <a href="mailto:g9352248@trbvm.com">g9352248@trbvm.com</a> bounces.</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>