this post was submitted on 07 Mar 2024
388 points (95.8% liked)

linuxmemes

21972 readers
2737 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack users for any reason. This includes using blanket terms, like "every user of thing".
  • Don't get baited into back-and-forth insults. We are not animals.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn. Even if you watch it on a Linux machine.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
  • 5. πŸ‡¬πŸ‡§ Language/язык/Sprache
  • This is primarily an English-speaking community. πŸ‡¬πŸ‡§πŸ‡¦πŸ‡ΊπŸ‡ΊπŸ‡Έ
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
  • Β 

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.

    founded 2 years ago
    MODERATORS
     
    you are viewing a single comment's thread
    view the rest of the comments
    [–] [email protected] 51 points 10 months ago (4 children)

    Nvidia Arch user here, are you just forgetting to rebuild your kernel modules after a kernel or nvidia driver update?

    You can just add a pacman hook that triggers mkinitcpio -P after the linux or nvidia packages are updated. I've never had a no-GUI situation from a stray update... maybe one or two that were my own doing when trying to set up UKI's though.

    [–] [email protected] 22 points 10 months ago (1 children)
    [–] [email protected] 2 points 10 months ago (1 children)

    I think dkms is for inserting kernel modules, but I'm dumb and what's the difference between both these approaches?

    [–] pizzawithdirt 2 points 10 months ago

    The Dynamic Kernel Module System automatically builds your modules for your updated kernel.

    [–] [email protected] 12 points 10 months ago

    The Arch Linux team releases Nvidia updates at the same time as kernel upgrades which should trigger a initramfs rebuild via mkinitcpio anyway

    unless you do a partial upgrade anyway (never do that)

    [–] Dnn 5 points 10 months ago (1 children)

    I just followed the note that's mentioned on the top of your link and installed the Nvidia driver as dkms package. I originally did that because of trouble with a new driver version and temporary downgrading is much smoother with dkms.

    Also never had issues with the DE starting properly after upgrade since then.

    [–] [email protected] 2 points 10 months ago

    I'm usually using nvidia-beta drivers from AUR because they're newer, so I just added the hook as an insurance policy.

    The DKMS drivers are probably the safer option because they'll handle rebuilding the kernel modules. Even though (like EddyBot said) the kernel and nvidia packages are supposed to get updated together, sometimes you can spam pacman -Syu at the wrong time and only one package is updated and things go wonky...

    [–] EpicFailGuy 3 points 10 months ago

    yep, just as easy as windows

    (I actually work with redhat and cent ... bring it on neets)