-
Notifications
You must be signed in to change notification settings - Fork 106
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
VT switching is broken #373
Comments
Actually, using Mir 0.28 from the Artful archive I still see this. I don't think this can be simply a Mir issue, we'd have seen it long ago. |
I can repro on 18.04 and Mir 0.31.1 Watching logs as I VT switch: https://pastebin.ubuntu.com/p/P9gCGnZPRN/ |
Fun fact: If you go [normal desktop -> Miral Desktop -> normal desktop -> another VT -> Miral Desktop] there is no problem. It doesn't if you're logged in on "another VT" or not. |
@RAOF I guess you are the best person to investigate this? |
Yup! Sign me up for some two-machine debugging sessions next week!
…-------- Original Message --------
On 18 May 2018, 18:14, Alan Griffiths wrote:
***@***.***(https://github.com/RAOF) I guess you are the best person to investigate this?
—
You are receiving this because you were mentioned.
Reply to this email directly, [view it on GitHub](#373 (comment)), or [mute the thread](https://github.com/notifications/unsubscribe-auth/AAxF82EKs5Ezz6FsRjOC_9Net0eszHBKks5tzoLngaJpZM4UCyIy).
|
Harumph. Conveniently, this is a race somewhere in VT handling; if gdb stops the server upon receiving the Presumably this means that we're trying to use something before it's been fully released by the thing we're switching from. This might actually be a bug in Xorg or logind; the switchee is meant to have released all resources from their VT switch signal already… |
Oh, huh. So, the problem here is that our drmSetMaster() call is falling. Additional problems:
|
Yes, this seems to be a race. I hacked mgm::Display::resume() with a |
On Bionic and Artful using ppa:mir-team/dev, or ppa:mir-team/release
Expect: switch back to VT4
Actual: nothing, and now input doesn't work at all
The text was updated successfully, but these errors were encountered: