inttf NVIDIA 340.xx, 418.xx, 435.xx, 515.xx Patcher for Kernel 6.0/5.19/5.18/5.17/5.16/5.15/5.14/5.13 [BASH Script] - Comment Page: 7

This is a BASH script, which download NVIDIA installer, extract it, patch it and make new patched installer package. This is very quickly tested alpha version so if you have any problems please let me know or if this works as it should you can also let me know. I use here currently ARCH Linux Patches + my own patches. Currently this works with NVIDIA 340.108 / 418.113 / 435.21 drivers and latest 5.19, 5.18, 5.17, 5.16, 5.15, 5.14, 5.13, 5.12, 5.11, 5.10 and 5.9 kernels. Also now simple NVIDIA 515.xx patch for kernel 6.0 (thanks to rglinuxtech.com) This should work with any distribution. You just need install wget and patch packages. Check video version of guide: Watch More Videos and...

208 comments on “inttf NVIDIA 340.xx, 418.xx, 435.xx, 515.xx Patcher for Kernel 6.0/5.19/5.18/5.17/5.16/5.15/5.14/5.13 [BASH Script] - Comment Page: 7

1 5 6 7 8
    1. the guide does not work in lenovo ideapad y410p. how to get it working & can be used for gaming & multimedia application in fedora design 36?

      the laptop has 2 vga..
      1. integrated intel HD 4600
      2. nvidia geforce gt 755M

      Reply
      • Hello roke,

        Unfortunately this guide is not for NVIDIA Optimus users. If you can disable NVIDIA Optimus / Intel graphics, then you are normally good to go.

        Reply
    2. Thank you for continually making these patches. They are keeping my Dell Precision running Manjaro Linux without any real headaches every Kernel update.

      I subscribed to your Youtube channel and will spam watch your vids.

      Reply
    3. Hi,
      I am a longtime beneficiary of your patches and guides, So much so that I never think twice about upgrading my Fedora install because you always get a patched version of the 390 drivers out before I can even fish installing the O/S. I just updated my Fedora 36 to kernel 5.18 and cannot build the nvidia driver 390.151 successfully. I used your inttf bash script to create a patched installer however it is still erroring out before finishing install. looks like a couple symbols during compile are missing or mis-defined according to the install log, while these are only compile warnings the flag to treat warnings as errors is set in the Makefile and thus the make is aborted. any ideas on how to build 390.151 with kernel 5.18? this is a Dell E6420 with an NVS4200 graphics card on a docking station.

      Reply
    4. As you know I’ve been using your patch system for a long time and am absolutely dependent on it for my favorite laptop.
      Love the work and can’t thank you enough!
      Quick question:
      I use XANMOD. Forever now, when I install the patch, I get the NVIDIA INSTALLER error that there’s a version mismatch between
      compilers but it’s just like .1 off so I usually just do EXPORT CC=/usr/bin/gcc-11 before the install and then select IGNORE
      VERSION DIFFERENCE and it has always worked. I don’t know if this is relevant to what I’m going to say next or not, but I
      thought I’d mention it.

      Since V5.18.X, I have only been able to get XANMOD 5.18.1 x64v2 working. All higher versions of XANMOD error out.
      However, all normal versions of the kernel work great. I’m currently on 5.18.10-051810-generic and it works great.
      I understand this is probably an issue with XANMOD, they must have done something different between version .1 and the
      higher versions, but any help would be appreciated.

      Again, thank you for everything! Looking forward to 5.19 and beyond!!! 8

      Reply
      • I was finally able to get 5.18.10-xanmod1 working but not the 5.18.10-xanmod1-x64v2, although 5.18.1 x64v2 works.
        Hmm… Strange. I don’t really understand what the diff is between the 5.18.1 and 5.18.1 x64v2, they are both x64 afaik. Anyhow just saying I got the one without x64v2 working. Cheers!

        Reply
    5. Worked like a charm in Pop OS after I blacklisted nouveau! You’re a lifesaver.

      Reply
      • Excellent to hear Isaac! Thank you!

        Reply
    6. Considering Kernel 6.0rc1 is out, is there any news on a patch for 5.19?
      I’ve checked several places where the patch sources come from and none of them seem to be updating. Is there a particular issue with 5.19?

      Reply
      • After doing some research and discovering that some people
        were able to install the 5.18 patch on 5.19 without it needing
        any additional modifications, I went ahead and tried it with
        the latest script from JR and it works for kernal
        5.19.1-051901-generic! It appears 5.19 needs no modifications and the 5.18 script will work. 8)
        Still having issues with any Xanmod version that contains
        x64v2 in the filename but other than that, it’s working!

        Thought I’d drop a note here to let people know.

        Reply
        • Hello MENTD,

          Sorry for the late reply. And thank you, you are totally right that 5.19 should work without any extra patch. I’m currently testing kernel 6.0-rc2, even latest NVIDIA 515.xx fails to install, but looks like it’s possible to get working.

          Reply
          • I have been unable to get KERNEL 6.0 *anything* to install, even without NVIDIA drivers.
            Both the RC1 and RC2 automated builds for AMD64 at:
            https://kernel.ubuntu.com/~kernel-ppa/mainline/ have been failing, elsewhere as well.
            (If you go there, you’ll see that ARM64, ARMHF, and s309x versions complete, AMD64 & PPC64el fail.)
            And it appears the new 5.19.4 fails on AMD64, ARMHF, i386, PPC64el and RISCv64 so *something* must have
            changed with their mainline automated build system as I assume there should not be that much difference
            between 5.19.3 and 5.19.4 to cause so many different architectures to fail.
            I think the 6.0 failures may have something to do with a new version of libc being required?
            I’m running UBUNTU FOCAL v20.04.5 LTS. I remember I was able to upgrade libc years ago manually but
            it took days to get right and finally all night to compile and was a major pain in the ass so I’m hoping
            there will be a workaround as I really wanna stay on this version of UBUNTU, it is LTS after all.
            It’s perfect for my old VOSTRO 2510 laptop, newer versions run sluggish.
            I know Linux Torvalds says 6.0 is “just a number” but it seems there’s something funky with it.

            Anyhow keep up the good luck man, I’m happily using 5.19.3 for now. 8)

            Reply
            • Finally got 6.0rc3 working with NOUVEAU but it gives an error when
              I use your script to try to get the patched NVIDIA drivers working.

              I assume you don’t have 6.0 completely worked out yet?
              You mentioned that even 515.xx fails but the site title lists
              6.0, is that a typo or is there a version that works?
              I’m on 340.108, the last one I have working with patched NVIDIA
              is still 5.19.3.

              Anyhow, the mainline finally successfully built RC3 for AMD64. 8)
              So I have the kernel running at least, just no NVIDIA drivers yet.
              Good luck!

              Reply
              • Okay… Sorry for this long thread but I have yet more info!

                Woke up this AM and decided to update my main desktop to 6.0rc3 which is running an
                NVIDIA GTX 1060 with v515.65.01 and…. CRASH!

                I must have been half asleep last night but I now understand what you mean.
                When you mentioned 515 above, I didn’t realize at the time that you were talking about
                the latest official and supported NVIDIA drivers and that THEY are not even working!
                Even with the latest NVIDIA drivers, 6.0 doesn’t install.

                So… I used your FEDORA 515.65.01 patch and it worked great!

                My main desktop with the GTX 1060 is now running KERNEL 6.0rc3 with your 515.65.01 patch.

                It seems NVIDIA is really dropping the ball, didn’t I hear something about them supposedly
                finally releasing their drivers open source??? It sure is about time if so!

                Good luck on gettin’ it going on 340.108.

                Reply
                • Exactly even latest 515.65.01 won’t work without patch with Kernel 6.0. I’m just doing some testing with this, but I think that it’s still long way to get 340.108 work with Kernel 6.0.

                  Reply
                  • Aren’t NVIDIA supposed to be releasing their drivers open source?
                    Maybe the next NVIDIA update will make it easier?
                    I’d hate to think that 5.19.4 is the last version 340.108 will ever run on… 8(

                    Reply
    7. I have no idea why the script keeps downloaing 5.18 kernel and patch It instead of 5.10 in Linux Debian 11 for 340.108 driver.

      Reply
    8. Thanks for the patch, but after installation stay in black screen, with driver 340.108… The kernel is 5.18.0-kali5-amd64… I have the xorg.conf, you have a Idea?

      Reply
      • Hello Damian,

        Could you post output of following command:

        lspci |grep -E "VGA|3D"
        Reply
    9. Why still no 5.19 patch for 340.108?

      Reply
    10. So there is no patch for 5.19 kernel for 340.108 nvidia driver?

      Reply
      • Yes there is. The 5.18 one works for 5.19.

        Reply
    11. Love the script. Can you apply some patches for the NVIDIA 418.113 driver for kernels 5.12, 5.15, 5.19. I use Garuda Linux and the build is failing against these kernels.

      Reply
      • Thanks, have to check what it will need to patch also 418.113 for new kernels.

        Reply
    12. On OpenSuSE 15.4 and 340.108 the patch ran successfully, .. as did the installation script, .. but the video hung (the main monitor is on the MB), .. could not reboot, .. had to reset.

      On startup, nothing different; last lines in the nvidia log are:

      -> Installing both new and classic TLS OpenGL libraries.
      -> Installing both new and classic TLS 32bit OpenGL libraries.

      Only change in modprobe.d is a new version of nvidia.conf with blacklist noveau. The script generates install for 5.19 and back to 5.09.

      Would OpenSuSE be different?

      TIA!!!

      Reply
    13. Built and installed on OpenSuSE 15.4 (Kernel 5.14), no errors in the log, .. but no video on the card after reboot:

      lspci |grep -E “VGA|3D” :

      03:00.0 3D controller: NVIDIA Corporation G98 [Quadro NVS 450] (rev a1)
      04:00.0 VGA compatible controller: NVIDIA Corporation G98 [Quadro NVS 450] (rev a1)

      Is there any special about OpenSuSE?

      TIA!!

      Reply
      • Hi Lee,

        Thanks for reporting, I have to check this, maybe I can reproduce this.

        OpenSuSE is sometimes tricky, because they use some LTS style kernel versions and just backport newest features to old kernel.

        Reply
    14. Hey JR. Is 6.0 RC5 not working on 515.xx with the 6.0 patcher?
      I tried upgrading my desktop (GTX1060) from RC3 to RC5 this AM using both the stock .run from NVIDIA
      as well as your patched ones and both failed. I’ve noticed their autobuild systems failing a crapload lately also.
      I was using the MAINLINE DAILY builds from the 12th and 13th, all previous builds are failed on AMD64
      https://kernel.ubuntu.com/~kernel-ppa/mainline/daily/
      I can get them to install, and they run with NOUVEAU but fail with stock, or patched NVIDIA drivers.
      (I got RC3 working fine of course tho and I notice your patch only says for up to RC4, that’s why I ask about RC5.)

      I don’t understand what’s up with 6.0, as stated before, Linux Torvalds has stated that “It’s just a number” and
      there’s no *major* difference but if so, how come all the autobuilds are failing, why don’t NVIDIA’s most recent
      drivers work and how come you have said that it will probably be a while, if ever, for 340.108 to be patched?
      Obviously there’s some major differences with 6.0 and it’s more than “just a number”.

      – MENTD

      Reply
      • Hey MENTD,

        Tested this with 6.0 RC5 on Fedora 36 with my custom build. This patched version still installs normally, so have to say that this is Ubuntu problem. I can check this when I have a little bit more time. Hopefully NVIDIA publish soon working version(s) for Kernel 6.0.

        Reply
        • Okay well knowing that, I will have another go at it tomorrow AM as well & report back. 8)

          If I recall, the daily builds have always been kinda flaky.

          Reply
          • Success! 8)
            Now running RC5 daily 20220915 with your 515.65.01 patch on my GTX 1060 desktop! 8)
            My laptop is still running 5.19.8-xanmod1 on 340.108 with your patch.

            The trick for the desktop is there are two header files:
            linux-headers-6.0.0-060000rc4daily20220915-generic_6.0.0-0600rc5daily20220915.202209142214_amd64.deb
            and
            linux-headers-6.0.0-060000rc5daily20220916_6.0.0-0600rc5daily20220915.202209142214_all.deb

            I had to use the ALL one, NOT the GENERIC one. I had to do the same thing with RC3 but had forgotten.
            So yeah, all is still good with your patcher for the latest RC5 daily on Ubuntu on 515.65.01.

            Hope 340.108 is gonna be possible! 8) Good work and good luck!

            Reply
1 5 6 7 8

Leave a Reply to Steve Cancel reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Close