[Ubuntu-x-swat] [Bug 1406725] Re: Severe graphical corruption (mostly horizontal streaks/lines) running software clients (including Xmir) on android

2015-12-22 Thread Kevin DuBois
** Changed in: mir Status: Fix Committed => Fix Released ** Changed in: canonical-pocket-desktop Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg-server in Ubuntu.

[Ubuntu-x-swat] [Bug 1406725] Re: Severe graphical corruption (mostly horizontal streaks/lines) running software clients (including Xmir) on android

2015-12-22 Thread Launchpad Bug Tracker
This bug was fixed in the package mir - 0.18.0+16.04.20151216.1-0ubuntu1 --- mir (0.18.0+16.04.20151216.1-0ubuntu1) xenial; urgency=medium [ Kevin DuBois ] * New upstream release 0.18.0 (https://launchpad.net/mir/+milestone/0.18.0) - ABI summary: Only servers need rebuilding;

[Ubuntu-x-swat] [Bug 1406725] Re: Severe graphical corruption (mostly horizontal streaks/lines) running software clients (including Xmir) on android

2015-12-07 Thread Daniel van Vugt
** Also affects: mir (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg-server in Ubuntu. https://bugs.launchpad.net/bugs/1406725 Title: Severe graphical corruption (mostly horizontal

[Ubuntu-x-swat] [Bug 1406725] Re: Severe graphical corruption (mostly horizontal streaks/lines) running software clients (including Xmir) on android

2015-11-20 Thread kevin gunn
** Changed in: canonical-pocket-desktop Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg-server in Ubuntu. https://bugs.launchpad.net/bugs/1406725 Title: Severe graphical corruption (mostly

[Ubuntu-x-swat] [Bug 1406725] Re: Severe graphical corruption (mostly horizontal streaks/lines) running software clients (including Xmir) on android

2015-11-19 Thread PS Jenkins bot
Fix committed into lp:mir at revision None, scheduled for release in mir, milestone 0.18.0 ** Changed in: mir Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg-server in Ubuntu.

[Ubuntu-x-swat] [Bug 1406725] Re: Severe graphical corruption (mostly horizontal streaks/lines) running software clients (including Xmir) on android

2015-11-18 Thread Kevin DuBois
** Branch linked: lp:~kdub/mir/fix-1406725 -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg-server in Ubuntu. https://bugs.launchpad.net/bugs/1406725 Title: Severe graphical corruption (mostly horizontal streaks/lines) running software

[Ubuntu-x-swat] [Bug 1406725] Re: Severe graphical corruption (mostly horizontal streaks/lines) running software clients (including Xmir) on android

2015-11-17 Thread Kevin DuBois
Testing the EGLSyncFence extensions with xmir still has some corruption. Using these extensions stabilizes the mir_demo_client_flicker rendering. So, its looking like there's two problems going on here. -- You received this bug notification because you are a member of Ubuntu-X, which is

[Ubuntu-x-swat] [Bug 1406725] Re: Severe graphical corruption (mostly horizontal streaks/lines) running software clients (including Xmir) on android

2015-11-17 Thread Kevin DuBois
So, we have two issues in this bug. 1) The majority of the xmir corruption was caused by calling mir_buffer_stream_get_graphics_region() when xmir wanted to know the buffer size. On android, this would call down into gralloc, and invalidate/flush the cache when called. Its reasonable to just call

[Ubuntu-x-swat] [Bug 1406725] Re: Severe graphical corruption (mostly horizontal streaks/lines) running software clients (including Xmir) on android

2015-11-13 Thread Kevin DuBois
my spike branch that averts the problem is here, based on 0.17.1: lp:~kdub/mir/0.17.1-fix-1406725 This branch doesnt have unit tests, and needs a bit more work on the new internal interfaces, so I'll probably have to rework the branch to get it to land in lp:mir. ** Branch linked:

[Ubuntu-x-swat] [Bug 1406725] Re: Severe graphical corruption (mostly horizontal streaks/lines) running software clients (including Xmir) on android

2015-11-12 Thread Kevin DuBois
The corruption appears on krillin too, so probably not a specific chipset problem. -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg-server in Ubuntu. https://bugs.launchpad.net/bugs/1406725 Title: Severe graphical corruption (mostly

[Ubuntu-x-swat] [Bug 1406725] Re: Severe graphical corruption (mostly horizontal streaks/lines) running software clients (including Xmir) on android

2015-11-12 Thread Kevin DuBois
After today's investigation, I think the cachelines that are appearing as corruption are not from an lines that should have been invalidated, but are the flushed lines from the next frame. IE, we're releasing the buffer too early, and the flushed lines from the backbuffer render are appearing as

[Ubuntu-x-swat] [Bug 1406725] Re: Severe graphical corruption (mostly horizontal streaks/lines) running software clients (including Xmir) on android

2015-11-12 Thread Kevin DuBois
glFinish and other flushing-commands (eg, eglClientWaitSyncKHR with the flush bit) seem to be other alternatives that work, but those aren't very good alternatives either. -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg-server in Ubuntu.

[Ubuntu-x-swat] [Bug 1406725] Re: Severe graphical corruption (mostly horizontal streaks/lines) running software clients (including Xmir) on android

2015-11-11 Thread kevin gunn
Just discovered something while working on bug 1513815 Basically, i was running pd on N4 set this env variable SAL_USE_VCLPLUGIN=gen which according to bjoern "forces LO to ignore the gtk plugin and uses the old and trusty X11-only backend" ...figure this is true for all Xapps? anyhow, i

[Ubuntu-x-swat] [Bug 1406725] Re: Severe graphical corruption (mostly horizontal streaks/lines) running software clients (including Xmir) on android

2015-11-11 Thread Kevin DuBois
A (bad) workaround is to map the buffer server-side, and then use glTexImage2D (instead of glTargetTexture2D) -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg-server in Ubuntu. https://bugs.launchpad.net/bugs/1406725 Title: Severe

[Ubuntu-x-swat] [Bug 1406725] Re: Severe graphical corruption (mostly horizontal streaks/lines) running software clients (including Xmir) on android

2015-11-11 Thread Kevin DuBois
External indication that adreno drivers have an issue flushing their texture caches: https://codereview.chromium.org1241433003/ -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg-server in Ubuntu. https://bugs.launchpad.net/bugs/1406725

[Ubuntu-x-swat] [Bug 1406725] Re: Severe graphical corruption (mostly horizontal streaks/lines) running software clients (including Xmir) on android

2015-11-11 Thread Kevin DuBois
Its seeming like the gpu-facing cache is the one that needs invalidation from the GL/gralloc driver, but is not being flushed. This is a CPU/GPU coordination issue, and the GPU-based scenarios all work through the same cache and do not experience this problem. If we use overlays, this is not an

[Ubuntu-x-swat] [Bug 1406725] Re: Severe graphical corruption (mostly horizontal streaks/lines) running software clients (including Xmir) on android

2015-11-10 Thread Kevin DuBois
I've been able to trace the calls down into the kernel, and it does look like the kernel is flushing the cache at the appropriate time before sending the buffer back to the client. -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg-server in

[Ubuntu-x-swat] [Bug 1406725] Re: Severe graphical corruption (mostly horizontal streaks/lines) running software clients (including Xmir) on android

2015-11-06 Thread Kevin DuBois
** Changed in: mir Assignee: (unassigned) => Kevin DuBois (kdub) ** Changed in: mir Milestone: None => 0.18.0 ** Changed in: mir Status: Triaged => In Progress -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg-server in

[Ubuntu-x-swat] [Bug 1406725] Re: Severe graphical corruption (mostly horizontal streaks/lines) running software clients (including Xmir) on android

2015-11-06 Thread Kevin DuBois
re: Should we be concerned about this?... no, these comments are a bit stale -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg-server in Ubuntu. https://bugs.launchpad.net/bugs/1406725 Title: Severe graphical corruption (mostly horizontal

[Ubuntu-x-swat] [Bug 1406725] Re: Severe graphical corruption (mostly horizontal streaks/lines) running software clients (including Xmir) on android

2015-11-06 Thread kevin gunn
** Changed in: mir Importance: High => Critical ** Changed in: xorg-server (Ubuntu) Importance: High => Critical ** Also affects: canonical-pocket-desktop Importance: Undecided Status: New ** Changed in: canonical-pocket-desktop Assignee: (unassigned) => kevin gunn

[Ubuntu-x-swat] [Bug 1406725] Re: Severe graphical corruption (mostly horizontal streaks/lines) running software clients (including Xmir) on android

2015-11-06 Thread Kevin DuBois
The problem looks like a cpu cache problem. We call gralloc's unlock function, and digging through the gralloc code, it looks like the internal native buffer flag that should trigger a cache flush is behaving properly. Now seeing what I can find out in the kernel -- You received this bug

[Ubuntu-x-swat] [Bug 1406725] Re: Severe graphical corruption (mostly horizontal streaks/lines) running software clients (including Xmir) on android

2015-11-03 Thread Daniel van Vugt
In case anyone is thinking it, switching Xmir to glamor to work around this bug is not a good idea. We default to glamor in Xmir on desktop and it's still too buggy (work in progress). The full list of issues for Xmir+glamor is here: https://bugs.launchpad.net/ubuntu/+source/xorg-

[Ubuntu-x-swat] [Bug 1406725] Re: Severe graphical corruption (mostly horizontal streaks/lines) running software clients (including Xmir) on android

2015-10-28 Thread Daniel van Vugt
Note to self: Need to check that this isn't actually just an uninitialized alpha channel with RGBX (bug 1423462 and bug 1510386). -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg-server in Ubuntu. https://bugs.launchpad.net/bugs/1406725

[Ubuntu-x-swat] [Bug 1406725] Re: Severe graphical corruption (mostly horizontal streaks/lines) running software clients (including Xmir) on android

2015-10-20 Thread Daniel van Vugt
** Summary changed: - Severe graphical corruption running software clients (including Xmir) on android + Severe graphical corruption (mostly horizontal streaks/lines) running software clients (including Xmir) on android -- You received this bug notification because you are a member of