[Bug 1504387] Re: [regression] Software client windows appear all-black on wily desktop
** Changed in: mesa Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1504387 Title: [regression] Software client windows appear all-black on wily desktop To manage notifications about this bug go to: https://bugs.launchpad.net/mesa/+bug/1504387/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1504387]
I just sent for review a piglit test that checks that the combination of internalFormat=GL_BGRA_EXT, format=GL_BGRA_EXT and type=GL_UNSIGNED_BYTE is valid on TexImageXD and TexSubImageXD, as specified by the extension <https://www.khronos.org/registry/gles/extensions/EXT/EXT_texture_format_BGRA.txt>: http://lists.freedesktop.org/archives/piglit/2015-October/017535.html This should prevent this regression in the future. However, this test doesn't pass on master because current handling of GL_BGRA format allows for this invalid combination (which is checked in the test): internalFormat=GL_RGBA format=GL_BGRA_EXT and type=GL_UNSIGNED_BYTE or internalFormat=GL_BGRA_EXT format=GL_RGBA and type=GL_UNSIGNED_BYTE So I also sent a patch to mesa-dev that improves this and make the test pass: http://lists.freedesktop.org/archives/mesa-dev/2015-October/097211.html -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1504387 Title: [regression] Software client windows appear all-black on wily desktop To manage notifications about this bug go to: https://bugs.launchpad.net/mesa/+bug/1504387/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1504387]
(In reply to Mark Janes from comment #14) > No piglit, dEQP, or CTS tests indicated this regression. However, a major > consumer of Mesa was debilitated due to this bug. > > This bug cannot be marked fixed until there exists a piglit test which > prevents future regressions of this type. I agree we must have a piglit test for this to avoid regressions in the future. I will provide one ASAP. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1504387 Title: [regression] Software client windows appear all-black on wily desktop To manage notifications about this bug go to: https://bugs.launchpad.net/mesa/+bug/1504387/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1504387]
The KDE problem is indeed fixed in Mesa 11.0.3. Thanks! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1504387 Title: [regression] Software client windows appear all-black on wily desktop To manage notifications about this bug go to: https://bugs.launchpad.net/mesa/+bug/1504387/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1504387] Re: [regression] Software client windows appear all-black on wily desktop
This bug was fixed in the package mesa - 11.0.2-1ubuntu4 --- mesa (11.0.2-1ubuntu4) wily; urgency=medium * core-fix-EXT_texture_format_BGRA.patch: Cherry pick upstream commit fixing incorrectly-strict error handling in format code. Fixes black windows in Weston and Mir (LP: #1504387) -- Christopher James Halse Rogers <r...@ubuntu.com> Fri, 09 Oct 2015 14:45:54 +1100 ** Changed in: mesa (Ubuntu) Status: Triaged => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1504387 Title: [regression] Software client windows appear all-black on wily desktop To manage notifications about this bug go to: https://bugs.launchpad.net/mesa/+bug/1504387/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1504387] Re: [regression] Software client windows appear all-black on wily desktop
** Bug watch added: freedesktop.org Bugzilla #92265 https://bugs.freedesktop.org/show_bug.cgi?id=92265 ** Also affects: mesa via https://bugs.freedesktop.org/show_bug.cgi?id=92265 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1504387 Title: [regression] Software client windows appear all-black on wily desktop To manage notifications about this bug go to: https://bugs.launchpad.net/mesa/+bug/1504387/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1504387] [NEW] [regression] Software client windows appear all-black on wily desktop
Public bug reported: [regression] Software client windows appear all-black, as of today on wily desktop. Although Mir has not changed. It seems like some other part of the OS is broken. $ sudo mir_proving_server & $ sudo mir_demo_client_progressbar The bug appeared in: mesa (11.0.2-1ubuntu3) wily; urgency=medium ** Affects: mir Importance: Critical Status: Invalid ** Affects: mesa (Ubuntu) Importance: Critical Status: Triaged ** Tags: regression xmir ** Also affects: mesa (Ubuntu) Importance: Undecided Status: New ** Changed in: mesa (Ubuntu) Importance: Undecided => Critical ** Description changed: [regression] Software client windows appear all-black, as of today. Although Mir has not changed. It seems like some other part of the OS is broken. + + $ sudo mir_proving_server & + $ sudo mir_demo_client_progressbar ** Summary changed: - [regression] Software client windows appear all-black + [regression] Software client windows appear all-black on wily desktop ** Description changed: - [regression] Software client windows appear all-black, as of today. + [regression] Software client windows appear all-black, as of today on + wily desktop. Although Mir has not changed. It seems like some other part of the OS is broken. $ sudo mir_proving_server & $ sudo mir_demo_client_progressbar -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1504387 Title: [regression] Software client windows appear all-black on wily desktop To manage notifications about this bug go to: https://bugs.launchpad.net/mir/+bug/1504387/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1504387] Re: [regression] Software client windows appear all-black on wily desktop
** Changed in: mesa (Ubuntu) Assignee: (unassigned) => Chris Halse Rogers (raof) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1504387 Title: [regression] Software client windows appear all-black on wily desktop To manage notifications about this bug go to: https://bugs.launchpad.net/mesa/+bug/1504387/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1504387] Re: [regression] Software client windows appear all-black on wily desktop
WORKAROUND: Download and install the previous Mesa release for wily: https://launchpad.net/ubuntu/+source/mesa/11.0.0-1ubuntu1/+build/7928654 Problem solved. ** Changed in: mir Status: New => Invalid ** Changed in: mesa (Ubuntu) Status: New => Triaged ** Description changed: [regression] Software client windows appear all-black, as of today on wily desktop. Although Mir has not changed. It seems like some other part of the OS is broken. $ sudo mir_proving_server & $ sudo mir_demo_client_progressbar + + The bug appeared in: + mesa (11.0.2-1ubuntu3) wily; urgency=medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1504387 Title: [regression] Software client windows appear all-black on wily desktop To manage notifications about this bug go to: https://bugs.launchpad.net/mesa/+bug/1504387/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1504387] Re: [regression] Software client windows appear all-black on wily desktop
** Tags added: regression-update -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1504387 Title: [regression] Software client windows appear all-black on wily desktop To manage notifications about this bug go to: https://bugs.launchpad.net/mesa/+bug/1504387/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1504387] Re: [regression] Software client windows appear all-black on wily desktop
Launchpad has imported 15 comments from the remote bug at https://bugs.freedesktop.org/show_bug.cgi?id=92265. If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. On 2015-10-03T02:36:50+00:00 Calezoj wrote: Description: After update mesa from 11.0.1-1 to 11.0.2-1 in Weston (launched from the console or 'X') all the windows black (see screenshot: https://i.imgur.com/Oe5X0en.png). After downgrading mesa package weston work fine. Additional info: * Problem mesa version: 11.0.2-1 * Weston 1.9 * Weston running from the 'X': http://pastebin.com/jksF4DT4 * ArchLinux * Intel I4700HQ + Intel Graphics HD 4600 + NVIDIA 850m Assumption: I think that to blame the following correction in mesa: http://mesa3d.sourceforge.net/relnotes/11.0.2.html > i965: Respect stride and subreg_offset for ATTR registers Reply at: https://bugs.launchpad.net/mir/+bug/1504387/comments/0 On 2015-10-03T11:59:57+00:00 Stu-dby wrote: My mesa snapshot happened to have the commit mentioned above, but weston was okay. Updated mesa to current HEAD, and the problem described happened. Reverting 5edd996 (mesa: Use the effective internal format instead for validation) helps, so it should be the problematic commit. Reply at: https://bugs.launchpad.net/mir/+bug/1504387/comments/1 On 2015-10-03T15:21:44+00:00 2-jason-v wrote: There appear to be two potential problems here. One is that Weston tries to use GL_EXT_abgr in ES even though it is not an ES extension. The second is that mesa advertises it and then falls over when you try to use it. If we weren't advertising it, Weston would fall back to other paths and be OK. I see two options: 1) Actually support the extension even though it isn't technically an ES extension. 2) Stop advertising it. I'm going to hazard a guess and say that mesa is probably the only ES driver to support GL_EXT_abgr. Thoughts? Reply at: https://bugs.launchpad.net/mir/+bug/1504387/comments/2 On 2015-10-03T15:41:27+00:00 Emil-l-velikov wrote: (In reply to Jason Ekstrand from comment #2) > I'm going to hazard a guess and say that mesa is probably the only ES driver > to support GL_EXT_abgr. > Sounds about right according to ilia's glxinfo list http://people.freedesktop.org/~imirkin/glxinfo/ Reply at: https://bugs.launchpad.net/mir/+bug/1504387/comments/3 On 2015-10-04T03:33:19+00:00 Michel-daenzer wrote: *** Bug 92242 has been marked as a duplicate of this bug. *** Reply at: https://bugs.launchpad.net/mir/+bug/1504387/comments/4 On 2015-10-04T14:14:02+00:00 Fabio-coatti wrote: Spotted this report after bisecting :( So, I can confirm the same behaviour under kde5/gentoo/qt-5.4.2: black windows, and the commit that cause the problem seems to be commit f15a7f3c6e1bb802ae8c2a29a2dc35ff530aea4d Author: Eduardo Lima Mitev <el...@igalia.com> Date: Thu Sep 24 10:57:43 2015 +0200 mesa: Use the effective internal format instead for validation [...] Reply at: https://bugs.launchpad.net/mir/+bug/1504387/comments/5 On 2015-10-05T06:52:59+00:00 Ppaalanen wrote: *** Bug 92247 has been marked as a duplicate of this bug. *** Reply at: https://bugs.launchpad.net/mir/+bug/1504387/comments/6 On 2015-10-05T07:03:27+00:00 Ppaalanen wrote: I don't think you mean GL_EXT_abgr, I don't see Weston using that. Weston is using GL_BGRA_EXT format, when GL_EXT_texture_format_BGRA extension is available. Weston's GL-renderer refuses to start without this extension. I believe this is because GL_BGRA_EXT, GL_UNSIGNED_BYTE matches the WL_SHM_FORMAT_XRGB and WL_SHM_FORMAT_ARGB layouts, so we can avoid a conversion. Reply at: https://bugs.launchpad.net/mir/+bug/1504387/comments/7 On 2015-10-07T14:27:15+00:00 Emil-l-velikov wrote: Eduardo, the faulty commit (breaking KDE/kwin and weston) has landed a week+ ago. Will you have a chance to look into it soon ? Alternatively I'll revert this for stable - 11.0.3 (coming in 2-3 days). Reply at: https://bugs.launchpad.net/mir/+bug/1504387/comments/8 On 2015-10-07T21:54:11+00:00 John Dulaney wrote: Created attachment 118744 Stderr from running weston-la