[Bug 1258655] Re: Abort when blanking/unblanking screen; exception thrown from mir::graphics::android::HWCCommonDevice::mode(MirPowerMode)

2014-01-16 Thread Pat McGowan
** Changed in: powerd
   Status: Fix Committed = 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/1258655

Title:
  Abort when blanking/unblanking screen; exception thrown from
  mir::graphics::android::HWCCommonDevice::mode(MirPowerMode)

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1258655/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1258655] Re: Abort when blanking/unblanking screen; exception thrown from mir::graphics::android::HWCCommonDevice::mode(MirPowerMode)

2014-01-08 Thread Launchpad Bug Tracker
This bug was fixed in the package powerd -
0.13+14.04.20140108.1-0ubuntu1

---
powerd (0.13+14.04.20140108.1-0ubuntu1) trusty; urgency=low

  [ Ricardo Salveti de Araujo ]
  * Using pkg-config files from hybris, and depending on latest version
.

  [ Seth Forshee ]
  * Synchronously wait on the framebuffer state to change when
entering/exiting suspend with kernels using the earlysuspend
implementation to avoid races which can lead to attempting to use
the display device while it is suspended. (LP: #1258655)

  [ Ubuntu daily release ]
  * Automatic snapshot from revision 105
 -- Ubuntu daily release ps-jenk...@lists.canonical.com   Wed, 08 Jan 2014 
06:17:08 +

** Changed in: powerd (Ubuntu)
   Status: New = Fix Released

** Branch linked: lp:ubuntu/trusty-proposed/powerd

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1258655

Title:
  Abort when blanking/unblanking screen; exception thrown from
  mir::graphics::android::HWCCommonDevice::mode(MirPowerMode)

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1258655/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1258655] Re: Abort when blanking/unblanking screen; exception thrown from mir::graphics::android::HWCCommonDevice::mode(MirPowerMode)

2014-01-07 Thread Kevin DuBois
If I understand, we have a fix, so lets move with that.

We can always improve mir to be more robust, but the heart of this
problem was that mir/unity-mir was not given the guarantee that it needs
(the system on enough to start operations).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1258655

Title:
  Abort when blanking/unblanking screen; exception thrown from
  mir::graphics::android::HWCCommonDevice::mode(MirPowerMode)

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1258655/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1258655] Re: Abort when blanking/unblanking screen; exception thrown from mir::graphics::android::HWCCommonDevice::mode(MirPowerMode)

2014-01-07 Thread Ricardo Salveti
** Changed in: powerd
 Assignee: Kevin DuBois (kdub) = Seth Forshee (sforshee)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1258655

Title:
  Abort when blanking/unblanking screen; exception thrown from
  mir::graphics::android::HWCCommonDevice::mode(MirPowerMode)

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1258655/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1258655] Re: Abort when blanking/unblanking screen; exception thrown from mir::graphics::android::HWCCommonDevice::mode(MirPowerMode)

2014-01-07 Thread PS Jenkins bot
Fix committed into lp:powerd at revision None, scheduled for release in
powerd, milestone ubuntu-13.05

** Changed in: powerd
   Status: In Progress = Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1258655

Title:
  Abort when blanking/unblanking screen; exception thrown from
  mir::graphics::android::HWCCommonDevice::mode(MirPowerMode)

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1258655/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1258655] Re: Abort when blanking/unblanking screen; exception thrown from mir::graphics::android::HWCCommonDevice::mode(MirPowerMode)

2014-01-03 Thread Seth Forshee
I disagree. Mir shouldn't behave badly because the display driver is
behaving badly. And I don't think crashing really helps anyway. Won't
unity just be respawned and again try to use the display device without
doing anything to fix the unrecoverable state?

If the display driver still hangs after powerd is changed to synchronize
with early suspend / late resume, then we should try to fix the display
driver.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1258655

Title:
  Abort when blanking/unblanking screen; exception thrown from
  mir::graphics::android::HWCCommonDevice::mode(MirPowerMode)

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1258655/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1258655] Re: Abort when blanking/unblanking screen; exception thrown from mir::graphics::android::HWCCommonDevice::mode(MirPowerMode)

2014-01-03 Thread Kevin DuBois
** Branch linked: lp:~sforshee/powerd/fix-display-timing

** Changed in: mir
Milestone: 0.1.4 = None

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1258655

Title:
  Abort when blanking/unblanking screen; exception thrown from
  mir::graphics::android::HWCCommonDevice::mode(MirPowerMode)

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1258655/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 1258655] Re: Abort when blanking/unblanking screen; exception thrown from mir::graphics::android::HWCCommonDevice::mode(MirPowerMode)

2014-01-02 Thread Seth Forshee
On Fri, Dec 20, 2013 at 01:59:20AM -, Daniel van Vugt wrote:
 Forgive my silly question, but:
 Why can't we just be more fault-tolerant and avoid the offending throw from 
 Mir? Log a warning at most, but don't intentionally crash on it.

+1. However ...

 Would that result in an interaction with powerd rendering the system
 unusable? Or would it be sufficient to allow some recovery/retries?

On mako I fear that the driver has bugs that may still result in
unrecoverable problems. This is based on having found unity8 threads
stuck in uninterruptible sleep when in this state due to being blocked
on some mutex within the dispaly driver. We could try to fix this in the
driver, but we may encounter similar problems with other android
kernels, so I think we need to find some way to make powerd synchronize
wrt the kernel early suspend processing.

So I think we should do both: make Mir do something sane when the ioctl
returns an error, and add a workaround to powerd to avoid this race.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1258655

Title:
  Abort when blanking/unblanking screen; exception thrown from
  mir::graphics::android::HWCCommonDevice::mode(MirPowerMode)

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1258655/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1258655] Re: Abort when blanking/unblanking screen; exception thrown from mir::graphics::android::HWCCommonDevice::mode(MirPowerMode)

2014-01-02 Thread Kevin DuBois
With the way things are now, I'm pretty sure if we simply retried in mir
after experiencing an error, we would hang the driver. Once we get these
throws, the driver has essentially been put into an unrecoverable state.
It seems Seth's investigation aligned with my intuition about the
driver.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1258655

Title:
  Abort when blanking/unblanking screen; exception thrown from
  mir::graphics::android::HWCCommonDevice::mode(MirPowerMode)

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1258655/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1258655] Re: Abort when blanking/unblanking screen; exception thrown from mir::graphics::android::HWCCommonDevice::mode(MirPowerMode)

2013-12-19 Thread Seth Forshee
I've been poking at this a bit today, and I think it comes down to a
race between powerd and the kernel's earlysuspend code. Here's the
sequence of events I see in the logs for one case (there may also be
other sequences that are problematic).

1. The initial state is that the screen is on. The power button is pressed.
2. powerd receives the button press, turns off the display, and releases its 
internal active state request.
3. powerd determines that suspend is possible and writes mem to 
/sys/power/state. The kernel schedules the earlysuspend work on an internal 
workqueue and the write call returns back to powerd.
4. The kernel starts processing the earlysuspend work.
5. Before the kernel earlysuspend work is complete, powerd receives another 
button press.
6. powerd looks to see whether it's safe to turn on the screen. At this point 
earlysuspend hasn't completed to the point where it's signaling that the 
framebuffer is asleep, so powerd determines that it is safe to turn on the 
display.
7. Unity tries to turn on the display, but the display device is in some 
partially or fully suspended state so something goes wrong.
8. Early suspend finishes and the fb state is updated, making powerd aware that 
the framebuffer is asleep.
8. Somewhere in this time frame powerd will also writes on to 
/sys/power/state to disable autosuspend. The kernel queues late resume work, 
but if early suspend has started then it must complete before late reusme runs 
and brings the framebuffer back to the awake state.

I'm not sure yet what the solution is. We can't simply synchronize the
display state on wait_for_fb_* because it's at least theoretically
possible to write mem then on to /sys/power/state quickly enough
that early suspend never runs, and also because turning off the display
doesn't necessarily imply enabling early suspend. One possible solution
would be to make powerd's main thread block until the wait_for_fb_*
status changes after writing to /sys/power/state for the earlysuspend
implementation, but that would need to be done carefully to ensure that
it wouldn't block indefinitely if something went wrong.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1258655

Title:
  Abort when blanking/unblanking screen; exception thrown from
  mir::graphics::android::HWCCommonDevice::mode(MirPowerMode)

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1258655/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1258655] Re: Abort when blanking/unblanking screen; exception thrown from mir::graphics::android::HWCCommonDevice::mode(MirPowerMode)

2013-12-19 Thread Daniel van Vugt
Forgive my silly question, but:
Why can't we just be more fault-tolerant and avoid the offending throw from 
Mir? Log a warning at most, but don't intentionally crash on it.

Would that result in an interaction with powerd rendering the system
unusable? Or would it be sufficient to allow some recovery/retries?

** Changed in: mir
Milestone: None = 0.1.3

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1258655

Title:
  Abort when blanking/unblanking screen; exception thrown from
  mir::graphics::android::HWCCommonDevice::mode(MirPowerMode)

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1258655/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1258655] Re: Abort when blanking/unblanking screen; exception thrown from mir::graphics::android::HWCCommonDevice::mode(MirPowerMode)

2013-12-19 Thread Daniel van Vugt
** Changed in: mir
Milestone: 0.1.3 = 0.1.4

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1258655

Title:
  Abort when blanking/unblanking screen; exception thrown from
  mir::graphics::android::HWCCommonDevice::mode(MirPowerMode)

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1258655/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1258655] Re: Abort when blanking/unblanking screen; exception thrown from mir::graphics::android::HWCCommonDevice::mode(MirPowerMode)

2013-12-18 Thread Kevin DuBois
** Also affects: powerd
   Importance: Undecided
   Status: New

** Changed in: powerd
   Status: New = In Progress

** Changed in: powerd
 Assignee: (unassigned) = Kevin DuBois (kdub)

** Changed in: mir (Ubuntu)
   Status: Triaged = Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1258655

Title:
  Abort when blanking/unblanking screen; exception thrown from
  mir::graphics::android::HWCCommonDevice::mode(MirPowerMode)

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1258655/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1258655] Re: Abort when blanking/unblanking screen; exception thrown from mir::graphics::android::HWCCommonDevice::mode(MirPowerMode)

2013-12-18 Thread Kevin DuBois
I've been able to avert the problem on mako by patching powerd.
Currently cooking up a patch to propose to powerd that works in the
generic case. The root of the problem was that devices with early
suspend were turning mir on and off when they did not guarantee the
framebuffer was in a usable state. The fix takes the form of ensuring
thread safety around the display state in the different threads in
powerd's src/display.c

when mir was turned on before the FB was available, (or when mir was
turned off after the FB had been made unavailable) mir would fail with
an error.  my comment in #9 about mir/unity-mir being robustified
against double on calls does not need to be done now, as fixing the
locking also prevented ever being able to send 'double on' calls from
being sent

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1258655

Title:
  Abort when blanking/unblanking screen; exception thrown from
  mir::graphics::android::HWCCommonDevice::mode(MirPowerMode)

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1258655/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1258655] Re: Abort when blanking/unblanking screen; exception thrown from mir::graphics::android::HWCCommonDevice::mode(MirPowerMode)

2013-12-18 Thread Kevin DuBois
this problem would only affect devices that use 'earlysuspend'. Other
devices do not have a second thread messing with the display state
tracking, only earlysuspend devices would spawn the thread that was
causing problems.

** Changed in: mir
Milestone: 0.1.3 = None

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1258655

Title:
  Abort when blanking/unblanking screen; exception thrown from
  mir::graphics::android::HWCCommonDevice::mode(MirPowerMode)

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1258655/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1258655] Re: Abort when blanking/unblanking screen; exception thrown from mir::graphics::android::HWCCommonDevice::mode(MirPowerMode)

2013-12-18 Thread Kevin DuBois
** Branch linked: lp:~kdub/powerd/fix-1258655

** Changed in: mir
   Status: In Progress = Invalid

** Changed in: powerd
   Importance: Undecided = Critical

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1258655

Title:
  Abort when blanking/unblanking screen; exception thrown from
  mir::graphics::android::HWCCommonDevice::mode(MirPowerMode)

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1258655/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1258655] Re: Abort when blanking/unblanking screen; exception thrown from mir::graphics::android::HWCCommonDevice::mode(MirPowerMode)

2013-12-17 Thread Kevin DuBois
regardless of whether we throw or not on unblank, the problem at the
root of this bug is that mir and powerd are not synced up about the
power state of the system (clocks, suspend, fb available, etc).  This
problem sometimes manifests in failure in the blank/unblank request,
sometimes a hang waiting for frame posting, and sometimes failure in
hwc's set() function.

If i hold powerd-cli active (this should prevent suspending, but not
affect anything with the display requests), I can power button on/off
rapidly all day.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1258655

Title:
  Abort when blanking/unblanking screen; exception thrown from
  mir::graphics::android::HWCCommonDevice::mode(MirPowerMode)

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1258655/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1258655] Re: Abort when blanking/unblanking screen; exception thrown from mir::graphics::android::HWCCommonDevice::mode(MirPowerMode)

2013-12-17 Thread Kevin DuBois
i've identified some problems in powerd that cause double requests to be
called. currently working to eliminate those in that code base.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1258655

Title:
  Abort when blanking/unblanking screen; exception thrown from
  mir::graphics::android::HWCCommonDevice::mode(MirPowerMode)

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1258655/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1258655] Re: Abort when blanking/unblanking screen; exception thrown from mir::graphics::android::HWCCommonDevice::mode(MirPowerMode)

2013-12-16 Thread Kevin DuBois
mir needs to be robustified against the double on and double off
calls. Even when I account for this though, the system will still run
into problems.

I still have reason to suspect that when the dbus message to unity mir
to turn the display on is received, the system is still in the suspend
state. Still trying to verify that when the display on message is sent,
the system is guaranteed to be in the 'active' state before the message
is sent.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1258655

Title:
  Abort when blanking/unblanking screen; exception thrown from
  mir::graphics::android::HWCCommonDevice::mode(MirPowerMode)

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1258655/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1258655] Re: Abort when blanking/unblanking screen; exception thrown from mir::graphics::android::HWCCommonDevice::mode(MirPowerMode)

2013-12-16 Thread Daniel van Vugt
** Changed in: mir (Ubuntu)
   Status: In Progress = Triaged

** Changed in: mir (Ubuntu)
   Importance: Undecided = Critical

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1258655

Title:
  Abort when blanking/unblanking screen; exception thrown from
  mir::graphics::android::HWCCommonDevice::mode(MirPowerMode)

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1258655/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1258655] Re: Abort when blanking/unblanking screen; exception thrown from mir::graphics::android::HWCCommonDevice::mode(MirPowerMode)

2013-12-16 Thread Daniel van Vugt
There is only one possible exception thrown from the offending
mga::HWCCommonDevice::mode()

if (err)
{
std::string blanking_status_msg = Could not  +
((mode_request == mir_power_mode_off) ? std::string(blank) : 
std::string(unblank)) +  display;
BOOST_THROW_EXCEPTION(
boost::enable_error_info(
std::runtime_error(blanking_status_msg)) 
boost::errinfo_errno(-err));
}

Safe to say whatever the cause, failure to power off the screen should
not be treated as a fatal exception. Perhaps powering on should, but
even then we need to avoid the potential spurious errors of the screen
is already on.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1258655

Title:
  Abort when blanking/unblanking screen; exception thrown from
  mir::graphics::android::HWCCommonDevice::mode(MirPowerMode)

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1258655/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1258655] Re: Abort when blanking/unblanking screen; exception thrown from mir::graphics::android::HWCCommonDevice::mode(MirPowerMode)

2013-12-13 Thread Kevin DuBois
Gerry collected this helpful dbus log
http://pastebin.ubuntu.com/6567567/ (also attached) that shows we get an
on, on message from dbus.

the error shown:
terminate called after throwing an instance of 
'boost::exception_detail::clone_implboost::exception_detail::error_info_injectorstd::runtime_error
 '
  what():  could not activate surface with eglMakeCurrent

will happen if mc::Compositor::start() is called twice in succession.
Still trying to figure out if the on, on message from dbus is something
we should handle, or if something is getting confused somehow.

** Attachment added: dbus-log.txt
   
https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/1258655/+attachment/3928868/+files/dbus-log.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1258655

Title:
  Abort when blanking/unblanking screen; exception thrown from
  mir::graphics::android::HWCCommonDevice::mode(MirPowerMode)

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1258655/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1258655] Re: Abort when blanking/unblanking screen; exception thrown from mir::graphics::android::HWCCommonDevice::mode(MirPowerMode)

2013-12-13 Thread Kevin DuBois
I also did a mir-only test to make sure mir can perform a display on/off
in quick succession in a loop (which it can), as well as on/display some
frames/off in a loop (which it also can). So it doesn't look like the
drivers are breaking on us, just something between mir/unity-
mir/unity8/powerd is getting mixed up

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1258655

Title:
  Abort when blanking/unblanking screen; exception thrown from
  mir::graphics::android::HWCCommonDevice::mode(MirPowerMode)

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1258655/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1258655] Re: Abort when blanking/unblanking screen; exception thrown from mir::graphics::android::HWCCommonDevice::mode(MirPowerMode)

2013-12-12 Thread kevin gunn
** Changed in: mir
   Importance: High = Critical

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1258655

Title:
  Abort when blanking/unblanking screen; exception thrown from
  mir::graphics::android::HWCCommonDevice::mode(MirPowerMode)

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1258655/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1258655] Re: Abort when blanking/unblanking screen; exception thrown from mir::graphics::android::HWCCommonDevice::mode(MirPowerMode)

2013-12-12 Thread Kevin DuBois
From mir's perspective, i see start, stop, start, stop, ..., start,
start being called on the compositor.  The double start, start causes
an error in the compositor. (specifically, an egl context is current in
two threads, causing an error BAD_ACCESS in the second thread).

powerd-cli listen just reports the on/off/on/off pattern when the double
start happens from mir's perspective. Currently digging a bit into
unity-mir to see what's going on up there.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1258655

Title:
  Abort when blanking/unblanking screen; exception thrown from
  mir::graphics::android::HWCCommonDevice::mode(MirPowerMode)

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1258655/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1258655] Re: Abort when blanking/unblanking screen

2013-12-10 Thread Kevin DuBois
** Tags removed: regression

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1258655

Title:
  Abort when blanking/unblanking screen

To manage notifications about this bug go to:
https://bugs.launchpad.net/unity8/+bug/1258655/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1258655] Re: Abort when blanking/unblanking screen

2013-12-10 Thread Kevin DuBois
** Changed in: mir (Ubuntu)
   Status: Confirmed = In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1258655

Title:
  Abort when blanking/unblanking screen

To manage notifications about this bug go to:
https://bugs.launchpad.net/unity8/+bug/1258655/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1258655] Re: Abort when blanking/unblanking screen; exception thrown from mir::graphics::android::HWCCommonDevice::mode(MirPowerMode)

2013-12-10 Thread Daniel van Vugt
** Summary changed:

- Abort when blanking/unblanking screen
+ Abort when blanking/unblanking screen; exception thrown from 
mir::graphics::android::HWCCommonDevice::mode(MirPowerMode)

** Project changed: unity8 = mir

** Changed in: mir
 Assignee: (unassigned) = Kevin DuBois (kdub)

** Changed in: mir
   Status: Triaged = In Progress

** Changed in: unity8 (Ubuntu)
   Status: Confirmed = Invalid

** Changed in: mir
Milestone: None = 0.1.3

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1258655

Title:
  Abort when blanking/unblanking screen; exception thrown from
  mir::graphics::android::HWCCommonDevice::mode(MirPowerMode)

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1258655/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1258655] Re: Abort when blanking/unblanking screen

2013-12-09 Thread Ricardo Salveti
Not a regression but something happened with latest Unity8 that made it
way easier to be reproduced. Just used latest image for a few minutes
and was able to reproduce the crash a few times already.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1258655

Title:
  Abort when blanking/unblanking screen

To manage notifications about this bug go to:
https://bugs.launchpad.net/unity8/+bug/1258655/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1258655] Re: Abort when blanking/unblanking screen

2013-12-09 Thread kevin gunn
** Changed in: mir (Ubuntu)
 Assignee: (unassigned) = Kevin DuBois (kdub)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1258655

Title:
  Abort when blanking/unblanking screen

To manage notifications about this bug go to:
https://bugs.launchpad.net/unity8/+bug/1258655/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1258655] Re: Abort when blanking/unblanking screen

2013-12-07 Thread Michał Sawicz
This is not a regression, I've reported this in October (bug #1238287),
it just got lost in the slew of other raise() bugs, which LP
unfortunately marks duplicate over-eagerly - and then I've mistakenly
marked it Incomplete...

** Summary changed:

- [regression] Abort when blanking/unblanking screen
+ Abort when blanking/unblanking screen

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1258655

Title:
  Abort when blanking/unblanking screen

To manage notifications about this bug go to:
https://bugs.launchpad.net/unity8/+bug/1258655/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1258655] Re: Abort when blanking/unblanking screen

2013-12-06 Thread Ricardo Salveti
** Attachment added: Crash file.
   
https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/1258655/+attachment/3924517/+files/_usr_bin_unity8.32011.crash

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1258655

Title:
  Abort when blanking/unblanking screen

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mir/+bug/1258655/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1258655] Re: Abort when blanking/unblanking screen

2013-12-06 Thread Michał Sawicz
** Changed in: unity8 (Ubuntu)
   Status: New = Confirmed

** Also affects: unity8
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1258655

Title:
  Abort when blanking/unblanking screen

To manage notifications about this bug go to:
https://bugs.launchpad.net/unity8/+bug/1258655/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1258655] Re: Abort when blanking/unblanking screen

2013-12-06 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: mir (Ubuntu)
   Status: New = Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1258655

Title:
  Abort when blanking/unblanking screen

To manage notifications about this bug go to:
https://bugs.launchpad.net/unity8/+bug/1258655/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1258655] Re: Abort when blanking/unblanking screen

2013-12-06 Thread Michał Sawicz
** Changed in: unity8
   Status: New = Triaged

** Changed in: unity8
   Importance: Undecided = High

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1258655

Title:
  Abort when blanking/unblanking screen

To manage notifications about this bug go to:
https://bugs.launchpad.net/unity8/+bug/1258655/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1258655] Re: Abort when blanking/unblanking screen

2013-12-06 Thread Alan Pope ㋛
This happens on #51 on mako.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1258655

Title:
  Abort when blanking/unblanking screen

To manage notifications about this bug go to:
https://bugs.launchpad.net/unity8/+bug/1258655/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1258655] Re: Abort when blanking/unblanking screen

2013-12-06 Thread Ricardo Salveti
** Tags added: regression

** Tags added: r51

** Summary changed:

- Abort when blanking/unblanking screen
+ [regression] Abort when blanking/unblanking screen

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1258655

Title:
  [regression] Abort when blanking/unblanking screen

To manage notifications about this bug go to:
https://bugs.launchpad.net/unity8/+bug/1258655/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs