Comment 3 for bug 926859

Revision history for this message
Robert Hooker (sarvatt) wrote : Re: Desktop almost useless - due to corruption and flikering

While this is indeed a bug in mesa, there is already handling in unity-support-test in nux to handle software rendering and it should be extended to also block llvmpipe because it's not going to be able to run unity in 12.04. You can reproduce this bug when using mesa by exporting LIBGL_ALWAYS_SOFTWARE=1. just adding "on llvmpipe" similar to "on softpipe" in this snippet from unity-support-test in nux would be enough

  // Check for software rendering.
  if (results->renderer != NULL &&
      (strncmp (results->renderer, "Software Rasterizer", 19) == 0 ||
       strncmp (results->renderer, "Mesa X11", 8) == 0 ||
       strstr (results->renderer, "on softpipe") != NULL)) {
    results->flags |= FLAG_SOFTWARE_RENDERING;

Here are the strings for llvmpipe:
OpenGL vendor string: VMware, Inc.
OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 0x300)
OpenGL version string: 2.1 Mesa 8.0-rc2
OpenGL shading language version string: 1.20