Closed vs49688 closed 3 weeks ago
I'm having similar issues on a Dell XPS 9510, but without any intermittency (it just always fails to start). Next time, I'll see whether systemctl restart display-manager
(as root?) is a workaround. The last good nixpkgs commit I have is 5181d5945ed (15th April), and it has been bad since I updated to d89d7af1ba2 (12th May), including 48037fd90426e44e4bf03e6479e88a11453b9b66 (21st May).
The display manager on my laptop (with the NVIDIA driver) fails to start either. sudo systemctl restart display-manager
doesn't work.
It happens after the nixos-21.11 update as well as nixos-22.05
$ sudo nix-info -m
- system: `"x86_64-linux"`
- host os: `Linux 5.10.111, NixOS, 21.11 (Porcupine)`
- multi-user?: `yes`
- sandbox: `yes`
- version: `nix-env (Nix) 2.5.0pre20211206_d1aaa7e`
- nixpkgs: `/nix/store/1awdrhda1fkpkfb2kvj22jisw9qw1k8p-source`
$ nix-info -m
- system: `"x86_64-linux"`
- host os: `Linux 5.10.111, NixOS, 21.11 (Porcupine)`
- multi-user?: `yes`
- sandbox: `yes`
- version: `nix-env (Nix) 2.5.0pre20211206_d1aaa7e`
- nixpkgs: `/nix/store/3g25cg20m43hvsy17d7nz0jxwk79a77w-source`
What's in the journal?
See linked PR
Describe the bug
Sometimes
display-manager
fails to start at boot and drops to a tty. Asystemctl restart display-manager
fixes it, suggesting a race condition between initialisation of the X server and the graphics devices.Steps To Reproduce
Steps to reproduce the behavior:
Expected behavior
display-manager
(SDDM in my case) to start at boot.Additional context
My system is a Dell XPS 9510, the graphics devices are:
The relevant lines from my configuration:
Logs
Unsuccessful start: dmbad.txt
Successful start: dmgood.txt
Notify maintainers
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result."x86_64-linux"
Linux 5.16.20, NixOS, 22.05 (Quokka), 22.05.20220426.e10da1c
yes
yes
nix-env (Nix) 2.8.0
"nixos"
/nix/var/nix/profiles/per-user/root/channels/nixos