-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
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
Xorg crashes at startup, starting graphical session impossible #352328
Comments
Please Are you mixing nixpkgs revisions? |
I did that
I'm pinning nixpgks the oldschool way: pkgs.mkShell {
nixkpkgsUrl = "https://github.com/NixOS/nixpkgs/archive/27e30d177e57d912d614c88c622dcfdb2e6e6515.tar.gz";
shellHook = ''
rebuild () {
echo Copying config from ~/.cfg
sudo cp -rf ${config} ${extensions} /etc/nixos
sudo nixos-rebuild -I "nixpkgs=${nixkpkgsUrl}" $@
}
'';
} |
So, the problem does go away when I comment out Examing the coredump log led me to this Archlinux Subreddit thread: Xorg segfault with xinit : r/archlinux. I have Intel HD Graphics 4000, which according to this answer should be supported by the crocus driver. My question is: It seems that somehow the option I tried adding it in |
That is redundant because mesa is in the global graphics driver packages path by default. Doing this shouldn't break anything which is why I suspected you might be mixing nixpkgs revisions because adding a different version of Mesa here would indeed break things. What actually must have helped for that person in the other thread was not running blender from a nix-shell that likely used a different revision to their mesa. I'll state again that mixing Nixpkgs revisions is not supported and will likely not work, especially not for graphics-related things. It's like doing a partial upgrade in Arch terms.
It shouldn't. The default cc @K900 |
@cxandru I had the same issue; I fixed it by swapping from
(although I guess it might have been using crocus to begin with) |
This fixes xorg crashing on startup. See NixOS/nixpkgs#352328
That sounds like a solution to me. modesetting is the default btw. |
This issue has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/upgrade-to-nixos-24-11-display-manger-fails-to-start/57450/4 |
Describe the bug
Nixos fails to start Xorg (at commit 27e30d1, so
unstable
on October 1. Why am I not using the most recent one, you may ask? Well, because there I encounter #349816)).It either stays stuck at the systemd message "Starting Displaymanager", or on "Process Core Dump (In both cases there is a core dump).
coredumpctl
reveals:1447 0 0 SIGABRT inaccessible /nix/store/x9zy8n82bdi9aapgy6p3hiqvyv5iw6fa-xorg-server-21.1.13/bin/Xorg
The contents of
/var/log/X.0.log
are:Expected behavior
Xorg doesn't segfault on startup
Additional context
This is my current xserver-related setup, though I've also tried it with commenting it all out and it doesn't make a difference:
I have Intel integrated graphics: (
hwinfo
output is: Intel 3rd Gen Core processor Graphics Controller)Metadata
(this is incomplete as I writing this issue from the rolled-back version of the OS, but I already mentioned the exact commit above)
"x86_64-linux"
yes
yes
The text was updated successfully, but these errors were encountered: