Repository navigation
Fix the slow reboot issue on A733 - #74
Closed
wangyongsen11 wants to merge 1 commit into
Closed
wangyongsen11 wants to merge 1 commit into
wangyongsen11 wants to merge 1 commit into
Conversation
Signal plasmashell before SDDM tears down X11, then stop the user service through systemd to prevent a restart
and wait for a clean exit.
Signed-off-by: Wang Yongsen <wangyongsen@radxa.com>
Contributor
|
No linked issues found. Please add the corresponding issues in the pull request description. |
| # Start Plasma's graceful shutdown immediately, before session teardown can | ||
| # terminate the X server. The user manager stop below prevents a restart and | ||
| # waits for the service to finish. | ||
| for proc_comm in /proc/[0-9]*/comm; do |
Contributor
Author
There was a problem hiding this comment.
直接pkill不就好了……
直接杀掉可能会有其他会话再次启动进程
Contributor
Author
原有关机流程没有保证 plasmashell 在 X Server 之前收到停止请求 |
Member
|
systemd关机应该是并行关闭服务的,为什么plasmashell需要在x server之前关闭?并且就算在之后关闭也应该关得掉才对 |
Contributor
Author
是的,理论上本身可以,但是实际现象是X Server 先退出,plasmashell的X11连接突然断开,Qt 随即调用 exit(1) 进入异常退出路径,绕过了plasmashell正常的app.quit() |
RadxaYuntian
requested changes
Sep 17, 2026
RadxaYuntian
left a comment
Member
There was a problem hiding this comment.
这个要移动到allwinner-profiles的task-a733-xorg里面
Member
|
Replaced by radxa-pkg/allwinner-profiles#29 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Signal plasmashell before SDDM tears down X11, then stop the user service through systemd to prevent a restart
and wait for a clean exit.