Yesterday, I did a fresh install of OpenSUSE Tumbleweed on my NVidia-powered machine (GeForce GTX 1060 6gb). When installing, I enabled Secure Boot.

By default, the distribution comes with nouveau drivers, and the process of installing official NVidia drivers is outlined here: https://en.opensuse.org/SDB:NVIDIA_drivers

I successfully added openSUSE-repos-Tumbleweed-NVIDIA as per the guide; first oddity is that by default it shipped with openSUSE-repos-MicroOS-NVIDIA, which got uninstalled as a conflicting package, despite this being Tumbleweed. (I later tried to rollback and do these steps with openSUSE-repos-MicroOS-NVIDIA installed instead, to no avail)

Next, as per the guide, I tried to do zypper install-new-recommends. After installation, I rebooted the machine. Upon login, resolution was forced to low.

inxi -G has shown N/A in the driver field.

I’ve rolled back via snapper rollback, confirmed that nouveau drivers are back in place (resolution was back to normal, inxi -G has shown nouveau), and tried to install nvidia-video-G6 using YaST. It has automatically installed all dependencies as well.

Upon login, I faced the same issue - resolution degradation and N/A in the driver field.

Troubleshooting for this issue has shown that secure boot may not allow these drivers to be launched without importing the respective key, as listed in the same Nvidia drivers article. However, the file that needs to be imported is not at the suggested location (/usr/share/nvidia-pubkeys/); in fact, /usr/share only had nvidia folder, which didn’t seem to contain any keys.

As a workaround, I attempted to disable secure boot by entering: mokutil --disable-validation. A menu appeared on reboot, through which I disabled secure boot. Further launches had “launching in insecure mode” notice. mokutil --sb-state output is SecureBoot disabled.

Then, I tried to install the driver again, as described above. Still no luck, and same issue.

So, what else could be the issue and what do I do about it next? Thank you in advance for any replies!

Solution that worked: instead of going for install-new-recommends, install the following package:

nvidia-driver-G06-kmp-meta

It should be available by default, but if not, add the respective repository by using this command:

zypper addrepo https://download.nvidia.com/opensuse/tumbleweed/

Thanks to Björn Tantau! The comment with the solution: https://swg-empire.de/comment/7201260

  • Björn Tantau@swg-empire.de
    link
    fedilink
    arrow-up
    8
    ·
    1 day ago

    First you should see if the nvidia module is loaded

    lsmod | grep nvidia
    

    If not, try to load it.

    sudo modprobe nvidia
    

    If it’s still not loaded after that check dmesg for errors.

    • Allero@lemmy.todayOP
      link
      fedilink
      arrow-up
      4
      ·
      edit-2
      1 day ago

      sudo modprobe nvidia gives the following output: modprobe: ERROR: could not insert 'nvidia': No such device

      dmesg gives the following:

      [ 56.697148] [   T2989] NVRM: The NVIDIA GPU 0000:27:00.0 (PCI ID: 10de:1c03)
                                NVRM: installed in this system is not supported by open
                                NVRM: nvidia.ko because it does not include the required GPU
                                NVRM: System Processor (GSP).
                                NVRM: Please see the 'Open Linux Kernel Modules' and 'GSP
                                NVRM: Firmware' sections in the driver README, available on
                                NVRM: the Linux graphics driver download page at
                                NVRM: www.nvidia.com.
      [   56.702043] [   T2989] nvidia 0000:27:00.0: probe with driver nvidia failed with error -1
      [   56.702102] [   T2989] NVRM: The NVIDIA probe routine failed for 1 device(s).
      [   56.702104] [   T2989] NVRM: None of the NVIDIA devices were initialized.
      [   56.702837] [   T2989] nvidia-nvlink: Unregistered Nvlink Core, major device number 238
      

      Guess it won’t work with my card? Gonna read through that (quite massive) readme, it seems…

      P.S. Looks like everything pre-Turing does not support open drivers, and OpenSUSE did not communicate it well. Looking into ways to install proprietary driver.

      P.P.S. Wait, it gets worse! The main way to install the proprietary driver is through install-new-recommends, BUT this installs open drivers on unsupported cards! This may be a good reason for a bug report once I figure the rest out.

  • SomeRandomNoob@discuss.tchncs.de
    link
    fedilink
    arrow-up
    1
    ·
    1 day ago

    I tried my 1060 with Debian, Ubuntu and Mint. Didn’t get it to run (stable) with the Nvidia drivers. And it will only get worse from here (especially with wayland) because the driver version for these cards is no longer maintained.

    If found an article* about arch and Nvidia with a few things I haven’t tried. I’ll give it another try. But I have no hopes on getting it to run stable.

    • Allero@lemmy.todayOP
      link
      fedilink
      arrow-up
      1
      ·
      1 day ago

      I had some Arch derivatives (Endeavour, Manjaro) on this very computer and everything was smooth. Had some pains with Fedora, but it worked as well.

  • floo@retrolemmy.com
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    4
    ·
    edit-2
    1 day ago

    Trying to install an Nvidia video card in Linux is the 10th ring of hell

    It’s worse than having a Roland sound card in the 90s. Every game says they “Support” it, but getting to actually work was always a fucking nightmare.

    Really, the best of luck to you.

    • Allero@lemmy.todayOP
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      1 day ago

      With many distributions, it’s plug&play now, but some still make trouble out of it.

      In the case of SUSE, this seems to stem from heavy open-source advocacy and EU laws coming on top of it, which is respectable, but adds to the complexity of solving issues here and there.

      • floo@retrolemmy.com
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        1 day ago

        I mean, I get that, but I’m not sure that is the source of your present issues. Like, it’s a thing that that’s worth consideration. We don’t get to just use products anymore. We have to consider where they come from and who makes them. And I’m pretty cool with SUSE and how the Germans do their Linux. It was the first distribution I used after red hat back in, like, 1997. I have a deep love for that distribution. I don’t use it because it doesn’t happen to be the correct distribution for my needs. But I often would like to. It’s it’s a nice distribution, very smooth and professional. OpenSUSE basically the “other” fedora.

        Thing: I fucking hate YAST with a goddamn passion. I FUCKING HATE IT. Why do I hate it? Because of everything I just hate it. I’m much prefer to use a APT, despite the fact that it’s incredibly antiquated.

        Maybe YAST has gotten better in the last 10 years or so since I’ve tried it, but my God was it terrible the last time I tried

        • Allero@lemmy.todayOP
          link
          fedilink
          arrow-up
          2
          ·
          1 day ago

          Nah, YaST is still a piece of crap imo, both antique and impractical for most purposes. They should either make it modern and user-friendly, or phase it out.

          That said, it kinda helped me to locate the correct system package this time.

          In any case, OpenSUSE Slowroll is already my daily driver on laptop, which doesn’t have an NVidia GPU, and it’s part of the reason why I decided to give it a spin on desktop. At the end of the day, the issue got resolved, and now I can keep it, hopefully, in here too.

          • floo@retrolemmy.com
            link
            fedilink
            English
            arrow-up
            1
            ·
            1 day ago

            Yeah, like I said, SUSE isn’t the distro I use, but it is frequently at the top of the list when considering what distrit to use when I create a new server or anything like that. Even for my own personal uses, it was like number #2 on my list.

            Thing is, as it happens with a lot of Linux, it all comes down to what you’re used to, what you’re comfortable with. And I am very used to and well trained in Debian-based distributions. Currently, I’m running Pop!_OS on a couple of servers.

            • Allero@lemmy.todayOP
              link
              fedilink
              arrow-up
              1
              ·
              8 hours ago

              Pop!_OS is quite an unorthodox choice for a server OS, ain’t it? I’m genuinely interested in why you chose it specifically over, say, Debian or Ubuntu.

              I ran Debian and derivatives (Ubuntu, Mint), Arch and derivatives (EndeavourOS, Manjaro), Fedora and OpenSUSE, although each one on a very “user” level; I’m no IT guy, I just value what Linux gives me and am forced to learn to use it well.

              Each has their merits. Currently, I go with OpenSUSE because it gives reasonable stability while not going ancient. When set up right, you can rely on it to keep doing things the same way, without needing to intervene manually. It also features correctly set snapper by default, which ensures I, as a generally non-technical user, won’t shoot myself in the foot.

              Ideally, I would go with OpenSUSE Slowroll, as I love the concept, but it is still experimental and I don’t want both my machines to rely on beta builds. Still, my laptop has it installed and it works like a charm. The idea of “nearly bleeding-edge, but behind the most adventurous users” is why I chose Manjaro as my first distribution back in the day. Sadly, it is poorly managed, and issues arising with AUR only make things worse. OpenSUSE Slowroll feels to me like Manjaro done right.

              As per other distributions I tried:

              • Debian gets very ancient very quickly (and even if you rely on flatpaks, system packages are, like, OLD)
              • Ubuntu is poorly managed and filled with controversies, I don’t feel like I own my computer
              • Mint is nearly a single distribution that doesn’t officially ship with KDE (likely because most of its userbase would ditch Cinnamon immediately, huh) and has caused issues on my machines specifically
              • Arch/EndeavourOS is “move fast and break things”, and things DO break unless you manually intervene on numerous occasions based on whatever forums tell you. Also, on all Arch-based systems, I face insane lags and RAM hogging when moving large files. I don’t know why.
              • Manjaro, as I said, is well-intentioned, but poorly executed. It breaks from so many things, which makes it lose its novice appeal. Still, it’s cozy and not scary to enter, so this is where I started, and then learning to fight the bugs taught me a lot about Linux
              • Fedora needs some work out of the box, but is generally stable and nice. However, the community is too fast to make breaking decisions (like when they ditched X11, which broke my gf’s work because her tools don’t work with Wayland, and she went with Fedora). Also, I’m not thrilled by its association with Red Hat, which turns increasingly…Canonical.

              So, OpenSUSE it is. I never knew I would end up here, but here I am. Slowroll on my laptop for the last half a year or so convinced me to ditch EndeavourOS on my desktop and go OpenSUSE as well. Up to a rough start, but hoping it will go well after that.

    • Ⓜ3️⃣3️⃣ 🌌@lemmy.zip
      link
      fedilink
      arrow-up
      2
      ·
      1 day ago

      Thank you for awakening a forgotten trauma.

      Then, Nvidia drivers lags behind new releases on this distribution. It’s not helping, I went from tumbleweed to mint because of that 🥲

      • floo@retrolemmy.com
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        1 day ago

        Look, SUSE is world renowned for decades for being one of the most reliable and stable distro to exist. It’s, basically, the “other” red hat. And it has better Nvidia support than most other distro.

        I have nothing but the fullest confidence that you’ll figure this problem out. As i like to say to friends of mine: Linux is a learning experience.