GithubHelp home page GithubHelp logo

divinebuttertoast / ally_nobara_fixes Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jlobue10/ally_nobara_fixes

0.0 0.0 0.0 2.18 MB

Compilation of fixes for the ROG ALLY when using Nobara

License: MIT License

Shell 1.06% C 86.53% Makefile 12.40%

ally_nobara_fixes's Introduction

ALLY_Nobara_fixes

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.

Custom kernel script Installation (please use RPMs instead... left online for my own testing...)

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

Kernel RPM Installation method

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

References

ACPI patch info for audio

Info to compile custom kernel and modules for Fedora

Building kernel from src RPM

Asus Linux Discord

ally_nobara_fixes's People

Contributors

jlobue10 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.