mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-01-26 18:35:30 +00:00
feat(deck): Use gamescope patched edid for SD OLED by default to work around HDR issues in KDE6.
This commit is contained in:
parent
6f3d4b1d83
commit
f3e9f68eb0
BIN
system_files/deck/shared/usr/lib/firmware/edid/sdoled_edid.bin
Normal file
BIN
system_files/deck/shared/usr/lib/firmware/edid/sdoled_edid.bin
Normal file
Binary file not shown.
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user