[Cooker] xfdrake binary dkms vs source dkms

View: New views
3 Messages — Rating Filter:   Alert me  

[Cooker] xfdrake binary dkms vs source dkms

by npomarede :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hello,

I'm using the nvidia dkms source rpm instead of the pre built kernel
specific dkms version.

But a few days ago, my driver was changed in xorg.conf from 'nvidia' to
the open source 'nv' driver (maybe done by hardrake, I don't really know).

So I started 'mcc', went do display config and was told a proprietary
driver could be used. I chose 'yes' and expected it would use the version
already built on my kernel. But it downloaded the prebuilt binary version.

Why is that so ? Shouldn't that XFdrake sees the source dkms rpm as a
valid version of the proprietary driver ?

Then, I tried to remove the binary driver rpm and resinstall the source
dkms rpm. The dkms was correctly rebuilt on next boot, except
/etc/modprobe.d/nvidia.conf linking to /etc/alternatives/nvidia_modconf
was not present (so no alias between 'nvidia-current' and 'nvidia',
preventing modprobe to load the nvidia driver).

After creating this link, still no luck, the nvidia driver that was
previously located in /usr/lib/xorg/modules/drivers/ was not there.

So I reinstalled the binary prebuilt dkms, but I don't know how to use the
source dkms anymore.

I think I did things in the correct order :
  - urpme nvidia-current-kernel-desktop-latest
  - urpme dkms-nvidia-current (to be sure everything is cleaned)
  - urpmi dkms-nvidia-current -> some links were not created

(I had a backup of a working xorg.conf with nvidia driver, so this file
was not a part of the problem)

The problem is that if I have to run xfdrake to finish the source dkms
setup then it will ask to install the binary dkms again, which is not what
I want.

Does someone have an idea on the correct method to go back to the source
dkms and remove prebuilt kernel version rpm ?

Thanks

Nicolas

Re: [Cooker] xfdrake binary dkms vs source dkms

by José Jorge-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

A Saturday 31 October 2009 11:26:42, npomarede@... escreveu:
> So I started 'mcc', went do display config and was told a proprietary
> driver could be used. I chose 'yes' and expected it would use the version
> already built on my kernel. But it downloaded the prebuilt binary version.

This strange way to do is there for a long time... the main problem is when
kernel updates will not come with dkms prebuilds, like the latest 2008 Spring
kernel update...

Re: [Cooker] xfdrake binary dkms vs source dkms

by Anssi Hannula-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

npomarede@... wrote:
> Does someone have an idea on the correct method to go back to the source
> dkms and remove prebuilt kernel version rpm ?

1. Configure driver with XFdrake.
2. Make sure dkms-nvidia-current is installed.
3. Remove prebuilt driver package.

--
Anssi Hannula