feat: Add Ryzen SMU driver, load automatically on Deck builds

This commit is contained in:
Kyle Gospodnetich 2023-09-16 10:23:58 -07:00
parent 67813d68da
commit 1e28468b87
3 changed files with 4 additions and 1 deletions

View File

@ -24,6 +24,7 @@ RUN sed -i 's@enabled=0@enabled=1@g' /etc/yum.repos.d/_copr_ublue-os-akmods.repo
rpm-ostree install \
/tmp/akmods-rpms/kmods/*gcadapter_oc*.rpm \
/tmp/akmods-rpms/kmods/*openrgb*.rpm \
/tmp/akmods-rpms/kmods/*ryzen-smu*.rpm \
/tmp/akmods-rpms/kmods/*evdi*.rpm \
/tmp/akmods-rpms/kmods/*wl*.rpm \
/tmp/rpms/ublue-update.noarch.rpm \

View File

@ -91,7 +91,7 @@ Variant designed for usage as an alternative to SteamOS on the Steam Deck, and f
- Applies SteamOS's kernel parameters.
- Color calibrated display profiles for matte and reflective Steam Deck screens included.
- Default-disabled power-user features, including:
- Service for low-risk undervolting of the Steam Deck via [RyzenAdj](https://github.com/FlyGoat/RyzenAdj), see `ryzenadj.service` and `/etc/default/ryzenadj`.
- Service for low-risk undervolting of the Steam Deck via [RyzenAdj](https://github.com/FlyGoat/RyzenAdj) and [Ryzen SMU](https://gitlab.com/leogx9r/ryzen_smu), see `ryzenadj.service` and `/etc/default/ryzenadj`.
- Service for limiting the max charge level of the battery, see `batterylimit.service` and `/etc/default/batterylimit`. <sup><sub>(Works even when the device is off)</sub></sup>
- Built in support for display overclocking. For example, add `GAMESCOPE_OVERRIDE_REFRESH_RATE=40,70` to `/etc/environment`.
- Ability to enable Wayland on the desktop if desired by editing `/etc/default/desktop-wayland`.

View File

@ -0,0 +1,2 @@
# Load ryzen_smu driver upon startup
ryzen_smu