Probably a longshot, but hoping anyone here might have working instructions on getting OpenRazer running under Fedora Silverblue. I recently picked up some Huntsman V2s and while OpenRGB works for basic control, I’d like to see what other options are available.

Apparently there is a known incompatibility between Silverblue and how OpenRazer implements kernel modules (link). I’ve seen elsewhere that some users have tweaked the build files to work around this, but I couldn’t find any detailed info. Any help would be appreciated.

EDIT:

I got it working, but it wasn’t worth the trouble compared to simply running OpenRGB in a flatpak. For Razer keyboard users, you’ll gain one or two RGB presets over OpenRGB, such as Reactive, and the ability to adjust the polling rate (the merits of which are highly debatable). You’ll lose secure boot and kernel verification unless you also add the ublue repo and signing key rpm (ublue-os-akmods-addons).

If anyone wants to do it anyway, I had success by downloading and installing the following ublue-os akmod rpms from here:

  • akmod-openrazer-100.0.0.git.530.886f986d-1.fc39.x86_64.rpm
  • kmod-openrazer-100.0.0.git.530.886f986d-1.fc39.x86_64.rpm
  • openrazer-kmod-common-100.0.0.git.530.886f986d-1.fc39.x86_64.rpm

(Note: you might need to layer the kernel-devel package first; I had it layered already so I can’t confirm.)

Add the openrazer repo, then install the daemon and frontend app:

curl -o - https://download.opensuse.org/repositories/hardware:/razer/Fedora_$(rpm -E %fedora)/hardware:razer.repo | sudo tee /etc/yum.repos.d/razer.repo
rpm-ostree install openrazer-meta razergenie

Add the plugdev group to /etc/group, then add your user to it:

sudo bash -c 'grep "plugdev" /lib/group >> /etc/group'
sudo gpasswd -a $USER plugdev

Finally, launch RazerGenie…

  • thayer@lemmy.caOP
    link
    fedilink
    English
    arrow-up
    2
    ·
    10 months ago

    That’s good to know, thanks! I’m quite content with vanilla Silverblue, but I’ll take a look at their build files and see how they’re pulling it off.

    • throwawayish@lemmy.ml
      link
      fedilink
      arrow-up
      2
      ·
      10 months ago

      Aight. I’ve changed the comment a bit 😅 since. Perhaps it’s more useful for you now 😉.

    • Guenther_Amanita@feddit.de
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      10 months ago

      I wanted to make the same suggestion with uBlue. There’s also the silverblue-main image, which is very vanilla and the one I use. The kmod is already pre-installed there.

      Bazzite can also be great, but it’s too opinionated for my taste. I like Silverblue also more like the devs intended.