Repository navigation
Linger v0.5.3
Linger 0.5.3: screen sharing, fixed on Linux and with sound
Screen sharing came out in 0.5.2, and the first week of real use found what
it got wrong. On Linux, watching a screen failed on computers with NVIDIA's
video drivers, and crashed the app on some others; both are fixed. Sharing
from Linux was hard on the computer, and now uses the graphics card. Share's
two choices are High quality and Low quality, saying what each sends.
The person sharing hears a soft sound when somebody starts watching. And
from Windows, the computer's own sound can go with the picture: a video, a
game, a clip in a slide, without the call's voices coming back.
Everyone: update the app. Every fix is in the app.
Hosts: update the server with ./update.sh, as usual, for the
computer's sound in a share. Everything else in this release works with a
0.5.2 server. There's no database change, and nothing in compose.yaml
changes. See For hosts.
The highlights
- Watching works on Linux with NVIDIA's drivers (#730), and a computer
that can't play a screen says so instead of closing (#729). - High quality or Low quality (#732): 1080p at 60 fps, or 720p at 30 fps.
Low quality is now 720p, smaller than 0.5.2's 30 fps choice. - Share the computer's sound from Windows (#736), off until you turn it on.
- Sharing from Linux is quieter (#733): the graphics card makes the
picture, and nothing is made while nobody watches. - A sound when somebody starts watching your share (#735).
- A clearer note for a black share (#731).
Watching on Linux
- "This device can't play" on Linux, fixed (#730). Where NVIDIA's video
drivers, or VA-API's for AMD and Intel, had put hardware video decoders on
the computer, the Linux app's web engine picked them, and they refused the
picture Linger sends. Every screen said "This device can't play". The app
now plays screens with the web engine's own decoder, the one that always
worked. If you setGST_PLUGIN_FEATURE_RANKyourself to get round it,
you can take it out; if you keep it, yours still wins. - No more closing the moment you watch (#729). On a computer where
Linger draws without the graphics card, the screen's player closed the
whole app. That's computers with NVIDIA's older "legacy" driver (a GTX 980
or 1080, say), and anybody who starts Linger withGDK_GL=disable. Playing
a screen needs the graphics card, so on those computers the screen now
says "This device can't play Jules's screen". Watch on a phone instead.
Sharing from them works.
Share your screen
- High quality or Low quality (#732). Share's two choices said "Sharp
text" and "Smooth motion", which read like they'd change how a whole 4K
screen looked. They now say what they send:- High quality, 1080p at 60 fps, first in the menu. Pick it to present:
slides, documents, code, video. - Low quality, 720p at 30 fps, lighter on everybody's connection and
on your computer. This is smaller than 0.5.2's 30 fps choice, which
sent up to 1080p: for small text, pick High quality. - A window smaller than that is sent at its own size either way.
- High quality, 1080p at 60 fps, first in the menu. Pick it to present:
- Share the computer's sound (#736), from the Windows app on Windows 10
version 2004 or later. Tick it in the Share menu, under High and Low
quality. It's off until you turn it on, and your computer remembers it.- The people watching hear what your computer plays, and never the call:
Linger leaves its own sounds out, everybody's voices included, so nobody
hears themselves come back. - A small speaker after "Sharing your screen" says the sound is going. If
it couldn't be shared, the box says so, and the picture goes on without
it. - The Linux app shares the picture alone for now. It can't yet leave its
own voice out of what your desktop plays. - The tick shows only where the server passes the sound on: a server
updated to 0.5.3.
- The people watching hear what your computer plays, and never the call:
- Hearing a shared screen. A screen with sound has a speaker beside Full
screen: press it to turn the sound off, and again to bring it back. On a
computer, a slider beside it sets how loud, through the speakers you
picked for voice. Deafen silences it with the voices. With the speaker
off, the server stops sending it to you. On a phone, the phone's own
buttons set how loud, and a phone whose web engine can't play the sound
says so on the speaker. - A sound when somebody starts watching (#735), different from somebody
joining voice, so you know without looking at the box. Only you hear it,
at most once a minute for each person, and never when somebody stops
watching. If they pressed Watch from outside voice, you hear just this
one, not the join sound too. It's on until you turn it off: Settings →
Sound & Voice → Someone starts watching your screen. Quiet hours leave
it on, like the other voice sounds. - A black share says what to do (#731). When a share goes black, its box
now says: "Everyone watching saw a black screen. If you're showing slides,
stop sharing, then share again and pick Entire screen. PowerPoint plays a
slide show in a window of its own, so sharing only the PowerPoint window
comes out black." The desktop notice says the same, shorter.
Sharing from Linux, lighter
- The graphics card makes the picture (#733), where it can: NVIDIA's
H.264 encoder, or VA-API's on AMD and Intel. 0.5.2 made it on the
processor, which is what spun the fans up and made the pointer skip. On a
busy 4K screen at High quality, Linger went from about 2 of the
processor's cores to about 1, and sent a sharper picture.- NVIDIA's cards need nothing more.
- AMD's and Intel's need GStreamer's VA-API plugin:
gst-plugin-vaon
Arch and Omarchy,gstreamer1.0-plugins-badon Debian and Ubuntu,
gstreamer1-plugins-bad-freeon Fedora. The .deb and .rpm recommend it. - Without one, Linger makes the picture on the processor, as before.
- Nothing is made while nobody watches. 0.5.2 made the picture the whole
time you shared, watched or not.
Under the hood
- Every change now checks that a screen plays in the packaged Linux app,
on Ubuntu's web engine and on Arch's, the one Omarchy runs. 0.5.2's checks
ran with the web engine's graphics-card drawing switched off, which is
exactly where watching broke. Another check makes sure a computer that
draws without the graphics card says "can't play" rather than closing. - Each release is now checked on a real graphics card before it ships.
GitHub's machines have none, so the release steps run the packaged app on
a computer with NVIDIA and AMD cards, their hardware decoders installed.
Run against 0.5.2, these checks fail on both of its Linux bugs.
Known issues
- The computer's sound is new. It was tested on GitHub's Windows
machines: the app captured sound, sent it, and every app played it. Those
machines have no speakers, so a real share of a video, with people
talking in the call, hasn't been heard yet. Tell us if anybody hears
themselves come back. - The sound on an iPhone hasn't been tried. Its web engine may not be
able to play it; if not, the speaker says so. - Picture and sound can be slightly out of step. The sound plays about a
tenth of a second behind on a computer. Each packet carries the time it
was captured, so a later release can line the two up exactly. - The Linux app doesn't share the computer's sound, the AppImage doesn't
share at all, and a Mac and the phones only watch. - A computer with NVIDIA's legacy driver can't watch a screen (#729).
Older apps and servers
Nothing stops working with an older app or server (PROTOCOL §9).
- A 0.5.2 app on a 0.5.3 server works as before. It doesn't offer the
computer's sound, and hears none. - A 0.5.3 app on a 0.5.2 server shares and watches as before, with every
fix in this release. It doesn't offer Share the computer's sound
there: the server doesn't pass sound on. - A 0.5.2 app watching a 0.5.3 share with sound sees the picture and
hears nothing: the server sends sound only to an app that asks for it. - To hear a shared screen's sound, the person sharing, the person
watching and the server all need 0.5.3.
For hosts: updating the server
Server image: ghcr.io/itsmattguenther/linger:0.5.3 (x86-64 only), also
tagged 0.5 and latest.
What changes for you
- The server passes a shared screen's sound on, to the people watching
who have their speaker on. It's about 128 kbps more for each of them,
next to the picture's 2.5 to 6 Mbps, and it counts toward the 10 Mbps
your server holds every share to. An hour of a game shared with sound to
eight people is about half a gigabyte more than without. - No new setting.
LINGER_SCREENS=offturns the sound off with the
screens. - No database change, and nothing in
compose.yamlchanges.
The steps
On the server, in your linger folder:
cd ~/linger
./update.sh(Use sudo ./update.sh if you type sudo before docker commands.) It
downloads 0.5.3 while the server keeps running, stops it for a few seconds to
save the database into backups/, then starts everything again and prints the
version before and after. If 0.5.3 doesn't start, it prints the commands that
put 0.5.2 back.
Check it worked, with your own address in place of linger.example.com:
curl -f https://linger.example.com/api/v1/healthIt prints {"ok":true,"version":"0.5.3"}.
Going back to 0.5.2 is safe: the database is the same, so the commands
update.sh prints are all it takes.
Install or update
Use the in-app update: Update… at the foot of the list, or Settings →
Account & App → Updates. Windows users should keep the same installer format
(.exe or .msi) when upgrading. Linux packages are .AppImage, .deb and
.rpm; on Omarchy or Arch, Linger updates with your system (Update in the
Omarchy menu, or sudo pacman -Syu). Windows installers are updater-signed,
not Authenticode-signed; SmartScreen may still warn about an unfamiliar app.
On Android, download Linger_0.5.3_android-arm64.apk from this release on
the phone and install it over the old one. You stay signed in. A first install
is step by step in the 0.4.8 notes. On an iPhone,
TestFlight offers 0.5.3 once it's through Apple's processing.
New to Linger? Which file do I want?
| Your computer | Download the file ending in |
|---|---|
| Windows | -setup.exe |
| Debian, Ubuntu or Mint | .deb |
| Fedora, RHEL or openSUSE | .rpm |
| Any other Linux | .AppImage — make it executable and run it |
| macOS | Not built yet — see decisions.md |
| Android phone | _android-arm64.apk — download it on the phone |
| iPhone | TestFlight, for its testers for now |
The .msi is for companies rolling it out to many machines at once.
If you are not sure, you want the .exe.
The .sig files and latest.json are how an installed copy checks
that an update is genuine. You do not need to download them.
Windows will warn you. You get "Windows protected your PC", and
Run anyway is behind the small More info link. That is Windows
saying the installer has not been through a paid signing process. It
has not — that is a
known decision,
not a broken download.
Android will ask before installing. The phone says it won't
install apps from your browser until you allow it: tap Settings,
turn on Allow from this source, and go back. That is Android's
rule for any app that isn't from the Play Store. The phone app
doesn't update itself: install each new one from its release page,
right over the old one, and you stay signed in.
Checks on installed clients
Record OS, package type, previous and new version, and what was shared, with
any failure. Use made-up slides and messages, and keep private windows out of
what you share.
- Watch on Linux with NVIDIA's drivers, with no
GST_PLUGIN_FEATURE_RANK
set: a share from Windows and one from Linux both play (#730). - Watch on a computer with NVIDIA's legacy driver: the screen says it
can't play, and Linger stays open (#729). - Share from Linux at High quality, a whole screen, while somebody
watches: the fans stay quiet and the pointer doesn't skip (#733). - High and Low quality from Windows and from Linux: High is sharp at
1080p, Low is 720p (#732). - The computer's sound from Windows: tick it, share a video, and talk
in the call while it plays. Watched on Windows, on Linux and on an
Android phone, everybody hears the video and nobody hears themselves
back. The speaker button and the slider work, and Deafen silences it
(#736). - The sound tick off: a Windows share is as it was in 0.5.2 (#736).
- Somebody starts watching: the person sharing hears the new sound,
once, and not again when that person watches again within a minute
(#735). - A black share: share only the PowerPoint window and start the slide
show; the box says what to do (#731). - iPhone, through TestFlight: watch a share with sound; it plays, or
the speaker says it can't.