inttf NVIDIA 340.108 Patcher for Kernel 6.1/6.0/5.19/5.18/5.17/5.16/5.15/5.14/5.13 [BASH Script] - Comment Page: 9

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 6.1, 6.0, 5.19, 5.18, 5.17, 5.16, 5.15, 5.14, 5.13, 5.12, 5.11, 5.10 and 5.9 kernels. This should work with any distribution. You just need install wget and patch packages. Check video version of guide: Watch More Videos and Subscribe to if-not-true-then-false.com Youtube Channel Download...

257 comments on “inttf NVIDIA 340.108 Patcher for Kernel 6.1/6.0/5.19/5.18/5.17/5.16/5.15/5.14/5.13 [BASH Script] - Comment Page: 9

1 7 8 9
    1. I have Ubuntu 22.04.1 with kernel 5.15 and after installing the 340.108 driver (I have Nvidia 320M on a Macbook Pro 2010), I get the screen “Oh no, something has gone wrong” (gdm3 fails). I tried installing lightdm and sddm and get the same issue. Any idea?

      Reply
      • Hi Sarah,

        So you can’t start lightdm or sddm at all?

        Could you post full xorg log and gdm log example to pastebin?

        Reply
    2. Hi JR,

      I tried again, but still when I do (as root)
      ./NVIDIA-Linux-x86_64-390.154-patched-kernel-6.0.run I get (when run from anywhere):
      Verifying archive integrity… OK
      Uncompressing NVIDIA driver 390.154 patched for kernel 6.0+
      gzip: stdin: not in gzip format
      Extraction failed.

      I thought I posted the above, but never saw it posted, and never saw any reply either.

      lspci | grep VGA shows
      01:00.0 VGA compatible controller: NVIDIA Corporation GK208B [GeForce GT 710] (rev a1)

      uname -a shows
      Linux localhost 5.19.16-602.inttf.fc36.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Oct 17 16:51:38 EEST 2022 x86_64 x86_64 x86_64 GNU/Linux

      Thanks for any information.

      Reply
    3. Hi again JR,

      I forgot to say that
      nvidia-installer -v | grep version shows
      nvidia-installer: version 390.154 ([email protected]) Wed Jun 22

      Reply
    4. I can start lightdm and sddm, but not gdm3. I also can’t log into gnome (can log into other desktop environments). For the DEs I can log into, I can start nvidia-settings, but it gives me a warning, “You do not appear to be using the NVIDIA X driver. Please edit your X configuration file (just run ‘nvidia-xconfig’ as root) and restart the X server.”

      I gave up and tried Ubuntu 20.04.5 and all seemed well until I try to start the window manager. The screen goes black (like the screen is off; not even the “bright” lit up black like when the screen is on), never to recover (not even TTY). In recovery, I looked at ~/.xession-errors and it showed”

      gnome-session: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.

      Same with xfce (I had tried that afterwards; it will say xfce-session: Fatal IO). There’s other errors, like “Failed to set the background” and “Gtk-WARNING **” Negative content width -3 (allocation 1, extens 2×2) while allocating gadget (node button, owner PowerManagerButton).

      I checked Xorg.0.log and everything looks fine; the NVIDIA modules all loaded.

      So I am not entirely sure what is happening.

      Reply
      • Do you have secureboot enabled?

        Reply
        • not, i am on old pc
          c2q q6600, 4gb ram, gf9800, hdd

          Reply
          • Ok, do you have Linux kernel headers package installed?

            Reply
            • Yes installed. This yours script previously working good, this is firtst issue for me after updating Devuan to 6.0.0.5 kernel

              Reply
            • SOLVED!
              i am install default init for Devuan – sysv, now all installation and dkms compilation too working good

              ps i am experimenting and before install runit insted sysv

              Reply
    5. Just wanted to say that the current patch is still working on KERNEL 6.1! 8)

      Thank you for the great work JR.

      Reply
    6. LoadModule: “nvidia”
      [ 56.199] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
      [ 56.346] (II) Module nvidia: vendor=”NVIDIA Corporation”
      [ 56.346] compiled for 4.0.2, module version = 1.0.0
      [ 56.346] Module class: X.Org Video Driver
      [ 56.346] ================ WARNING WARNING WARNING WARNING ================
      [ 56.346] This server has a video driver ABI version of 25.2 that this
      driver does not officially support. Please check
      http://www.nvidia.com/ for driver updates or downgrade to an X
      server with a supported driver ABI.
      [ 56.346] =================================================================
      [ 56.346] (EE) NVIDIA: Use the -ignoreABI option to override this check.
      [ 56.346] (II) UnloadModule: “nvidia”
      [ 56.346] (II) Unloading nvidia
      [ 56.347] (EE) Failed to load module “nvidia” (unknown error, 0)

      hey i get this error from xorg on Ubuntu 22.04 and running kernel 5.15.0-60, and i can’t get any refference from google :(

      Reply
    7. [ 56.199] (II) LoadModule: “nvidia”
      [ 56.199] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
      [ 56.346] (II) Module nvidia: vendor=”NVIDIA Corporation”
      [ 56.346] compiled for 4.0.2, module version = 1.0.0
      [ 56.346] Module class: X.Org Video Driver
      [ 56.346] ================ WARNING WARNING WARNING WARNING ================
      [ 56.346] This server has a video driver ABI version of 25.2 that this
      driver does not officially support. Please check
      http://www.nvidia.com/ for driver updates or downgrade to an X
      server with a supported driver ABI.
      [ 56.346] =================================================================
      [ 56.346] (EE) NVIDIA: Use the -ignoreABI option to override this check.
      [ 56.346] (II) UnloadModule: “nvidia”
      [ 56.346] (II) Unloading nvidia
      [ 56.347] (EE) Failed to load module “nvidia” (unknown error, 0)

      hey i am using ubuntu 22.04 and running kernel 5.15.0-60 i get this error from xorg
      and when i run [nvidia-smi] it say “not supported” on process section.

      Reply
      • Hi gigih,

        Try to add following to your /etc/X11/xorg.conf:

        Section "ServerFlags"
          Option "IgnoreABI" "1"
        EndSection 
        Reply
      • Thank you Alexander, I will add this soon to script!

        Reply
1 7 8 9

Leave a Reply

Your email address will not be published. Required fields are marked *

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

Close