-
Notifications
You must be signed in to change notification settings - Fork 34
Fixes to weston startup #156
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
base: master
Are you sure you want to change the base?
Conversation
|
FYI @AdamWill @nirik: This pull request should also resolve RH#2358688. |
|
So I've tried the fix by installing a Rawhide VM & installing First I tried to run the Initial Setup GUI without the changes - set Then I edited the But unfortunately the fix does not appear to be complete - although the GUI does show up, when you press the It is possible to switch to a different TTY, but the one in which Initial Setup was running is stuck. Journal dump from this happening: |
Was there supposed to be a login prompt? initial-setup uses tty7, but I think normally getty is started only on tty1-tty6. |
|
after initial-setup runs, either a login prompt or a logged-in session must be presented next. this is in the release criteria, and it's how it has always worked previously. |
|
Lightdm (and probably others too) will switch to appropriate VT on its own. That isn't the case for the text console. I guess I can add chvt back to tty1 (or saved |
|
It should indeed switch back to what it started with before. So basically capture the existing vt, switch, then switch back. |
|
This version should (hopefully) do that now. |
|
|
|
Needs to be added for this subpackage block: https://github.com/rhinstaller/initial-setup/blob/master/initial-setup.spec#L93-L111 |
|
CI is unhappy, not sure why: |
... and restore original VT before exiting. libseat >= 0.9.0 doesn't do that anymore, and it's necessary to get access to devices. More details at https://lists.sr.ht/~kennylevinsen/seatd-devel/%3CZy_-FRQnBTeNPXVj@mail-itl%3E QubesOS/qubes-issues#9568
Normally weston uses card0 only. In dual-GPU setup, it may not be the one with monitor connected, and when it doesn't find any connector monitor, it fails to startup. Look also at outputs connected to other cards too. There doesn't seems to be any option to check all connected devices, so enumerate them via sysfs manually.
|
Any updates ? I assume its still broken without the fix. :P |
|
Let me know if I can help, I think I addressed all earlier comments. CI looks to be broken, but I don't think I can do anything about it... |
OK, will check on ~Monday. :) |
|
Can someone please look at this? We should get this fixed and released to F42 and Rawhide. |
|
I've been tinkering with some Fedora variants that could make use of this. |


This PR fixes two aspect of weston startup:
See individual commit messages for details