opensuse 12.2 kernel 3.8.0 nvidia driver troubles

Opensuse 12.2 and installed kernel 3.8.0-1.1 from repositories/Kernel:/stable/standard/x86_64

with the patch ln -s generated/uapi/linux in lib/modules

the nvidia driver 313.18 wont install

the nvidia driver 310.32 the patch wont-instal
“patch is already installed” was the error message

So no way to install a nvidia driver on 3.8.0 kernel
revered to kernel 3.7.9.4 patch in lib/modules and installed nvidia 313.18

I’ve just replaced my old NVidia card with a new GT610 and although the 313.18 won’t install with the 3.8.0-1 kernel the 310.32 driver does install without any patch - they work fine on my system.

same issue.
Can’t build nvidia drivers on kernel 3.8.0. Tried 313 and 310 drivers from bumblebee repo.

It seems a common issue even in other distros. But on ubuntu they found workarounds and got it working.

I’ll return to 3.7.x until there will be a solution.

The message is this for all versions, version number changes obliviously.

dkms build -m nvidia -v 310.19-180.1

Kernel preparation unnecessary for this kernel. Skipping…

Building module:
cleaning build area…
make KERNELRELEASE=3.8.0-1-desktop -C /lib/modules/3.8.0-1-desktop/build SUBDIRS=/var/lib/dkms/nvidia/310.19-180.1/build modules…(bad exit status: 2)
Error! Bad return status for module build on kernel: 3.8.0-1-desktop (x86_64)
Consult /var/lib/dkms/nvidia/310.19-180.1/build/make.log for more information.

OK SOLVED!

you must patch two files in driver sources.

Install nvidia drivers from repo, I’m using 313.18-190.1 now from bumblebee repo.

Then go to /usr/src/nvidia-313.18-190.1/

Follow instructions here, even if they are for ubuntu. There are two files to patch, DO IT MANUALLY because some strings could be slightly different:
Ubuntu Forums - View Single Post - Kernel 3.7-rc1

On 313.18-190.1 only the first file needed to be patched, the second one was already OK.

Now I have kernel 3.8.0 with nvidia 313.18-190.1, on sandy bridge, with bumblebee working too! lol!

**NOTE: **if using bumblebee it may need some reboots and manyally restart bumblebeed-daemon to have all working fine. But in the end it will work just fine.

Just updated to kernel 3.8 and ran into this issue as well. I’m using bumblebee and dkms. Here’s a different method that fixed the issue for me.

I used the patch found in the second post here: Gentoo Forums :: View topic - nvidia-drivers-313.18 failed with kernel 3.8.0. Since the patch makes only one change to /usr/src/nvidia-313.18-190.1/conftest.sh, I added the entry manually. Dkms built the module with no problems afterward.

On 2013-02-22 13:16, susegebr wrote:
>
> Opensuse 12.2 and installed kernel 3.8.0-1.1 from

You can not report openSUSE 12.2 issues in this forum. This one is
reserved for the beta version (2.3)

Please ask a moderator to move this thread. Use the report button or a PM.


Cheers / Saludos,

Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)

To the best of my knowledge there is no ‘stock’ openSUSE version with the 3.8.0-1.1 kernel. Hence I believe this belongs in the Pre-Release/Beta forum. I’ll go with my fellow moderators choice on this, but if left up strictly to me, then based on what was quoted above, and assuming this was not moved from some other forum areas to Pre-Release/Beta, I believe susegebr did post in the correct forum area.

On 2013-02-25 06:56, oldcpu wrote:
>
> robin_listas;2529878 Wrote:
>> On 2013-02-22 13:16, susegebr wrote:
>>>
>>> Opensuse 12.2 and installed kernel 3.8.0-1.1 from
>>
>> You can not report openSUSE 12.2 issues in this forum. This one is
>> reserved for the beta version (2.3)
>>
>> Please ask a moderator to move this thread. Use the report button or a
>> PM.
>>
> To the best of my knowledge there is no ‘stock’ openSUSE version with
> the 3.8.0-1.1 kernel. Hence I believe this belongs in the
> Pre-Release/Beta forum. I’ll go with my fellow moderators choice on
> this, but if left up strictly to me, then based on what was quoted
> above, and assuming this was not moved from some other forum areas to
> Pre-Release/Beta, I believe susegebr did post in the correct forum area.

Well… It is up to you, of course, but he is not using the beta
version, just one package. Many people using any of the released
versions also install a fresh kernel out of git or the KOTD or
equivalent repo. They are not strictly running factory, all the tool
sets and libraries stay on the released version.

:-?


Cheers / Saludos,

Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)

I agree with Carlos’ position on this; especially as the kernel came from the “Kernel:/stable” repository. I support a number of production desktop machines running 11.4-evergreen with the 3.7.9 kernel (also from Kernel:/stable) and I would not consider these to be “pre-release”.