When installing the proprietary nvidia driver recommended by the the official debian page for Debian Bookwork, apt seems to want to install a new kernel. I actually did this before (since this is my second time installing debian on here) and this new kernel messes with the display server somehow, disabeling all monitors but one, limiting the resolution, removing all the UI animations and so on. So I don’t want to do that again. My current kernel is the Debain 12 default: linux-image-6.1.0-18-amd64. Am I doing something terribly wrong, is the website perhaps outdated, or what is going on here?

  • GenderNeutralBro@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    9 months ago

    Which kernel is it trying to install?

    Did you go through the steps required for Secure Boot?

    Could be messed up dependencies in the apt repo. I’ve been this many times, in many distros, over the years.

    In any case, I recommend getting the latest driver directly from Nvidia. It’s easier to keep it outside the apt ecosystem than to wrestle with overriding outdated dependencies. Plus you get the newer driver, and honestly, Nvidia’s installer is easier than Debian’s (particularly if you have Secure Boot enabled).

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

      So what you are saying is that it makes more sense to get the driver from nvidias webiste?

      • GenderNeutralBro@lemmy.sdf.org
        link
        fedilink
        English
        arrow-up
        1
        ·
        9 months ago

        Yes, that is my recommendation. I’m sure plenty of people will disagree, but personally I have had too many headaches with other sources.

        Get them from here: https://www.nvidia.com/en-us/drivers/unix/

        For what it’s worth, I am running on Debian now, using the “new feature branch” driver, which is currently version 545. This is newer than what’s in Debian’s repos (and most other distros too, for that matter). I’ve also performed kernel updates since installing it, without issue.

        If you have Secure Boot enabled in your motherboard firmware, be sure to follow the steps on signing the kernel module available here: https://us.download.nvidia.com/XFree86/Linux-x86_64/545.29.06/README/installdriver.html#modulesigning . Nvidia’s installer will prompt you about this (unlike Debian’s!) but can’t do all the steps for you.

        If you’re not sure if you have secure boot enabled, you can run mokutil --sb-state in a terminal to see.