Summary: | xdg-desktop-portal only shows a black screen when trying to screenshare a whole screen in Wayland with Pipewire (NVIDIA GBM) | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | JesusXD88 <diegobere32> |
Component: | wayland-generic | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED DUPLICATE | ||
Severity: | major | CC: | aleixpol, arnaudfrezet, bugs.kde.org, eva, james, jgrulich, nate, nicolas.fella, postix, sampingu02, supgesu, theivorytower |
Priority: | NOR | Keywords: | wayland |
Version: | 5.23.5 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
Screensharing a whole screen only shows a black screen
OBS Studio log file |
Description
JesusXD88
2022-01-22 12:43:14 UTC
The error occurs here: https://invent.kde.org/plasma/kwin/-/blob/c31288d2ad570d69bfa49268e7fb282169f24542/src/plugins/platforms/drm/egl_gbm_backend.cpp#L713 Kwin logs "kwin_wayland_drm: Failed to record frame: Error creating EGLImageKHR - 12300 " after switching glGetError() to eglGetError(), which is EGL_BAD_PARAMETER. Already tried using EGL_NO_CONTEXT like it suggests in the spec for EGL_NATIVE_PIXMAP_KHR but still see the same error. Created attachment 146100 [details]
OBS Studio log file
Can confirm. Occurs in my computer too in Arch Linux with NVIDIA.
This is still broken with new Plasma 5.24.0 update and Nvidia drivers v510.47.03 :/ Lately (or only in my case?) this is not KDE specific. I tested on Gnome on Fedora 36. Screencapture is also black there. (In reply to Elias from comment #4) > Lately (or only in my case?) this is not KDE specific. I tested on Gnome on > Fedora 36. Screencapture is also black there. Yup it's affecting all DEs. *** This bug has been marked as a duplicate of bug 448839 *** |