I’m trying to enable the official nvidia driver, however after setting services.xserver.videoDrivers = [ "nvidia" ], nixos is stuck on boot. Enabling optimus I can boot to display-manager but after login I only get a black screen.
I’m using gnome3 desktop with gdm and wayland is disabled. The kernel version is 5.3.5.
Too little information but the best bet for hybrid graphics usually is disable the nvidia gpu first and using the integrated then debugging the configuration for the nvidia gpu.
video: not reliable, i’ve not figured out a complete solution here. And i’m using sway, so there is even less nvidia support. I placed some of my config and notes here: https://github.com/NixOS/nixos-hardware/pull/114 I’m using videoDrivers = ["intel" "nouveau"]; but i can’t get bumblebee or optirun to work right. Some collaboration on this would be great.
I don’t know about Wayland but it seems bumblebee works fine under X. I checked through journalctl but didn’t find anything suspicious to me. I’ve never dealt with nvidia cards before, is there any document that can guide me to “debug” the configuration?
P.S. Does XPS 7590 and Inspiron 7590 share similar model?
Is this really the offloading config? According to the nvidia manual[1], this looks more like sync mode[2] where the nvidia card is used all the time and accordingly drains your battery.
Is this really what you want?
If you’d like power management (turning off the nvidia gpu), which channel are you using?