Upgrade to 23.11 - (runtime?) issues and solutions

I upgraded from 23.05 to 23.11
and like always things/pkgs/options changed … well that’s expected, like always


p360 i7 intel / nvidia / x11 / kde plasma sddm


e.g. the flickering window issue is gone


but one (new) issue is that there looks to be no way to get the display connection back after turning off the monitor


in forms they talk about

  • could be a kernel issue
  • could be DM/kde Plasma issue
  • could be nvidia issue
  • like always could be state/cache?

for NVIDIA to get the same version, I tried

package = config.boot.kernelPackages.nvidiaPackages.production;

  • without to get the issue solved …

kernel 6.6 does not change the situation …


How to investigate the root cause?

  • got the info about nvd

Cannot see (new - not in 23.05 existing) issues in the logs (at a first glance)

https://github.com/tolgaerok/nixos-kde/blob/5e87a4c10c6152db021e83f304c8f535f72004cf/core%2Fgpu%2Fnvidia%2Fnvidia-stable-opengl%2Fdefault.nix#L22

Enable powerManagement

I tried already with and without (combinations of)

  • open
  • powerManagement
  • powerManagement.finegrained
hardware = {
    nvidia = {
      modesetting.enable = true;
      nvidiaSettings = true;

      open = lib.mkDefault false;
      prime = {
          reverseSync.enable = true;
          offload = {
            enable = true;
            enableOffloadCmd = true;
          };
          intelBusId  = lib.mkDefault "PCI:0:2:0";
          nvidiaBusId = lib.mkDefault "PCI:1:0:0";
        };
      powerManagement = {
        enable = lib.mkDefault true;
        finegrained = true ;
      };
    };
  } ;