rofrol
November 15, 2021, 6:41pm
1
I have tried to enable nvidia like this:
services.xserver.displayManager.gdm.wayland = false;
services.xserver.videoDrivers = [ "nvidia" ];
and also like this:
services.xserver.displayManager.gdm.wayland = false;
hardware.nvidia.modesetting.enable = true;
services.xserver.videoDrivers = [ "nvidia" ];
and like this:
services.xserver.displayManager.gdm.wayland = true;
hardware.nvidia.modesetting.enable = true;
services.xserver.videoDrivers = [ "nvidia" ];
and like this:
services.xserver.displayManager.gdm.wayland = true;
services.xserver.displayManager.gdm.nvidiaWayland = true;
hardware.nvidia.modesetting.enable = true;
services.xserver.videoDrivers = [ "nvidia" ];
in logs I got this:
$ journalctl -x --boot=-1 -p err..alert
...
Nov 15 19:08:43 msi-laptop gnome-session-binary[1164]: Unrecoverable failure in required component org.gnome.Shell.desktop
2 Likes
rofrol
November 16, 2021, 8:18am
2
1 Like
bgibson
November 19, 2021, 11:04pm
3
I don’t know the solution, but have a possibly related edge case issue with Nvidia drivers causing the system to fail to start.
Haven’t solved it yet though, just swapped in some AMD GPUs instead and they work fine. Will keep an eye on this though, hopefully someone figures it out.
This problem is the same here.
This configuration reproduce the same X11 config and same drivers on others distros, and all working normally. Isn’t clear that the problem are over Nvidia Driver.
Even though I agree he’s not a good driver.
Another problem with GDM and Nvidia on NixOS:
Hi Guys
I’m using Nixos for 3 months now for development on my Razer Blade and am absolutely loving it 3>
But there’s one thing that’s pretty annoying since the beginning:
When I enable GDM and Gnome, and then log in in GDM, the internal display of the laptop does not get detected. I need to connect an external monitor over HDMI to get an image. But even then, I cannot switch to the internal screen using the gnome settings or xrandr as it is not detected. (it’s not in the list)
But the funny…