mirror of
https://github.com/theupriser/steamify-cachyos.git
synced 2026-10-03 17:41:58 +02:00
feat(ui): HDMI refresh boost in the app, off only
The app gets its texts and the same rules as the menu: unticking Steam Machine support or the kernel pin unticks it. It can't be turned on from the app, as each step needs someone at the keyboard to confirm the picture.
This commit is contained in:
1 parent
3974481e9e
commit
e9cd578c9b
3 files changed
+12
No files matched your search
@@ -19,6 +19,8 @@ one per merged pull request.
|
|||||||
- Both are sub-options now, shown only while Steam Machine support is
|
- Both are sub-options now, shown only while Steam Machine support is
|
||||||
ticked. Unticking it unticks them; unticking the kernel pin unticks the
|
ticked. Unticking it unticks them; unticking the kernel pin unticks the
|
||||||
HDMI refresh boost.
|
HDMI refresh boost.
|
||||||
|
- In the app, HDMI refresh boost can only be turned off: each step needs
|
||||||
|
someone at the keyboard, so it's turned on from the menu in Konsole.
|
||||||
|
|
||||||
## 1.1.4 - 2026-09-25
|
## 1.1.4 - 2026-09-25
|
||||||
|
|
||||||
|
|||||||
@@ -144,6 +144,8 @@ backend_apply() {
|
|||||||
[[ "${WANTED[gaming]:-0}" == 0 ]] && { WANTED[single]=0; WANTED[boot]=0; }
|
[[ "${WANTED[gaming]:-0}" == 0 ]] && { WANTED[single]=0; WANTED[boot]=0; }
|
||||||
[[ "${WANTED[kpin]:-0}" == 1 ]] && WANTED[machine]=1
|
[[ "${WANTED[kpin]:-0}" == 1 ]] && WANTED[machine]=1
|
||||||
[[ "${WANTED[machine]:-0}" == 0 ]] && WANTED[kpin]=0
|
[[ "${WANTED[machine]:-0}" == 0 ]] && WANTED[kpin]=0
|
||||||
|
[[ "${WANTED[hdmi]:-0}" == 1 ]] && { WANTED[machine]=1; WANTED[kpin]=1; }
|
||||||
|
[[ "${WANTED[kpin]:-0}" == 0 ]] && WANTED[hdmi]=0
|
||||||
case "$boot" in desktop) WANTED[boot]=1; WANTED[gaming]=1 ;; gamescope) WANTED[boot]=0 ;; esac
|
case "$boot" in desktop) WANTED[boot]=1; WANTED[gaming]=1 ;; gamescope) WANTED[boot]=0 ;; esac
|
||||||
|
|
||||||
REAPPLY=$reapply
|
REAPPLY=$reapply
|
||||||
|
|||||||
@@ -71,6 +71,9 @@ ApplicationWindow {
|
|||||||
kpin: { label: "Pin the kernel", hint: "Fixes rebooting after shutdown",
|
kpin: { label: "Pin the kernel", hint: "Fixes rebooting after shutdown",
|
||||||
body: "Newer CachyOS kernels make the Steam Machine reboot instead of shutting down. Untick once CachyOS fixes that.",
|
body: "Newer CachyOS kernels make the Steam Machine reboot instead of shutting down. Untick once CachyOS fixes that.",
|
||||||
changes: ["linux-cachyos from Steamify's release (signature checked)", "Kept in /var/cache/steamify/kernel", "Added to IgnorePkg"] },
|
changes: ["linux-cachyos from Steamify's release (signature checked)", "Kept in /var/cache/steamify/kernel", "Added to IgnorePkg"] },
|
||||||
|
hdmi: { label: "HDMI refresh boost", hint: "Higher refresh over HDMI · turn on from Steamify in Konsole",
|
||||||
|
body: "The pinned kernel keeps many HDMI displays at 60 Hz. This finds the highest refresh rate your display runs at the desktop resolution. Each step needs you to confirm the picture, so it's turned on from the Steamify menu in Konsole; here you can only turn it off.",
|
||||||
|
changes: ["The display's EDID with the confirmed rates", "In the initramfs, drm.edid_firmware on the kernel command line", "Off: the display uses its own EDID again"] },
|
||||||
bios: { label: "Update BIOS", hint: "",
|
bios: { label: "Update BIOS", hint: "",
|
||||||
body: "Installs Valve's newest Steam Machine BIOS, at your own risk. It checks Valve's checksum and asks fwupd whether the file fits this machine, then warns you twice before anything is written.",
|
body: "Installs Valve's newest Steam Machine BIOS, at your own risk. It checks Valve's checksum and asks fwupd whether the file fits this machine, then warns you twice before anything is written.",
|
||||||
changes: ["Valve's fremont-hw-support package (checksum checked)", "fwupd writes the BIOS during the next restart", "Keep the power on until the machine has fully started again"] }
|
changes: ["Valve's fremont-hw-support package (checksum checked)", "fwupd writes the BIOS during the next restart", "Keep the power on until the machine has fully started again"] }
|
||||||
@@ -132,8 +135,13 @@ ApplicationWindow {
|
|||||||
w[id] = !w[id];
|
w[id] = !w[id];
|
||||||
if (id === "gaming" && !w.gaming) { w.single = false; }
|
if (id === "gaming" && !w.gaming) { w.single = false; }
|
||||||
if (id === "single" && w.single) w.gaming = true;
|
if (id === "single" && w.single) w.gaming = true;
|
||||||
|
// HDMI refresh boost needs someone at the keyboard to confirm each
|
||||||
|
// step: it's only turned on from the terminal menu.
|
||||||
|
if (id === "hdmi" && w.hdmi && !nowOn("hdmi")) return;
|
||||||
if (id === "machine") w.kpin = w.machine;
|
if (id === "machine") w.kpin = w.machine;
|
||||||
if (id === "kpin" && w.kpin) w.machine = true;
|
if (id === "kpin" && w.kpin) w.machine = true;
|
||||||
|
if (id === "hdmi" && w.hdmi) { w.machine = true; w.kpin = true; }
|
||||||
|
if (!w.machine || !w.kpin) w.hdmi = false;
|
||||||
want = w;
|
want = w;
|
||||||
}
|
}
|
||||||
function computePlan() {
|
function computePlan() {
|
||||||
|
|||||||
Reference in new issue
Block a user