From 5ac38c527effeaa66881c21d95a067f690c46385 Mon Sep 17 00:00:00 2001 From: Brother Michael <10013519+m18h@users.noreply.github.com> Date: Mon, 24 Jun 2024 11:32:23 +0000 Subject: [PATCH 1/2] added panel orietation and gttsize kernel args --- .../desktop/shared/usr/libexec/bazzite-hardware-setup | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/system_files/desktop/shared/usr/libexec/bazzite-hardware-setup b/system_files/desktop/shared/usr/libexec/bazzite-hardware-setup index 42d3dede..c76e6b48 100755 --- a/system_files/desktop/shared/usr/libexec/bazzite-hardware-setup +++ b/system_files/desktop/shared/usr/libexec/bazzite-hardware-setup @@ -106,6 +106,17 @@ elif [[ ":WIN2:" =~ ":$SYS_ID:" ]]; then fi fi +if [[ ":ONEXPLAYER F1:" =~ ":$SYS_ID:" ]]; then + if [[ ! $KARGS =~ "video" ]]; then + echo "Adding panel orientation for ONEXPLAYER F1" + NEEDED_KARGS+=("--append-if-missing=video=eDP-1:panel_orientation=left_side_up") + fi + if [[ ! $KARGS =~ "amdgpu.gttsize" ]]; then + echo "Adding GTTSize for ONEXPLAYER F1 (32GB RAM)" + NEEDED_KARGS+=("--append-if-missing=amdgpu.gttsize=16256") + fi +fi + if /usr/libexec/hwsupport/simpledeckytdp-supported-hardware; then if [[ ! $KARGS =~ "iomem" ]]; then echo "Adding needed kargs for ryzenadj" From 8bff5e75606821e0d978b9f4dc63d36e6724fc3c Mon Sep 17 00:00:00 2001 From: Brother Michael <10013519+m18h@users.noreply.github.com> Date: Mon, 24 Jun 2024 11:32:23 +0000 Subject: [PATCH 2/2] feat: added panel orietation and gttsize kargs --- .../desktop/shared/usr/libexec/bazzite-hardware-setup | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/system_files/desktop/shared/usr/libexec/bazzite-hardware-setup b/system_files/desktop/shared/usr/libexec/bazzite-hardware-setup index 42d3dede..c76e6b48 100755 --- a/system_files/desktop/shared/usr/libexec/bazzite-hardware-setup +++ b/system_files/desktop/shared/usr/libexec/bazzite-hardware-setup @@ -106,6 +106,17 @@ elif [[ ":WIN2:" =~ ":$SYS_ID:" ]]; then fi fi +if [[ ":ONEXPLAYER F1:" =~ ":$SYS_ID:" ]]; then + if [[ ! $KARGS =~ "video" ]]; then + echo "Adding panel orientation for ONEXPLAYER F1" + NEEDED_KARGS+=("--append-if-missing=video=eDP-1:panel_orientation=left_side_up") + fi + if [[ ! $KARGS =~ "amdgpu.gttsize" ]]; then + echo "Adding GTTSize for ONEXPLAYER F1 (32GB RAM)" + NEEDED_KARGS+=("--append-if-missing=amdgpu.gttsize=16256") + fi +fi + if /usr/libexec/hwsupport/simpledeckytdp-supported-hardware; then if [[ ! $KARGS =~ "iomem" ]]; then echo "Adding needed kargs for ryzenadj"