You are not logged in.
I'm having a problem on a 2015 macbook where sddm won't start correctly.
The service starts OK and shows as running but it hangs on the
I do not believe it's an entropy issue which is what comes up for this problem normally.
1. Without rngd I do get the entropy issue and pressing keys makes SDDM start correctly
2. With rngd it still hangs on /dev/sda7 clean..... but pressing keys does nothing.
If I switch TTY and restart the sddm service it works fine. It seems to be a timeout issue, it's as if sddm is starting too early and restarting it later works. Which is also why without rngd it runs after pressing keys as it takes longer for the service to start.
Here's the output of systemctl status sddm:
● sddm.service - Simple Desktop Display Manager
Loaded: loaded (/usr/lib/systemd/system/sddm.service; enabled; vendor preset: disabled)
Active: active (running) since Mon 2019-09-23 19:57:01 BST; 1min 49s ago
Docs: man:sddm(1)
man:sddm.conf(5)
Main PID: 564 (sddm)
Tasks: 2
Memory: 12.8M
CGroup: /system.slice/sddm.service
└─564 /usr/bin/sddm
Sep 23 19:57:01 laptop systemd[1]: Started Simple Desktop Display Manager.
Sep 23 19:57:01 laptop sddm[564]: Initializing...
Sep 23 19:57:01 laptop sddm[564]: Starting...
Sep 23 19:57:01 laptop sddm[564]: Logind interface found
and here's the output of journalctl -b 0 | grep sddm
Sep 23 19:57:01 laptop audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=sddm comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Sep 23 19:57:01 laptop sddm[564]: Initializing...
Sep 23 19:57:01 laptop sddm[564]: Starting...
Sep 23 19:57:01 laptop sddm[564]: Logind interface found
I've left it for 10 minutes and pressed hundreds of keys, nothing happens. The only way to get SDDM to start is to switch TTY and restart the service, at which point it works perfectly.
Last edited by Tom B (2019-09-25 16:03:51)
Offline
Post a xorg log, potentially the issue with reaching graphical before the session/hardware has given you permission to access the video card. Enabling early KMS might help in this situation.
Offline
I do not believe it's an entropy issue
Don't believe, check the facts :-)
Does your hardware supports rngd or not ? Check the rngd logs. If your hardware doesn't support rngd try haveged.
Offline
I've found the cause of the issue, SDDM was being loaded before the gpu driver. As V1del suggested, adding radeon to MODULES in mkinitcpio.conf fixed it, it forces the GPU driver to load before X and everything works as intended.
Last edited by Tom B (2019-09-23 20:15:12)
Offline
I've found the cause of the issue, SDDM was being loaded before the gpu driver. As V1del suggested, adding radeon to MODULES in mkinitcpio.conf fixed it, it forces the GPU driver to load before X and everything works as intended.
For me, I've downgraded systemd and it works again.
Your solution is a good workaround too.
Do you use xf86-video-amdgpu or an ather package driver?
Now it would be nice to report the issue to the relevant project but which :
systemd, sddm, xf86-video-amdgpu, arch package maintainers or another?
Offline
update systemd, fixed.
Offline
I've found the cause of the issue, SDDM was being loaded before the gpu driver. As V1del suggested, adding radeon to MODULES in mkinitcpio.conf fixed it, it forces the GPU driver to load before X and everything works as intended.
Please remember to mark your thread as solved by editing the first post and amending the topic title.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Tom B wrote:I've found the cause of the issue, SDDM was being loaded before the gpu driver. As V1del suggested, adding radeon to MODULES in mkinitcpio.conf fixed it, it forces the GPU driver to load before X and everything works as intended.
For me, I've downgraded systemd and it works again.
Your solution is a good workaround too.Do you use xf86-video-amdgpu or an ather package driver?
Now it would be nice to report the issue to the relevant project but which :
systemd, sddm, xf86-video-amdgpu, arch package maintainers or another?
I was using the older radeon driver rather than amdgpu as last time I tried amdgpu (Admittedly, over a year ago) it didn't work for the GPU in the Macbook. I just tested it and it now works, but also requires adding to mkinitcpio, as it happens with both radeon and amdgpu, It's likely not a video driver issue.
Offline