-
Notifications
You must be signed in to change notification settings - Fork 58
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
Attempt to minimize steam deck display manager restart risk #237
Attempt to minimize steam deck display manager restart risk #237
Conversation
Interesting, I experienced the bug this time when I was testing my install on the deck. |
I seem to be no longer able to reproduce it. |
src/planner/linux/steam_deck.rs
Outdated
@@ -188,7 +189,7 @@ impl Planner for SteamDeck { | |||
Type=oneshot\n\ | |||
RemainAfterExit=yes\n\ | |||
ExecStart=/usr/bin/systemctl daemon-reload\n\ | |||
ExecStart=/usr/bin/systemctl restart --no-block sockets.target timers.target multi-user.target\n\ | |||
ExecStart=/usr/bin/systemctl start --no-block sockets.target timers.target multi-user.target\n\ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the load bearing line of the fix, the above line is is more assurance than a fix.
So, changing from |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am curious why we don't directly start the services we've placed, but this is certainly an improvement.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, looks much better!
Description
This attempts to address #235 with the information at hand. My best suspicion is that this is the display manager restarting.
Checklist
cargo fmt
nix build
nix flake check
Validating with
install.determinate.systems
If a maintainer has added the
upload to s3
label to this PR, it will become available for installation viainstall.determinate.systems
: