I am currently running Debian 12 with Gnome using the 6.6.9-amd64 kernel, and have had quite the issues with the newer kernels. Once i switch to them in the grub menu, I am only able to use a single monitor which has been set to a sub-normal resolution. Also animations for the DE are all gone. I can’t add my other monitors in, my nvidia settings panel lost most of its settings (from about 20 tabs to 3) and the entire system runs really poorly. While part of this seems to be an nvidia thing, I do wonder how I would actually go about fixing this.

  • Avid Amoeba@lemmy.ca
    link
    fedilink
    arrow-up
    11
    ·
    edit-2
    10 months ago

    Sounds like your NVIDIA driver isn’t loading for the newer kernels. Either not compiled for them, or not installed, if Debian ships it in binary form. The easiest solution would be to not install newer kernels. It seems you’re already ahead of the default Debian 12 kernel - 6.1.

    • db2@lemmy.world
      link
      fedilink
      arrow-up
      7
      ·
      10 months ago

      DKMS isn’t installed or is broken. The whole point of it is to update things when a new kernel gets installed.

      • Avid Amoeba@lemmy.ca
        link
        fedilink
        arrow-up
        6
        ·
        edit-2
        10 months ago

        Yeah, unfortunately that’s not always possible as modules don’t always build against newer kernels. Also I don’t know if Debian uses dkms for this. On Ubuntu for example, NVIDIA modules are shipped in a pre-compiled form for the supported kernels instead of using dkms.

    • Smorty [she/her]OP
      link
      fedilink
      arrow-up
      1
      ·
      10 months ago

      Would it maybe make sense to install this older 6.1 kernel? It would potentionally have greater compatebility with the driver… Also, this probably does not have anything to do with the kernel thing, but I just reid to apt upgrade, and found this message repeated a bunch of times at the end of it:

      update-initramfs: Generating /boot/initrd.img-6.6.13-amd64
      cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead
      

      This seems like an error which should not be shown to the user and instead the developer of apt, which apparently uses cp.

      • Avid Amoeba@lemmy.ca
        link
        fedilink
        arrow-up
        5
        ·
        10 months ago

        Yeah, it’s not an error.

        Yes I would stick with the default kernel unless I have a good reason to change it. E.g. there’s functionality I really need.

  • Kangie@lemmy.srcfiles.zip
    link
    fedilink
    arrow-up
    3
    ·
    10 months ago

    You want to run a stable debian kernel, not “bleeding edge” stuff from the backports repo. It’s likely that your NVIDIA drivers are not compatible with the more modern kernel, either for real reasons (they’re old) or because that’s how they were packaged.