Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
sddm freezes on login while using wrong VT
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
dwardo
n00b
n00b


Joined: 10 Nov 2004
Posts: 55
Location: France

PostPosted: Tue Mar 05, 2024 7:30 pm    Post subject: sddm freezes on login while using wrong VT Reply with quote

Hello,

I'm runing
Code:
Linux c2d 6.7.8-gentoo-x86_64 #1 SMP PREEMPT_DYNAMIC Sun Mar  3 22:48:59 CET 2024 x86_64 AMD Ryzen 7 3700X 8-Core Processor AuthenticAMD GNU/Linux


Graphics card is
Code:
2d:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] (rev ef)

with kernel config
Code:
CONFIG_DRM=y
CONFIG_DRM_AMDGPU=m
CONFIG_DRM_AMDGPU_SI=y
CONFIG_DRM_AMDGPU_CIK=y
CONFIG_DRM_AMDGPU_USERPTR=y
CONFIG_DRM_AMD_ACP=y
CONFIG_DRM_AMD_DC=y
CONFIG_DRM_AMD_DC_FP=y
CONFIG_DRM_AMD_DC_SI=y
CONFIG_DRM_AMD_SECURE_DISPLAY=y



profile is 17.1 ~amd64 and I'm using X11 and kde using sddm via display manager config:
Code:
CHECKVT=7
DISPLAYMANAGER="sddm"


Lately my sddm has been intermittently acting weirdly, as in : I enter login and password and hit enter and evrything gets greyed out but nothing else happens...

looking at the logs I see that when that happens sddm tried to start plasma on VT 2 !!!

Code:
[23:29:44.428] (WW) DAEMON: Signal received: SIGTERM
[23:29:44.432] (WW) HELPER: Signal received: SIGTERM
[23:29:44.435] (II) HELPER: [PAM] Closing session
[23:29:44.439] (II) HELPER: [PAM] Ended.
[23:29:44.440] (WW) DAEMON: Auth: sddm-helper exited with 255
[23:29:44.440] (II) DAEMON: Socket server stopping...
[23:29:44.441] (II) DAEMON: Socket server stopped.
[23:29:44.441] (II) DAEMON: Display server stopping...
[23:29:44.868] (II) DAEMON: Display server stopped.
[23:29:44.868] (II) DAEMON: Running display stop script  ("/usr/share/sddm/scripts/Xstop")
[23:32:55.563] (II) DAEMON: Initializing...
[23:32:55.567] (II) DAEMON: Starting...
[23:32:55.567] (II) DAEMON: Logind interface found
[23:32:55.567] (II) DAEMON: Adding new display...
[23:32:55.568] (II) DAEMON: Loaded empty theme configuration
[23:32:55.569] (II) DAEMON: Xauthority path: "/run/sddm/xauth_VShpEU"
[23:32:55.569] (II) DAEMON: Using VT 2
[23:32:55.569] (II) DAEMON: Display server starting...
[23:32:55.569] (II) DAEMON: Writing cookie to "/run/sddm/xauth_VShpEU"
[23:32:55.569] (II) DAEMON: Running: /usr/bin/X -nolisten tcp -background none -seat seat0 vt2 -auth /run/sddm/xauth_VShpEU -noreset -displayfd 16
[23:32:56.300] (II) DAEMON: Setting default cursor
[23:32:56.305] (II) DAEMON: Running display setup script  "/usr/share/sddm/scripts/Xsetup"
[23:32:56.307] (II) DAEMON: Display server started.
[23:32:56.307] (II) DAEMON: Socket server starting...
[23:32:56.308] (II) DAEMON: Socket server started.
[23:32:56.308] (II) DAEMON: Loading theme configuration from "/usr/share/sddm/themes/breeze/theme.conf"
[23:32:56.309] (II) DAEMON: Greeter starting...
[23:32:56.316] (II) HELPER: [PAM] Starting...
[23:32:56.316] (II) HELPER: [PAM] Authenticating...
[23:32:56.316] (II) HELPER: [PAM] returning.
[23:32:56.331] (II) HELPER: Writing cookie to "/tmp/xauth_JEUurY"
[23:32:56.332] (II) HELPER: Starting X11 session: "" "/usr/bin/sddm-greeter --socket /tmp/sddm-:0-IYbDBF --theme /usr/share/sddm/themes/breeze"
[23:32:56.333] (II) DAEMON: Greeter session started successfully
[23:32:56.394] (II) DAEMON: Message received from greeter: Connect
[00:08:53.995] (II) DAEMON: Message received from greeter: Login
[00:08:53.995] (II) DAEMON: Reading from "/usr/share/xsessions/plasma.desktop"
[00:08:53.996] (II) DAEMON: Session "/usr/share/xsessions/plasma.desktop" selected, command: "/usr/bin/startplasma-x11" for VT 2



Left it that way overnight to see if something happens after a while... but no...

So this morning I
Code:
sudo rc-service display-manager restart


and sddm behaved properly using VT 7 and I was able to log in

Code:
[07:33:47.751] (WW) DAEMON: Signal received: SIGTERM
[07:33:47.751] (II) DAEMON: Greeter stopping...
[07:33:47.751] (WW) HELPER: Signal received: SIGTERM
[07:33:52.756] (WW) HELPER: Signal received: SIGTERM
[07:33:52.756] (WW) HELPER: [PAM] Asked to close the session but it wasn't previously open
[07:33:52.757] (WW) DAEMON: Auth: sddm-helper exited with 255
[07:33:52.757] (II) DAEMON: Socket server stopping...
[07:33:52.757] (II) DAEMON: Socket server stopped.
[07:33:52.757] (II) DAEMON: Display server stopping...
[07:33:52.769] (II) DAEMON: Display server stopped.
[07:33:52.769] (II) DAEMON: Running display stop script  ("/usr/share/sddm/scripts/Xstop")
[07:33:52.771] (II) DAEMON: Greeter stopping...
[07:33:52.771] (WW) DAEMON: Error from greeter session: "Process crashed"
[07:33:52.771] (WW) DAEMON: Auth: sddm-helper (--socket /tmp/sddm-auth-ae7369d2-4819-4eaa-9de6-9e76fa9b1ed3 --id 2 --start /usr/bin/sddm-greeter --socket /tmp/sddm-:0-IYbDBF --theme /usr/share/sddm/themes/breeze --user sddm --greeter) crashed (exit code 1)
[07:33:52.771] (WW) DAEMON: Error from greeter session: "Process crashed"
[07:33:52.771] (WW) DAEMON: Auth: sddm-helper exited with 9
[07:33:52.771] (II) DAEMON: Greeter stopped. SDDM::Auth::HelperExitStatus(9)
[07:33:52.945] (II) DAEMON: Initializing...
[07:33:52.948] (II) DAEMON: Starting...
[07:33:52.948] (II) DAEMON: Logind interface found
[07:33:52.948] (II) DAEMON: Adding new display...
[07:33:52.948] (II) DAEMON: Loaded empty theme configuration
[07:33:52.949] (II) DAEMON: Xauthority path: "/run/sddm/xauth_mzrnjI"
[07:33:52.949] (II) DAEMON: Using VT 7
[07:33:52.949] (II) DAEMON: Display server starting...
[07:33:52.949] (II) DAEMON: Writing cookie to "/run/sddm/xauth_mzrnjI"
[07:33:52.949] (II) DAEMON: Running: /usr/bin/X -nolisten tcp -background none -seat seat0 vt7 -auth /run/sddm/xauth_mzrnjI -noreset -displayfd 16
[07:33:53.701] (II) DAEMON: Setting default cursor
[07:33:53.705] (II) DAEMON: Running display setup script  "/usr/share/sddm/scripts/Xsetup"
[07:33:53.707] (II) DAEMON: Display server started.
[07:33:53.707] (II) DAEMON: Socket server starting...
[07:33:53.707] (II) DAEMON: Socket server started.
[07:33:53.707] (II) DAEMON: Loading theme configuration from "/usr/share/sddm/themes/breeze/theme.conf"
[07:33:53.707] (II) DAEMON: Greeter starting...
[07:33:53.713] (II) HELPER: [PAM] Starting...
[07:33:53.713] (II) HELPER: [PAM] Authenticating...
[07:33:53.713] (II) HELPER: [PAM] returning.
[07:33:53.742] (II) HELPER: Writing cookie to "/tmp/xauth_XBRkux"
[07:33:53.742] (II) HELPER: Starting X11 session: "" "/usr/bin/sddm-greeter --socket /tmp/sddm-:0-dTaKXm --theme /usr/share/sddm/themes/breeze"
[07:33:53.743] (II) DAEMON: Greeter session started successfully
[07:33:53.763] (II) DAEMON: Message received from greeter: Connect
[07:33:59.847] (II) DAEMON: Message received from greeter: Login
[07:33:59.847] (II) DAEMON: Reading from "/usr/share/xsessions/plasma.desktop"
[07:33:59.848] (II) DAEMON: Session "/usr/share/xsessions/plasma.desktop" selected, command: "/usr/bin/startplasma-x11" for VT 7
[07:33:59.862] (II) HELPER: [PAM] Starting...
[07:33:59.862] (II) HELPER: [PAM] Authenticating...
[07:33:59.862] (II) HELPER: [PAM] Preparing to converse...
[07:33:59.862] (II) HELPER: [PAM] Conversation with 1 messages
[07:33:59.866] (II) HELPER: [PAM] returning.
[07:33:59.866] (II) DAEMON: Authentication for user  "dwardo"  successful
[07:33:59.906] (II) HELPER: [PAM] Closing session
[07:33:59.907] (II) HELPER: [PAM] Ended.
[07:33:59.908] (II) DAEMON: Auth: sddm-helper exited successfully
[07:33:59.908] (II) DAEMON: Greeter stopped. SDDM::Auth::HELPER_SUCCESS
[07:33:59.955] (II) HELPER: Writing cookie to "/tmp/xauth_xYvisP"
[07:33:59.955] (II) HELPER: Starting X11 session: "" "/usr/share/sddm/scripts/Xsession \"/usr/bin/startplasma-x11\""
[07:33:59.957] (II) DAEMON: Session started true


extra information: I use dracut initramfs with plymouth


If anyone has suggestions I'm all ears.
Back to top
View user's profile Send private message
dwardo
n00b
n00b


Joined: 10 Nov 2004
Posts: 55
Location: France

PostPosted: Sun Mar 17, 2024 3:21 pm    Post subject: Reply with quote

Well it seems "wrong VT" is due to the fact sddm since 0.20 https://forums.gentoo.org/viewtopic-t-1164993-start-0-postdays-0-postorder-asc-highlight-.html sddm has dropped using a minimum VT number of 7 https://github.com/sddm/sddm/commit/f0b6dec66a6fc8cc6e21da57f81190843b483f76 and instead uses the first available tty (but not tty1)


Still no lead on the freeze though...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum