Waktu browsing tadi malam saya menemukan sesuatu yang menarik yaitu Mageia package generator.Tool ini fungsinya untuk membuat paket Mageia dari driver Nvidia file run dan mendukung versi driver NVIDIA 173, 195, 256, 260, 270, 275, 280, 285, 290, 295.
Langkah-langkahnya:
1. Download Mageia package generator
2. Download juga driver NVIDIA, saya pakai yang versi 173
3. Install dependesi untuk membuat paket, buka konsole/ terminal:
su
uprmi rpm-build
4. Jalankan scriptnya
sh nvidia-mgabuild.sh NVIDIA-Linux-x86-173.14.31-pkg1.run
Tampil:
Building a package of NVIDIA driver 173.14.31 for x86, this will take a few minutes...
Created package: dkms-nvidia-current-173.14.31-1custom.nvidia.mga2.i586.rpm
Created package: nvidia-current-cuda-opencl-173.14.31-1custom.nvidia.mga2.i586.rpm
Created package: nvidia-current-devel-173.14.31-1custom.nvidia.mga2.i586.rpm
Created package: nvidia-current-doc-html-173.14.31-1custom.nvidia.mga2.i586.rpm
Created package: x11-driver-video-nvidia-current-173.14.31-1custom.nvidia.mga2.i586.rpm
Cleaning temporary files... done
What you have to do now:
- Install a matching kernel-devel package for your current kernel (3.3.6-desktop586-2.mga2).
- Install the above driver packages using rpmdrake or urpmi.
(if you are downgrading, you can use command "rpm -Uvh --oldpackage files.rpm".
- Start XFdrake by running XFdrake.
- Go to the Graphics Card list.
- Select your card (it is usually already autoselected).
- Answer Yes when asked whether to use a proprietary driver.
- Acknowledge any remaining dialogs and quit the program.
After that you have to reboot and the new driver will be in use.
Created package: dkms-nvidia-current-173.14.31-1custom.nvidia.mga2.i586.rpm
Created package: nvidia-current-cuda-opencl-173.14.31-1custom.nvidia.mga2.i586.rpm
Created package: nvidia-current-devel-173.14.31-1custom.nvidia.mga2.i586.rpm
Created package: nvidia-current-doc-html-173.14.31-1custom.nvidia.mga2.i586.rpm
Created package: x11-driver-video-nvidia-current-173.14.31-1custom.nvidia.mga2.i586.rpm
Cleaning temporary files... done
What you have to do now:
- Install a matching kernel-devel package for your current kernel (3.3.6-desktop586-2.mga2).
- Install the above driver packages using rpmdrake or urpmi.
(if you are downgrading, you can use command "rpm -Uvh --oldpackage files.rpm".
- Start XFdrake by running XFdrake.
- Go to the Graphics Card list.
- Select your card (it is usually already autoselected).
- Answer Yes when asked whether to use a proprietary driver.
- Acknowledge any remaining dialogs and quit the program.
After that you have to reboot and the new driver will be in use.
5. Selesai, file rpm yang kita buat bisa ditemukan di directory yang aktif waktu tadi di konsole atau terminal.