Re: [opensuse-factory] Custom kernel and nvidia
In data martedì 21 maggio 2013 19:48:11, James D. McDaniel ha scritto:
On 05/19/2013 05:10 AM, Daniele wrote:
Hi guys, I've just recompiled my own kernel (from kernel-source package) so far so good.. How to deal with nvidia drivers ? Is there a way to trigger the rebuild of modules ?
What happens if I reinstall nvidia packages ? Can I build modules for differents kernel (same version) from nvidia packages ?
Do I need DKMS ?
I know that this is not a support list but if the answer is switch to dkms and/or install nvidia driver from nvidia site, something could be done for the next release...
Daniele.
You can compile your kernel with this as well: S.A.K.C. - SUSE Thank you, I 'm aware about SAKC, DKMS etc, etc.. but at this point is easiest to install nvidia driver from Nvidia and rebuild the module when needed.
We have the source already in place so we only miss a (easy) way to rebuild the module... This: https://build.opensuse.org/package/view_file?expand=1&file=kmp-post.sh&package=nvidia-gfxG02&project=home%3ALord_LT%3Adrivers (and maybe some more code) should be a separate script and not inside the spec file. So it would be re-callable after installation... Just for the record, my main desktop still on 12.2 (I miss liveCD..) so kernel 3.4.* Daniele. -- *** Linux user # 198661 ---_ ICQ 33500725 *** *** Home http://www.kailed.net *** *** Powered by openSUSE *** -- 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 Wed, 22 May 2013 21:02:18 +0200 Daniele <kailed@kailed.net> wrote:
In data martedì 21 maggio 2013 19:48:11, James D. McDaniel ha scritto:
On 05/19/2013 05:10 AM, Daniele wrote:
Hi guys, I've just recompiled my own kernel (from kernel-source package) so far so good.. How to deal with nvidia drivers ? Is there a way to trigger the rebuild of modules ?
What happens if I reinstall nvidia packages ? Can I build modules for differents kernel (same version) from nvidia packages ?
Do I need DKMS ?
I know that this is not a support list but if the answer is switch to dkms and/or install nvidia driver from nvidia site, something could be done for the next release...
Daniele.
You can compile your kernel with this as well: S.A.K.C. - SUSE Thank you, I 'm aware about SAKC, DKMS etc, etc.. but at this point is easiest to install nvidia driver from Nvidia and rebuild the module when needed.
We have the source already in place so we only miss a (easy) way to rebuild the module...
(and maybe some more code)
should be a separate script and not inside the spec file. So it would be re-callable after installation...
Just for the record, my main desktop still on 12.2 (I miss liveCD..) so kernel 3.4.*
Daniele.
Hi Daniele, Here is the method I have used for 2-3 years. ********** Download latest driver from: http://www.nvidia.com/Download/index5.aspx Select correct driver Install driver in /TEMP/run-files Reboot to init 3 cd /lib/modules/3.7.1-16-desktop/build/include/ ( a 'ls' should show no file or directory named linux and two directories called generated and config and a 'ls generated/uapi/linux' should show version.h ) ln -s generated/uapi/linux After that a 'ls linux' should show version.h ***** THEN ***** NVIDIA driver installation 1: cd to /TEMP/run-files 2: Dependencies: gcc, make, kernel-devel 3: Install driver: Log out of GUI & log into console as root at # prompt enter: sh ./NVIDIA-****.run (driver filename) modprobe nvidia rcxdm start 4: Blacklist nouveau echo "blacklist nouveau" >> /etc/modprobe.d/50-blacklist.conf add "modeset.nouveau=0" to /boot/grub/menu.lst kernel parameters line 5: Configure NVIDIA driver: nvidia-settings ************ Hope that's what you're looking for. Tom -- “It is amazing what you can accomplish if you do not care who gets the credit.” - Harry S. Truman ^^ --... ...-- / -.- --. --... -.-. ..-. -.-. ^^^^ Tom Taylor - retired penguin - KG7CFC AMD Phenom II x4 955 -- 4GB RAM -- 2x1.5TB sata2 openSUSE 12.3-x86_64 KDE 4.10.00, FF 19.0, claws-mail 3.9.1 registered linux user 263467 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iQEcBAEBAgAGBQJRWnjBAAoJEHjxEe80vkwITlwIAPb2aBryi1pBNtlTTL87E1cB +71yW5BbhS26IBkqy5o+u/KUdJGEQZ3kFcNn+7IFcTlhUMfmbz17GiVP60g2e9gW D91lvWyTH7CA+1pKoHAMtjK+U6KC9uclnWRObYPHHJjDyLdJBoRDD6r8SYn4fdiD dFRoV9tYhTRJYu170py6DybQ98qHnOe4uOO9Occdv34wXNcylPU4MOaUrFaFIqEF QyUwaQCzkUreLewUb65O/2FkyHZCsYIC+P7rDhTkNOHywb14urwZ7AfQ964dxLj4 Cnnc6LgI4+MFJeB8oxwyCWDC0Jx+DjuF4rhg981aRnqCZYa5HryDAQLD2BkYCZs= =nzdf -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Thursday 2013-05-23 07:14, Thomas Taylor wrote:
Hi Daniele, Here is the method I have used for 2-3 years.
********** Download latest driver from: http://www.nvidia.com/Download/index5.aspx Select correct driver Install driver in /TEMP/run-files Reboot to init 3 cd /lib/modules/3.7.1-16-desktop/build/include/ [...]
Init levels are obsolete (by now), and so is having to actually quit Xorg _while_ updating the driver. If one cannot use the pre-provided BRPMs, there are also SRPMs available from OBS or (to campaign for mine), http://dl.inai.de/jkmp/ which should do a much better job than the distro-unfriendly nvidia installer. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
In data mercoledì 22 maggio 2013 22:14:33, Thomas Taylor ha scritto: ...
Hi Daniele, Here is the method I have used for 2-3 years. Hi Thomas, I know how to install nvidia driver from *.run. The point is, why there's no a easy way to reuse source already installed from suse package ?
"modeset.nouveau=0" not needed here. I just switched from grub2 to "old" grub and there's no modeset option... Daniele. -- *** Linux user # 198661 ---_ ICQ 33500725 *** *** Home http://www.kailed.net *** *** Powered by openSUSE *** -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (3)
-
Daniele
-
Jan Engelhardt
-
Thomas Taylor