This is mostly a step-by-step set of instructions for future me if I ever need to reinstall Fedora on my laptop, but I published it here in case it might be usefull to someone else.
Defaults to fedora, can be changed through the settings app, under sharing or about
sudo sed -ise "s/^$/exclude=kernel kernel-core kernel-devel\n/g" /etc/yum.repos.d/fedora.repo /etc/yum.repos.d/fedora-updates.repo /etc/yum.repos.d/fedora-updates-testing.repo
sudo dnf copr enable lukenukem/asus-kernel
sudo dnf copr enable lukenukem/asus-linux
sudo dnf install asusctl supergfxctl asusctl-rog-gui nodejs git
sudo dnf update --refresh
sudo systemctl enable supergfxd.service
Setting supergfxd to Asus causes crashes, so try Std mode:
sudo sed -ise 's/"None"/"Std"/g' /etc/supergfxd.conf
I found this to have dubious benefits with regards to power usage and it causes stability issues when switching back to dedicated graphics, so I just run in hybrid or dgpu only mode for the time being.
Hybrid:
asusctl bios -D 1
Dedicated:
asusctl bios -D 0
git clone https://gitlab.com/asus-linux/supergfxctl-gex.git /tmp/supergfxctl-gex && cd /tmp/supergfxctl-gex
npm install
npm run build && npm run install-user
sudo dnf install gnome-extensions-app
Doesn't work for me.
sudo dnf -y install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm
sudo dnf -y install https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
sudo dnf install ffmpeg
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
Switch to Xorg :( Or to steam beta