Linux Appimage v1.1.24 - Missing screen source selector menu - "Could not start video source"
I'm on Linux using the appimage.
When I upgraded the appimage to version 1.1.24, the screen selector menu is missing from the record toolbar.
When I hit record anyway it throws an error
Failed to start recording: Could not start video source.
When I run the command from the terminal I get this:
➜ env DESKTOPINTEGRATION=1 /home/user/.local/share/AppImages/recordly.appimage --no-sandbox %U
(recordly:51784): Gtk-WARNING **: 19:11:54.035: Failed to parse /home/user/.config/gtk-3.0/settings.ini: Key file does not start with a group
[52134:0426/191154.334266:ERROR:ui/gl/init/gl_factory.cc:102] Requested GL implementation (gl=egl-gles2,angle=none) not found in allowed implementations: [(gl
=egl-angle,angle=default)].
[52134:0426/191154.345783:ERROR:components/viz/service/main/viz_main_impl.cc:189] Exiting GPU process due to errors during initialization
[52153:0426/191154.556516:ERROR:ui/gl/init/gl_factory.cc:102] Requested GL implementation (gl=egl-gles2,angle=none) not found in allowed implementations: [(gl
=egl-angle,angle=default)].
[52153:0426/191154.557938:ERROR:components/viz/service/main/viz_main_impl.cc:189] Exiting GPU process due to errors during initialization
RECORDINGS_DIR: /home/user/.config/Recordly/recordings
User Data Path: /home/user/.config/Recordly
[media-server] Listening at http://127.0.0.1:43697
Checking for update
[52177:0426/191154.805524:ERROR:ui/gl/init/gl_factory.cc:102] Requested GL implementation (gl=egl-gles2,angle=none) not found in allowed implementations: [(gl
=egl-angle,angle=default)].
[52177:0426/191154.808958:ERROR:components/viz/service/main/viz_main_impl.cc:189] Exiting GPU process due to errors during initialization
[52187:0426/191154.845540:ERROR:ui/gl/init/gl_factory.cc:102] Requested GL implementation (gl=egl-gles2,angle=none) not found in allowed implementations: [(gl
=egl-angle,angle=default)].
[52187:0426/191154.847651:ERROR:components/viz/service/main/viz_main_impl.cc:189] Exiting GPU process due to errors during initialization
[52522:0426/191155.125795:ERROR:ui/gl/init/gl_factory.cc:102] Requested GL implementation (gl=egl-gles2,angle=none) not found in allowed implementations: [(gl
=egl-angle,angle=default)].
[52522:0426/191155.128548:ERROR:components/viz/service/main/viz_main_impl.cc:189] Exiting GPU process due to errors during initialization
[51784:0426/191155.281387:ERROR:crypto/nss_util.cc:346] After loading Root Certs, loaded==false: NSS error code: -8018
[51784:0426/191156.247022:ERROR:ui/gfx/x/atom_cache.cc:232] Add _NET_RESTACK_WINDOW to kAtomsToCache
Update for version 1.1.24 is not available (latest version: 1.1.24, downgrade is disallowed).
Screenshot of buggy toolbar missing the source menu
System/Version Info
Appimage Version: 1.1.24
System:
Kernel: 6.8.0-110-generic arch: x86_64
Desktop: Cinnamon v: 6.2.9 tk: GTK v: 3.24.41 wm: Muffin v: 6.2.0 vt: 7 dm: LightDM v: 1.30.0
Distro: Linux Mint 22 Wilma base: Ubuntu 24.04 noble
Graphics:
Device-1: Intel HD Graphics 530 driver: i915 v: kernel arch: Gen-9
Device-2: NVIDIA GM107M [GeForce GTX 960M] driver: nvidia v: 535.288.01
Display: x11 server: X.Org v: 21.1.11 with: Xwayland v: 23.2.6 driver: X:
loaded: modesetting,nvidia unloaded: fbdev,nouveau,vesa dri: iris gpu: i915
When I downgraded to appimage v1.1.23 everything worked normally and correctly again. This is a normal working output:
env DESKTOPINTEGRATION=1 /home/user/.local/share/AppImages/recordly.appimage --no-sandbox %U
(recordly:2572585): Gtk-WARNING **: 22:10:46.474: Failed to parse /home/user/.config/gtk-3.0/settings.ini: Key file does not start with a group
RECORDINGS_DIR: /home/user/.config/Recordly/recordings
User Data Path: /home/user/.config/Recordly
Checking for update
[2572585:0426/221047.731634:ERROR:crypto/nss_util.cc:346] After loading Root Certs, loaded==false: NSS error code: -8018
[2572585:0426/221048.247169:ERROR:ui/gfx/x/atom_cache.cc:232] Add _NET_RESTACK_WINDOW to kAtomsToCache
Found version 1.1.24 (url: Recordly-linux-x64.AppImage)
I also tried appimage v1.2.0 beta-2 and it has the same issue.
opened a PR that adds a fallback when getDisplayMedia fails on Linux, might fix this issue :)
#370
NOTE: audio is disabled for now in the fallback to avoid platform-specific issues with desktop capture on Linux
Same issue here with 1.2.1 appimage version, any news ?
Here's my log
julmelinux@julmelinux-p6-2160ef:~/Téléchargements$ ./Recordly-linux-x64.AppImage
[55643:0503/121233.996179:ERROR:ui/gl/init/gl_factory.cc:102] Requested GL implementation (gl=egl-gles2,angle=none) not found in allowed implementations: [(gl=egl-angle,angle=default)].
[55643:0503/121234.005152:ERROR:components/viz/service/main/viz_main_impl.cc:189] Exiting GPU process due to errors during initialization
[55664:0503/121234.198558:ERROR:ui/gl/init/gl_factory.cc:102] Requested GL implementation (gl=egl-gles2,angle=none) not found in allowed implementations: [(gl=egl-angle,angle=default)].
[55664:0503/121234.200065:ERROR:components/viz/service/main/viz_main_impl.cc:189] Exiting GPU process due to errors during initialization
RECORDINGS_DIR: /home/julmelinux/.config/Recordly/recordings
User Data Path: /home/julmelinux/.config/Recordly
[media-server] Listening at http://127.0.0.1:36773
Checking for update
[55687:0503/121234.425219:ERROR:ui/gl/init/gl_factory.cc:102] Requested GL implementation (gl=egl-gles2,angle=none) not found in allowed implementations: [(gl=egl-angle,angle=default)].
[55687:0503/121234.426735:ERROR:components/viz/service/main/viz_main_impl.cc:189] Exiting GPU process due to errors during initialization
[55701:0503/121234.585521:ERROR:ui/gl/init/gl_factory.cc:102] Requested GL implementation (gl=egl-gles2,angle=none) not found in allowed implementations: [(gl=egl-angle,angle=default)].
[55701:0503/121234.586912:ERROR:components/viz/service/main/viz_main_impl.cc:189] Exiting GPU process due to errors during initialization
[55709:0503/121234.603191:ERROR:ui/gl/init/gl_factory.cc:102] Requested GL implementation (gl=egl-gles2,angle=none) not found in allowed implementations: [(gl=egl-angle,angle=default)].
[55709:0503/121234.604531:ERROR:components/viz/service/main/viz_main_impl.cc:189] Exiting GPU process due to errors during initialization
Update for version 1.2.1 is not available (latest version: 1.2.1, downgrade is disallowed).
[55606:0503/121235.663991:ERROR:ui/gfx/x/atom_cache.cc:232] Add _NET_RESTACK_WINDOW to kAtomsToCache
[55606:0503/121256.347894:ERROR:content/browser/browser_main_loop.cc:288] GLib-GObject: ../../../gobject/gsignal.c:2685: instance '0x390c01b4ff50' has no handler with id '6884'
[55606:0503/121258.192891:ERROR:content/browser/browser_main_loop.cc:288] GLib-GObject: ../../../gobject/gsignal.c:2685: instance '0x390c01b4ff50' has no handler with id '7076'
@corrigo21
They already have a proposed fix merged into main but it didn't make it into v1.2.1.
As I understand, it fixes the issue with the video source but it doesn't support audio.
I don't mind about the audio because I don't use it personally.
You can either build the appimage from main or wait for the next release that includes it.
I'm waiting for the next release! 🙂
Installed the App today but can't use it because of that problem as well, hope the fix gets launched soon :)
Status note: #370 was merged to main after v1.2.1, so the current v1.2.1 AppImage does not include that fallback yet.
I would keep this issue open until a Linux AppImage or current-main build that includes merge commit 92dbe7b is retested. Also worth keeping the scope precise: #370 is a video-source fallback for the getDisplayMedia failure path, while audio in that fallback remains a separate limitation.
these all are linked issues
https://github.com/webadderallorg/Recordly/issues/441#issuecomment-4408673575
Why is the SourcePopover being unmounted on linux?
Having this screen/window selector fixes the same error that's listed here.
I also have multiple monitors, would be nice to have it back 👌
I tried it with a build
opened a follow-up PR that fixes the Linux/X11 HUD overlay interaction issues still present on current main https://github.com/webadderallorg/Recordly/pull/518
and this specifically fixes: fullscreen overlay intercepting clicks outside the HUD clipped HUD dropdowns on Linux/X11 Linux/X11 recording usability on newer builds
Confirming this is still present in 1.4.0 on X11, and root-causing it (reproduced it and verified a fix locally).
Environment: Pop!_OS 22.04, XDG_SESSION_TYPE=x11, Recordly 1.4.0 AppImage, 125% display scale, Intel UHD + NVIDIA (hybrid).
Symptom: HUD → Record with no source pre-selected → Failed to start recording: Could not start video source.
What is actually thrown (instrumented renderer):
{"fn":"gdm","c":"{\"audio\":false,\"video\":{\"displaySurface\":\"monitor\",\"width\":{\"ideal\":3840,\"max\":3840},\"height\":{\"ideal\":2160,\"max\":2160},\"frameRate\":{\"ideal\":60,\"max\":60},\"cursor\":\"never\"},\"selfBrowserSurface\":\"exclude\",\"surfaceSwitching\":\"exclude\"}"}
{"fn":"gdm-err","name":"NotReadableError","msg":"Could not start video source"}
So getDisplayMedia() rejects with NotReadableError, not a validation error.
Root cause — electron/main.ts → setDisplayMediaRequestHandler:
const isLinuxPortalSentinel =
process.platform === "linux" && (sourceId === "screen:linux-portal" || !sourceId);
if (isLinuxPortalSentinel) {
callback({ video: { id: "screen:0:0", name: "Entire screen" } });
return;
}
The renderer defaults the Linux source to the portal sentinel, so this branch is taken. screen:0:0 is a synthetic id that only resolves through the Wayland xdg-desktop-portal; on X11 there is no portal path for getDisplayMedia, so Chromium cannot resolve it and throws NotReadableError. On the same machine desktopCapturer.getSources() returns screen:390:0 (Screen 1 (Primary)), i.e. the hardcoded screen:0:0 does not exist on X11.
The repo already has the correct predicate for this — isLikelyLinuxWaylandSession() in electron/ipc/register/sourceMapping.ts, with tests asserting X11 must not use the sentinel — it is just not used at this call site.
Fix that works: gate the sentinel on Wayland and otherwise resolve a real source via desktopCapturer (safe on X11, no portal dialog):
const isLinuxPortalSentinel =
- process.platform === "linux" && (sourceId === "screen:linux-portal" || !sourceId);
+ process.platform === "linux" &&
+ isLikelyLinuxWaylandSession(process.env) &&
+ (sourceId === "screen:linux-portal" || !sourceId);
Also worth preferring an id.startsWith("screen:") entry over sources[0] in the fallback.
Verification after patching (same machine, fresh profile, no source picked): getDisplayMedia resolves, X11 capture runs (x_server_pixel_buffer), and files are written (recording-*.webm, recording-*-webcam.mp4, recording-*.recordly-session.json).
Related work already open: #768 (renderer-side fix), #678, #905, #925, and #705 (main-process Wayland gate + HUD fix + GPU fix). Possibly worth consolidating rather than merging several overlapping fixes.
Also: the GPU errors in the log above (Requested GL implementation (gl=egl-gles2,angle=none) not found in allowed implementations: [(gl=egl-angle,angle=default)] followed by Exiting GPU process) come from forcing --use-gl=egl on X11 in gpuSwitches.ts. Workaround: launch with --use-gl=angle --use-angle=swiftshader; the underlying fix is in #705.
Independent confirmation of @xauravww's root cause on different hardware, plus one correction to the suggested GPU workaround.
Environment: Ubuntu 22.04.5, GNOME Shell 42.9, XDG_SESSION_TYPE=x11, Intel-only (no hybrid/NVIDIA), Recordly 1.4.0 AppImage, single 3840x2160 display.
Confirmed: HUD → Record with no source pre-selected → Failed to start recording: Could not start video source.
I reproduced the failure outside the app by running a probe against Recordly's own bundled Electron binary (its app.asar swapped for a minimal test app, so the Chromium/Electron build is identical). It enumerates sources, then attempts capture with each id:
getSources OK, count = 4
id=screen:408:0 | display_id=66 | name=Entire screen
getUserMedia(screen:408:0) -> OK settings={"width":3840,"height":2160,"frameRate":60,...}
getUserMedia(screen:0:0) -> FAIL NotReadableError: Could not start video source
Same conclusion from a third machine: the real X11 screen id here is screen:408:0. Across the reports so far the id has been screen:390:0, screen:408:0 and others — it is a live X11 resource id, so the hardcoded screen:0:0 is essentially never correct on X11.
Verifying the proposed fix in the same harness — the handler resolving a real source instead of the sentinel:
display-media request -> answering with RESOLVED screen:408:0
getDisplayMedia() -> OK settings={"width":3840,"height":2160,"frameRate":60,"displaySurface":"monitor",...}
I then applied the equivalent change to the shipped 1.4.0 AppImage by binary-patching app.asar (neutralising the process.platform === "linux" test so control falls through to the existing desktopCapturer.getSources() branch below it). Recording works end to end after that, and the main window now appears as well — on the broken build only the HUD bar mapped (confirmed via xwininfo: a single 1079x205 window).
Correction on the GPU workaround. The suggested --use-gl=angle --use-angle=swiftshader does not work, because gpuSwitches.ts calls app.commandLine.appendSwitch("use-gl", "egl") in the main process, and that takes precedence over the same switch given on the command line. Measured on the unpatched 1.4.0 AppImage:
$ Recordly-linux-x64.AppImage --no-sandbox --use-gl=angle --use-angle=swiftshader
Requested GL implementation (gl=none,angle=none) not found in allowed implementations: [(gl=egl-angle,angle=default)]
Exiting GPU process due to errors during initialization # x4, same as with no flags
So there is no command-line workaround for the GL half — it needs the code fix in #705.
The two bugs are also independent, which is worth noting for triage: I patched the GL switch first, on its own, and the GPU process went from 4-5 failed inits per launch to zero — but recording still failed with the identical Could not start video source. Only the screen-id fix cleared that. So the GL errors in the logs on this issue and on #1001 are a real but separate defect, not the cause of the capture failure.
Separate Linux/X11 HUD bug found while testing the patched build — the HUD's "Hide HUD" button is a no-op on Linux, and the cause is focusable: false. Posting here since this thread has become the Linux/X11 hub; it is adjacent to #518, which touches the same file but addresses pointer interception rather than this.
Cause. hud-overlay-hide → hudWindow.minimize(), but the HUD window is created with platform-gated flags (minified aC in the shipped main.cjs):
function aC(e){ const t = e === "win32"; return { skipTaskbar: !t, focusable: t } }
So Linux gets focusable: false, and mutter/X11 will not iconify an unfocusable window — minimize() returns having done nothing, with no error.
Isolating the flag. Each combination run against a live X11 display, using Recordly's own bundled Electron binary (app.asar swapped for a minimal probe, so the Electron/Chromium build is identical). Window is otherwise frame:false, transparent:true, alwaysOnTop:'screen-saver', same as the HUD:
| flags | after minimize() |
|---|---|
skipTaskbar:true, focusable:false (as shipped on Linux) |
{visible:true, minimized:false} — no-op |
skipTaskbar:true, focusable:true |
{visible:false, minimized:true} — works |
skipTaskbar:false, focusable:false |
{visible:true, minimized:false} — no-op |
skipTaskbar:false, focusable:true (as shipped on Windows) |
{visible:false, minimized:true} — works |
focusable:false is the blocker. skipTaskbar has no bearing on it.
Why hide() is not the fix. Swapping minimize() for hide() does work with the current flags, but it would strand the user: in the shipped main.cjs there is no restore() or show() call on the HUD window anywhere, there are zero globalShortcut.register calls, and the tray click handler routes to the main window, not the HUD. Hiding the bar mid-recording would leave no way to stop the recording.
Fix that works — give Linux the same two flags Windows already uses, so the window is WM-managed and therefore both minimizable and restorable:
-const isWindows = platform === "win32";
-return { skipTaskbar: !isWindows, focusable: isWindows };
+const isMac = platform === "darwin";
+return { skipTaskbar: isMac, focusable: !isMac };
Verified on Ubuntu 22.04 / GNOME 42.9 / X11 after applying the equivalent binary patch to the 1.4.0 AppImage:
shown : minimized=false inWindowList=true
minimized : minimized=true inWindowList=true <- still in _NET_CLIENT_LIST, restorable via Alt-Tab / Activities
restored : minimized=false
One dependency. focusable:true makes the Linux show path steal focus from the app being recorded, since show() is only swapped for showInactive() on win32:
-process.platform === "win32" ? hud.showInactive() : hud.show()
+process.platform !== "darwin" ? hud.showInactive() : hud.show()
With that in place, measured showInactive stole focus? no. Both changes are needed together.
Known trade-off: skipTaskbar:false puts the HUD in the dock/window switcher during recording. That seems strictly better than a dead button, but if keeping it out of the taskbar is deliberate, the alternative is hide() plus an actual restore path (tray item or global shortcut) — more work, and it would want its own issue.
Unrelated but in the same area: hud-overlay-drag is gated behind process.platform !== "linux", so repositioning the HUD by dragging is inert on Linux too. Happy to open that separately if it is not already covered by #518.