Skip to content

Instantly share code, notes, and snippets.

@wvdschel
Created February 1, 2023 16:40
Show Gist options
  • Save wvdschel/d0e3211991778e385c8c54b6508179ce to your computer and use it in GitHub Desktop.
Save wvdschel/d0e3211991778e385c8c54b6508179ce to your computer and use it in GitHub Desktop.
fedora install asus zephyrus 2022

Installing Linux on the Zephyrus G14

Change hostname

Defaults to fedora, can be changed through the settings app, under sharing or about

Installing asusctl

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

Cutting of power to dedicated graphics when running in igpu only mode

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.

Switching between hybrid and dedicated only graphics modes (requires reboot)

Hybrid: asusctl bios -D 1

Dedicated: asusctl bios -D 0

Install & configure supergfxctl-gex

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.

Installing ffmmpeg (for video support in Firefox)

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

Installing full Flathub (for VS Code)

flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

Fix steam lag on dedicated graphics

Switch to Xorg :( Or to steam beta

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment