Summary: | [Regression] Recent change in glamor make many X application in Xwayland totally blank | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | xorg | Reporter: | Boyan Ding <stu_dby> | ||||||||
Component: | Server/Acceleration/glamor | Assignee: | Zhigang Gong <zhigang.gong> | ||||||||
Status: | RESOLVED FIXED | QA Contact: | Xorg Project Team <xorg-team> | ||||||||
Severity: | normal | ||||||||||
Priority: | medium | CC: | drago01, eric, vebveb, wickmarkus | ||||||||
Version: | git | ||||||||||
Hardware: | Other | ||||||||||
OS: | All | ||||||||||
Whiteboard: | |||||||||||
i915 platform: | i915 features: | ||||||||||
Attachments: |
|
Description
Boyan Ding
2014-07-27 02:55:45 UTC
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 1.15.99.904)
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. commit 5af2f5b7d2f955586d0cb40eb30812f1893db22e Author: Markus Wick <markus@selfnet.de> Date: Thu Jan 15 22:03:18 2015 +0100 xwayland: Set glamor filter to nearest |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.