Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: "nvidia.ko not found" #90

Open
ThisNekoGuy opened this issue Feb 1, 2022 · 3 comments
Open

Error: "nvidia.ko not found" #90

ThisNekoGuy opened this issue Feb 1, 2022 · 3 comments

Comments

@ThisNekoGuy
Copy link

I was trying to run the following as a test for a personal script I was going to write later:
modinfo /usr/lib/modules/$(uname -r)/kernel/drivers/video/nvidia.ko | grep ^version

When I unexpectedly ran into an error:
modinfo: ERROR: Module /usr/lib/modules/5.14.21-239-tkg-pds-llvm/kernel/drivers/video/nvidia.ko not found.

I run linux-tkg, and I'm running the driver right now as I'm typing this so I'm really confused how nvidia.ko just doesn't exist where it should?

@Snoop05
Copy link
Contributor

Snoop05 commented Feb 1, 2022

If you are using dkms its probably in /usr/lib/modules/$(uname -r)/updates/dkms/nvidia.ko.zst (or different extension depending on what compression you have configured)

At least for Arch, precompiled modules they distribute are in /usr/lib/$(uname -r)/extramodules/

@ThisNekoGuy
Copy link
Author

ThisNekoGuy commented Apr 11, 2022

It's been some time; apologize for that, my motherboard crapped-out and I needed a new one

This issue would happen, for some reason, often times when re-building nvidia-all/nvidia-tkg when running the linux-tkg kernel; for whatever reason, a very similar error about the same item would pop-up claiming to be missing unless I rebuild the kernel after updating the nvidia driver or when upgrading the linux-tkg kernel, which is odd, because that really shouldn't be necessary

@Snoop05
Copy link
Contributor

Snoop05 commented Jul 9, 2022

Hello again, it appears that you are not building DKMS variant of nvidia-all which is likely the issue requiring you to rebuild it after every kernel update.

simply set _dkms="true" in customization.cfg and nvidia rebuilding should be handled automatically

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants