feat(deck): Use gamescope patched edid for SD OLED by default to work around HDR issues in KDE6.

This commit is contained in:
Kyle Gospodnetich 2024-04-20 00:55:38 -07:00
parent 6f3d4b1d83
commit f3e9f68eb0
2 changed files with 4 additions and 1 deletions

View File

@ -7,7 +7,7 @@ IMAGE_FLAVOR=$(jq -r '."image-flavor"' < $IMAGE_INFO)
FEDORA_VERSION=$(jq -r '."fedora-version"' < $IMAGE_INFO)
# SCRIPT VERSION
HWS_VER=37
HWS_VER=38
HWS_VER_FILE="/etc/bazzite/hws_version"
HWS_VER_RAN=$(cat $HWS_VER_FILE)
@ -60,6 +60,9 @@ if [[ ":Galileo:" =~ ":$SYS_ID:" ]]; then
echo "Adding panel orientation for Steam Deck OLED"
NEEDED_KARGS+=("--append-if-missing=video=eDP-1:panel_orientation=right_side_up")
fi
if [[ ! $KARGS =~ "drm.edid_firmware" ]]; then
NEEDED_KARGS+=("--append-if-missing=drm.edid_firmware=eDP-1:edid/sdoled_edid.bin")
fi
elif [[ ":83E1:" =~ ":$SYS_ID:" ]]; then
if [[ ! $KARGS =~ "video" ]]; then
echo "Adding panel orientation for Lenovo Legion Go"