-
-
Notifications
You must be signed in to change notification settings - Fork 173
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
Akmod-nvidia fails to build on Fedora with Linux 5.8 #69
Comments
Hello! I have no good understanding of how akmod works but I know at least that it needs the kernel headers and devel (not sure about this one). Have your friend made sure that the three RPM packets got properly installed ? Can you tell him to do |
I've got the same issue as your friend. The log file in the screenshot is the exact same, but mine is in english. Here's the log file in english:
And here is the output from
|
Thanks @aukuste ! Can you join |
@AdelKS The contents of that file path is what is written in the first code block in my first message, so the last line of the log just references itself. |
Oh got it! Thanks. |
Hello @aukuste, can you attach what's in |
@AdelKS |
Can you run this command manually and see what it gives ? Basically what is done automatically but with the akmodsbuild --kernels 5.8.9_tkg_upds+ --verbose /usr/src/akmods/nvidia-kmod.latest Use EDIT: Oh maybe it's missing the akmodsbuild --kernels 5.8.9_tkg_upds+-1 --verbose /usr/src/akmods/nvidia-kmod.latest |
|
Crazy, it doesn't give any useful information, have you tried with the extra |
|
And what do you have in |
|
Okay, I unfortunately have no idea on what to do for now. Maybe someone else has an idea 🤔 |
@AdelKS Unsure if it is related, but ever since installing the kernel-devel package for the tkg kernel, kernel-devel packages for the regular kernels (is mainline kernel the correct term?) haven't been able to install because of some sort of conflict with the tkg kernel-devel package apparantly. Here's a snippet from my daily dnf upgrade (note the error text at the top of the output):
And when adding --best --allowerasing to the dnf upgrade command, I simply get the same error message that was at the top of the previous command:
I find it very odd that the kernel-devel-5.8.10-200.fc32.x86_64 package is blocked from installing because of kernel-devel-5.8.9_tkg_upds+-1.x86_64. Surely that can't be right? They're different kernel versions. For now I've removed the kernel-devel package for the tkg kernel since I would like to actually be able to build the nvidia driver for the regular mainline kernels. |
Yea well apparently we can't keep more than one Also, I forgot how bleeding edge fedora is even though I have used it for years, I ended up thinking they trail behind for the updates just like Ubuntu. But they actually are as up to date as rolling releases, I wonder why they don't move to a rolling release way. |
Ah ok, well that's interesting that you can't keep more than one kernel-devel package. I'll see if I can figure out myself why the akmod-nvidia driver won't build using the tkg kernel-devel, though I've got zero experience with any of this. |
Unfortunately I have zero knowledge about this stuff too. I tried to lookup this problem the interwebs but nothing useful came up, though a more thorough search can be done! My problem is that |
Indeed. The error log sure isn't very useful. |
The problem is how AKMOD manages the drivers, they are not the drivers themselves, uninstall AKMOD-NVIDIA and install NVIDIA manually with DKMS and it works very well. |
Ah thank you. I'll test that tomorrow and report back with results. |
@iWeaker4you I tried it just now and it worked perfectly. I removed the akmod-nvidia package and installed the nvidia drivers using the official installer and the tkg kernel works perfectly now. This is the guide I followed https://www.if-not-true-then-false.com/2015/fedora-nvidia-guide/ for anyone wanting to do the same as I did. Thank you very much for the suggestion. |
Glad you could fix it! This issue can be considered solved :D |
I leave a capture of the error that is appearing to me when I compile with the kernel, something is related to "mockbuild" or that the package does not have "description kmod-nvidia-5.8.9_tkg_pds"
I am not familiar with Fedora regarding how it handles its driver system.
@AdelKS what do you thing about that?
The text was updated successfully, but these errors were encountered: