-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash on wake when outputs have the same geometry #3238
Comments
OK, so here's the failure mode:
|
So, it looks like the necessary condition is for both outputs to be sharing a frame buffer. (On the same card and of the same geometry?) And, to confirm, with |
Further clarification: the display configuration was "static" but placing both outputs with the same geometry |
A bit more information: the two outputs are (correctly) in a group, and the first is displayed correctly. It is when a page flip is requested for the second output that a problem is detected. |
...and that is because, after the suspend, both outputs have the same Before the suspend they are:
After the suspend:
I.e. the first output has acquired the second's |
And for those that wondered: 2.15.0 also fails the same way. (So it isn't a side effect of the platform changes) |
The initially:
After wake:
|
Oh! Is this a race? The On the other hand, at ¹: Indirectly - the constructor calls |
Possibly the answer is that we should remove all the places where we |
Interesting thought, but don't think so: the |
This is very close to describing the failure move. I've hacked |
Oh, yeah. On a deeper look, I forgot that we still had more than one output per |
## Release Notes mir (2.16.4) UNRELEASED; urgency=medium * Bugfix release: - Ignoring zero length gamma curves for KMS outputs (Fixes: #3238) - Add hardware cursor support (Fixes: #3198) - Screenshots now respect clipping areas and rotated outputs (Fixes: #3236) (Fixes: #3259) - Fixed custom attributes propagation on outputs (Fixes: canonical/ubuntu-frame#172) - Handle the Ubuntu 64-bit time_t apocalypse (Fixes: #3285)
On my X1C1 laptop, with external screen attached (which, by chance, has the same geometry)
Expect: desktop session wakes
Actual: Momentary display of desktop followed by return to greeter
I do know that I've not seen this crash in many other scenarios
The text was updated successfully, but these errors were encountered: