From 112747b3eea75937fed18ea4c587a4095c17855d Mon Sep 17 00:00:00 2001 From: enricobuehler Date: Thu, 26 Nov 2026 10:18:56 +0100 Subject: [PATCH] chore(deps): pin punktfunk 096d21d65 A mode now carries its exact rate in millihertz. This title still asks in whole hertz, so every mode it builds states no exact rate. The shared console gained Keep address and play on the host's own machine. The PS5's card offers no Keep address row, and no host runs on this console, so every row streams and both new commands do nothing here. --- Cargo.lock | 26 ++++++++++++------------ Cargo.toml | 10 ++++----- crates/pf-ps5-app/src/runtime/connect.rs | 9 +++++--- crates/pf-ps5-app/src/runtime/menu.rs | 3 ++- crates/pf-ps5-app/src/session/connect.rs | 1 + crates/pf-ps5-app/src/session/probe.rs | 1 + crates/pf-ps5-app/src/ui/service.rs | 14 ++++++++++--- crates/pf-ps5-probe/src/lib.rs | 1 + crates/pf-ps5-vk/src/device.rs | 1 + docs/pins.md | 2 +- scripts/pins.env | 2 +- 11 files changed, 43 insertions(+), 27 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 7ce9d4b..415360e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -593,7 +593,7 @@ dependencies = [ [[package]] name = "fec-rs" version = "0.1.0" -source = "git+https://git.unom.io/unom/punktfunk?rev=0fc1b6c115519551031c51a20c9dc598fb1ea57d#0fc1b6c115519551031c51a20c9dc598fb1ea57d" +source = "git+https://git.unom.io/unom/punktfunk?rev=096d21d6578fd642aa17bbef821f0e43b9f6b3bf#096d21d6578fd642aa17bbef821f0e43b9f6b3bf" [[package]] name = "fiat-crypto" @@ -1115,8 +1115,8 @@ checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220" [[package]] name = "pf-client-core" -version = "0.47.0" -source = "git+https://git.unom.io/unom/punktfunk?rev=0fc1b6c115519551031c51a20c9dc598fb1ea57d#0fc1b6c115519551031c51a20c9dc598fb1ea57d" +version = "0.48.0" +source = "git+https://git.unom.io/unom/punktfunk?rev=096d21d6578fd642aa17bbef821f0e43b9f6b3bf#096d21d6578fd642aa17bbef821f0e43b9f6b3bf" dependencies = [ "anyhow", "cfg_aliases", @@ -1131,8 +1131,8 @@ dependencies = [ [[package]] name = "pf-client-video" -version = "0.47.0" -source = "git+https://git.unom.io/unom/punktfunk?rev=0fc1b6c115519551031c51a20c9dc598fb1ea57d#0fc1b6c115519551031c51a20c9dc598fb1ea57d" +version = "0.48.0" +source = "git+https://git.unom.io/unom/punktfunk?rev=096d21d6578fd642aa17bbef821f0e43b9f6b3bf#096d21d6578fd642aa17bbef821f0e43b9f6b3bf" dependencies = [ "anyhow", "ash", @@ -1145,8 +1145,8 @@ dependencies = [ [[package]] name = "pf-console-ui" -version = "0.47.0" -source = "git+https://git.unom.io/unom/punktfunk?rev=0fc1b6c115519551031c51a20c9dc598fb1ea57d#0fc1b6c115519551031c51a20c9dc598fb1ea57d" +version = "0.48.0" +source = "git+https://git.unom.io/unom/punktfunk?rev=096d21d6578fd642aa17bbef821f0e43b9f6b3bf#096d21d6578fd642aa17bbef821f0e43b9f6b3bf" dependencies = [ "anyhow", "pf-client-core", @@ -1161,8 +1161,8 @@ dependencies = [ [[package]] name = "pf-l10n" -version = "0.47.0" -source = "git+https://git.unom.io/unom/punktfunk?rev=0fc1b6c115519551031c51a20c9dc598fb1ea57d#0fc1b6c115519551031c51a20c9dc598fb1ea57d" +version = "0.48.0" +source = "git+https://git.unom.io/unom/punktfunk?rev=096d21d6578fd642aa17bbef821f0e43b9f6b3bf#096d21d6578fd642aa17bbef821f0e43b9f6b3bf" [[package]] name = "pf-ps5" @@ -1355,8 +1355,8 @@ dependencies = [ [[package]] name = "punktfunk-core" -version = "0.47.0" -source = "git+https://git.unom.io/unom/punktfunk?rev=0fc1b6c115519551031c51a20c9dc598fb1ea57d#0fc1b6c115519551031c51a20c9dc598fb1ea57d" +version = "0.48.0" +source = "git+https://git.unom.io/unom/punktfunk?rev=096d21d6578fd642aa17bbef821f0e43b9f6b3bf#096d21d6578fd642aa17bbef821f0e43b9f6b3bf" dependencies = [ "aes-gcm", "aws-lc-rs", @@ -1393,8 +1393,8 @@ checksum = "d55d956fa96f5ec02be2e13af0e20391a5aa83d6a074e3ad368959d0fab299ea" [[package]] name = "pyrowave-sys" -version = "0.47.0" -source = "git+https://git.unom.io/unom/punktfunk?rev=0fc1b6c115519551031c51a20c9dc598fb1ea57d#0fc1b6c115519551031c51a20c9dc598fb1ea57d" +version = "0.48.0" +source = "git+https://git.unom.io/unom/punktfunk?rev=096d21d6578fd642aa17bbef821f0e43b9f6b3bf#096d21d6578fd642aa17bbef821f0e43b9f6b3bf" dependencies = [ "bindgen 0.73.2", "cmake", diff --git a/Cargo.toml b/Cargo.toml index 9bf17d0..57f387e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -63,12 +63,12 @@ ash = { version = "0.38", default-features = false, features = ["debug", "std"] # Same Skia as the shared console; only the PS5 build adds the Vulkan backend (pf-ps5-vk). skia-safe = { version = "0.153", features = ["textlayout"] } # One REV for all three shared crates: a tag and a rev build two copies whose types don't unify. -punktfunk-core = { git = "https://git.unom.io/unom/punktfunk", rev = "0fc1b6c115519551031c51a20c9dc598fb1ea57d", features = ["quic"] } -pf-client-core = { git = "https://git.unom.io/unom/punktfunk", rev = "0fc1b6c115519551031c51a20c9dc598fb1ea57d", default-features = false } -pf-console-ui = { git = "https://git.unom.io/unom/punktfunk", rev = "0fc1b6c115519551031c51a20c9dc598fb1ea57d", default-features = false } -pf-client-video = { git = "https://git.unom.io/unom/punktfunk", rev = "0fc1b6c115519551031c51a20c9dc598fb1ea57d", default-features = false, features = ["pyrowave"] } +punktfunk-core = { git = "https://git.unom.io/unom/punktfunk", rev = "096d21d6578fd642aa17bbef821f0e43b9f6b3bf", features = ["quic"] } +pf-client-core = { git = "https://git.unom.io/unom/punktfunk", rev = "096d21d6578fd642aa17bbef821f0e43b9f6b3bf", default-features = false } +pf-console-ui = { git = "https://git.unom.io/unom/punktfunk", rev = "096d21d6578fd642aa17bbef821f0e43b9f6b3bf", default-features = false } +pf-client-video = { git = "https://git.unom.io/unom/punktfunk", rev = "096d21d6578fd642aa17bbef821f0e43b9f6b3bf", default-features = false, features = ["pyrowave"] } # The messages the console UI and this title word their text from; the kit reads the same rev. -pf-l10n = { git = "https://git.unom.io/unom/punktfunk", rev = "0fc1b6c115519551031c51a20c9dc598fb1ea57d", default-features = false, features = ["client", "console", "host"] } +pf-l10n = { git = "https://git.unom.io/unom/punktfunk", rev = "096d21d6578fd642aa17bbef821f0e43b9f6b3bf", default-features = false, features = ["client", "console", "host"] } [workspace.lints.rust] unsafe_op_in_unsafe_fn = "deny" diff --git a/crates/pf-ps5-app/src/runtime/connect.rs b/crates/pf-ps5-app/src/runtime/connect.rs index e49c826..b949c75 100644 --- a/crates/pf-ps5-app/src/runtime/connect.rs +++ b/crates/pf-ps5-app/src/runtime/connect.rs @@ -67,8 +67,8 @@ pub(super) struct ConnectOutcome { pub exit_plan: Option, } -/// The mode to ask for: the document's explicit pick, or the console's own output where it -/// says "Native" (`0`). The host refuses a 0×0 request. +/// The mode to ask for, in whole hertz: the document's explicit pick, or the console's own +/// output where it says "Native" (`0`). The host refuses a 0×0 request. pub(super) fn stream_mode(settings: &store::Settings, native: Mode) -> Mode { let explicit = !settings.match_window && settings.width != 0 && settings.height != 0; Mode { @@ -79,6 +79,7 @@ pub(super) fn stream_mode(settings: &store::Settings, native: Mode) -> Mode { } else { settings.refresh_hz }, + refresh_mhz: 0, } } @@ -234,6 +235,7 @@ mod tests { width: 3840, height: 2160, refresh_hz: 120, + refresh_mhz: 0, }; let mut s = store::Settings::default(); assert_eq!(stream_mode(&s, output), output); @@ -245,7 +247,8 @@ mod tests { Mode { width: 1920, height: 1080, - refresh_hz: 60 + refresh_hz: 60, + refresh_mhz: 0, } ); } diff --git a/crates/pf-ps5-app/src/runtime/menu.rs b/crates/pf-ps5-app/src/runtime/menu.rs index a5916a8..3affc80 100644 --- a/crates/pf-ps5-app/src/runtime/menu.rs +++ b/crates/pf-ps5-app/src/runtime/menu.rs @@ -21,13 +21,14 @@ use crate::services::store::console::ConsoleStore; use crate::services::store::{self, StateWriter}; use crate::ui::Service; -/// The console's output as a stream mode, for a "Native" pick. +/// The console's output as a stream mode at its whole rate, for a "Native" pick. pub(super) fn native_mode(app: &App) -> Mode { let (width, height) = app.display.size(); Mode { width, height, refresh_hz: app.display.refresh().hz(), + refresh_mhz: 0, } } diff --git a/crates/pf-ps5-app/src/session/connect.rs b/crates/pf-ps5-app/src/session/connect.rs index a5ce46a..76519a1 100644 --- a/crates/pf-ps5-app/src/session/connect.rs +++ b/crates/pf-ps5-app/src/session/connect.rs @@ -402,6 +402,7 @@ mod tests { width, height, refresh_hz, + refresh_mhz: 0, } } diff --git a/crates/pf-ps5-app/src/session/probe.rs b/crates/pf-ps5-app/src/session/probe.rs index 534af2f..9dce6dc 100644 --- a/crates/pf-ps5-app/src/session/probe.rs +++ b/crates/pf-ps5-app/src/session/probe.rs @@ -32,6 +32,7 @@ fn handshake_only( width: 1280, height: 720, refresh_hz: 60, + refresh_mhz: 0, }; NativeClient::connect(punktfunk_core::client::ConnectParams { bitrate_kbps, diff --git a/crates/pf-ps5-app/src/ui/service.rs b/crates/pf-ps5-app/src/ui/service.rs index 78bd2e2..1394884 100644 --- a/crates/pf-ps5-app/src/ui/service.rs +++ b/crates/pf-ps5-app/src/ui/service.rs @@ -325,6 +325,7 @@ impl Service { can_wake: !online && !h.mac.is_empty(), // This client has no per-host clipboard flag; see `ConsoleCmd::SetClipboard`. clipboard_sync: false, + keep_addr: h.keep_addr, // No launch history on the record: ordering by name rather than a recency it lacks. last_used: None, os: advert @@ -345,6 +346,8 @@ impl Service { .get(&key) .filter(|_| h.is_paired()) .and_then(|(_, t)| t.clone()), + // No host runs on this console, so every row streams. + local: false, key, } } @@ -466,8 +469,9 @@ impl Service { label, } => self.set_screen(addr, mgmt, fp_hex, Pick { screen, topology }, label), // Nothing to do: no status client (Resume badges stay off), no clipboard, no prompt - // here, no title is endable or installable (`to_model`), and the profile picker is - // off (`ConsoleOptions::profiles`), so nothing is hidden for a profile either. + // here, no title is endable or installable (`to_model`), the profile picker is off + // (`ConsoleOptions::profiles`) so nothing is hidden, the PS5's card offers no Keep + // address row, and no row is `local`. ConsoleCmd::RefreshRunning { .. } | ConsoleCmd::SetClipboard { .. } | ConsoleCmd::PromptAnswer { .. } @@ -478,7 +482,9 @@ impl Service { | ConsoleCmd::WakeProfile { .. } | ConsoleCmd::SetProfile { .. } | ConsoleCmd::SetHidden { .. } - | ConsoleCmd::FetchHidden { .. } => {} + | ConsoleCmd::FetchHidden { .. } + | ConsoleCmd::SetKeepAddress { .. } + | ConsoleCmd::LaunchLocal { .. } => {} } } @@ -1274,6 +1280,7 @@ fn discovered_row(d: &DiscoveredHost) -> HostRow { mgmt_port: d.mgmt_port.unwrap_or(DEFAULT_MGMT_PORT), can_wake: false, clipboard_sync: false, + keep_addr: false, last_used: None, os: d.os.clone(), // Unpaired: there is nothing it would let this console do to it. @@ -1286,6 +1293,7 @@ fn discovered_row(d: &DiscoveredHost) -> HostRow { // `LibraryGame::running` is false here. Empty renders as no line. running: String::new(), screens: None, + local: false, } } diff --git a/crates/pf-ps5-probe/src/lib.rs b/crates/pf-ps5-probe/src/lib.rs index 764ceeb..3d34d57 100644 --- a/crates/pf-ps5-probe/src/lib.rs +++ b/crates/pf-ps5-probe/src/lib.rs @@ -1033,6 +1033,7 @@ fn session(ctx: &Ctx) -> Result { width: 1920, height: 1080, refresh_hz: 60, + refresh_mhz: 0, }; let client = punktfunk_core::client::NativeClient::connect(punktfunk_core::client::ConnectParams { pin: Some(pin), diff --git a/crates/pf-ps5-vk/src/device.rs b/crates/pf-ps5-vk/src/device.rs index e17facc..91eb4a6 100644 --- a/crates/pf-ps5-vk/src/device.rs +++ b/crates/pf-ps5-vk/src/device.rs @@ -218,6 +218,7 @@ impl GpuDevice { pyrowave_decode: p.ok, f_shader_int16: p.ok, f_storage_buffer8: p.ok, + f_storage_buffer16: false, f_subgroup_size_control: p.ok, f_compute_full_subgroups: p.ok, f_shader_float16: p.ok && p.float16, diff --git a/docs/pins.md b/docs/pins.md index 3eecbd4..ecb4b49 100644 --- a/docs/pins.md +++ b/docs/pins.md @@ -5,7 +5,7 @@ | Pin | Value | What it fixes | Moves when | | --- | --- | --- | --- | | Rust nightly | `nightly-2026-08-11` | `-Z build-std` for the custom target | a std change is needed; re-run the probe | -| punktfunk | `0fc1b6c11` | `punktfunk-core`, `pf-client-core`, `pf-console-ui`, `pf-client-video`, one rev for all | the shared crates change; one bump, all four | +| punktfunk | `096d21d65` | `punktfunk-core`, `pf-client-core`, `pf-console-ui`, `pf-client-video`, one rev for all | the shared crates change; one bump, all four | | PS5_Vulkan | `f410e67a0` | link recipe, title CRT, `ps5-native-tool`, `libc.prx` | RADV or the recipe changes upstream | | PS5_Mesa | `c90ea0aab` | RADV with the PS5 winsys: PS5_Vulkan's `1ba9874f4` plus HDR10 swapchains and 119.88 Hz under VRR | with PS5_Vulkan; re-run WP1's bundle (R11) | | PS5_PayloadSDK | `b83202be7` | payload SDK + platform layer (`libps5platform.a`) | with PS5_Vulkan | diff --git a/scripts/pins.env b/scripts/pins.env index 2805825..9b60555 100644 --- a/scripts/pins.env +++ b/scripts/pins.env @@ -2,7 +2,7 @@ # The Rust toolchain (rust-toolchain.toml carries the same value). RUST_NIGHTLY=nightly-2026-08-11 # The three shared crates (Cargo.toml carries the same rev). -PUNKTFUNK_REV=0fc1b6c115519551031c51a20c9dc598fb1ea57d +PUNKTFUNK_REV=096d21d6578fd642aa17bbef821f0e43b9f6b3bf # PS5_Vulkan: the RADV link recipe, the title CRT, ps5-native-tool, libc.prx. PS5_VULKAN_REPO=https://github.com/mihawk-99/PS5_Vulkan.git PS5_VULKAN_REV=f410e67a0241b3e8edcdbcd2a9b285dfc4a412ed