Skip to content

v2.7.0

Choose a tag to compare

@eklonofficial eklonofficial released this 15 Aug 01:26
· 75 commits to main since this release

Fixes

Share links pointed at Cloudflare's API (#143). Vice reads cloudflared's output to find your tunnel address, and matched anything ending in .trycloudflare.com. cloudflared also prints its own API endpoint, https://api.trycloudflare.com, and when that turned up first Vice took it as the tunnel. Every link you shared then went to Cloudflare's API, which answers "Method Not Allowed". Infrastructure hostnames are skipped now. If your links looked like that, they will be normal four-word addresses again after this update.

Vice stayed dark when capture would not start (#156). A recorder that failed to start took the whole window down with it: you got "Vice started but the UI server did not respond" and no way to reach Settings and pick an encoder that works, which was the one thing that would have fixed it. Vice now stays up and tells you what gpu-screen-recorder actually said, and keeps retrying in the background, so a driver that gets fixed is picked up without you doing anything. If the problem is the GPU encoder itself, Vice falls back to CPU encoding for that session so you keep clipping, and says so. It tries the GPU first every time it starts.

The service was enabled but never started (#139). The unit asked to be started by graphical-session.target, which Hyprland and other compositors that do not use uwsm never activate. So enabling it looked like it worked and then nothing happened at login. It now also starts from default.target, and waits for your session to come up before it starts recording. vice doctor used to report "File: (not installed)" for the packaged service; it looks in the system paths too now, and tells you whether the service is enabled and running.

If you have the service enabled already, run this once to pick up the change:

systemctl --user reenable vice.service

Clips were not tagged with the game on KDE and GNOME under Wayland (#152). Reading the focused window there goes through XWayland, which KWin only partly fills in, so clip tagging came up empty and clips landed in no playlist. Discord presence has had a fallback for this since #102 and clip tagging now uses the same one. xdotool, xprop and wmctrl are proper dependencies now instead of tools Vice assumed you had.

install.sh aborted on machines with a legacy NVIDIA driver (#147). It asked for nvidia-utils by name whenever nvidia-smi answered, which conflicts with branches like nvidia-580xx-utils and stopped the install. nvidia-smi answering already means the driver is installed, so it leaves it alone.

Session recordings ignored your container setting (#150). Setting the container to MKV applied to clips but not to session recordings, which were always mp4. Thanks to SlavWolf.

Vice held on to video and thumbnails it was not showing (#148). Hovering a clip attached a video player that stayed attached, scrolled-past thumbnails stayed decoded, and opening the editor once held three video elements per track for the rest of the session. Thanks to Sea-Bass-cmd.

Features

Mono microphone. Settings > Audio > Mono microphone. XLR and other single-channel interfaces present themselves as stereo with sound on one channel only, which puts your voice in one ear. This centres it. Applied when the clip is saved, so it needs mic capture on and no separate audio tracks (#146).

Hardware video decode in previews. Settings > Recording > Hardware video decode in previews, off by default. Chromium's hardware decode renders video as a black rectangle on a lot of Linux GPU and driver combinations, which is why Vice disables it. If your machine handles it, this gives you back smooth previews for high-resolution AV1 and HEVC clips. If video goes black, turn it off (#140).

More games. Half-Life, Half-Life 2, Portal, Portal 2 and Black Mesa now carry their Steam ids, and Star Citizen and Trailmakers are in the list. Thanks to LiljaGirly.

Game matching also takes the most specific name that fits rather than the first one in the list, so a Steam id is safe to add even when a longer id starts with the same digits. Nothing that matched before matches differently.

Diagnostics

gpu-screen-recorder's own messages now reach vice.log instead of only existing at debug level, so an audio device it cannot find is visible when something goes wrong. Vice also warns when turning off desktop audio strips the separate audio tracks you set up, which looked like multi-track being broken (#137).

yay -Syu vice-clipper