• ayaya@lemdro.id
        link
        fedilink
        English
        arrow-up
        19
        arrow-down
        1
        ·
        edit-2
        1 year ago

        I recommend switching to nvidia-dkms which will auto rebuild the module for every kernel and lets you update them independently of each other.

          • ayaya@lemdro.id
            link
            fedilink
            English
            arrow-up
            8
            ·
            1 year ago

            It’s a drop-in replacement for the nvidia package. AFAIK there are zero differences in functionality. The only change is it being built locally by DKMS instead of coming pre-built.

          • Ooops@kbin.social
            link
            fedilink
            arrow-up
            1
            ·
            1 year ago

            It builds the kernel module for your specific kernel. It’s not different from the nvidia package, that’s just the same thing pre-build for the default kernel (in fact if you install both nvidia-dkms will build the module locally, then realize the exact same thing it just build is already there and move on…).

        • tetris11@lemmy.mlOP
          link
          fedilink
          arrow-up
          2
          ·
          1 year ago

          Perfect – this solved the issue completely for me

          sudo pacman -Sy linux-lts nvidia-dkms
          ## removes nvidia
          
        • fhoekstra@programming.dev
          link
          fedilink
          arrow-up
          1
          ·
          1 year ago

          I know my Pop!_OS install pulls Nvidia drivers and modules using flatpak. I don’t know the pros and cons of this method, but I’ve assumed it’s more robust due to decoupling of dependencies.

          What is your opinion on flatpak vs pacman for proprietary Nvidia drivers?

          • tetris11@lemmy.mlOP
            link
            fedilink
            arrow-up
            4
            ·
            1 year ago

            I am philosophically against duplicating similar libraries, so I don’t use flatpak. Insufferable, I know

  • pamojaan@deljurgdn.dedyn.io
    link
    fedilink
    arrow-up
    4
    ·
    edit-2
    1 year ago

    This may be unrelated, but I’ve had to downgrade nvidia and nvidia-utils back to 535, because 545 broke “GPU hotplugging” (kernel panics after GPU is released/reinserted after GPU Passthrough to a VM as well as some wine applications. These may be unsupported features though.

  • Twig
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    I just used an older kernel for a while, did the trick.