-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
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
GDM failing to start on boot: white screen, "Please contact a system administrator" #149539
Comments
Per |
Hmm, the only thing I see is “Session never registered, failing”, could you please also try |
Also, do you by chance know what commit of Nixpkgs the previous working derivation was? |
Yes: 09a54b1. I will try with |
Done.
|
For comparison, here are the same logs for a working boot (on 09a54b1), with no debug logging..: display-manager.service: https://pastebin.com/tAKuDJsy |
is suspicious but I can see it in the working log too. But I would still try early KMS per the suggestion in https://bbs.archlinux.org/viewtopic.php?id=262221 (I think the corresponding thing would be Also there is this issue, not sure if related #103746 |
Per https://github.com/NixOS/nixos-hardware/blob/4c9f07277bd4bc29a051ff2a0ca58c6403e3881a/common/gpu/amd/default.nix#L4 , nixos-hardware (which I use) sets Per
boot.initrd.kernelModules or boot.initrd.availableKernelModules is sufficient.
I tried the workaround in #103746 (comment) but this did not change the behaviour. I will try to:
|
I am seeing the exact same issue on my AMD notebook. We can cut down two bisect steps as I can report that with 6daa4a5 it was still working fine. |
I can actually reproduce on intel/nouveau system too. Also works for me on 6daa4a5. |
I can also reproduce in the following VM (built using { pkgs, config, ... }: {
environment.systemPackages = with pkgs; [
gdb
binutils # readelf
file
htop
less
];
services.gnome.core-utilities.enable = false;
environment.enableDebugInfo = true;
services.xserver = {
enable = true;
layout = "cz";
xkbVariant = "qwerty";
displayManager.gdm = {
enable = true;
debug = true;
};
desktopManager.gnome = {
enable = true;
debug = true;
};
};
services.openssh.enable = true;
console.useXkbConfig = true;
i18n = {
defaultLocale = "en_UK.UTF-8";
};
users.extraUsers.jtojnar = {
isNormalUser = true;
uid = 1000;
extraGroups = [ "wheel" "networkmanager" ];
password = "";
openssh.authorizedKeys.keys = [ "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDYbOlZydfRRCGCT08wdtPcpfSrgxMc6weDx3NcWrnMpVgxnMs3HozzkaS/hbcZUocn7XbCOyaxEd1O8Fuaw4JXpUBcMetpPXkQC+bZHQ3YsZZyzVgCXFPRF88QQj0nR7YVE1AeAifjk3TCODstTxit868V1639/TVIi5y5fC0/VbYG2Lt4AadNH67bRv8YiO3iTsHQoZPKD1nxA7yANHCuw38bGTHRhsxeVD+72ThbsYSZeA9dBrzACpEdnwyXclaoyIOnKdN224tu4+4ytgH/vH/uoUfL8SmzzIDvwZ4Ba2yHhZHs5iwsVjTvLe7jjE6I1u8qY7X8ofnanfNcsmz/ jtojnar@kaiser" ];
};
virtualisation.memorySize = 2048;
virtualisation.diskSize = 28048;
virtualisation.qemu.options = [ "-device intel-hda" "-device hda-duplex" ];
environment.etc."modprobe.d/floppy.blacklist.conf".text = ''
blacklist floppy
'';
} |
Shouldn't this be also caught by our VM test? EDIT: It isn't caught. I've bisected the entire chain and all of them passed :( |
As far as I can tell this issue was introduced with abfcb79 |
Yep, reverting the commit allows me to boot into my system again. |
Thanks. I can also confirm that, reverted for now. That the tests cannot reproduce it is weird. And also since
cc @ncfavier |
This issue has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/gnome-display-manager-oh-no-something-has-gone-wrong/16501/4 |
Hey peeps, I can see this was fixed but I still get the same error, what needs to be done to fix?
Here the diff with latest working configs:
|
This was fixed in master but nixos-unstable hasn't caught up yet (you can see here that it was last updated two days ago). |
The build has updated, but unfortunately the new one 581d2d6 also just missed out this fix, so you will have to wait for the next. |
Or alternatively override the input referencing the fix commit bcb4b71:
|
Or but thanks 👍 |
It seems like this is related to dconf: commenting out the Also, the successful logs contain the lines
while the failing logs contain
I don't know enough about the GNOME ecosystem to know what to do with this information. |
Interesting. Possibly it tries to use dconf without the daemon running? Would expect more info about that in the logs if that is the case, though. |
I've opened an issue upstream with all the information I have: https://gitlab.gnome.org/GNOME/gdm/-/issues/756 It turns out the crash doesn't happen if autologin is enabled without a delay, which is why the tests didn't catch it. Adding |
Catches failures like NixOS#149539 that don't happen with AutomaticLoginEnable. We still have a 0-delay autologin test in gnome-xorg, in case there's ever an issue that only arises with AutomaticLoginEnable.
Steps To Reproduce
My machine:
The machine's relevant config is:
Boot machine.
It fails. Only known workaround is to boot to an earlier generation.
Expected behavior
I expected the machine to boot GDM and be able to log in to GNOME.
Screenshots
This is what is displayed at boot, after the usual kernel/systemd logs:
Additional context
GDM debug logs: https://pastebin.com/sYvNhmHC
Notify maintainers
@hedning @jtojnar @dasj19 @maxeaubrey
Maintainer information:
The text was updated successfully, but these errors were encountered: