[Mesa-dev] [Bug 91747] Ubuntu 15.04/Oibaf PPA - Unity bar not transparent

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Sep 1 13:34:32 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=91747

--- Comment #3 from Brian Paul <brianp at vmware.com> ---
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 <marek.olsak at amd.com>
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 g9352248 at trbvm.com bounces.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150901/2e6d2fd4/attachment.html>


More information about the mesa-dev mailing list