From 22fb6783a06324b53c4f91020591dde6d2635807 Mon Sep 17 00:00:00 2001 From: VallierDev <24893073+VallierDev@users.noreply.github.com> Date: Mon, 19 Oct 2026 14:57:29 +0800 Subject: [PATCH] Release v0.2.12: pad odd capture sizes (#53) Co-Authored-By: Claude Opus 5.5 --- Cargo.lock | 2 +- Cargo.toml | 2 +- docker/Dockerfile | 2 +- docs/release-notes/v0.2.12.md | 15 +++++++++++++++ 4 files changed, 18 insertions(+), 3 deletions(-) create mode 100644 docs/release-notes/v0.2.12.md diff --git a/Cargo.lock b/Cargo.lock index aeb7e20..e650242 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2741,7 +2741,7 @@ checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" [[package]] name = "uu-remote-linux" -version = "0.2.11" +version = "0.2.12" dependencies = [ "async-trait", "base64 0.22.1", diff --git a/Cargo.toml b/Cargo.toml index 29026cf..ae3c3b8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "uu-remote-linux" -version = "0.2.11" +version = "0.2.12" edition = "2021" default-run = "uuremote-server" authors = ["uu-remote-linux contributors"] diff --git a/docker/Dockerfile b/docker/Dockerfile index 6266a0d..cebe676 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,7 +1,7 @@ # Unofficial UU Remote Linux host in a container, for NAS boxes (Synology DSM, etc.) without a desktop. # Headless mode: file transfer, terminal and port mapping; no remote desktop. Uses the published release binary. FROM ubuntu:24.04 -ARG VERSION=v0.2.11 +ARG VERSION=v0.2.12 LABEL org.opencontainers.image.source="https://github.com/VallierDev/uu-remote-linux" \ org.opencontainers.image.description="Unofficial UU Remote Linux host, headless (file transfer, terminal, port mapping)" \ org.opencontainers.image.licenses="GPL-3.0" diff --git a/docs/release-notes/v0.2.12.md b/docs/release-notes/v0.2.12.md new file mode 100644 index 0000000..5b6d503 --- /dev/null +++ b/docs/release-notes/v0.2.12.md @@ -0,0 +1,15 @@ +修复缩放桌面尺寸为奇数时画面一直「正在传输」。/ Fix the stream never starting when the captured desktop has an odd size. + +### 修复 / Fixed +- **奇数尺寸桌面无法出画面**(#53,感谢 @wen0531):KDE Plasma(Wayland,门户后端)150% 缩放、两块屏上下排列时, + 逻辑桌面为 2560x2507,H.264/HEVC 编码器要求偶数宽高,全部启动失败,客户端一直停在「正在传输画面」。 + 现在原生分辨率采集遇到奇数宽高时,在右/下补齐 1 像素黑边再编码;偶数尺寸、「其他分辨率」缩放不受影响。 + 贡献者已在 KDE Plasma 6.7 / Wayland / NVENC + 官方安卓客户端上实测。进程内编码(`inproc-av`)路径未覆盖。 +- When the native capture size is odd (e.g. scaled stacked monitors), the encoder input is padded by one black + row/column so every H.264/HEVC encoder can open. Verified by the contributor on KDE Plasma 6.7 (Wayland, NVENC). + The optional `inproc-av` path is not covered. + +### 下载 / Download +`uu-remote-linux-v0.2.12-x86_64-linux.tar.gz`(主机 `uuremote-server` + 控制端 `uuremote-viewer`,附带 `contrib/`),或 `docker pull ghcr.io/vallierdev/uu-remote-linux:v0.2.12`。 + +**非官方项目,与网易无关。** / **Unofficial, not affiliated with NetEase.**