Closed JeffLabonte closed 4 years ago
This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/nvidia-offload-mode-no-intel-gpu-running/6298/1
You are using unstable consistently, not only importing the unstable nvidia module into a stable system (like me)?
Then try to leave out the intel driver (-> services.xserver.videoDrivers = [ "nvidia" ]
).
If this doesn't work, please post your xorg.conf
. I think, the easiest way to find it is to set services.xserver.exportConfiguration = true
. This links it to /etc/X11/xorg.conf
.
Yes, I am running completely on unstable.
The weird thing is that nvidia offload seems to be working. It seems that my intel driver aren't working at all.
I will change the title
Correct me if I'm wrong, but as far as I know, this is the expected behavior when using NVIDIA offload. NVIDIA is never shut down, it only enters a state of lower power consumption, only new GPUs are effectively shut down, and unless NVIDIA environment variables are invoked, processing is running at Intel. For reference: https://forum.manjaro.org/t/nvidia-offloading-not-powering-down-gpu/116633/3 .
If you want to use only Intel or NVIDIA you will need something like optimus-manager.
Describe the bug The Nvidia remains ON even tho NixOS is configured to be in offload mode
To Reproduce Steps to reproduce the behavior:
Expected behavior Run on intel GPU on launch, switch to nvidia when using environment variable
Screenshots If applicable, add screenshots to help explain your problem.
Additional context
lspci:
Configurations:
/var/log/X.0.log
I have also tested other configurations such as bumblebee, and it doesn't work... it seem that it is broken on unstable.
Metadata ▶ nix-shell -p nix-info --run "nix-info -m" ~
"x86_64-linux"
Linux 5.5.9, NixOS, 20.09pre217261.a2e06fc3423 (Nightingale)
yes
yes
nix-env (Nix) 2.3.3
"nixos-20.09pre217261.a2e06fc3423, nixos-unstable"
"home-manager, nixpkgs-19.09.2273.107ffbb22ad, nixpkgs-unstable-20.09pre217377.ee9362f880e"
/home/jflabonte/.nix-defexpr/channels/nixpkgs
Maintainer information:
https://discourse.nixos.org/t/nvidia-offload-mode-no-intel-gpu-running/6298?u=jefflabonte