Page 1 of 1

Adding Nvidia support to new kernel?

PostPosted: Dec 16th, '13, 07:34
by tkmm
I downloaded the latest stable kernel 3.12.5 and successfully installed and booted to it. The driver for my Nvidia graphics card defaulted to nouveau which crashes almost immediately. X crashes even on the Mageia kernels after I booted the new kernel.

I downloaded the nvidia-304 driver from the nvidia website as a .run script and have not had any success installing it. The error message referes me to the Nvidia readme, which is nonexistent. How can I get nvidia drivers installed?

Re: Adding Nvidia support to new kernel?

PostPosted: Dec 16th, '13, 09:22
by doktor5000
You want to actually add kernel support to nvidia driver. You probably need a slightly newer nvidia driver, and then have a look at e.g. http://rglinuxtech.com/?p=865 You may not need the kernel patch anymore with 3.12.5 but the patch for nvidia driver definitely.
Where did you get the 304 driver from, and what nvidia chip do you use?

Re: Adding Nvidia support to new kernel?

PostPosted: Dec 16th, '13, 10:45
by gohlip
It's in the Mageia repo. suggest you install from it.

Code: Select all
$ urpmq -i dkms-nvidia304
    $MIRRORLIST: media/nonfree/release/media_info/20131215-212733-info.xml.lzma
Name        : dkms-nvidia304                                   
Version     : 304.116
Release     : 3.mga4.nonfree
Group       : System/Kernel and hardware
Size        : 15700078                     Architecture: x86_64
Source RPM  : nvidia304-304.116-3.mga4.nonfree.src.rpm
URL         : http://www.nvidia.com/object/unix.html
Summary     : NVIDIA kernel module for GeForce 6xxx and GeForce 7xxx cards
Description :
NVIDIA kernel module for GeForce 6xxx and GeForce 7xxx cards. This
is to be used with the x11-driver-video-nvidia304 package.

$ urpmq -i nvidia304-kernel-3.12.5-desktop-1.mga4
Name        : nvidia304-kernel-3.12.5-desktop-1.mga4
Version     : 304.116
Release     : 6.mga4.nonfree
Group       : System/Kernel and hardware
Size        : 3524397                      Architecture: x86_64
Source RPM  : kmod-nvidia304-304.116-6.mga4.nonfree.src.rpm
URL         : http://www.nvidia.com/object/unix.html
Summary     : nvidia304 driver for kernel-desktop-3.12.5-1.mga4
Description :
Prebuilt dkms binary kernel modules for the nvidia304 driver version 304.116
built for kernel-desktop-3.12.5-1.mga4.

Re: Adding Nvidia support to new kernel?

PostPosted: Dec 16th, '13, 17:28
by tkmm
i installed 304.116 from the .run script I downloaded from the nvidia link gohlip posted. The script ran ok and said that the drivers were installed and would be loaded at boot. When I reboot it still seems to not load the nvidia driver. I didn't notice any 3.12.5 rpms so I haven't installed any drivers/patches from mga repositories.

Chipset is GeForce 6150SE.

Re: Adding Nvidia support to new kernel?

PostPosted: Dec 16th, '13, 17:29
by doktor5000
@gohlip:
Please next time use code tags as explained in ftp://ftp5.gwdg.de/pub/linux/mandriva/m ... e_tags.ogv
Also you forgot to mention that those are Cauldron packages.

Re: Adding Nvidia support to new kernel?

PostPosted: Dec 16th, '13, 21:14
by jiml8
Also you forgot to mention that those are Cauldron packages.

3.12 kernel is your clue that this is cauldron.

i installed 304.116 from the .run script I downloaded from the nvidia link gohlip posted. The script ran ok and said that the drivers were installed and would be loaded at boot. When I reboot it still seems to not load the nvidia driver. I didn't notice any 3.12.5 rpms so I haven't installed any drivers/patches from mga repositories.


You probably need to blacklist the nouveau driver. I know that when I tried to install and use the Nvidia driver after first installing Mageia 2, I could not get the Nvidia driver to be used until I blacklisted nouveau.

To do this, go to /etc/modprobe.d/ and add the lines:
Code: Select all
# video drivers
blacklist nouveau

to the file blacklist-compat.conf.

Reboot, and presuming the Nvidia driver is correctly installed, it should be picked up.

Re: Adding Nvidia support to new kernel?

PostPosted: Dec 16th, '13, 23:45
by doktor5000
jiml8 wrote:
Also you forgot to mention that those are Cauldron packages.

3.12 kernel is your clue that this is cauldron.

Nope, first sentence sounds to me as a self-compiled kernel, that's why I've asked explicitly. Also this is not in Cauldron subforum and Mageia version is not mentioned ...