[opensuse-factory] Kernel 4.0 and Nvidia legacy driver installation problem
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello all, Is there a patch for the nVidia driver 340.76 so that it can install to kernel 4.0x? Or is the problem in the latest Tumbleweed kernel? - -- Cheers! Roman -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBAgAGBQJVSS5uAAoJEAwC6tvrxPmQuigP/izVHjXrIXIvNhjl37Kovxn3 MPy7gtcH3W+rh769VfU7rRhmiqqXM5S+l4Daxdv9vktEuTUMA3vvWFeHFwxSUxh4 WJJJ8xqrwZWQcmjQ7xL0dOL3EuvCHth9TCEPH/72a9sciEBA+YERyPYfW7yMBm82 YbXSe4CUteFnOEWZmB8Z5BfOeDv+eA39R+Bed1JFqdeYLOFnez/j7MJ4cnFkxvP+ cMoz9SqECyMzv++p7WydtO92r9q3jtNIjK47CotyviymU5qs/bOOjX3cy+5EIgTo FpVuOzAzyGr+fiaD8nGA1Rb5NgX581VRy/bZyrBqQzTPakrZ6aMCBbGgE58eftXA K+TFIDnPxai1++foqHz47UYmoubf/6KcjAeNpbWPZ7RAt4y16UyFqsyph5aB1Je1 OCP201vKdg5/dTRNqGHdOxCZkFM+Seiy5Miqqi+oA9UW8F1ZfGK4z2w+FvRTx5GI y+QtyQPIPtSgfVHehvmMFQrJZW18QJBgrfc7Y1Ug69PJysvHfTrUA3oM0CFL/W3E a2Kyu7AZFOUoxJlc0O+PPZ0X/5nCVeeVmx9wM1h6IQqjQHWtuSFgMuqmz82xAqme kcE6CTBC0kc2ss3iiaU/5P63tu2Fw5Vzvfrv2LJs4gO8Olt0S3RhjNG+sOtr8ohD qqrHcEqmA99iXFTb/9dQ =Ktvd -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
* Roman Bysh <rbtc1@rogers.com> [05-05-15 19:07]:
Is there a patch for the nVidia driver 340.76 so that it can install to kernel 4.0x? Or is the problem in the latest Tumbleweed kernel?
Don't know about 340.76, but NVIDIA-Linux-x86_64-349.12.run and NVIDIA-Linux-x86_64-349.17.run don't have a problem on my system, Tw and kernel-desktop-4.0.0-1.1.x86_64. Perhaps 340.76 is too old, try a newer package. -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 05/05/2015 07:19 PM, Patrick Shanahan wrote:
* Roman Bysh <rbtc1@rogers.com> [05-05-15 19:07]:
Is there a patch for the nVidia driver 340.76 so that it can install to kernel 4.0x? Or is the problem in the latest Tumbleweed kernel?
Don't know about 340.76, but NVIDIA-Linux-x86_64-349.12.run and NVIDIA-Linux-x86_64-349.17.run don't have a problem on my system, Tw and kernel-desktop-4.0.0-1.1.x86_64.
Perhaps 340.76 is too old, try a newer package.
The problem is that my graphics card is the GeForce 8600 GTS. So I have to use a legacy driver. Do you think I can get away with a newer version? Any thoughts? Roman -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
* Roman Bysh <rbtc1@rogers.com> [05-05-15 21:01]:
On 05/05/2015 07:19 PM, Patrick Shanahan wrote:
* Roman Bysh <rbtc1@rogers.com> [05-05-15 19:07]:
Is there a patch for the nVidia driver 340.76 so that it can install to kernel 4.0x? Or is the problem in the latest Tumbleweed kernel?
Don't know about 340.76, but NVIDIA-Linux-x86_64-349.12.run and NVIDIA-Linux-x86_64-349.17.run don't have a problem on my system, Tw and kernel-desktop-4.0.0-1.1.x86_64.
Perhaps 340.76 is too old, try a newer package.
The problem is that my graphics card is the GeForce 8600 GTS. So I have to use a legacy driver. Do you think I can get away with a newer version?
Any thoughts?
You can go the the nvidia site and see if newer packages are compatible with your card. I don't have a copy of 340.76, but have 340.65. You could try installing a newer version. If it doesn't work, just reinstall 340.76 or 340.65 from me or go to: ftp://download.nvidia.com/XFree86/Linux-x86_64/ and get 340.76 or whichever version suits you. I have had several packages not work and just replaced them with another. -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Tue, May 5, 2015 at 5:56 PM, Roman Bysh <rbtc1@rogers.com> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hello all,
Is there a patch for the nVidia driver 340.76 so that it can install to kernel 4.0x? Or is the problem in the latest Tumbleweed kernel?
What problem do you have with the nouveau driver ? -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 05/05/2015 09:10 PM, Cristian Rodríguez wrote:
On Tue, May 5, 2015 at 5:56 PM, Roman Bysh <rbtc1@rogers.com> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hello all,
Is there a patch for the nVidia driver 340.76 so that it can install to kernel 4.0x? Or is the problem in the latest Tumbleweed kernel?
What problem do you have with the nouveau driver ?
Actually, I believe that this is the best version of nouveau to date. The reason I was asking is that I have not been successful installing the legacy driver. I can always stick with nouveau. Cheers! Roman -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
В Tue, 05 May 2015 21:19:12 -0400 Roman Bysh <rbtc1@rogers.com> пишет:
On 05/05/2015 09:10 PM, Cristian Rodríguez wrote:
On Tue, May 5, 2015 at 5:56 PM, Roman Bysh <rbtc1@rogers.com> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hello all,
Is there a patch for the nVidia driver 340.76 so that it can install to kernel 4.0x? Or is the problem in the latest Tumbleweed kernel?
What problem do you have with the nouveau driver ?
Fan works without stop. It becomes hot. It has far more artifacts than nVidia drivers (e.g. scrolling literally hurts eyes).
Actually, I believe that this is the best version of nouveau to date.
The reason I was asking is that I have not been successful installing the legacy driver.
I can always stick with nouveau.
Good for you. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 05/05/2015 03:56 PM, Roman Bysh wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hello all,
Is there a patch for the nVidia driver 340.76 so that it can install to kernel 4.0x? Or is the problem in the latest Tumbleweed kernel?
You might post the build error. It is possible that we would know the fix. Larry -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 05/06/2015 01:45 AM, Larry Finger wrote:
On 05/05/2015 03:56 PM, Roman Bysh wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hello all,
Is there a patch for the nVidia driver 340.76 so that it can install to kernel 4.0x? Or is the problem in the latest Tumbleweed kernel?
You might post the build error. It is possible that we would know the fix.
Larry
Larry, I've attached to nvidia-installer.log. It's quite lengthy. The patch I found is: snip<------------------------------------------------------------ --- nv-pat.c.orig +++ nv-pat.c @@ -35,8 +35,13 @@ static inline void nv_disable_caches(uns unsigned long cr0 = read_cr0(); write_cr0(((cr0 & (0xdfffffff)) | 0x40000000)); wbinvd(); +#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 20, 0) *cr4 = read_cr4(); if (*cr4 & 0x80) write_cr4(*cr4 & ~0x80); +#else + *cr4 = __read_cr4(); + if (*cr4 & 0x80) __write_cr4(*cr4 & ~0x80); +#endif __flush_tlb(); } @@ -46,7 +51,11 @@ static inline void nv_enable_caches(unsi wbinvd(); __flush_tlb(); write_cr0((cr0 & 0x9fffffff)); +#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 20, 0) if (cr4 & 0x80) write_cr4(cr4); +#else + if (cr4 & 0x80) __write_cr4(cr4); +#endif } static int nv_determine_pat_mode(void) snip<------------------------------------------------------------- I think this patch would work if I copy it to /home/mantrid/NVIDIA-Linux-x86_64-340.76/kernel/ where nv-pat.c is located. And apply: patch -p1 < nvidia-340.76-kernel-4.0.patch Now if the patch was applied to the original "non-compressed" NVIDIA Accelerated Graphics Driver for Linux-x86_64 340.76, shouldn't we change: --- nv-pat.c.orig +++ nv-pat.c to --- /kernel/nv-pat.c.orig +++ /kernel/nv-pat.c I'm new to creating patches. Cheers! Roman
On 05/06/2015 04:08 PM, Roman Bysh wrote:
On 05/06/2015 01:45 AM, Larry Finger wrote:
On 05/05/2015 03:56 PM, Roman Bysh wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hello all,
Is there a patch for the nVidia driver 340.76 so that it can install to kernel 4.0x? Or is the problem in the latest Tumbleweed kernel?
You might post the build error. It is possible that we would know the fix.
Larry
Larry,
I've attached to nvidia-installer.log. It's quite lengthy.
The patch I found is:
snip<------------------------------------------------------------
--- nv-pat.c.orig +++ nv-pat.c @@ -35,8 +35,13 @@ static inline void nv_disable_caches(uns unsigned long cr0 = read_cr0(); write_cr0(((cr0 & (0xdfffffff)) | 0x40000000)); wbinvd(); +#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 20, 0) *cr4 = read_cr4(); if (*cr4 & 0x80) write_cr4(*cr4 & ~0x80); +#else + *cr4 = __read_cr4(); + if (*cr4 & 0x80) __write_cr4(*cr4 & ~0x80); +#endif __flush_tlb(); }
@@ -46,7 +51,11 @@ static inline void nv_enable_caches(unsi wbinvd(); __flush_tlb(); write_cr0((cr0 & 0x9fffffff)); +#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 20, 0) if (cr4 & 0x80) write_cr4(cr4); +#else + if (cr4 & 0x80) __write_cr4(cr4); +#endif }
static int nv_determine_pat_mode(void)
snip<-------------------------------------------------------------
I think this patch would work if I copy it to /home/mantrid/NVIDIA-Linux-x86_64-340.76/kernel/ where nv-pat.c is located.
And apply: patch -p1 < nvidia-340.76-kernel-4.0.patch
Now if the patch was applied to the original "non-compressed" NVIDIA Accelerated Graphics Driver for Linux-x86_64 340.76, shouldn't we change:
--- nv-pat.c.orig +++ nv-pat.c
to
--- /kernel/nv-pat.c.orig +++ /kernel/nv-pat.c
I'm new to creating patches.
Those are the errors you need to correct. Leave the patch the way it was, but you would need to use -p0, not -p1. The number controls how many directories are stripped. The second way would work with -p1, but you need to get rid of the leading /. The paths need to be relative, not absolute. Larry -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 05/06/2015 07:00 PM, Larry Finger wrote:
On 05/06/2015 04:08 PM, Roman Bysh wrote:
On 05/06/2015 01:45 AM, Larry Finger wrote:
On 05/05/2015 03:56 PM, Roman Bysh wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hello all,
Is there a patch for the nVidia driver 340.76 so that it can install to kernel 4.0x? Or is the problem in the latest Tumbleweed kernel?
You might post the build error. It is possible that we would know the fix.
Larry
Larry,
I've attached to nvidia-installer.log. It's quite lengthy.
The patch I found is:
snip<------------------------------------------------------------
--- nv-pat.c.orig +++ nv-pat.c @@ -35,8 +35,13 @@ static inline void nv_disable_caches(uns unsigned long cr0 = read_cr0(); write_cr0(((cr0 & (0xdfffffff)) | 0x40000000)); wbinvd(); +#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 20, 0) *cr4 = read_cr4(); if (*cr4 & 0x80) write_cr4(*cr4 & ~0x80); +#else + *cr4 = __read_cr4(); + if (*cr4 & 0x80) __write_cr4(*cr4 & ~0x80); +#endif __flush_tlb(); }
@@ -46,7 +51,11 @@ static inline void nv_enable_caches(unsi wbinvd(); __flush_tlb(); write_cr0((cr0 & 0x9fffffff)); +#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 20, 0) if (cr4 & 0x80) write_cr4(cr4); +#else + if (cr4 & 0x80) __write_cr4(cr4); +#endif }
static int nv_determine_pat_mode(void)
snip<-------------------------------------------------------------
I think this patch would work if I copy it to /home/mantrid/NVIDIA-Linux-x86_64-340.76/kernel/ where nv-pat.c is located.
And apply: patch -p1 < nvidia-340.76-kernel-4.0.patch
Now if the patch was applied to the original "non-compressed" NVIDIA Accelerated Graphics Driver for Linux-x86_64 340.76, shouldn't we change:
--- nv-pat.c.orig +++ nv-pat.c
to
--- /kernel/nv-pat.c.orig +++ /kernel/nv-pat.c
I'm new to creating patches.
Those are the errors you need to correct. Leave the patch the way it was, but you would need to use -p0, not -p1. The number controls how many directories are stripped. The second way would work with -p1, but you need to get rid of the leading /. The paths need to be relative, not absolute.
Larry
Great. Once I complete the patch and run it a couple of times, I'll have a better understanding. Thank you for the explanation. Cheers! Roman -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 05/06/2015 07:00 PM, Larry Finger wrote:
On 05/06/2015 04:08 PM, Roman Bysh wrote:
On 05/06/2015 01:45 AM, Larry Finger wrote:
On 05/05/2015 03:56 PM, Roman Bysh wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hello all,
Is there a patch for the nVidia driver 340.76 so that it can install to kernel 4.0x? Or is the problem in the latest Tumbleweed kernel?
You might post the build error. It is possible that we would know the fix.
Larry
Larry,
I've attached to nvidia-installer.log. It's quite lengthy.
The patch I found is:
snip<------------------------------------------------------------
--- nv-pat.c.orig +++ nv-pat.c @@ -35,8 +35,13 @@ static inline void nv_disable_caches(uns unsigned long cr0 = read_cr0(); write_cr0(((cr0 & (0xdfffffff)) | 0x40000000)); wbinvd(); +#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 20, 0) *cr4 = read_cr4(); if (*cr4 & 0x80) write_cr4(*cr4 & ~0x80); +#else + *cr4 = __read_cr4(); + if (*cr4 & 0x80) __write_cr4(*cr4 & ~0x80); +#endif __flush_tlb(); }
@@ -46,7 +51,11 @@ static inline void nv_enable_caches(unsi wbinvd(); __flush_tlb(); write_cr0((cr0 & 0x9fffffff)); +#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 20, 0) if (cr4 & 0x80) write_cr4(cr4); +#else + if (cr4 & 0x80) __write_cr4(cr4); +#endif }
static int nv_determine_pat_mode(void)
snip<-------------------------------------------------------------
I think this patch would work if I copy it to /home/mantrid/NVIDIA-Linux-x86_64-340.76/kernel/ where nv-pat.c is located.
And apply: patch -p1 < nvidia-340.76-kernel-4.0.patch
Now if the patch was applied to the original "non-compressed" NVIDIA Accelerated Graphics Driver for Linux-x86_64 340.76, shouldn't we change:
--- nv-pat.c.orig +++ nv-pat.c
to
--- /kernel/nv-pat.c.orig +++ /kernel/nv-pat.c
I'm new to creating patches.
Those are the errors you need to correct. Leave the patch the way it was, but you would need to use -p0, not -p1. The number controls how many directories are stripped. The second way would work with -p1, but you need to get rid of the leading /. The paths need to be relative, not absolute.
Larry
I fixed so that users can apply the patch without extracting the driver. snip<-------------------------------------------------------------> Index: kernel/nv-pat.c =================================================================== --- kernel/nv-pat.c.orig +++ kernel/nv-pat.c @@ -35,8 +35,13 @@ static inline void nv_disable_caches(uns unsigned long cr0 = read_cr0(); write_cr0(((cr0 & (0xdfffffff)) | 0x40000000)); wbinvd(); +#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 20, 0) *cr4 = read_cr4(); if (*cr4 & 0x80) write_cr4(*cr4 & ~0x80); +#else + *cr4 = __read_cr4(); + if (*cr4 & 0x80) __write_cr4(*cr4 & ~0x80); +#endif __flush_tlb(); } @@ -46,7 +51,11 @@ static inline void nv_enable_caches(unsi wbinvd(); __flush_tlb(); write_cr0((cr0 & 0x9fffffff)); +#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 20, 0) if (cr4 & 0x80) write_cr4(cr4); +#else + if (cr4 & 0x80) __write_cr4(cr4); +#endif } static int nv_determine_pat_mode(void) snip<-------------------------------------------------------------> Assign a file name ending in .patch Then type: sh NVIDIA-Linux-x86_64-340.76.run --apply-patch nvidia-340.76-kernel-4.0.patch When finished, the name changes to NVIDIA-Linux-x86_64-340.76-custom.run and is now compatible with kernel 4.0x for installation. Cheers! Roman -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 05/07/2015 07:14 PM, Roman Bysh wrote:
On 05/06/2015 07:00 PM, Larry Finger wrote:
On 05/06/2015 04:08 PM, Roman Bysh wrote:
On 05/06/2015 01:45 AM, Larry Finger wrote:
On 05/05/2015 03:56 PM, Roman Bysh wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hello all,
Is there a patch for the nVidia driver 340.76 so that it can install to kernel 4.0x? Or is the problem in the latest Tumbleweed kernel?
You might post the build error. It is possible that we would know the fix.
Larry
Larry,
I've attached to nvidia-installer.log. It's quite lengthy.
The patch I found is:
snip<------------------------------------------------------------
--- nv-pat.c.orig +++ nv-pat.c @@ -35,8 +35,13 @@ static inline void nv_disable_caches(uns unsigned long cr0 = read_cr0(); write_cr0(((cr0 & (0xdfffffff)) | 0x40000000)); wbinvd(); +#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 20, 0) *cr4 = read_cr4(); if (*cr4 & 0x80) write_cr4(*cr4 & ~0x80); +#else + *cr4 = __read_cr4(); + if (*cr4 & 0x80) __write_cr4(*cr4 & ~0x80); +#endif __flush_tlb(); }
@@ -46,7 +51,11 @@ static inline void nv_enable_caches(unsi wbinvd(); __flush_tlb(); write_cr0((cr0 & 0x9fffffff)); +#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 20, 0) if (cr4 & 0x80) write_cr4(cr4); +#else + if (cr4 & 0x80) __write_cr4(cr4); +#endif }
static int nv_determine_pat_mode(void)
snip<-------------------------------------------------------------
I think this patch would work if I copy it to /home/mantrid/NVIDIA-Linux-x86_64-340.76/kernel/ where nv-pat.c is located.
And apply: patch -p1 < nvidia-340.76-kernel-4.0.patch
Now if the patch was applied to the original "non-compressed" NVIDIA Accelerated Graphics Driver for Linux-x86_64 340.76, shouldn't we change:
--- nv-pat.c.orig +++ nv-pat.c
to
--- /kernel/nv-pat.c.orig +++ /kernel/nv-pat.c
I'm new to creating patches.
Those are the errors you need to correct. Leave the patch the way it was, but you would need to use -p0, not -p1. The number controls how many directories are stripped. The second way would work with -p1, but you need to get rid of the leading /. The paths need to be relative, not absolute.
Larry
I fixed so that users can apply the patch without extracting the driver.
snip<------------------------------------------------------------->
Index: kernel/nv-pat.c =================================================================== --- kernel/nv-pat.c.orig +++ kernel/nv-pat.c @@ -35,8 +35,13 @@ static inline void nv_disable_caches(uns unsigned long cr0 = read_cr0(); write_cr0(((cr0 & (0xdfffffff)) | 0x40000000)); wbinvd(); +#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 20, 0) *cr4 = read_cr4(); if (*cr4 & 0x80) write_cr4(*cr4 & ~0x80); +#else + *cr4 = __read_cr4(); + if (*cr4 & 0x80) __write_cr4(*cr4 & ~0x80); +#endif __flush_tlb(); }
@@ -46,7 +51,11 @@ static inline void nv_enable_caches(unsi wbinvd(); __flush_tlb(); write_cr0((cr0 & 0x9fffffff)); +#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 20, 0) if (cr4 & 0x80) write_cr4(cr4); +#else + if (cr4 & 0x80) __write_cr4(cr4); +#endif }
static int nv_determine_pat_mode(void)
snip<------------------------------------------------------------->
Assign a file name ending in .patch
Then type:
sh NVIDIA-Linux-x86_64-340.76.run --apply-patch nvidia-340.76-kernel-4.0.patch
When finished, the name changes to NVIDIA-Linux-x86_64-340.76-custom.run and is now compatible with kernel 4.0x for installation.
Good work. Larry -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 05/07/2015 05:14 PM, Roman Bysh wrote:
Assign a file name ending in .patch
Then type:
sh NVIDIA-Linux-x86_64-340.76.run --apply-patch nvidia-340.76-kernel-4.0.patch
When finished, the name changes to NVIDIA-Linux-x86_64-340.76-custom.run and is now compatible with kernel 4.0x for installation.
Cheers!
Roman
Hi Roman-- Thank you so very much!! Tom -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 05/08/2015 02:36 PM, Tom Wekell wrote:
On 05/07/2015 05:14 PM, Roman Bysh wrote:
Assign a file name ending in .patch
Then type:
sh NVIDIA-Linux-x86_64-340.76.run --apply-patch nvidia-340.76-kernel-4.0.patch
When finished, the name changes to NVIDIA-Linux-x86_64-340.76-custom.run and is now compatible with kernel 4.0x for installation.
Cheers!
Roman
Hi Roman-- Thank you so very much!! Tom You are welcome.
Cheers! Roman -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Tuesday 05 May 2015 16:56:14 Roman Bysh wrote:
Hello all,
Is there a patch for the nVidia driver 340.76 so that it can install to kernel 4.0x? Or is the problem in the latest Tumbleweed kernel?
write_cr4 was renamed, see variant from our packages: https://build.opensuse.org/package/rdiff/X11:Drivers:Video/nvidia-gfxG03?linkrev=base&rev=110 -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Wed, May 6, 2015 at 10:53 AM, Dmitry Roshchin <dmitry@roshchin.org> wrote:
On Tuesday 05 May 2015 16:56:14 Roman Bysh wrote:
Hello all,
Is there a patch for the nVidia driver 340.76 so that it can install to kernel 4.0x? Or is the problem in the latest Tumbleweed kernel?
write_cr4 was renamed, see variant from our packages: https://build.opensuse.org/package/rdiff/X11:Drivers:Video/nvidia-gfxG03?linkrev=base&rev=110
Care to open bug report? Stefan is pretty responsive usually. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 05/06/2015 03:53 AM, Dmitry Roshchin wrote:
On Tuesday 05 May 2015 16:56:14 Roman Bysh wrote:
Hello all,
Is there a patch for the nVidia driver 340.76 so that it can install to kernel 4.0x? Or is the problem in the latest Tumbleweed kernel?
write_cr4 was renamed, see variant from our packages: https://build.opensuse.org/package/rdiff/X11:Drivers:Video/nvidia-gfxG03?linkrev=base&rev=110
That is the same patch that I found on the nVidia devs Linux forum. I would like to apply that patch to the NVIDIA-Linux-x86_64-340.76.run driver without extracting the entire driver. Cheers! Roman -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBAgAGBQJVSnZEAAoJEAwC6tvrxPmQ3xMP/0T7cY+JjJdYTw3du9wEYQoN 0Hf2fmxFe3n5EnXsR4/GRCOqZBLqqbbGSjCRsoAMghTtmbIbWeNxsH49FOUv+oTk MN78bLA5n5Le0rDaDKnhPmN9EWebFLEZoXpCXgPv8iNeCbBA7TZNtv0lCa7hKsNK tsGx/oh7Kxoap4tg45jeulq7VUMaYUjMEUvduhLyehlcfbYHWYDqUASlpbjKomXq tubyK3RP6oeTsgQ0HmOxNeLu3DxO0g5fmF9saj4tsKFN4i9aXQ9DoEHnImDI/owL 1hBhRkHHSc/kV+IPSlFIRGc8z1T+a5i3WJI6srhbprPNrRpsQLkY8h3mjeKQ9n7t n5Zl14jfdYB4/GwzxGKoZnlJ0OzuvnDLzmosSmQjy80ktnJjObGBOlbY3Iyg/ga2 awGMdhVDNgOJsa1Np74lNOiz9gKgMYaUHba4iMsZun2q/9cUHFqjEG2oGbg7iUdZ pJwbOOSVqRgnq9Oy38+SQm8vjAprQGDulwGIsDQojedHUL5BMfvVuQRPUPNX/ts0 qQM06wjrwe1B/JGaMR9KTNcWvluj+POA+5WBCA55LGrWdeHp/1BfALRkDdTU/Yo2 5hzPlp02xHbyrbAnzr2Q/Hdu7Ihi4ll4nKkrpexu6jKtRbAbjgczYylSOYWuUAWS fT9w6rG+5SvJflAvapJq =XPh4 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
I am using DKMS-powered x11-video-nvidia drivers from https://build.opensuse.org/project/show/home:Bumblebee-Project:nVidia:latest... on latest TW and which runs pretty good, most likely thanks to patch [1] [1]: https://build.opensuse.org/package/view_file/home:Bumblebee-Project:nVidia:l... 2015-05-05 23:56 GMT+03:00 Roman Bysh <rbtc1@rogers.com>:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hello all,
Is there a patch for the nVidia driver 340.76 so that it can install to kernel 4.0x? Or is the problem in the latest Tumbleweed kernel?
- -- Cheers!
Roman
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQIcBAEBAgAGBQJVSS5uAAoJEAwC6tvrxPmQuigP/izVHjXrIXIvNhjl37Kovxn3 MPy7gtcH3W+rh769VfU7rRhmiqqXM5S+l4Daxdv9vktEuTUMA3vvWFeHFwxSUxh4 WJJJ8xqrwZWQcmjQ7xL0dOL3EuvCHth9TCEPH/72a9sciEBA+YERyPYfW7yMBm82 YbXSe4CUteFnOEWZmB8Z5BfOeDv+eA39R+Bed1JFqdeYLOFnez/j7MJ4cnFkxvP+ cMoz9SqECyMzv++p7WydtO92r9q3jtNIjK47CotyviymU5qs/bOOjX3cy+5EIgTo FpVuOzAzyGr+fiaD8nGA1Rb5NgX581VRy/bZyrBqQzTPakrZ6aMCBbGgE58eftXA K+TFIDnPxai1++foqHz47UYmoubf/6KcjAeNpbWPZ7RAt4y16UyFqsyph5aB1Je1 OCP201vKdg5/dTRNqGHdOxCZkFM+Seiy5Miqqi+oA9UW8F1ZfGK4z2w+FvRTx5GI y+QtyQPIPtSgfVHehvmMFQrJZW18QJBgrfc7Y1Ug69PJysvHfTrUA3oM0CFL/W3E a2Kyu7AZFOUoxJlc0O+PPZ0X/5nCVeeVmx9wM1h6IQqjQHWtuSFgMuqmz82xAqme kcE6CTBC0kc2ss3iiaU/5P63tu2Fw5Vzvfrv2LJs4gO8Olt0S3RhjNG+sOtr8ohD qqrHcEqmA99iXFTb/9dQ =Ktvd -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
-- Regards, Andrei Dziahel -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Tue, May 5, 2015 at 11:56 PM, Roman Bysh <rbtc1@rogers.com> wrote:
Is there a patch for the nVidia driver 340.76 so that it can install to kernel 4.0x? Or is the problem in the latest Tumbleweed kernel?
Out of curiosity, have you tried building from X11:Drivers:Video/nvidia-gfxG03 ? The RPMs are not published but everything is nicely put into place and the README file has all the information you need. A sample session ( I use gfxG04 ) looks like this: osc co X11:Drivers:Video nvidia-gfxG04 osc dr # download drivers osc build openSUSE_Factory x86_64 nvidia-gfxG04.spec # copy RPMs out of /var/tmp/build-root osc build openSUSE_Factory x86_64 nvidia-uvm-gfxG04.spec # copy RPMs out of /var/tmp/build-root osc build openSUSE_Factory x86_64 x11-video-nvidiaG04.spec # copy RPMs out of /var/tmp/build-root sudo zypper in *.rpm This worked for me with 20150430 ( kernel 4.0.0-1-desktop ). Cheers, Robert -- http://robert.muntea.nu/ -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Fri, May 8, 2015 at 9:58 AM, Robert Munteanu <robert.munteanu@gmail.com> wrote:
osc dr # download drivers
"osc dr" was deleterequest, or am I confused? -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Fri, May 8, 2015 at 11:39 AM, Andrei Borzenkov <arvidjaar@gmail.com> wrote:
osc dr # download drivers
"osc dr" was deleterequest, or am I confused?
Sorry, I meant osc service dr Robert -- http://robert.muntea.nu/ -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 05/08/2015 02:58 AM, Robert Munteanu wrote:
On Tue, May 5, 2015 at 11:56 PM, Roman Bysh <rbtc1@rogers.com> wrote:
Is there a patch for the nVidia driver 340.76 so that it can install to kernel 4.0x? Or is the problem in the latest Tumbleweed kernel?
Out of curiosity, have you tried building from X11:Drivers:Video/nvidia-gfxG03 ? The RPMs are not published but everything is nicely put into place and the README file has all the information you need.
A sample session ( I use gfxG04 ) looks like this:
osc co X11:Drivers:Video nvidia-gfxG04 osc dr # download drivers osc build openSUSE_Factory x86_64 nvidia-gfxG04.spec # copy RPMs out of /var/tmp/build-root osc build openSUSE_Factory x86_64 nvidia-uvm-gfxG04.spec # copy RPMs out of /var/tmp/build-root osc build openSUSE_Factory x86_64 x11-video-nvidiaG04.spec # copy RPMs out of /var/tmp/build-root sudo zypper in *.rpm
This worked for me with 20150430 ( kernel 4.0.0-1-desktop ).
Cheers,
Robert
Does it download files to your computer? -- Cheers! Roman -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Sat, May 9, 2015 at 1:14 AM, Roman Bysh <rbtc1@rogers.com> wrote:
On 05/08/2015 02:58 AM, Robert Munteanu wrote:
On Tue, May 5, 2015 at 11:56 PM, Roman Bysh <rbtc1@rogers.com> wrote:
Is there a patch for the nVidia driver 340.76 so that it can install to kernel 4.0x? Or is the problem in the latest Tumbleweed kernel?
Out of curiosity, have you tried building from X11:Drivers:Video/nvidia-gfxG03 ? The RPMs are not published but everything is nicely put into place and the README file has all the information you need.
A sample session ( I use gfxG04 ) looks like this:
osc co X11:Drivers:Video nvidia-gfxG04 osc dr # download drivers osc build openSUSE_Factory x86_64 nvidia-gfxG04.spec # copy RPMs out of /var/tmp/build-root osc build openSUSE_Factory x86_64 nvidia-uvm-gfxG04.spec # copy RPMs out of /var/tmp/build-root osc build openSUSE_Factory x86_64 x11-video-nvidiaG04.spec # copy RPMs out of /var/tmp/build-root sudo zypper in *.rpm
This worked for me with 20150430 ( kernel 4.0.0-1-desktop ).
Cheers,
Robert
Does it download files to your computer?
Yes, the osc service dr step is supposed to do that. Run ps -efH and you will see that the osc commands spawns a wget process which downloads the files, initially under a random directory under /tmp. Robert -- http://robert.muntea.nu/ -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 05/08/2015 06:22 PM, Robert Munteanu wrote:
On Sat, May 9, 2015 at 1:14 AM, Roman Bysh <rbtc1@rogers.com> wrote:
On 05/08/2015 02:58 AM, Robert Munteanu wrote:
On Tue, May 5, 2015 at 11:56 PM, Roman Bysh <rbtc1@rogers.com> wrote:
Is there a patch for the nVidia driver 340.76 so that it can install to kernel 4.0x? Or is the problem in the latest Tumbleweed kernel?
Out of curiosity, have you tried building from X11:Drivers:Video/nvidia-gfxG03 ? The RPMs are not published but everything is nicely put into place and the README file has all the information you need.
A sample session ( I use gfxG04 ) looks like this:
osc co X11:Drivers:Video nvidia-gfxG04 osc dr # download drivers osc build openSUSE_Factory x86_64 nvidia-gfxG04.spec # copy RPMs out of /var/tmp/build-root osc build openSUSE_Factory x86_64 nvidia-uvm-gfxG04.spec # copy RPMs out of /var/tmp/build-root osc build openSUSE_Factory x86_64 x11-video-nvidiaG04.spec # copy RPMs out of /var/tmp/build-root sudo zypper in *.rpm
This worked for me with 20150430 ( kernel 4.0.0-1-desktop ).
Cheers,
Robert
Does it download files to your computer?
Yes, the osc service dr step is supposed to do that. Run ps -efH and you will see that the osc commands spawns a wget process which downloads the files, initially under a random directory under /tmp.
Robert
I'm getting this message. osc co X11:Drivers:Video nvidia-gfxG03 Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/osc/commandline.py", line 8222, in _load_plugins mod = imp.load_source(modname, os.path.join(plugin_dir, extfile)) File "/var/lib/osc-plugins/overview.py", line 47, in <module> @cmdln.option('-c', '--changelog', action='store_true', NameError: name 'cmdln' is not defined /var/lib/osc-plugins/overview.py: name 'cmdln' is not defined Try 'env OSC_PLUGIN_FAIL_IGNORE=1 osc ...' Cheers! Roman -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Sat, May 9, 2015 at 1:45 AM, Roman Bysh <rbtc1@rogers.com> wrote:
On 05/08/2015 06:22 PM, Robert Munteanu wrote:
On Sat, May 9, 2015 at 1:14 AM, Roman Bysh <rbtc1@rogers.com> wrote:
On 05/08/2015 02:58 AM, Robert Munteanu wrote:
On Tue, May 5, 2015 at 11:56 PM, Roman Bysh <rbtc1@rogers.com> wrote:
Is there a patch for the nVidia driver 340.76 so that it can install to kernel 4.0x? Or is the problem in the latest Tumbleweed kernel?
Out of curiosity, have you tried building from X11:Drivers:Video/nvidia-gfxG03 ? The RPMs are not published but everything is nicely put into place and the README file has all the information you need.
A sample session ( I use gfxG04 ) looks like this:
osc co X11:Drivers:Video nvidia-gfxG04 osc dr # download drivers osc build openSUSE_Factory x86_64 nvidia-gfxG04.spec # copy RPMs out of /var/tmp/build-root osc build openSUSE_Factory x86_64 nvidia-uvm-gfxG04.spec # copy RPMs out of /var/tmp/build-root osc build openSUSE_Factory x86_64 x11-video-nvidiaG04.spec # copy RPMs out of /var/tmp/build-root sudo zypper in *.rpm
This worked for me with 20150430 ( kernel 4.0.0-1-desktop ).
Cheers,
Robert
Does it download files to your computer?
Yes, the osc service dr step is supposed to do that. Run ps -efH and you will see that the osc commands spawns a wget process which downloads the files, initially under a random directory under /tmp.
Robert
I'm getting this message.
osc co X11:Drivers:Video nvidia-gfxG03 Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/osc/commandline.py", line 8222, in _load_plugins mod = imp.load_source(modname, os.path.join(plugin_dir, extfile)) File "/var/lib/osc-plugins/overview.py", line 47, in <module> @cmdln.option('-c', '--changelog', action='store_true', NameError: name 'cmdln' is not defined
/var/lib/osc-plugins/overview.py: name 'cmdln' is not defined
Try 'env OSC_PLUGIN_FAIL_IGNORE=1 osc ...'
Hm, that I haven't seen so far. A quick google search [1] suggests to remove extra plugins like osc-plugin-collab and osc-plugin-overview. If that doesn't work, maybe someone familiar with osc internals can help. Robert [1]: http://lists.opensuse.org/opensuse/2013-11/msg01033.html -- http://robert.muntea.nu/ -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 05/08/2015 07:11 PM, Robert Munteanu wrote:
On Sat, May 9, 2015 at 1:45 AM, Roman Bysh <rbtc1@rogers.com> wrote:
On 05/08/2015 06:22 PM, Robert Munteanu wrote:
On Sat, May 9, 2015 at 1:14 AM, Roman Bysh <rbtc1@rogers.com> wrote:
On 05/08/2015 02:58 AM, Robert Munteanu wrote:
On Tue, May 5, 2015 at 11:56 PM, Roman Bysh <rbtc1@rogers.com> wrote:
Is there a patch for the nVidia driver 340.76 so that it can install to kernel 4.0x? Or is the problem in the latest Tumbleweed kernel?
Out of curiosity, have you tried building from X11:Drivers:Video/nvidia-gfxG03 ? The RPMs are not published but everything is nicely put into place and the README file has all the information you need.
A sample session ( I use gfxG04 ) looks like this:
osc co X11:Drivers:Video nvidia-gfxG04 osc dr # download drivers osc build openSUSE_Factory x86_64 nvidia-gfxG04.spec # copy RPMs out of /var/tmp/build-root osc build openSUSE_Factory x86_64 nvidia-uvm-gfxG04.spec # copy RPMs out of /var/tmp/build-root osc build openSUSE_Factory x86_64 x11-video-nvidiaG04.spec # copy RPMs out of /var/tmp/build-root sudo zypper in *.rpm
This worked for me with 20150430 ( kernel 4.0.0-1-desktop ).
Cheers,
Robert
Does it download files to your computer?
Yes, the osc service dr step is supposed to do that. Run ps -efH and you will see that the osc commands spawns a wget process which downloads the files, initially under a random directory under /tmp.
Robert
I'm getting this message.
osc co X11:Drivers:Video nvidia-gfxG03 Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/osc/commandline.py", line 8222, in _load_plugins mod = imp.load_source(modname, os.path.join(plugin_dir, extfile)) File "/var/lib/osc-plugins/overview.py", line 47, in <module> @cmdln.option('-c', '--changelog', action='store_true', NameError: name 'cmdln' is not defined
/var/lib/osc-plugins/overview.py: name 'cmdln' is not defined
Try 'env OSC_PLUGIN_FAIL_IGNORE=1 osc ...'
Hm, that I haven't seen so far. A quick google search [1] suggests to remove extra plugins like osc-plugin-collab and osc-plugin-overview. If that doesn't work, maybe someone familiar with osc internals can help.
Robert
[1]: http://lists.opensuse.org/opensuse/2013-11/msg01033.html
That fixed it. The packages are downloading. I'm still getting used to it. Thank you. -- Cheers! Roman -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (9)
-
Andrei Borzenkov
-
Andrei Dziahel
-
Cristian Rodríguez
-
Dmitry Roshchin
-
Larry Finger
-
Patrick Shanahan
-
Robert Munteanu
-
Roman Bysh
-
Tom Wekell