Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 13 additions & 13 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
9 changes: 6 additions & 3 deletions crates/pf-ps5-app/src/runtime/connect.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ pub(super) struct ConnectOutcome {
pub exit_plan: Option<ExitPlan>,
}

/// 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 {
Expand All @@ -79,6 +79,7 @@ pub(super) fn stream_mode(settings: &store::Settings, native: Mode) -> Mode {
} else {
settings.refresh_hz
},
refresh_mhz: 0,
}
}

Expand Down Expand Up @@ -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);
Expand All @@ -245,7 +247,8 @@ mod tests {
Mode {
width: 1920,
height: 1080,
refresh_hz: 60
refresh_hz: 60,
refresh_mhz: 0,
}
);
}
Expand Down
3 changes: 2 additions & 1 deletion crates/pf-ps5-app/src/runtime/menu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}
}

Expand Down
1 change: 1 addition & 0 deletions crates/pf-ps5-app/src/session/connect.rs
Original file line number Diff line number Diff line change
Expand Up @@ -402,6 +402,7 @@ mod tests {
width,
height,
refresh_hz,
refresh_mhz: 0,
}
}

Expand Down
1 change: 1 addition & 0 deletions crates/pf-ps5-app/src/session/probe.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
14 changes: 11 additions & 3 deletions crates/pf-ps5-app/src/ui/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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,
}
}
Expand Down Expand Up @@ -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 { .. }
Expand All @@ -478,7 +482,9 @@ impl Service {
| ConsoleCmd::WakeProfile { .. }
| ConsoleCmd::SetProfile { .. }
| ConsoleCmd::SetHidden { .. }
| ConsoleCmd::FetchHidden { .. } => {}
| ConsoleCmd::FetchHidden { .. }
| ConsoleCmd::SetKeepAddress { .. }
| ConsoleCmd::LaunchLocal { .. } => {}
}
}

Expand Down Expand Up @@ -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.
Expand All @@ -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,
}
}

Expand Down
1 change: 1 addition & 0 deletions crates/pf-ps5-probe/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1033,6 +1033,7 @@ fn session(ctx: &Ctx) -> Result<Outcome> {
width: 1920,
height: 1080,
refresh_hz: 60,
refresh_mhz: 0,
};
let client = punktfunk_core::client::NativeClient::connect(punktfunk_core::client::ConnectParams {
pin: Some(pin),
Expand Down
1 change: 1 addition & 0 deletions crates/pf-ps5-vk/src/device.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion docs/pins.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down
2 changes: 1 addition & 1 deletion scripts/pins.env
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading