Issue with akmods and drivers
Hi, just got Bazzite installed but I'm getting some errors with akmod trying to compile drivers.
Variant: bazzite (Desktop)
GPU: AMD 6750XT
DE: KDE
I currently use and MSI mobo with a NCT6687-R controller for its sensors and releated. For some reason, its driver is not on mainline kernel which is fine, thats what akmod is for.
The thing is, even tho akmod is installed, I can't get it to work. It always throw an error while installing the package:
/bin/sh: line 1: ld: command not found
Which doesn't make sense since ld is required to build the modules and akmod is supported on vanilla Kinoite/Silverblue.
I'm guessing it now but Bazzite Nvidia doesn't rely on akmod too? I even considered rebasing the system just to try it there.19 Replies
akmods won't work here I'm afraid, only kmods are supported which we have a build system for
if NCT6687 is simply waiting to be mainlined and not breaking anything I can look into including it by default
what's the source of your akmod?
Oh that makes sense.
Unfortunately, I don't think it's waiting for being merged.
But anyway, here is the source:
https://github.com/Fred78290/nct6687d
GitHub
GitHub - Fred78290/nct6687d: Linux kernel module for Nuvoton NCT6687-R
Linux kernel module for Nuvoton NCT6687-R. Contribute to Fred78290/nct6687d development by creating an account on GitHub.
wonder why this was never upstreamed
weird
I'll look into it when I can
in the meantime maybe make an issue asking for it at https://github.com/ublue-os/akmods
GitHub
GitHub - ublue-os/akmods: A caching layer for pre-built Fedora akmo...
A caching layer for pre-built Fedora akmod RPMs. Contribute to ublue-os/akmods development by creating an account on GitHub.
Alright! Thank you! Will do
I'm also looking into porting the new-lg4ff driver to akmod. As soon I get it working on a regular Fedora, will create and issue there too.
oh I wanted to port that one too
nice
sounds good
https://copr.fedorainfracloud.org/coprs/uwueviee/new-lg4ff/
2 year old copr for it, should be trivial to update
Yep, I found that one too
I'm testing the spec file to akmod but I got delayed because of work. Might get it done by the weekend
awesome, definitely include that too then
happy to help if you have any questions regarding that akmods repo too
Great! Thank you!
How do I even use this?
Take a look in what modules you want installed in the that link and install using
rpm-ostree install <package>
the documentation only has directions for adding it to a dockerfile
Yes, if you want to have in your own image. But that is not what I think you want.
There is a copr repo preinstalled in bazzite and a few packages with kmods available. The list is either in that github page or in this link:
https://copr.fedorainfracloud.org/coprs/ublue-os/akmods/packages/
Take a look and grab what you need. If you can't find it there, you can request it like I'm doing in this issue:
https://github.com/ublue-os/akmods/issues/62
GitHub
Akmods for chipset NCT6687-R · Issue #62 · ublue-os/akmods
Hi everyone! Just got Bazzite on my desktop and this is my first daily drive immutable distro. Loving it so far. I know it's kinda niche but I would like to request the Akmod for the Nuvoton NC...
there is no
akmod-wl
There is an issue going on about this one:
https://github.com/ublue-os/main/issues/85
Not sure how to install it without building a new image
GitHub
[Bug] you can't install akmod-wl · Issue #85 · ublue-os/main
When I install akmod-wl on my laptop using the silverblue-main:37 image, I get the following error. It works fine on the official silverblue image but this error apears on ublue. To reproduce, inst...
Maybe @KyleGospo can help?
we'll never ship akmod-wl due to it breaking other hardware
but there's been interest in offering an educational repo for people who want to make changes to bazzite without forking the whole project
so I'll set that up to use akmod-wl as the example
then you can just rebase to that (or fork it and continue on your own path + rebase to that)
there should be one for the NVIDIA version where there is steam layered on top of it so I can play portal on bazzite