Thanks for answering that question about compiling akmods. Now it seems I have a new issue when trying to compile akmods on the exptl version. Previously I had it working no problem when you had instructions that included some environment variables to control the compiler options for the build, but those instructions are gone and now the akmods build fails with errors about an ‘unrecognized command-line option -Qunused-arguments’. I didn’t see any open issues about this, but since you removed the old build process from this README, I was wondering if there’s some piece to the puzzle I’m missing her? You also mentioned in your last message that akmods requires some tweaks with cacule and exptl.
exptl variant has a patched top-level
Makefile in the
devel package that makes it possible to compile all kernel modules with LLVM+LTO (be it from
dkms, or your ol’ trusty
make) without requiring user input.
Refer to this ticket for technical details
Shouldn’t amd-pstate and acpi-cpufreq be modules instead of buit-in?
Actually, no. Those modules are to be loaded very early into the kernel to work, so using it as a module won’t work since it will get loaded as early as unpacking the initrd contents into RAM.
modprobe-ing it would also not work as expected.
Been trying non
rt variants but still not able to install official nvidia drivers afterwards. With and without DKMS. Same result even after installing headers for installed xanmod kernel. Am I doing something wrong?
@shrisha Did you try installing the development packages? For example for the edge kernel, you would install like this:
sudo dnf in kernel-xanmod-edge kernel-xanmod-edge-devel
Makefile of the NVIDIA drivers are hardcoded to not accept both RT kernels and the ones built using LLVM. Consider using the other variants if you’re an NVIDIA user. Sorry for the inconveniences
No, I’m sorry to bothering you. And I’m very grateful for your time to maintain your COPR and do this volunteer work for benefit of others.
And yes I know that. That’s why I mentioned in my original post that I tried non exptl and RT kernels variants since I’m aware of that situation with NVIDIA. So I tried edge and TT variants instead.
No problems. Questions are welcome.
So I tried edge and TT variants instead.
Yeah, those will work fine
They do, except the NVIDIA drivers part That’s why I asked you, if anything else I have to do to get it working?
You can try the steps mentioned here in the Copr project homepage and see if it works for the
Keep in mind though that more often than not, people hardcode Makefile variables for legitimate reasons, so mind the possible bug that may arise by using another compiler, let alone LTO
I figured. Thank you.
Not an error. Unfortunately there’s no way to build the header package without making it overwrite the older packages (The files are in the same directories for all versions)
Should you remove all the packages from this repo, you must
--exclude=\*headers in the remove command and then
dnf swap it with the one from Fedora/EL repository