2014-08-07 08:30:10 |
Daniel van Vugt |
description |
Nexus 4: Mir server crashes on resume ("error during hwc prepare()")
Test case:
1. mir_demo_server_shell
2. mir_demo_client_egltriangle
3. Press the power button to sleep
4. Press the power button again to wake up
Expected: Rendering continues on screen after wakeup
Observed:
ERROR: /home/dan/bzr/mir/dev/src/platform/graphics/android/real_hwc_wrapper.cpp(60): Throw in function virtual void mir::graphics::android::RealHwcWrapper::set(hwc_display_contents_1_t&) const
Dynamic exception type: N5boost16exception_detail10clone_implINS0_19error_info_injectorISt13runtime_errorEEEE
std::exception::what: error during hwc prepare(). rc = ffffffff |
Nexus 4: Mir server crashes on resume ("error during hwc prepare()")
Test case:
1. mir_demo_server_shell
2. mir_demo_client_egltriangle
3. Press the power button to sleep
4. Press the power button again to wake up
Expected: Rendering continues on screen after wakeup
Observed:
ERROR: /home/dan/bzr/mir/dev/src/platform/graphics/android/real_hwc_wrapper.cpp(60): Throw in function virtual void mir::graphics::android::RealHwcWrapper::set(hwc_display_contents_1_t&) const
Dynamic exception type: N5boost16exception_detail10clone_implINS0_19error_info_injectorISt13runtime_errorEEEE
std::exception::what: error during hwc prepare(). rc = ffffffff
Update: I just found this is happening because unity-system-compositor is still running. If I freeze USC (kill -STOP) then the problem goes away. |
|