https://bugs.freedesktop.org/show_bug.cgi?id=36332
Summary: Missing rendering in Unity dash Product: Mesa Version: git Platform: Other OS/Version: All Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/r300 AssignedTo: dri-devel@lists.freedesktop.org ReportedBy: chalserogers@gmail.com
Forwarded from https://bugs.launchpad.net/ubuntu/+source/unity/+bug/726033
When rendering the Unity dash icons are frequently missing from the rendering. This video is a good demonstration of the problem: https://launchpadlibrarian.net/68813544/unity-bug.ogv
This works on r600g, nouveau, i915 and i965, so it looks like it's a bug somewhere in r300g.
The dash rendering uses FBOs and ARB shaders, with glscissor for clipping.
https://bugs.freedesktop.org/show_bug.cgi?id=36332
--- Comment #1 from Jay Taoko jay.taoko@canonical.com 2011-04-17 18:10:21 PDT --- Created an attachment (id=45747) --> (https://bugs.freedesktop.org/attachment.cgi?id=45747) Xorg.0.log
https://bugs.freedesktop.org/show_bug.cgi?id=36332
--- Comment #2 from Jay Taoko jay.taoko@canonical.com 2011-04-17 18:11:05 PDT --- Created an attachment (id=45748) --> (https://bugs.freedesktop.org/attachment.cgi?id=45748) dmesg.txt
https://bugs.freedesktop.org/show_bug.cgi?id=36332
--- Comment #3 from Jay Taoko jay.taoko@canonical.com 2011-04-17 18:11:41 PDT --- Created an attachment (id=45749) --> (https://bugs.freedesktop.org/attachment.cgi?id=45749) glxinfo.txt
https://bugs.freedesktop.org/show_bug.cgi?id=36332
--- Comment #4 from Christopher James Halse Rogers chalserogers@gmail.com 2011-04-17 18:18:27 PDT --- This occurs on both mesa master (as of 2011/04/18, shown in logs) and 7.10.2.
https://bugs.freedesktop.org/show_bug.cgi?id=36332
--- Comment #5 from Jay Taoko jay.taoko@canonical.com 2011-04-17 18:24:09 PDT --- The bug can be reproduced on ATI R300/400/500 GPUs. These GPUs are no longer supported by fglrx so I couldn't verify if it was strictly a driver issue or if there was some error in our program code. However, the problem cannot be reproduced with a Radeon HD 4670 and the open source driver (or fglrx). Nor can it be reproduced with Intel GPUs such as the GMA 950 and above.
The bug manifest itself in the Unity Dash. When an action is performed to show more icons in the dash, the rendering does not happen. Elements of the Dash only appear after the mouse moves over them, but this is the result of Unity refreshing the rendering. Some elements of the dash also disappear. This make me think that clipping could be involved. Unity makes extensive use of opengl scissoring.
https://bugs.freedesktop.org/show_bug.cgi?id=36332
Pavel Rojtberg pavel@rojtberg.net changed:
What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|dri-devel@lists.freedesktop |maraeo@gmail.com |.org |
--- Comment #6 from Pavel Rojtberg pavel@rojtberg.net 2011-04-20 02:49:45 PDT --- there is now a workaround in this commit: http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/natty/nux/natty/revision...
// jaytaoko: This is a hack for what looks like a bug (#726033) in the radeon opensource driver // on R300/400/500. Rather than passing a null region to glScissor, we give the clip area a 1 pixel width.
dri-devel@lists.freedesktop.org