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"