• ayaya
        link
        fedilink
        English
        18
        edit-2
        8 months 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
            link
            fedilink
            English
            88 months 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
            link
            fedilink
            18 months 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…).

        • @[email protected]OP
          link
          fedilink
          28 months ago

          Perfect – this solved the issue completely for me

          sudo pacman -Sy linux-lts nvidia-dkms
          ## removes nvidia
          
        • @fhoekstra
          link
          18 months 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?

          • @[email protected]OP
            link
            fedilink
            48 months ago

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

  • @[email protected]
    link
    fedilink
    4
    edit-2
    8 months 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
    28 months ago

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