Compilation of fixes for the ROG ALLY when using Nobara (side buttons, volume buttons and audio).
All credit should go to the original authors and developers. Many of these original fixes were done by ChimeraOS devs. I'm mainly recreating the same fixes that the ChimeraOS devs have done for ChimeraOS and Arch, but for Nobara (Fedora) and packaging them together in one place.
I highly recommend using this repo's utility so that the side buttons function like they would on the Steam Deck in gamescope-session
or big picture mode in desktop view.
Rogue-enemy will give you a virtual Playstation controller with gyro support.
An automated kernel installer has been added. As is, it downloads the latest source kernel from Nobara copr, unpacks it, adds the ROG ALLY patches and compiles the kernel, the kernel modules and installs them (both kernel and modules).
Steps to perform the custom kernel compile and installation.
git clone https://github.com/jlobue10/ALLY_Nobara_fixes
cd ALLY_Nobara_fixes
chmod +x install-custom-kernel.sh
sudo ./install-custom-kernel.sh
Removal of the custom kernel from the script requires some manual steps. (Comments below are preceeded by '#')
ls -alh /boot
# Take note of the kernel version number that you want to manually remove
# You are interested in removing the vmlinuz, System.map and initramfs files
# Manually delete all three of these with 'sudo rm filename' (replace with actual filename)
# Then one more step is needed to clean up the GRUB entry
sudo ls -alh /boot/loader/entries
# Delete the entry there as well with 'sudo rm' and you should be fully cleaned up
RPMs have been provided on the release page as an alternative to the local compile. If you download the tarball with the kernel RPMs, this would be the install procedure after changing into the directory where that tarball was downloaded. Kernels are now being compiled with clang llvm lto as this method seems to benefit the ASUS ROG ALLY's performance.
tar xvf kernel-version-blah-blah.fsync.ally.fc38.x86_64.tar.gz
cd RPM
sudo dnf install *.rpm
RPM uninstall example:
sudo dnf remove kernel-6.5.9-200.fsync.ally.fc38.x86_64 kernel-core-6.5.9-200.fsync.ally.fc38.x86_64 kernel-devel-6.5.9-200.fsync.ally.fc38.x86_64 kernel-modules-6.5.9-200.fsync.ally.fc38.x86_64 kernel-modules-core-6.5.9-200.fsync.ally.fc38.x86_64 kernel-modules-extra-6.5.9-200.fsync.ally.fc38.x86_64