Repository navigation
Description
Search existing issues
- I have searched the existing issues
Describe the bug
Describe the bug
I am experiencing an issue with full-screen recording on OpenScreen 2.3.0 running on Ubuntu Linux with KDE Plasma using an X11 session.
OpenScreen detects my monitor and lists it as an available recording source. However, when I attempt to record the entire screen, the application does not capture the complete desktop correctly. Instead, it appears to capture an individual application window.
When I try to select or record the entire screen, I also encounter the following error:
"The selected X11 window is no longer available."
Initially, I also experienced problems with mouse tracking. After troubleshooting, I can now observe mouse movement, but the full-screen recording problem remains unresolved.
This makes it difficult to record desktop activity, software demonstrations, programming tutorials, and workflows involving multiple application windows.
Expected behavior
- OpenScreen should detect the connected monitor.
- I should be able to select the entire desktop rather than an individual application window.
- The recording should capture the complete 1920 × 1080 display.
- Switching between applications should not interrupt or restrict the recording.
- Mouse movement should be tracked correctly during recording.
- The recording should continue even when I switch between Firefox, the terminal, and other desktop applications.
Actual behavior
- OpenScreen detects the monitor and lists it as
Entire screen. - Individual application windows are also detected.
- The recording appears to be restricted to a particular application window instead of the complete desktop.
- Selecting or attempting to record the entire screen produces the error:
The selected X11 window is no longer available. - Mouse movement can now be observed, but full-screen recording still does not work correctly.
System information
Operating System: Ubuntu Linux 24.04 LTS
Desktop Environment: KDE Plasma
Display Server: X11 (X.Org)
KDE Window Manager: KWin X11
OpenScreen Version: 2.3.0
Installation Method: Official Debian package (.deb)
Display Resolution: 1920 × 1080
Display Refresh Rate: 144 Hz
Display Identifier: eDP-1
Graphics Hardware: NVIDIA GeForce RTX 3050 Laptop GPU (6 GB VRAM)
NVIDIA Driver Package: 580-open
Diagnostic information
I verified that the X11 display is accessible.
Command:
echo $DISPLAY
Output:
:0
I also checked the X11 server:
Command:
xdpyinfo
Relevant output:
X.Org version: 21.1.11
The display configuration is detected correctly.
Command:
xrandr --query
Relevant output:
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
eDP-1 connected primary 1920x1080+0+0
I checked OpenScreen's available recording sources.
Command:
openscreen sources
Output:
Displays:
0 Entire screen (screen:383:0)
Windows:
- Applications : bash
- NVIDIA Driver Installation Status — Mozilla Firefox
Microphones:
- Default
- Built-in Audio Analog Stereo
Cameras:
- Integrated Camera (04f2:b7b9)
This confirms that OpenScreen can discover the entire display as a source, but the actual recording behaviour does not match the expected full-screen capture.
PipeWire and desktop portal diagnostics
PipeWire is installed and running.
Command:
systemctl --user status pipewire
Result:
Active: active (running)
The desktop portal is also running.
Command:
systemctl --user status xdg-desktop-portal
Result:
Active: active (running)
The GTK portal backend is running:
xdg-desktop-portal-gtk.service
The KDE portal package is installed:
xdg-desktop-portal-kde 5.27.11-0ubuntu3
However, checking its service directly returns:
Unit xdg-desktop-portal-kde.service could not be found.
The desktop portal log also contains:
Choosing gtk.portal for org.freedesktop.impl.portal
I verified that the ScreenCast interface is exposed:
org.freedesktop.portal.ScreenCast interface
Relevant system logs
I found the following message in the KDE window manager logs:
kwin_x11: XCB error: 152 (BadDamage)
This may or may not be related to the recording issue, but I am including it for debugging purposes.
Troubleshooting already performed
I have already attempted the following:
- Verified that the desktop session is running on X11.
- Verified that
$DISPLAYis set to:0. - Checked X11 accessibility using
xdpyinfo. - Checked the connected monitor using
xrandr. - Verified that PipeWire is running.
- Verified that
xdg-desktop-portalis running. - Verified that the GTK portal backend is running.
- Verified that the ScreenCast D-Bus interface is available.
- Checked OpenScreen's recording sources using
openscreen sources. - Restarted OpenScreen and attempted to select the entire screen again.
Despite these checks, the full-screen recording problem persists.
Additional information
I am using a laptop with a single built-in display. No external monitor is connected.
The monitor is detected as:
eDP-1
The display resolution is:
1920 × 1080
The issue is particularly problematic because I need to record the entire desktop while switching between different applications, rather than recording only one application window.
Questions for the developers
- Is full-screen X11 recording fully supported in OpenScreen 2.3.0 on KDE Plasma?
- Can the ScreenCast portal cause OpenScreen to capture an individual window instead of the entire monitor on an X11 session?
- Is there a known compatibility issue between KDE Plasma's KWin X11 compositor and OpenScreen's Linux capture backend?
- Could the
BadDamageXCB error be related to the full-screen capture failure? - Is there a recommended configuration or workaround for full-screen recording on Ubuntu KDE Plasma using X11?
I would appreciate help identifying the cause and a possible fix.
Expected behavior
Expected Behaviour
-
OpenScreen should correctly detect and allow me to select my entire desktop screen (1920 × 1080), not just an individual application window.
-
When I select the Entire Screen recording option, OpenScreen should capture the complete desktop, including the taskbar, desktop background, open applications, and other visible desktop elements.
-
Screen recording should continue seamlessly when I switch between different applications, such as Firefox, the terminal, and other windows.
-
The recording should not be restricted to the currently active application window.
-
Mouse pointer movement and mouse clicks should be captured correctly throughout the recording.
-
OpenScreen should maintain a stable screen-capture session without displaying errors such as "The selected X11 window is no longer available."
-
Full-screen recording should work reliably on Ubuntu 24.04 with KDE Plasma running an X11 session.
To Reproduce
No response
Screenshots
OS
Linux
OS Version
Kubuntu 24.04 LTS
Other OS
No response
Browser
Firefox
Browser Version
157.0
Other Browser
No response
Device Type
Laptop
Other Device
No response
Additional context
Linux Distribution: Kubuntu 24.04 LTS
Desktop Environment: KDE Plasma
Window Manager: KWin
Display Server: X11
X.Org Version: 21.1.11
Screen Resolution: 1920 × 1080 (144 Hz)
OpenScreen Version: 2.3.0
Activity
EtienneLescot commentedon Nov 19, 2026
Thanks for the detailed report, @shivamkumar359.
The message you quote comes from the X11 window capture path, so the take seems to start on a window rather than on
Entire screen. To find out why, could you share:main.logfile from OpenScreen's log folder under~/.config/.openscreen record --display 0from a terminal records the whole screen.