When the HDMI sink also offers AC3/E-AC3 passthrough (WirePlumber's
iec958 codecs), pulsesink took the encoded track as it was: a 44.1 kHz
AC3 track failed at once ("Failed to connect stream: No such entity")
and a 48 kHz one went out as a bitstream that stuttered on a Raspberry
Pi 4. The player's audio sink is now audioconvert ! audioresample !
audio/x-raw ! pulsesink, so it always gets PCM.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
With direct rendering on, gst-libav aborts the whole process
(g_error "video meta uses 864x480 instead of 854x480") when a padded
frame meets a renegotiation, for example after a seek or resume. Netflex
TV died this way on a Raspberry Pi 4 playing a 854x480 episode. The
player now turns direct rendering off on every avdec_* element it sets up.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Glass's video fade stepped down whenever it was already at its target, so
a fully shown video dipped every other frame. At 60 fps that was a 5 %
dip; on a slow GPU (Raspberry Pi 4, ~10 fps during playback) the video
went down to ~60 % every other frame and the backdrop flickered through.
The fade now clamps to its target, like the picture fades do.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- GlassRenderer::choose_quality measures a typical TV frame offscreen at
window size and picks Full, Light or the new Quality::Material; cached
per GPU and size in ~/.cache/fennec-glass, SMARTFOX_GLASS overrides it.
Glass picks it by default (set_auto_quality); set_quality fixes it.
- Material: matte panes with a small shadow and a focus ring on a plain
palette-coloured backdrop, in its own cheap shader, with no backdrop
texture or full-screen pass. A still Material layer draws no frames
while nothing changes.
- Glass panes: a fast path for single panes, light/flat really skip the
full lighting, and each pane's quad only covers its actual shadow.
On a Raspberry Pi 4 at 1080p: full glass 50 ms, light 39 ms per frame,
so Material is picked; the launcher animates at 55-60 fps (was 17).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The app-facing parts of Fennec OS move here, so apps build without the
OS sources:
- sf-app: the app contract (manifest, permissions, store rules, sandbox,
launch), from sf-ipc; the OS depends on it by tag.
- sf-ui (+ gallery), sf-pack, templates/rust-app, docs.
Store apps may now register for DIAL: a [dial] section implies the new
`dial` permission, which the user approves like any other.
The templates no longer mention signing: store releases are unsigned.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- sf-update (root): lists sf-shell / sf-app-* in the Gitea generic registry,
downloads, checks the Ed25519 signature and unpacks to /var/lib/sf-pkg,
switches via current/previous/staged symlinks; the factory copies on the
read-only root stay as fallback. A new shell is on trial and rolls back
after 3 failed starts.
- Launcher: apps from factory + installed packages (newer version wins),
Settings > System > Updates (check, install now), shell trial confirm.
- Image: sf-update units (boot apply, 6-hourly download, launcher requests),
sf-shell-exec wrapper for sf-remote, factory versions, registry token.
- CI: .gitea/workflows/packages.yml builds, signs and uploads packages whose
version isn't published yet (tools/pkg/packages.sh).
- docs/updates.md: protocol and layout.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>