<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Simple Qt5 app causes strange overlay to appear on screen"
href="https://bugs.freedesktop.org/show_bug.cgi?id=78010">78010</a>
</td>
</tr>
<tr>
<th>Assignee</th>
<td>mesa-dev@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Summary</th>
<td>Simple Qt5 app causes strange overlay to appear on screen
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Reporter</th>
<td>bmerry@gmail.com
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Version</th>
<td>10.1
</td>
</tr>
<tr>
<th>Component</th>
<td>GLX
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=98089" name="attach_98089" title="Demonstration app showing the issue">attachment 98089</a> <a href="attachment.cgi?id=98089&action=edit" title="Demonstration app showing the issue">[details]</a></span>
Demonstration app showing the issue
I'm not sure if this is a bug in Mesa or in Qt. But since the behaviour differs
depending on whether LIBGL_ALWAYS_SOFTWARE is set or not I think something
might be strange in Mesa, which is why I'm filing this here first.
I have reduced the problem to a very simple Qt5 application (which I will
attach). It has a QGLWidget, which simply calls glClear. When I run the
application, a window (with no decorations) seems to appear over part of the
screen, at the same size as the widget. It initially shows through to whatever
was on the desktop behind it, but the contents are not updated.
Additionally, the GL widget does not seem to be filled in: it starts with
whatever the background was, and doesn't update. However, if I set
LIBGL_ALWAYS_SOFTWARE=1, then it correctly shows as pink (however, the other
symptom remains).
System information:
OS: Xubuntu 14.04
CPU: i5-2430M
glxinfo, without environment variables:
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) Sandybridge Mobile
OpenGL core profile version string: 3.1 (Core Profile) Mesa 10.1.0
OpenGL core profile shading language version string: 1.40
glxinfo, with LIBGL_ALWAYS_SOFTWARE=1
OpenGL vendor string: VMware, Inc.
OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 3.4, 256 bits)
OpenGL version string: 2.1 Mesa 10.1.0
OpenGL shading language version string: 1.30
I've also tried using Mesa git (151a20d), configured with
--with-dri-drivers=i965,swrast --with-gallium-drivers=
which showed the same symptoms.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>