Page 1 of 1

Package generator for the NVIDIA proprietary driver

PostPosted: Jun 17th, '11, 00:49
by Anssi
I've now ported the automatic NVIDIA driver RPM generator to Mageia.

This is a small script that allows you to build Mageia rpms
automatically from any NVIDIA installer package:

http://onse.fi/nvidia-mgabuild/

This will allow you to e.g. install NVIDIA beta or other releases with proper
Mageia integration even when no Mageia RPM packages for that version exist.

As a reminder, if you do not use RPM packages (either from the Mageia
repository or by generating them using this script) to install the driver, but
instead run the NVIDIA installer directly, it will overwrite some system files
with the following consequences:
- X server will fail to start if you update kernel or x11-server packages
- 3D acceleration will stop working if you update mesa packages
- switching to non-proprietary driver using XFdrake will not work

Re: Package generator for the NVIDIA proprietary driver

PostPosted: Jun 17th, '11, 18:53
by dubigrasu
Thank you, this a nice tool to have.
Tested with NVIDIA-Linux-x86-275.09.07 and everything went well. All the needed packages were generated (including CUDA-OpenCL).
I installed the packages as instructed and after reboot everything is in place and working.

Re: Package generator for the NVIDIA proprietary driver

PostPosted: Jun 18th, '11, 03:06
by llv_mech
Excellent script ... I just did the same for the x86_64 version ... all worked perfectly !! Thank you

Re: Package generator for the NVIDIA proprietary driver

PostPosted: Jun 18th, '11, 05:31
by ahmad
Hello. FWIW, the 275.09.07 driver is already in the nonfree/updates_testing in Mageia 1.

Re: Package generator for the NVIDIA proprietary driver

PostPosted: Jun 18th, '11, 06:00
by dubigrasu
I usually don't enable "testing" unless I'm desperate :D

Re: Package generator for the NVIDIA proprietary driver

PostPosted: Aug 25th, '11, 21:16
by munichjohn
Hello, I'm new to Mageia but not to Linux. I've been trying to load a proprietary driver NVIDIA-Linux-x86-280.13.run for my nvidia 62xx card. It is currently running the defaulted Nouveaux driver which doesn't support 3D. I attempted to use your script but it failed with the following message: 'You need therpm-build package to build packages.' Can you help?
Best, munichjohn

Re: Package generator for the NVIDIA proprietary driver

PostPosted: Aug 25th, '11, 21:24
by rolf
When looking for a "package", urpmq is a good cli tool, then urpmi, as root, to install. These tools know only about packages in configured (added) repositories.
Code: Select all
[rolf@localhost ~]$ urpmq rpm-build
rpm-build
[rolf@localhost ~]$ su
Password:
[root@localhost rolf]# urpmi rpm-build

Re: Package generator for the NVIDIA proprietary driver

PostPosted: Jul 26th, '12, 12:03
by n00biest
Dual boot comp here.
So i'm able to compare, there with UT2004: game runs faster with mga1 than with XP, basic settings, no tweaking.
Dunno whether it's due to mga1 or to nvidia-mgabuild.sh, however, this was, by far, not the case with mdv2010.1, my previous distrib.
:mrgreen: :mrgreen: :mrgreen: