[opensuse-factory] Tumbleweed - Nvidia 340.102 & Kernel 4.11
All, Tumbleweed was updated with Kernel 4.11 today on my machine. As far as I know, there are two ways to patch the Nvidia intaller files to successfully install the driver. In either case, the files have to be extracted from the Nvidia installer package. This is done by using -x flag on the command line while running the installer (for example, ./NVIDIA-Linux-x86_64-340.102.run -x). A separate folder is created with files extracted. After patching the files, the ./nvidia- installer command to install the driver should be run from within this extracted folder. Three patches have to be downloaded from: https://pkgs.rpmfusion.org/cgit/nonfree/nvidia-340xx-kmod.git/tree/ The files are 4.10.0_kernel.patch, 4.11_kernel.patch and 4.9.0_kernel.patch. Copy these into the extract folder created by the installer and apply the patch command 3 times, one for each file (patch -p1 < name_of_patch, or patch -p0 < name_of_patch. If one command does not work, try the other). I strongly recommend that the patches be applied in order, 4.9, then 4.10, then 4.11. I applied 4.10 before 4.9 and 4.9 patch did not work and I had to manually apply 4.9 patch to source files. Alternatively, a single patch can be downloaded from: https://devtalk.nvidia.com/default/topic/1005209/linux/fully-working-patch-f... Copy this into extract folder above and apply the single patch. Detailed instructions are available at the site above on how to apply the patch. Many thanks to Roman Bysh who provided me with this solution to patch Nvidia files and a link to the where the patch file is provided. I would recommend the single patch as it is easier. I have tried both methods on my machine and the Nvidia driver was installed successfully. Hope this helps others. Sudhir Anand -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Wednesday, 17 May 2017 21:07:58 BST Sudhir Anand wrote:
All,
Tumbleweed was updated with Kernel 4.11 today on my machine. As far as I know, there are two ways to patch the Nvidia intaller files to successfully install the driver.
In either case, the files have to be extracted from the Nvidia installer package. This is done by using -x flag on the command line while running the installer (for example, ./NVIDIA-Linux-x86_64-340.102.run -x). A separate folder is created with files extracted. After patching the files, the ./nvidia- installer command to install the driver should be run from within this extracted folder.
Three patches have to be downloaded from: https://pkgs.rpmfusion.org/cgit/nonfree/nvidia-340xx-kmod.git/tree/
The files are 4.10.0_kernel.patch, 4.11_kernel.patch and 4.9.0_kernel.patch. Copy these into the extract folder created by the installer and apply the patch command 3 times, one for each file (patch -p1 < name_of_patch, or patch -p0 < name_of_patch. If one command does not work, try the other).
I strongly recommend that the patches be applied in order, 4.9, then 4.10, then 4.11.
I applied 4.10 before 4.9 and 4.9 patch did not work and I had to manually apply 4.9 patch to source files.
Alternatively, a single patch can be downloaded from: https://devtalk.nvidia.com/default/topic/1005209/linux/fully-working-patch-f or-nvidia-driver-340-102-compiler-installer-file-and-linux-kernel-4-11/
Copy this into extract folder above and apply the single patch. Detailed instructions are available at the site above on how to apply the patch.
Many thanks to Roman Bysh who provided me with this solution to patch Nvidia files and a link to the where the patch file is provided.
I would recommend the single patch as it is easier.
I have tried both methods on my machine and the Nvidia driver was installed successfully.
Hope this helps others.
Sudhir Anand
Very interesting but a very old NVIDIA driver version. Why not just download version 381 from NVIDIA's site as it works fine without any patches and it has lots of improvements over the older version.
Il 23/05/2017 19:15, Andrew Colvin ha scritto:
Very interesting but a very old NVIDIA driver version. Why not just download version 381 from NVIDIA's site as it works fine without any patches and it has lots of improvements over the older version.
Old cards are not supported by new drivers. Daniele. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
* Andrew Colvin
On Wednesday, 17 May 2017 21:07:58 BST Sudhir Anand wrote:
All,
Tumbleweed was updated with Kernel 4.11 today on my machine. As far as I know, there are two ways to patch the Nvidia intaller files to successfully install the driver.
In either case, the files have to be extracted from the Nvidia installer package. This is done by using -x flag on the command line while running the installer (for example, ./NVIDIA-Linux-x86_64-340.102.run -x). A separate folder is created with files extracted. After patching the files, the ./nvidia- installer command to install the driver should be run from within this extracted folder.
Three patches have to be downloaded from: https://pkgs.rpmfusion.org/cgit/nonfree/nvidia-340xx-kmod.git/tree/
The files are 4.10.0_kernel.patch, 4.11_kernel.patch and 4.9.0_kernel.patch. Copy these into the extract folder created by the installer and apply the patch command 3 times, one for each file (patch -p1 < name_of_patch, or patch -p0 < name_of_patch. If one command does not work, try the other).
I strongly recommend that the patches be applied in order, 4.9, then 4.10, then 4.11.
I applied 4.10 before 4.9 and 4.9 patch did not work and I had to manually apply 4.9 patch to source files.
Alternatively, a single patch can be downloaded from: https://devtalk.nvidia.com/default/topic/1005209/linux/fully-working-patch-f or-nvidia-driver-340-102-compiler-installer-file-and-linux-kernel-4-11/
Copy this into extract folder above and apply the single patch. Detailed instructions are available at the site above on how to apply the patch.
Many thanks to Roman Bysh who provided me with this solution to patch Nvidia files and a link to the where the patch file is provided.
I would recommend the single patch as it is easier.
I have tried both methods on my machine and the Nvidia driver was installed successfully.
Hope this helps others.
Sudhir Anand
Very interesting but a very old NVIDIA driver version. Why not just download version 381 from NVIDIA's site as it works fine without any patches and it has lots of improvements over the older version.
not here, 381.09 or 381.22 GTS 450 -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Registered Linux User #207535 @ http://linuxcounter.net Photos: http://wahoo.no-ip.org/piwigo -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Tue, 2017-05-23 at 18:15 +0100, Andrew Colvin wrote:
<snip>
Very interesting but a very old NVIDIA driver version. Why not just download version 381 from NVIDIA's site as it works fine without any patches and it has lots of improvements over the older version.
I have an old Laptop which uses the Nvidia 300 series chips. The driver you mention is from 400 series chip onwards. Regards. -- Sudhir Anand
On 23/05/17 04:21 PM, Sudhir Anand wrote:
On Tue, 2017-05-23 at 18:15 +0100, Andrew Colvin wrote:
<snip>
Very interesting but a very old NVIDIA driver version. Why not just download version 381 from NVIDIA's site as it works fine without any patches and it has lots of improvements over the older version.
I have an old Laptop which uses the Nvidia 300 series chips. The driver you mention is from 400 series chip onwards.
Regards.
Nvidia reports that newer drivers support Nvidia cards 400 and up. While the older cards below 400 must use the legacy 340 drivers. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (5)
-
Andrew Colvin
-
Daniele
-
Patrick Shanahan
-
Roman Bysh
-
Sudhir Anand