OBS can't capture screen on KDE Plasma Wayland

Hello everyone.

I have been wrecking my head for days now, going back and forth and actually finding very little on my problem, so I decided to step out of my comfort zone and create a post here in hopes my problems will come to an end :slight_smile:

Anyways, here is the issue.

  • Installed obs-studio with pacman
  • Started OBS and and created a new source (pipewire)
  • Source finds no screens nor an aplication to capture
  • If I click Select monitor or select window, this thing pops out in my console ( I run OBS through console as a user)
info: PipeWire initialized
warning: [pipewire] Failed to create session, denied or cancelled by user

Full obs log report:

obs --verbose                                                                                                                                                                                                     ✔  7m 24s  
debug: Found portal inhibitor
debug: Attempted path: share/obs/obs-studio/locale/en-US.ini
debug: Attempted path: /usr/share/obs/obs-studio/locale/en-US.ini
debug: Attempted path: share/obs/obs-studio/locale.ini
debug: Attempted path: /usr/share/obs/obs-studio/locale.ini
debug: Attempted path: share/obs/obs-studio/themes/Yami.qss
debug: Attempted path: /usr/share/obs/obs-studio/themes/Yami.qss
info: Command Line Arguments: --verbose
info: Platform: Wayland
info: CPU Name: AMD Ryzen 5 3600 6-Core Processor
info: CPU Speed: 4200.594MHz
info: Physical Cores: 6, Logical Cores: 12
info: Physical Memory: 15915MB Total, 11728MB Free
info: Kernel Version: Linux 6.1.51-1-MANJARO
info: Distribution: "Manjaro Linux" Unknown
info: Desktop Environment: KDE (KDE)
info: Session Type: wayland
info: Qt Version: 6.5.2 (runtime), 6.5.1 (compiled)
info: Portable mode: false
debug: Attempted path: share/obs/obs-studio/themes/Dark/no_sources.svg
debug: Attempted path: /usr/share/obs/obs-studio/themes/Dark/no_sources.svg
info: OBS 29.1.3-1 (linux)
info: ---------------------------------
info: ---------------------------------
info: audio settings reset:
        samples per sec: 48000
        speakers:        2
        max buffering:   960 milliseconds
        buffering type:  dynamically increasing
info: ---------------------------------
info: Initializing OpenGL...
info: Using EGL/Wayland
info: Initialized EGL 1.5
debug: Supported EGL Extensions: EGL_ANDROID_blob_cache EGL_ANDROID_native_fence_sync EGL_EXT_buffer_age EGL_EXT_create_context_robustness EGL_EXT_image_dma_buf_import EGL_EXT_image_dma_buf_import_modifiers EGL_EXT_present_opaque EGL_EXT_swap_buffers_with_damage EGL_IMG_context_priority EGL_KHR_cl_event2 EGL_KHR_config_attribs EGL_KHR_context_flush_control EGL_KHR_create_context EGL_KHR_create_context_no_error EGL_KHR_fence_sync EGL_KHR_get_all_proc_addresses EGL_KHR_gl_colorspace EGL_KHR_gl_renderbuffer_image EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_3D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_image_base EGL_KHR_no_config_context EGL_KHR_reusable_sync EGL_KHR_surfaceless_context EGL_KHR_swap_buffers_with_damage EGL_EXT_pixel_format_float EGL_KHR_wait_sync EGL_MESA_configless_context EGL_MESA_drm_image EGL_MESA_image_dma_buf_export EGL_MESA_query_driver EGL_WL_bind_wayland_display EGL_WL_create_wayland_buffer_from_image 
info: Loading up OpenGL on adapter AMD AMD Radeon Graphics (navi22, LLVM 16.0.6, DRM 3.49, 6.1.51-1-MANJARO)
info: OpenGL loaded successfully, version 4.6 (Core Profile) Mesa 23.1.6-3, shading language 4.60
info: ---------------------------------
info: video settings reset:
        base resolution:   1920x1080
        output resolution: 1280x720
        downscale filter:  Bicubic
        fps:               60/1
        format:            NV12
        YUV mode:          Rec. 709/Partial
info: NV12 texture support not available
info: P010 texture support not available
info: Audio monitoring device:
        name: Default
        id: default
info: ---------------------------------
debug: ---------------------------------
debug: Loading module: decklink-captions.so
warning: Failed to load 'en-US' text for module: 'decklink-captions.so'
debug: ---------------------------------
debug: Loading module: decklink-output-ui.so
warning: Failed to load 'en-US' text for module: 'decklink-output-ui.so'
debug: ---------------------------------
debug: Loading module: decklink.so
libDeckLinkAPI.so: cannot open shared object file: No such file or directory
warning: A DeckLink iterator could not be created.  The DeckLink drivers may not be installed
warning: Failed to initialize module 'decklink.so'
debug: ---------------------------------
debug: Loading module: frontend-tools.so
debug: ---------------------------------
debug: Loading module: image-source.so
debug: ---------------------------------
debug: Loading module: linux-alsa.so
debug: ---------------------------------
debug: Loading module: linux-capture.so
debug: ---------------------------------
debug: Loading module: linux-jack.so
debug: ---------------------------------
debug: Loading module: linux-pipewire.so
info: [pipewire] Available captures:
info: [pipewire]     - Desktop capture
info: [pipewire]     - Window capture
debug: ---------------------------------
debug: Loading module: linux-pulseaudio.so
debug: ---------------------------------
debug: Loading module: linux-v4l2.so
debug: ---------------------------------
debug: Loading module: obs-ffmpeg.so
debug: VAAPI: Initializing display in vaapi_device_h264_supported
debug: Libva: VA-API version 1.19.0
debug: Libva: Trying to open /usr/lib/dri/radeonsi_drv_video.so
debug: Libva: Found init function __vaDriverInit_1_19
debug: Libva: va_openDriver() returns 0
debug: VAAPI: Display initialized
info: VAAPI: API version 1.19
debug: VAAPI: 'Mesa Gallium driver 23.1.6-3 for AMD Radeon Graphics (navi22, LLVM 16.0.6, DRM 3.49, 6.1.51-1-MANJARO)' in use for device '/dev/dri/renderD128'
debug: VAAPI: Initializing display in vaapi_device_h264_supported
debug: Libva: VA-API version 1.19.0
debug: Libva: Trying to open /usr/lib/dri/r600_drv_video.so
debug: Libva: Found init function __vaDriverInit_1_19
debug: Libva: va_openDriver() returns 0
debug: VAAPI: Display initialized
debug: VAAPI: 'Mesa Gallium driver 23.1.6-3 for AMD CEDAR (DRM 2.50.0 / 6.1.51-1-MANJARO, LLVM 16.0.6)' in use for device '/dev/dri/renderD129'
info: FFmpeg VAAPI H264 encoding not supported
debug: VAAPI: Initializing display in vaapi_device_hevc_supported
debug: Libva: VA-API version 1.19.0
debug: Libva: Trying to open /usr/lib/dri/radeonsi_drv_video.so
debug: Libva: Found init function __vaDriverInit_1_19
debug: Libva: va_openDriver() returns 0
debug: VAAPI: Display initialized
debug: VAAPI: 'Mesa Gallium driver 23.1.6-3 for AMD Radeon Graphics (navi22, LLVM 16.0.6, DRM 3.49, 6.1.51-1-MANJARO)' in use for device '/dev/dri/renderD128'
debug: VAAPI: Initializing display in vaapi_device_hevc_supported
debug: Libva: VA-API version 1.19.0
debug: Libva: Trying to open /usr/lib/dri/r600_drv_video.so
debug: Libva: Found init function __vaDriverInit_1_19
debug: Libva: va_openDriver() returns 0
debug: VAAPI: Display initialized
debug: VAAPI: 'Mesa Gallium driver 23.1.6-3 for AMD CEDAR (DRM 2.50.0 / 6.1.51-1-MANJARO, LLVM 16.0.6)' in use for device '/dev/dri/renderD129'
info: FFmpeg VAAPI HEVC encoding not supported
debug: ---------------------------------
debug: Loading module: obs-filters.so
debug: ---------------------------------
debug: Loading module: obs-libfdk.so
debug: ---------------------------------
debug: Loading module: obs-outputs.so
debug: ---------------------------------
debug: Loading module: obs-transitions.so
debug: ---------------------------------
debug: Loading module: obs-vst.so
debug: ---------------------------------
debug: Loading module: obs-x264.so
debug: ---------------------------------
debug: Loading module: rtmp-services.so
debug: ---------------------------------
debug: Loading module: text-freetype2.so
info: ---------------------------------
info:   Loaded Modules:
info:     text-freetype2.so
info:     rtmp-services.so
info:     obs-x264.so
info:     obs-vst.so
info:     obs-transitions.so
info:     obs-outputs.so
info:     obs-libfdk.so
info:     obs-filters.so
info:     obs-ffmpeg.so
info:     linux-v4l2.so
info:     linux-pulseaudio.so
info:     linux-pipewire.so
info:     linux-jack.so
info:     linux-capture.so
info:     linux-alsa.so
info:     image-source.so
info:     frontend-tools.so
info:     decklink-output-ui.so
info:     decklink-captions.so
info: ---------------------------------
QWidget::setTabOrder: 'first' and 'second' must be in the same window
info: ==== Startup complete ===============================================
debug: service 'default_service' (rtmp_common) created
debug: output 'virtualcam_output' (virtualcam_output) created
debug: encoder 'simple_video_stream' (obs_x264) created
debug: Fallback encoder bitrates:
         64 kbit/s:
         96 kbit/s:
        128 kbit/s:
        160 kbit/s:
        192 kbit/s:
        224 kbit/s:
        256 kbit/s:
        288 kbit/s:
        320 kbit/s:
        352 kbit/s:
        384 kbit/s:
        416 kbit/s:
        448 kbit/s:
        480 kbit/s:
        512 kbit/s:
        544 kbit/s:
        576 kbit/s:
        608 kbit/s:
        640 kbit/s:
        672 kbit/s:
        704 kbit/s:
        736 kbit/s:
        768 kbit/s:
        800 kbit/s:
        832 kbit/s:
        864 kbit/s:
        896 kbit/s:
        928 kbit/s:
        960 kbit/s:
        992 kbit/s:
        1024 kbit/s:
debug: FFmpeg PCM (16-bit) (ffmpeg_pcm_s16le) encoder bitrates:
         64 kbit/s
         96 kbit/s
        128 kbit/s
        160 kbit/s
        192 kbit/s
        224 kbit/s
        256 kbit/s
        288 kbit/s
        320 kbit/s
        352 kbit/s
        384 kbit/s
        416 kbit/s
        448 kbit/s
        480 kbit/s
        512 kbit/s
        544 kbit/s
        576 kbit/s
        608 kbit/s
        640 kbit/s
        672 kbit/s
        704 kbit/s
        736 kbit/s
        768 kbit/s
        800 kbit/s
        832 kbit/s
        864 kbit/s
        896 kbit/s
        928 kbit/s
        960 kbit/s
        992 kbit/s
        1024 kbit/s
debug: FFmpeg PCM (24-bit) (ffmpeg_pcm_s24le) encoder bitrates:
         64 kbit/s
         96 kbit/s
        128 kbit/s
        160 kbit/s
        192 kbit/s
        224 kbit/s
        256 kbit/s
        288 kbit/s
        320 kbit/s
        352 kbit/s
        384 kbit/s
        416 kbit/s
        448 kbit/s
        480 kbit/s
        512 kbit/s
        544 kbit/s
        576 kbit/s
        608 kbit/s
        640 kbit/s
        672 kbit/s
        704 kbit/s
        736 kbit/s
        768 kbit/s
        800 kbit/s
        832 kbit/s
        864 kbit/s
        896 kbit/s
        928 kbit/s
        960 kbit/s
        992 kbit/s
        1024 kbit/s
debug: FFmpeg PCM (32-bit float) (ffmpeg_pcm_f32le) encoder bitrates:
         64 kbit/s
         96 kbit/s
        128 kbit/s
        160 kbit/s
        192 kbit/s
        224 kbit/s
        256 kbit/s
        288 kbit/s
        320 kbit/s
        352 kbit/s
        384 kbit/s
        416 kbit/s
        448 kbit/s
        480 kbit/s
        512 kbit/s
        544 kbit/s
        576 kbit/s
        608 kbit/s
        640 kbit/s
        672 kbit/s
        704 kbit/s
        736 kbit/s
        768 kbit/s
        800 kbit/s
        832 kbit/s
        864 kbit/s
        896 kbit/s
        928 kbit/s
        960 kbit/s
        992 kbit/s
        1024 kbit/s
debug: FFmpeg ALAC (24-bit) (ffmpeg_alac) encoder bitrates:
         64 kbit/s
         96 kbit/s
        128 kbit/s
        160 kbit/s
        192 kbit/s
        224 kbit/s
        256 kbit/s
        288 kbit/s
        320 kbit/s
        352 kbit/s
        384 kbit/s
        416 kbit/s
        448 kbit/s
        480 kbit/s
        512 kbit/s
        544 kbit/s
        576 kbit/s
        608 kbit/s
        640 kbit/s
        672 kbit/s
        704 kbit/s
        736 kbit/s
        768 kbit/s
        800 kbit/s
        832 kbit/s
        864 kbit/s
        896 kbit/s
        928 kbit/s
        960 kbit/s
        992 kbit/s
        1024 kbit/s
debug: FFmpeg FLAC (16-bit) (ffmpeg_flac) encoder bitrates:
         64 kbit/s
         96 kbit/s
        128 kbit/s
        160 kbit/s
        192 kbit/s
        224 kbit/s
        256 kbit/s
        288 kbit/s
        320 kbit/s
        352 kbit/s
        384 kbit/s
        416 kbit/s
        448 kbit/s
        480 kbit/s
        512 kbit/s
        544 kbit/s
        576 kbit/s
        608 kbit/s
        640 kbit/s
        672 kbit/s
        704 kbit/s
        736 kbit/s
        768 kbit/s
        800 kbit/s
        832 kbit/s
        864 kbit/s
        896 kbit/s
        928 kbit/s
        960 kbit/s
        992 kbit/s
        1024 kbit/s
debug: libfdk AAC (libfdk_aac) encoder bitrates:
         32 kbit/s
         64 kbit/s
         96 kbit/s
        128 kbit/s
        160 kbit/s
        192 kbit/s
        224 kbit/s
        256 kbit/s
        288 kbit/s
        320 kbit/s
        352 kbit/s
        384 kbit/s
        416 kbit/s
        448 kbit/s
        480 kbit/s
        512 kbit/s
        544 kbit/s
        576 kbit/s
        608 kbit/s
        640 kbit/s
        672 kbit/s
        704 kbit/s
        736 kbit/s
        768 kbit/s
        800 kbit/s
        832 kbit/s
        864 kbit/s
        896 kbit/s
        928 kbit/s
        960 kbit/s
        992 kbit/s
        1024 kbit/s
debug: AAC simple encoder bitrate mapping:
         32 kbit/s: 'libfdk AAC' (libfdk_aac)
         64 kbit/s: 'libfdk AAC' (libfdk_aac)
         96 kbit/s: 'libfdk AAC' (libfdk_aac)
        128 kbit/s: 'libfdk AAC' (libfdk_aac)
        160 kbit/s: 'libfdk AAC' (libfdk_aac)
        192 kbit/s: 'libfdk AAC' (libfdk_aac)
        224 kbit/s: 'libfdk AAC' (libfdk_aac)
        256 kbit/s: 'libfdk AAC' (libfdk_aac)
        288 kbit/s: 'libfdk AAC' (libfdk_aac)
        320 kbit/s: 'libfdk AAC' (libfdk_aac)
        352 kbit/s: 'libfdk AAC' (libfdk_aac)
        384 kbit/s: 'libfdk AAC' (libfdk_aac)
        416 kbit/s: 'libfdk AAC' (libfdk_aac)
        448 kbit/s: 'libfdk AAC' (libfdk_aac)
        480 kbit/s: 'libfdk AAC' (libfdk_aac)
        512 kbit/s: 'libfdk AAC' (libfdk_aac)
        544 kbit/s: 'libfdk AAC' (libfdk_aac)
        576 kbit/s: 'libfdk AAC' (libfdk_aac)
        608 kbit/s: 'libfdk AAC' (libfdk_aac)
        640 kbit/s: 'libfdk AAC' (libfdk_aac)
        672 kbit/s: 'libfdk AAC' (libfdk_aac)
        704 kbit/s: 'libfdk AAC' (libfdk_aac)
        736 kbit/s: 'libfdk AAC' (libfdk_aac)
        768 kbit/s: 'libfdk AAC' (libfdk_aac)
        800 kbit/s: 'libfdk AAC' (libfdk_aac)
        832 kbit/s: 'libfdk AAC' (libfdk_aac)
        864 kbit/s: 'libfdk AAC' (libfdk_aac)
        896 kbit/s: 'libfdk AAC' (libfdk_aac)
        928 kbit/s: 'libfdk AAC' (libfdk_aac)
        960 kbit/s: 'libfdk AAC' (libfdk_aac)
        992 kbit/s: 'libfdk AAC' (libfdk_aac)
        1024 kbit/s: 'libfdk AAC' (libfdk_aac)
debug: encoder 'simple_aac' (libfdk_aac) created
debug: encoder 'simple_archive_audio' (libfdk_aac) created
debug: encoder 'simple_video_recording' (obs_x264) created
debug: encoder 'simple_aac_recording' (libfdk_aac) created
debug: encoder 'simple_aac_recording0' (libfdk_aac) created
debug: encoder 'simple_aac_recording1' (libfdk_aac) created
debug: encoder 'simple_aac_recording2' (libfdk_aac) created
debug: encoder 'simple_aac_recording3' (libfdk_aac) created
debug: encoder 'simple_aac_recording4' (libfdk_aac) created
debug: encoder 'simple_aac_recording5' (libfdk_aac) created
debug: output 'simple_file_output' (ffmpeg_muxer) created
qt.accessibility.atspi: Error in contacting registry: "org.freedesktop.DBus.Error.Disconnected" "Not connected to D-Bus server"
info: All scene data cleared
info: ------------------------------------------------
debug: private source 'Cut' (cut_transition) created
debug: private source 'Fade' (fade_transition) created
info: pulse-input: Server name: 'PulseAudio (on PipeWire 0.3.79) 15.0.0'
debug: pulse-input: Default output device: 'alsa_output.pci-0000_03_00.1.hdmi-stereo.monitor'
info: pulse-input: Audio format: s32le, 48000 Hz, 2 channels
info: pulse-input: Started recording from 'alsa_output.pci-0000_03_00.1.hdmi-stereo.monitor' (default)
debug: source 'Desktop Audio' (pulse_output_capture) created
info: [Loaded global audio device]: 'Desktop Audio'
info: pulse-input: Server name: 'PulseAudio (on PipeWire 0.3.79) 15.0.0'
debug: pulse-input: Default input device: 'alsa_output.pci-0000_03_00.1.hdmi-stereo.monitor'
info: pulse-input: Audio format: s32le, 48000 Hz, 2 channels
info: pulse-input: Started recording from 'alsa_output.pci-0000_03_00.1.hdmi-stereo.monitor' (default)
debug: source 'Mic/Aux' (pulse_input_capture) created
info: [Loaded global audio device]: 'Mic/Aux'
debug: source 'Scene' (scene) created
info: PipeWire initialized
debug: source 'Screen' (pipewire-desktop-capture-source) created
info: PipeWire initialized
debug: source 'Window Capture (PipeWire)' (pipewire-window-capture-source) created
info: PipeWire initialized
debug: source 'Window Capture (PipeWire) 2' (pipewire-window-capture-source) created
info: Switched to scene 'Scene'
info: ------------------------------------------------
info: Loaded scenes:
info: - scene 'Scene':
info:     - source: 'Screen' (pipewire-desktop-capture-source)
info:     - source: 'Window Capture (PipeWire)' (pipewire-window-capture-source)
info:     - source: 'Window Capture (PipeWire) 2' (pipewire-window-capture-source)
info: ------------------------------------------------
warning: [pipewire] Failed to create session, denied or cancelled by user
warning: [pipewire] Failed to create session, denied or cancelled by user
warning: [pipewire] Failed to create session, denied or cancelled by user
debug: Attempted path: share/obs/obs-studio/images/overflow.png
debug: Attempted path: /usr/share/obs/obs-studio/images/overflow.png
info: PipeWire initialized
warning: [pipewire] Failed to create session, denied or cancelled by user
info: adding 42 milliseconds of audio buffering, total audio buffering is now 42 milliseconds (source: Desktop Audio)
info: ==== Shutting down ==================================================
debug: obs_source_configurable: Null 'source' parameter
debug: private source 'Cut' destroyed
debug: source 'Scene' destroyed
debug: private source 'Fade' destroyed
info: pulse-input: Stopped recording from 'alsa_output.pci-0000_03_00.1.hdmi-stereo.monitor'
info: pulse-input: Got 546 packets with 655200 frames
debug: source 'Desktop Audio' destroyed
info: pulse-input: Stopped recording from 'alsa_output.pci-0000_03_00.1.hdmi-stereo.monitor'
info: pulse-input: Got 546 packets with 655200 frames
debug: source 'Mic/Aux' destroyed
debug: source 'Screen' destroyed
debug: source 'Window Capture (PipeWire)' destroyed
debug: source 'Window Capture (PipeWire) 2' destroyed
info: All scene data cleared
info: ------------------------------------------------
debug: service 'default_service' destroyed
debug: encoder 'simple_aac_recording5' destroyed
debug: encoder 'simple_aac_recording4' destroyed
debug: encoder 'simple_aac_recording3' destroyed
debug: encoder 'simple_aac_recording2' destroyed
debug: encoder 'simple_aac_recording1' destroyed
debug: encoder 'simple_aac_recording0' destroyed
debug: encoder 'simple_video_recording' destroyed
debug: encoder 'simple_archive_audio' destroyed
debug: encoder 'simple_aac_recording' destroyed
debug: encoder 'simple_video_stream' destroyed
debug: encoder 'simple_aac' destroyed
debug: output 'virtualcam_output' destroyed
debug: output 'simple_file_output' destroyed
info: [Scripting] Total detached callbacks: 0
info: Freeing OBS context data
info: == Profiler Results =============================
info: run_program_init: 382.197 ms
info:  ┣OBSApp::AppInit: 3.186 ms
info:  ┃ ┗OBSApp::InitLocale: 0.564 ms
info:  ┗OBSApp::OBSInit: 354.153 ms
info:    ┣obs_startup: 2.304 ms
info:    ┗OBSBasic::OBSInit: 323.04 ms
info:      ┣OBSBasic::InitBasicConfig: 0.072 ms
info:      ┣OBSBasic::ResetAudio: 0.169 ms
info:      ┣OBSBasic::ResetVideo: 78.752 ms
info:      ┣OBSBasic::InitOBSCallbacks: 0.004 ms
info:      ┣OBSBasic::InitHotkeys: 0.028 ms
info:      ┣obs_load_all_modules2: 162.712 ms
info:      ┃ ┣obs_init_module(decklink-captions.so): 0 ms
info:      ┃ ┣obs_init_module(decklink-output-ui.so): 0 ms
info:      ┃ ┣obs_init_module(decklink.so): 0.056 ms
info:      ┃ ┣obs_init_module(frontend-tools.so): 14.516 ms
info:      ┃ ┣obs_init_module(image-source.so): 0.004 ms
info:      ┃ ┣obs_init_module(linux-alsa.so): 0.002 ms
info:      ┃ ┣obs_init_module(linux-capture.so): 0 ms
info:      ┃ ┣obs_init_module(linux-jack.so): 0.001 ms
info:      ┃ ┣obs_init_module(linux-pipewire.so): 0.672 ms
info:      ┃ ┣obs_init_module(linux-pulseaudio.so): 0.002 ms
info:      ┃ ┣obs_init_module(linux-v4l2.so): 4.033 ms
info:      ┃ ┣obs_init_module(obs-ffmpeg.so): 22.708 ms
info:      ┃ ┃ ┗nvenc_check: 0.817 ms
info:      ┃ ┣obs_init_module(obs-filters.so): 0.025 ms
info:      ┃ ┣obs_init_module(obs-libfdk.so): 0.001 ms
info:      ┃ ┣obs_init_module(obs-outputs.so): 0.006 ms
info:      ┃ ┣obs_init_module(obs-transitions.so): 0.008 ms
info:      ┃ ┣obs_init_module(obs-vst.so): 0.003 ms
info:      ┃ ┣obs_init_module(obs-x264.so): 0.001 ms
info:      ┃ ┣obs_init_module(rtmp-services.so): 0.523 ms
info:      ┃ ┗obs_init_module(text-freetype2.so): 0.008 ms
info:      ┣OBSBasic::InitService: 0.757 ms
info:      ┣OBSBasic::ResetOutputs: 0.854 ms
info:      ┣OBSBasic::CreateHotkeys: 0.02 ms
info:      ┣OBSBasic::InitPrimitives: 0.072 ms
info:      ┗OBSBasic::Load: 44.879 ms
info: obs_hotkey_thread(25 ms): min=0 ms, median=0 ms, max=0.001 ms, 99th percentile=0.001 ms, 100% below 25 ms
info: audio_thread(Audio): min=0.014 ms, median=0.031 ms, max=0.197 ms, 99th percentile=0.076 ms
info: obs_graphics_thread(16.6667 ms): min=0.042 ms, median=0.234 ms, max=8.505 ms, 99th percentile=0.384 ms, 100% below 16.667 ms
info:  ┣tick_sources: min=0 ms, median=0.004 ms, max=0.026 ms, 99th percentile=0.008 ms
info:  ┣output_frame: min=0.037 ms, median=0.086 ms, max=2.232 ms, 99th percentile=0.143 ms
info:  ┃ ┗gs_context(video->graphics): min=0.036 ms, median=0.086 ms, max=2.227 ms, 99th percentile=0.142 ms
info:  ┃   ┣render_video: min=0.004 ms, median=0.019 ms, max=0.055 ms, 99th percentile=0.036 ms
info:  ┃   ┃ ┗render_main_texture: min=0.003 ms, median=0.017 ms, max=0.036 ms, 99th percentile=0.032 ms
info:  ┃   ┗gs_flush: min=0.001 ms, median=0.003 ms, max=0.013 ms, 99th percentile=0.004 ms
info:  ┗render_displays: min=0.002 ms, median=0.131 ms, max=8.447 ms, 99th percentile=0.221 ms
info: =================================================
info: == Profiler Time Between Calls ==================
info: obs_hotkey_thread(25 ms): min=25.02 ms, median=25.059 ms, max=25.077 ms, 100% within ±2% of 25 ms (0% lower, 0% higher)
info: obs_graphics_thread(16.6667 ms): min=15.26 ms, median=16.667 ms, max=18.071 ms, 99.5215% within ±2% of 16.667 ms (0.239234% lower, 0.239234% higher)
info: =================================================
info: Number of memory leaks: 0

Here are other potentially important information about my system:

    ~  systemctl --user status pipewire                                                                                                                                                                                           1 ✘
● pipewire.service - PipeWire Multimedia Service
     Loaded: loaded (/usr/lib/systemd/user/pipewire.service; disabled; preset: enabled)
     Active: active (running) since Mon 2023-09-11 18:07:42 CEST; 14min ago
TriggeredBy: ● pipewire.socket
   Main PID: 1089 (pipewire)
      Tasks: 3 (limit: 19036)
     Memory: 7.5M
        CPU: 43ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire.service
             └─1089 /usr/bin/pipewire

Sep 11 18:07:42 blueeyedcrow systemd[782]: Started PipeWire Multimedia Service.
    ~  systemctl --user status xdg-desktop-portal                                                                                                                                                                                 4 ✘
● xdg-desktop-portal.service - Portal service
     Loaded: loaded (/usr/lib/systemd/user/xdg-desktop-portal.service; static)
     Active: active (running) since Mon 2023-09-11 18:07:42 CEST; 15min ago
   Main PID: 834 (xdg-desktop-por)
      Tasks: 7 (limit: 19036)
     Memory: 12.7M
        CPU: 69ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/xdg-desktop-portal.service
             └─834 /usr/lib/xdg-desktop-portal

Sep 11 18:07:41 blueeyedcrow systemd[782]: Starting Portal service...
Sep 11 18:07:42 blueeyedcrow systemd[782]: Started Portal service.
    ~  systemctl --user status plasma-xdg-desktop-portal-kde                                                                                                                                                                        ✔
● plasma-xdg-desktop-portal-kde.service - Xdg Desktop Portal For KDE
     Loaded: loaded (/usr/lib/systemd/user/plasma-xdg-desktop-portal-kde.service; static)
     Active: active (running) since Mon 2023-09-11 18:07:42 CEST; 15min ago
   Main PID: 1006 (xdg-desktop-por)
      Tasks: 8 (limit: 19036)
     Memory: 24.0M
        CPU: 133ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/plasma-xdg-desktop-portal-kde.service
             └─1006 /usr/lib/xdg-desktop-portal-kde

Sep 11 18:07:42 blueeyedcrow systemd[782]: Starting Xdg Desktop Portal For KDE...
Sep 11 18:07:42 blueeyedcrow systemd[782]: Started Xdg Desktop Portal For KDE.
Sep 11 18:21:27 blueeyedcrow xdg-desktop-portal-kde[1006]: xdp-kde-screencast: zkde_screencast_unstable_v1 does not seem to be available
Sep 11 18:21:27 blueeyedcrow xdg-desktop-portal-kde[1006]: xdp-kde-screencast: zkde_screencast_unstable_v1 does not seem to be available
Sep 11 18:21:27 blueeyedcrow xdg-desktop-portal-kde[1006]: xdp-kde-screencast: zkde_screencast_unstable_v1 does not seem to be available

 ██████████████████  ████████     blueeyedcrow@blueeyedcrow
 ██████████████████  ████████     OS: Manjaro 23.0.1 Uranos
 ██████████████████  ████████     Kernel: x86_64 Linux 6.1.51-1-MANJARO
 ██████████████████  ████████     Uptime: 30m
 ████████            ████████     Packages: 1500
 ████████  ████████  ████████     Shell: zsh 5.9
 ████████  ████████  ████████     Resolution: 3840x1080
 ████████  ████████  ████████     DE: KDE 5.109.0 / Plasma 5.27.7
 ████████  ████████  ████████     WM: KWin
 ████████  ████████  ████████     GTK Theme: Breeze [GTK2/3]
 ████████  ████████  ████████     Icon Theme: breeze
 ████████  ████████  ████████     Disk: 592G / 783G (77%)
 ████████  ████████  ████████     CPU: AMD Ryzen 5 3600 6-Core @ 12x 3.6GHz
 ████████  ████████  ████████     GPU: AMD Radeon Graphics (navi22, LLVM 16.0.6, DRM 3.49, 6.1.51-1-MANJARO)
  • If you guys need any additional information, please let me know. As far as I was able to gather this info was requested on multiple forums so that is why I am posting it here.
  • Also I am not Linux savy, but I do know my way around it, so I wouldn’t mind a technical explaination as to what is going on.

Do you really need to use Wayland? KDE Plasma has less issues with X11 and I suspect that OBS will work fine there.

I often use OBS studio in Plasma Wayland, it works fine. But I am in the unstable branch.

  • OBS version
$ obs --version
OBS Studio - 29.1.3-1
  • xdg-desktopo-portal-kde version: 5.27.7-1

  • pipewire version

$ pipewire --version
pipewire
Compiled with libpipewire 0.3.79
Linked with libpipewire 0.3.79
  • pipewire and its dependencies were installed:
$ pacman -Qq | grep pipewire
kpipewire
libpipewire
pipewire
pipewire-alsa
pipewire-audio
pipewire-jack
pipewire-pulse
pipewire-zeroconf
  • Installed non-free mesa vaapi driver to enable video en/decoding acceleration for AMD GPU
  • Installed mesa driver and utils
$ pacman -Qq | grep mesa
lib32-mesa
libva-mesa-driver
mesa
mesa-utils

Here is what I got:

$ pacman -Q | grep xdg-desktop
xdg-desktop-portal 1.16.0-3
xdg-desktop-portal-kde 5.27.7-1

$ pacman -Q | grep mesa
lib32-libva-mesa-driver 23.1.6-2
lib32-mesa 23.1.6-2
lib32-mesa-demos 9.0.0-1
lib32-mesa-vdpau 23.1.6-2
libva-mesa-driver 23.1.6-3
mesa 23.1.6-3
mesa-demos 9.0.0-2
mesa-utils 9.0.0-2
mesa-vdpau 23.1.6-3

$ pacman -Q | grep pipewire
gst-plugin-pipewire 1:0.3.79-2
kpipewire 5.27.7-1
libpipewire 1:0.3.79-2
manjaro-pipewire 20221015-2
pipewire 1:0.3.79-2
pipewire-alsa 1:0.3.79-2
pipewire-audio 1:0.3.79-2
pipewire-jack 1:0.3.79-2
pipewire-pulse 1:0.3.79-2
qemu-audio-pipewire 8.1.0-2

Do you maybe think there are some conflicted packages like `manjaro-pipewire’ and ‘pipewire’?

manjaro-pipewire is just an empty meta package to make pipewire installation easier. I don’t know what is causing your issue but that’s definitely not it.

I am led to believe that this is the underlaying issue:

$ systemctl --user status plasma-xdg-desktop-portal-kde                                                                                                                                                                        ✔ 
● plasma-xdg-desktop-portal-kde.service - Xdg Desktop Portal For KDE
     Loaded: loaded (/usr/lib/systemd/user/plasma-xdg-desktop-portal-kde.service; static)
     Active: active (running) since Tue 2023-09-12 12:02:12 CEST; 6h ago
   Main PID: 854 (xdg-desktop-por)
      Tasks: 8 (limit: 19035)
     Memory: 26.0M
        CPU: 1.737s
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/plasma-xdg-desktop-portal-kde.service
             └─854 /usr/lib/xdg-desktop-portal-kde

Sep 12 12:02:12 blueeyedcrow systemd[638]: Starting Xdg Desktop Portal For KDE...
Sep 12 12:02:12 blueeyedcrow systemd[638]: Started Xdg Desktop Portal For KDE.
Sep 12 18:17:49 blueeyedcrow xdg-desktop-portal-kde[854]: xdp-kde-screencast: zkde_screencast_unstable_v1 does not seem to be available
Sep 12 18:17:49 blueeyedcrow xdg-desktop-portal-kde[854]: xdp-kde-screencast: zkde_screencast_unstable_v1 does not seem to be available

This: xdg-desktop-portal-kde[854]: xdp-kde-screencast: zkde_screencast_unstable_v1 does not seem to be available
This occurs when I try to stream on Discord, and Discord streaming worked for me 2 weeks ago. I probably disregarded this info because I am used to Discord updates breaking things, but now I am starting to doubt that it is a Discord issue.

You do not have hardware acceleration for video encoding by default.

I have it. I already mentioned here that you can install it manually.

$ pacman -Q | grep libva-mesa-driver
libva-mesa-driver 1:23.1.7-1

But I think, it has nothing to do with your issue xdp-kde-screencast.

Yes, that looks like the issue, but if that was broken for everyone there would a lot more reports.

Check whether this is a system or user issue by creating a new test user, login to it, and see if OBS or Discord works there.

Wow, you actually nailed it.

I created a new user and switched over to it, I did reinstall (accidentaly) obs-studio before testing it out, however when I did test it out it was working without an issue. I also tested out Discord, I am getting the screen prompt but it is a bit buggy, like the stream is stuck on loading forever, but yea, this is definately a progress.

Now what I don’t know is, how can I fix my main user without loosing any data for it? How do I just fix the user?

And is there maybe any reason for my main user all of a sudden to have this issue?

And lastly, Thank you so very much both of you for helping me out. These last few days I felt like nobody else is having a clue nor a similar issue to mine, but today, there has been some progress :slight_smile:

I can’t say how it happened but something in your user configuration is causing that plugin not to be loaded and it is required for screencasting on Wayland.

Unfortunately I have no idea what that could be, I don’t use Wayland myself. Putting “zkde_screencast_unstable_v1 does not seem to be available” into a search engine does return quite a few hits but most seem to be issues that have been resolved 1-2 years ago in older KDE versions.

So at this point the only thing I can think of is to start diffing the contents of KDE-related files in ~/.config/ between the two users and see if anything obvious stands out… probably ~/.config/kwinrc would be a good place to start.

2 Likes

Thank you so much.

Unfortunatelly I don’t have time to test it all out today, but I will investigate it further probably by tomorrow and than I will post the results.

Again, I am really grateful to you for saving my sanity in this situation xD

Thank you again.

It turns out that I have disabled a kwin plugin for screen casting long time ago when I was following some community forum suggestion on improving performance, and I just forgot about it.

I am extremely happy that you have pointed this out to me, because I would be losing my mind now over one line diff in .config file xD

Here is the diff result in case anyone makes a same mistake as I did:

diff -y -b -B /home/blueeyedcrow/.config/kwinrc /home/test/.config/kwinrc --color
[$Version]                                                      [$Version]
update_info=kwin.upd:replace-scalein-with-scale,kwin.upd:port   update_info=kwin.upd:replace-scalein-with-scale,kwin.upd:port

[Compositing]                                                 <
LatencyPolicy=High                                            <
                                                              <
[Desktops]                                                      [Desktops]
Id_1=2f0c3c91-72c1-435b-8ab5-fa2fe2878e8a                     | Id_1=5d900dc0-bd4d-44ab-9a17-0124d82123eb
Id_2=7e4d6456-b5c5-4814-9943-ac80a05e4988                     | Id_2=636f3b7f-5ef6-47b9-975a-b225e2db921d
Rows=2                                                          Rows=2

[Plugins]                                                     <
kwin4_effect_maximizeEnabled=false                            <
kwin5_plugin_screencastEnabled=false                          <
                                                              <
[Tiling]                                                        [Tiling]
padding=4                                                       padding=4

[Tiling][015e7436-f4fd-5877-98dd-2d49f4cd9822]                <
tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25} <
                                                              <
[Tiling][061fd18c-f302-5138-95a3-b270ac3f43a9]                  [Tiling][061fd18c-f302-5138-95a3-b270ac3f43a9]
tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25}   tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25}

[Tiling][1173f3d8-7be1-561e-98ef-c41d109220fc]                <
tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25} <
                                                              <
[Tiling][183d0b27-6ff1-5f7c-a67d-b48826ef4fc0]                <
tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25} <
                                                              <
[Tiling][20cce1a6-a81a-5fcf-afec-8b3ca417cb30]                <
tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25} <
                                                              <
[Tiling][5780c2cb-e57f-57d9-9013-e758f650953e]                <
tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25} <
                                                              <
[Tiling][58eee382-ced8-5000-90d3-5398b0db3f24]                  [Tiling][58eee382-ced8-5000-90d3-5398b0db3f24]
tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25}   tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25}
                                                              <
[Tiling][5935157a-1005-5c02-b35b-8b94b86e3bd6]                <
tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25} <
                                                              <
[Tiling][74a53254-c5b5-5c2e-b444-25c927d5d10c]                <
tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25} <
                                                              <
[Tiling][92e842d7-5928-5c43-884a-4912e7cc82ed]                <
tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25} <
                                                              <
[Tiling][a67cfcdf-13f5-5133-a25b-2169d2426d5a]                <
tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25} <
                                                              <
[Tiling][d4c6aa55-aeee-5163-a1f2-9ad81e4f7b0b]                <
tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25} <
                                                              <
[Tiling][fe4b79ab-fcfd-545a-a05f-d32302fccd2f]                <
tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25} <
                                                              <
[Windows]                                                     <
SnapOnlyWhenOverlapping=true                                  <

[Xwayland]                                                      [Xwayland]
Scale=1                                                         Scale=1

kwin5_plugin_screencastEnabled=false is the culprit.

And note to myself never to blindly listen to some online advice, before reaserching all of its effects xD

Again I am really thankfull to you for pointing this out to me.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.