I’m planning on changing to Linux eventually, but my PC has a 4060ti. I have heard that Nvidia drivers are a pain to install, and I don’t have the means to change to a non-Nvidia GPU. Am I in trouble?

  • Communist@lemmy.frozeninferno.xyz
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    2 hours ago

    Bazzite makes it ridiculously easy, there’s just a dropdown to select the nvidia version of their ISO. It’s also a great distro for beginners for a lot of reasons:

    bazzite and other immutables generate a new system for you on update and let you switch between and rollback automatically, this is fantastic for reliability, but it also has pretty up to date software, and tons of guides (fedora is one of the most popular distros, and bazzite is essentially identical except with some QoL upgrades).

    there’s also aurora if you want the same thing without some addons for gamers.

  • azvasKvklenko@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    1
    ·
    4 hours ago

    It really depends on how the distro you’re using is integrating them and while installing them is usually the easy part, working around certain quirks they come with can be a bit tedious in my experience.

    The proprietary driver comes in binary form and is shipped with a small kernel module that handles loading the binary driver. The Linux kernel modules that aren’t part of Linux itself (which most drivers are) must be compiled for specific kernel and its binary can work only for that specific kernel and nothing else. This means that even if then driver is the same but kernel changes, the nvidia module must still be recompiled. There are two ways distros handle that: 1) by running the compilation process in the background while installing or updating the driver package 2) by shipping binary form of the nvidia module, in case where it’s distro that always recommends synchronization of all packages so that kernel and modules always match. Historically this caused way more problems than it sounds, compilation might have failed for certain kernels occasionally leaving users with broken video after simple system update. Overall though it mostly works fine, especially nowadays.

    Another quirk is that the user-space part of the driver that exposes OpenGL and Vulkan interfaces for applications are also proprietary and closed source, and they must also match exactly with the kernel part of the driver. This creates another problem for sandboxed applications using for instance Flatpak. Applications in container won’t use the system-wide libraries, but rather ship their own - and that’s by design for good reasons. Flatpak will automatically detect NVIDIA and install matching driver just fine, but then after installing system upades, you must always update your flatpaks as well or the ones that use GPU in any way will simply fail to launch or fall back to software rendering making it extremely slow. This doesn’t happen for open source drivers, because Mesa can work with basically any kernel, so Mesa in Flatpak can be in completely different version than the one installed as system package. Moreover, I experienced problems with storage space because Flatpak wouldn’t automatically remove old NVIDIA drivers and after a year or so it was a chunky pile of NVIDIA drivers.

    And even when it works, there can still be missing functionality or integration with the OS might not be perfect. Last time I used them I was limited to X11 with many quirks regarding multi monitor setup and vertical synchronization. Wayland is technically usable now on NVIDIA, but not perfected yet.

  • Installing Nvidia drivers from official repos provided by the maintainers of your distro? Easy as pie.

    Installing Nvidia drivers from nvidia’s website? Good luck my friend, I hope you know what you’re doing.

  • secret300@lemmy.sdf.org
    link
    fedilink
    arrow-up
    4
    ·
    9 hours ago

    Not at all anymore. Just please use your distros repositories.

    I told my friend to just use the package manager but he was dead set on downloading the drivers from Nvidia’s website and installing them manually. Then complained how hard it was.

  • phantomwise@lemmy.ml
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    10 hours ago

    Try Nobara if you plan on playing video games, it’s a distro specialised for gaming and they have two sets of ISO : one “standard” and one “Nvidia” with the drivers preinstalled so you don’t have to do anything.

    https://nobaraproject.org/

    I think the installer gives you a choice between the open-source drivers and the proprietary ones, and that’s it. Everything works fine even on Wayland.

  • mina86@lemmy.wtf
    link
    fedilink
    English
    arrow-up
    36
    ·
    edit-2
    17 hours ago

    It’s trivial. Use Linux Mint or Debian, enable non-free repositories if required, and that’s pretty much it.

    I’ve never had issues with Nvidia drivers. Your mileage may vary.

  • MyNameIsRichard@lemmy.ml
    link
    fedilink
    arrow-up
    29
    ·
    16 hours ago

    As long as you don’t make the mistake of downloading them directly from Nvidia, it should be straight-forward.

      • Enkrod@feddit.org
        link
        fedilink
        arrow-up
        34
        ·
        edit-2
        16 hours ago

        depends on your Distro, for Linux Mint it’s just the Driver Manager.

        To access the Driver Manager in Linux Mint, follow these steps:

        1. Click on the Menu (Taskbar) in the lower-left corner of your screen.
        2. Navigate to Administration.
        3. Click on Driver Manager.

        Load Device Manager for Nvidia Drivers on Linux Mint

        Once you have opened the Driver Manager, follow these steps to install the Nvidia drivers:

        1. The Driver Manager will prompt you for your password. Enter your password and click on Authenticate.
        2. The Driver Manager will scan your system for available drivers. Once the scanning is complete, you will see a list of available drivers for your graphics card.
        3. Select the recommended Nvidia driver from the list.
        4. Click on Apply Changes to start the installation process.

        Then reboot.

        source

        For most problems you can really just google stuff like “Linux Mint Nvidia Drivers”

      • Luke@lemmy.ml
        link
        fedilink
        English
        arrow-up
        5
        ·
        16 hours ago

        Whatever distro you pick will have instructions for where and how to install the drivers, if it doesn’t do so for you during the install. Ubuntu is probably most likely to do so easiest. I prefer Fedora for other reasons, which is also easy to get nvidia working, but sightly less easy than Ubuntu where it’s a single checkbox during OS install.

      • BCsven@lemmy.ca
        link
        fedilink
        arrow-up
        3
        ·
        16 hours ago

        If you happen to choose OpenSUSE, the " install recommends " will detect nVidia and load some drivers to get it working, but you can also add a specific repo nVidia hosts for Leap and Tumbleweed and download the Drivers / Cuda etc. They work great, so ignore the previous commentor. Laptops with dual GPU need you to setup a switching app to save power, when you don’t need to power the nVidia. If your BIOS has a discrete graphics mode selection, you can choose hybrid, but if your OS has trouble you can set it to discrete only so nVidia is always used. I had to do this on one machine because the OS saw the two GPUs and was trying to treat them has two displays instead of one composite display choice

      • MyNameIsRichard@lemmy.ml
        link
        fedilink
        arrow-up
        2
        ·
        16 hours ago

        Each distro has it’s own way of installing the drivers, Mint uses a driver Manager GUI, endeavour OS uses the nvidia-inst script, but ultimately, they come the repositories of the distro.

    • BCsven@lemmy.ca
      link
      fedilink
      arrow-up
      1
      ·
      16 hours ago

      If you are on something like openSUSE, nVidia hosts a repo just for OpenSUSE Leap ams Tumbleweed, and that’s exactly where you get them from, and they work.

      • MyNameIsRichard@lemmy.ml
        link
        fedilink
        arrow-up
        6
        ·
        15 hours ago

        True, but you’re not going the Nvidia website, finding and downloading a .run file, manually installing it, and then manually maintaining it which is what I was talking about.

  • mybuttnolie@sopuli.xyz
    link
    fedilink
    arrow-up
    9
    ·
    14 hours ago

    I use mint, and it’s easier than on windows… You open driver manager, tap on the newest driver, click apply. Then restart.

  • plm00@lemmy.ml
    link
    fedilink
    arrow-up
    13
    ·
    17 hours ago

    No, you’ll be fine. And some distros trivialize it. In my case I don’t get as good of framerates as I would on Windows, so there are some issues due to Nvidia not providing open source drivers, but it still works with Linux.

    • ITeeTechMonkey@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      16 hours ago

      Ya, I must have started using Linux well after Ubuntu made it really easy to install drivers.

      Granted you do need to know where to find the option to install drivers, at least you used to maybe its even easier now, but I havent used Ubuntu in a few years.

      Once you found where the option to install was it was a click of a button

  • Kongar@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    12
    ·
    16 hours ago

    It used to be a pain. Multiple versions that didn’t all work. Today it’s pretty painless. A lot of installers will actually do it for you now.

    In arch (at least the last time I did it), it was just a matter of picking the right package and installing it with pacman

    EndeavorOS’s installer will do it for you

    I use Fedora these days. It didn’t do it automatically the last time I loaded from scratch (not an upgrade), but the rpm fusion team/repository made it simple. I just followed the crystal clear instructions on their website.

    I think mint does it automatically with the installer…

    Honestly I really don’t even think about nvidia drivers anymore.

    • caseyweederman@lemmy.ca
      link
      fedilink
      arrow-up
      2
      ·
      13 hours ago

      The first trick is knowing that there’s a right package. The second trick is knowing what the right package is.

      • FauxLiving@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        12 hours ago

        According to the Arch Wiki, it’s the driver recommended by NVIDIA and, anecdotally, I was having issues in Wayland and with gamescope/HDR until I switched to the nvidia-open drivers.

  • justinthegeek@lemmy.sdf.org
    link
    fedilink
    arrow-up
    7
    ·
    17 hours ago

    What distro are you using? It’s getting pretty simple at this point. I’m running Arch and it maybe took 5 minutes to fully set it up.

  • vi21@lemmy.ml
    link
    fedilink
    English
    arrow-up
    4
    ·
    16 hours ago

    With CachyOS and Mint, it is very easy.

    Remark: I disabled secure boot.