There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

Working instructions for OpenRazer on Fedora Silverblue?

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:


<span style="color:#323232;">curl -o - https://download.opensuse.org/repositories/hardware:/razer/Fedora_$(rpm -E %fedora)/hardware:razer.repo | sudo tee /etc/yum.repos.d/razer.repo
</span><span style="color:#323232;">rpm-ostree install openrazer-meta razergenie
</span>

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


<span style="color:#323232;">sudo bash -c 'grep "plugdev" /lib/group >> /etc/group'
</span><span style="color:#323232;">sudo gpasswd -a $USER plugdev
</span>

Finally, launch RazerGenie…

https://lemmy.ca/pictrs/image/b6036739-8980-48a7-abdb-956f3622eb4f.png

throwawayish , (edited )

It seems as if the uBlue images ship the required OpenRazer kmod by default. Therefore, I would suggest you to take a look at those. You still need to follow some additional steps though 😅. Which might not be very intuitive… Thus, I propose the following: if you’ll rebase to uBlue, you might as well rebase to Bazzite. After the rebase has been completed, the (post-)installation software should already give you the option (it’s just a simple toggle) to install OpenRazer. The toggle is clearly visible in this frame.

If you perceive Bazzite as too opinionated for your taste, then perhaps you might opt to the following instead:


<span style="color:#323232;">install-openrazer:
</span><span style="color:#323232;">    sudo wget https://download.opensuse.org/repositories/hardware:/razer/Fedora_$(rpm -E %fedora)/hardware:razer.repo -O /etc/yum.repos.d/hardware:razer.repo && 
</span><span style="color:#323232;">    ublue-update --wait && 
</span><span style="color:#323232;">    rpm-ostree install -y openrazer-meta razergenie && 
</span><span style="color:#323232;">    if ! grep -q "plugdev" /etc/group; then 
</span><span style="color:#323232;">      sudo bash -c 'grep "plugdev" /lib/group >> /etc/group' 
</span><span style="color:#323232;">    ; fi && 
</span><span style="color:#323232;">    sudo usermod -a -G plugdev $USER && 
</span><span style="color:#323232;">    echo "Please reboot to apply needed changes."
</span>

Which should be the just-entry (and thus responsible) for whatever happens after the toggle is enabled*.

thayer OP ,

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 ,

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

Guenther_Amanita , (edited )

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.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines