Launching a lot of X applications such as glxgears, gnome-terminal, etc. in weston using Xwayland in resent versions of X only shows a blank window.
After bisecting, the first bad commit was found to be:
6d4954884908ea9894fcfe9836db1ba7bb45be61 Merge remote-tracking branch 'origin/master' into glamor-next
and I found in the commit message that there were manual merge to resolve conflict. Did something went wrong there?
It seems that my bisection is wrong... The first bad commit is the merge because the merge add glamor in xwayland in...
I'll try to find what exactly causes the issue.
I replayed the patches of glamor-next branch on top of 1.16.0 where xwayland has glamor. And bisected. And I believe the first bad commit is:
45ebc4e3fac7f1a85167d05e2833949b89f02d64 glamor: Add glamor_program based copy acceleration
Any updates on this issue?
I just found the rendering libreoffice-writer quite interesting, some part of the window is normal and other parts are black in recent versions. See the attachments below.
Created attachment 105044 [details]
Right rendering (with version 188.8.131.524)
Screenshot taken under weston using the maynard shell.
Created attachment 105045 [details]
Wrong rendering (current git version)
*** Bug 88198 has been marked as a duplicate of this bug. ***
Axel and Markus tracked down the cause of this a while ago, but never went through with a solution. :(
Michael: I think you're talking about this workaround? http://markus.members.selfnet.de/xorg/xwayland.patch
But I think it's a bug within mesa as glEGLImageTargetTexture2DOES should not return an incomplete texture.
Created attachment 111999 [details] [review]
Make xwl_glamor_create_pixmap_for_bo match glamor_create_texture_from_image
(In reply to Markus Wick from comment #8)
> But I think it's a bug within mesa as glEGLImageTargetTexture2DOES should
> not return an incomplete texture.
glEGLImageTargetTexture2DOES doesn't create a texture object but an image for the currently bound texture object.
Does this patch alone fix the problem?
(In reply to Michel Dänzer from comment #9)
> Created attachment 111999 [details] [review] [review]
> Make xwl_glamor_create_pixmap_for_bo match glamor_create_texture_from_image
> (In reply to Markus Wick from comment #8)
> > But I think it's a bug within mesa as glEGLImageTargetTexture2DOES should
> > not return an incomplete texture.
> glEGLImageTargetTexture2DOES doesn't create a texture object but an image
> for the currently bound texture object.
> Does this patch alone fix the problem?
Yes it does.
Author: Markus Wick <firstname.lastname@example.org>
Date: Thu Jan 15 22:03:18 2015 +0100
xwayland: Set glamor filter to nearest