On 12/25/18 10:59 AM, Mr Brian Domenick wrote:
Hi All,
I had a similar problem and it had to do with the kernel sources/headers in my case. Fedora was running a later kernel and sources than the latest version of stuff from rpmfusion for nvidia, once I put the correct older version of sources/headers in place, I could force the module to build and it all worked great from there.
It appears my "Solved" message from yesterday morning did not make it to the list. Here's what I wrote in response to Francis.Montagnac@inria.fr
Hi.
On Mon, 24 Dec 2018 09:26:27 -0500 Tim Evans wrote:
# modprobe nvidia modprobe: FATAL: Module nvidia not found in directory /lib/modules/4.19.10-300.fc29.x86_64
Have I not installed all the required packages?
No, except perhaps akmods. The main one for the nvidia kernel module is akmod-nvidia that you have.
Install the akmods RPM if you don't have it, then try to rebuild the kernel module with:
/usr/sbin/akmods --kernels $(uname -r)
Aha! 'akmods' was installed, but fails to run, reporting a missing dependency--'kernel-devel'! So, every time the kernel is updated, the build of the nvidia module fails (silently, as far as I can see).
Having installed that, akmods now happily builds the nvidia module and the system boots and uses it.
Thank you, Francis.