OBS is unloaded from memory (does not work)

Hello, friends. For some reason, OBS stopped working.
After starting the program and selecting the PipeWare source, the program simply unloads from memory.
I tried using ChatGPT to solve the issue. I reinstalled and cleaned the program folder (settings), but nothing helps.
This problem has been observed for more than a month. I hoped that everything would be fixed in the next updates, but I still encounter this error.
Could you tell me what is wrong.
The problem began to be observed after the next system update about 2 months ago.
A search on the forum did not yield any results (I have not encountered a similar problem). The logs are also not very informative.

SYS:

Operating System: Manjaro Linux 
KDE Plasma Version: 6.2.4
KDE Frameworks Version: 6.8.0
Qt Version: 6.8.1
Kernel Version: 6.11.11-1-MANJARO (64-bit)
Graphics Platform: Wayland
Processors: 4 Ɨ IntelĀ® Coreā„¢ i3-9100F CPU @ 3.60GHz
Memory: 15.6 GB of RAM
Graphics Processor: AMD Radeon RX 470 Graphics

LOGS:

obs                                                                                                                                             
debug: Found portal inhibitor
debug: Attempted path: /usr/bin/../share/obs/obs-studio/locale/en-US.ini
debug: Attempted path: /usr/bin/../share/obs/obs-studio/locale.ini
debug: Attempted path: /usr/bin/../share/obs/obs-studio/themes
debug: Attempted path: /usr/bin/../share/obs/obs-studio/themes/
warning: ReadOne on org.freedesktop.portal.Settings returned an invalid reply
warning: [Safe Mode] Unclean shutdown detected!
warning: [Safe Mode] User elected to launch normally.
info: Platform: Wayland
info: CPU Name: Intel(R) Core(TM) i3-9100F CPU @ 3.60GHz
info: CPU Speed: 3999.999MHz
info: Physical Cores: 4, Logical Cores: 4
info: Physical Memory: 15927MB Total, 11121MB Free
info: Kernel Version: Linux 6.11.11-1-MANJARO
info: Distribution: "Manjaro Linux" Unknown
info: Desktop Environment: KDE (KDE)
info: Session Type: wayland
info: Qt Version: 6.8.1 (runtime), 6.8.1 (compiled)
info: Portable mode: false
info: OBS 31.0.0-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
info: Loading up OpenGL on adapter AMD AMD Radeon RX 470 Graphics (radeonsi, polaris10, LLVM 18.1.8, DRM 3.59, 6.11.11-1-MANJARO)
info: OpenGL loaded successfully, version 4.6 (Core Profile) Mesa 24.2.8-arch1.1, 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 enabled
info: P010 texture support not available
info: Audio monitoring device:
        name: Default
        id: default
info: ---------------------------------
warning: Failed to load 'en-US' text for module: 'decklink-captions.so'
warning: Failed to load 'en-US' text for module: 'decklink-output-ui.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'
info: [pipewire] Available capture sources:
info: [pipewire]     - Monitor source
info: [pipewire]     - Window source
warning: v4l2loopback not installed, virtual camera not registered
info: VAAPI: API version 1.22
info: FFmpeg VAAPI H264 encoding supported
info: FFmpeg VAAPI AV1 encoding not supported
info: FFmpeg VAAPI HEVC encoding supported
error: os_dlopen(libnvidia-encode.so.1->libnvidia-encode.so.1): libnvidia-encode.so.1: cannot open shared object file: No such file or directory

info: NVENC not supported
warning: Failed to initialize module 'obs-nvenc.so'
info: ---------------------------------
info:   Loaded Modules:
info:     text-freetype2.so
info:     rtmp-services.so
info:     obs-x264.so
info:     obs-webrtc.so
info:     obs-vst.so
info:     obs-transitions.so
info:     obs-qsv11.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: ---------------------------------
info: ---------------------------------
info: Available Encoders:
info:   Video Encoders:
info:   - ffmpeg_svt_av1 (SVT-AV1)
info:   - ffmpeg_aom_av1 (AOM AV1)
info:   - ffmpeg_vaapi_tex (FFmpeg VAAPI H.264)
info:   - hevc_ffmpeg_vaapi_tex (FFmpeg VAAPI HEVC)
info:   - obs_x264 (x264)
info:   Audio Encoders:
info:   - ffmpeg_aac (FFmpeg AAC)
info:   - ffmpeg_opus (FFmpeg Opus)
info:   - ffmpeg_pcm_s16le (FFmpeg PCM (16-bit))
info:   - ffmpeg_pcm_s24le (FFmpeg PCM (24-bit))
info:   - ffmpeg_pcm_f32le (FFmpeg PCM (32-bit float))
info:   - ffmpeg_alac (FFmpeg ALAC (24-bit))
info:   - ffmpeg_flac (FFmpeg FLAC (16-bit))
info:   - libfdk_aac (libfdk AAC)
info: ==== Startup complete ===============================================
info: All scene data cleared
info: ------------------------------------------------
info: pulse-input: Server name: 'PulseAudio (on PipeWire 1.2.7) 15.0.0'
info: pulse-input: Audio format: s32le, 48000 Hz, 2 channels
info: pulse-input: Started recording from 'alsa_output.pci-0000_00_1f.3.analog-stereo.monitor' (default)
info: [Loaded global audio device]: 'Desktop Audio'
info: PipeWire initialized
info: Switched to scene 'Scene'
info: ------------------------------------------------
info: Loaded scenes:
info: - scene 'Scene':
info:     - source: 'Screen Capture (PipeWire)' (pipewire-screen-capture-source)
info: ------------------------------------------------
info: [pipewire] Screencast session created
info: [pipewire] Asking for monitor and window
info: adding 21 milliseconds of audio buffering, total audio buffering is now 21 milliseconds (source: Desktop Audio)

info: [pipewire] source selected, setting up screencast
info: [pipewire] Server version: 1.2.7
info: [pipewire] Library version: 1.2.7
info: [pipewire] Header version: 1.2.7
zsh: trace trap (core dumped)  obs

That is the very last thing you should try - certainly not a preference.

ā€¦ youā€™ll likely to be to provide some usable info without the ā€œhelpā€ of the AI ā€¦

Iā€™ll stop here - instead of going onto a rant and actually explaining stuff ā€¦

(the manual pages and info pages as well can always provide ā€¦ very good info on the subject matter.)

Cheers!

ignore the freaking ā€œAIā€ - donā€™t even ask for itā€™s opinion ā€¦
itā€™s solution is wrong 99% of the time ā€¦ :wink:

you can get lucky - but you never know whether you did.

ā€¦ You are asking for a draw - and then rely on the outcome of that draw. :wink:

2 Likes

We generally donā€™t simply assume a ā€˜problemā€™ can be fixed with an update unless that problem is something wrong with the basic system (which would tend to generate responses in the update thread, or elsewhere in the forum).

Also, leaving an issue for 2 months isnā€™t the best method of fixing it - you could first try, for example, creating a new user account to see if the problem persists.

2 Likes

The thing is, I use two Linux Manjaro OS on different SSDs. They were installed six months apart. They have different software. One for work, the other for everything else. But this problem appeared on both at the same time.

I canā€™t see this option for source selection!

I was going to try it but I see only PulseAudio for some reasonā€¦ though Iā€™m using Pipewire with Wireplumber.

Can you check if you have manjaro-pipewire installed? it handled everything for me.

Also, itā€™s a good idea to try a new USER for a default desktop setup.

Also information:

pactl info
Server String: /run/user/1000/pulse/native
Library Protocol Version: 35
Server Protocol Version: 35
Is Local: yes
Client Index: 806
Tile Size: 65472
User Name: ben
Host Name: SteelLegend
Server Name: PulseAudio (on PipeWire 1.2.7)
Server Version: 15.0.0
Default Sample Specification: float32le 2ch 48000Hz
Default Channel Map: front-left,front-right
Default Sink: alsa_output.pci-0000_04_00.6.analog-surround-40
Default Source: alsa_input.pci-0000_04_00.6.analog-stereo
Cookie: 43d1:b400

image

Ok, Iā€™m lost hereā€¦

I installed OBS, enabled:

  • Display Capture (XSHM)
  • Audio Capture Device (ALSA)

Recorded me opening and closing Strawberry and playing music, no issues.

I I canā€™t get any video through the video Capture Device (Pipewire) and donā€™t even know what thatā€™s useful forā€¦ however, Iā€™m running X11 right now if thatā€™s relevant.

Ok, so I logged out and went to Wayland.

I added Screen Capture (Pipewire) and Audio Capture Device (ALSA) and that worked perfectly too.

I created a new user. And Iā€™ll try to run OBS:

info: pulse-input: Started recording from 'alsa_output.pci-0000_00_1f.3.analog-stereo.monitor' (default)
info: [Loaded global audio device]: 'Mic/Aux'
info: PipeWire initialized
info: Switched to scene 'Scene'
info: ------------------------------------------------
info: Loaded scenes:
info: - scene 'Scene':
info:     - source: 'Screen Capture (PipeWire)' (pipewire-screen-capture-source)
info: ------------------------------------------------
info: [pipewire] Screencast session created
info: [pipewire] Asking for monitor and window
info: adding 21 milliseconds of audio buffering, total audio buffering is now 21 milliseconds (source: Desktop Audio)

info: [pipewire] source selected, setting up screencast
info: [pipewire] Server version: 1.2.7
info: [pipewire] Library version: 1.2.7
info: [pipewire] Header version: 1.2.7
zsh: trace trap (core dumped)  obs

Unfortunately, I have the same problem on both my systems. And nothing helps.

obs
debug: Found portal inhibitor
debug: Attempted path: /usr/bin/../share/obs/obs-studio/locale/en-US.ini
debug: Attempted path: /usr/bin/../share/obs/obs-studio/locale.ini
debug: Attempted path: /usr/bin/../share/obs/obs-studio/themes
debug: Attempted path: /usr/bin/../share/obs/obs-studio/themes/
warning: ReadOne on org.freedesktop.portal.Settings returned an invalid reply
warning: [Safe Mode] Unclean shutdown detected!
warning: [Safe Mode] User elected to launch normally.

Youā€™ve messed something up. Maybe try purging OBS, manually checking/removing the /usr/binā€¦/share/obs directories too.

My log from 'pipewire source selected'
20:50:28.990: [pipewire] source selected, setting up screencast
20:50:28.993: [pipewire] Server version: 1.2.7
20:50:28.993: [pipewire] Library version: 1.2.7
20:50:28.993: [pipewire] Header version: 1.2.7
20:50:28.993: [pipewire] Created stream 0x63d760404030
20:50:28.993: [pipewire] Stream 0x63d760404030 state: "connecting" (error: none)
20:50:28.993: [pipewire] Playing stream 0x63d760404030
20:50:28.994: [pipewire] Stream 0x63d760404030 state: "paused" (error: none)
20:50:29.023: [pipewire] Negotiated format:
20:50:29.023: [pipewire]     Format: 12 (Spa:Enum:VideoFormat:BGRA)
20:50:29.023: [pipewire]     Modifier: 0x0
20:50:29.023: [pipewire]     Size: 1920x1080
20:50:29.023: [pipewire]     Framerate: 0/1
20:50:29.024: [pipewire] Negotiated format:
20:50:29.024: [pipewire]     Format: 12 (Spa:Enum:VideoFormat:BGRA)
20:50:29.024: [pipewire]     Modifier: 0x20000044051ba01
20:50:29.024: [pipewire]     Size: 1920x1080
20:50:29.024: [pipewire]     Framerate: 0/1
20:50:29.026: [pipewire] Stream 0x63d760404030 state: "streaming" (error: none)
20:50:40.505: ---------------------------------
20:50:40.505: [x264 encoder: 'simple_video_stream'] preset: veryfast
20:50:40.509: [x264 encoder: 'simple_video_stream'] settings:
20:50:40.509: 	rate_control: CBR
20:50:40.509: 	bitrate:      2500
20:50:40.509: 	buffer size:  2500
20:50:40.509: 	crf:          23
20:50:40.509: 	fps_num:      30
20:50:40.509: 	fps_den:      1
20:50:40.509: 	width:        1280
20:50:40.509: 	height:       720
20:50:40.509: 	keyint:       250
20:50:40.509: 
20:50:40.522: libfdk_aac encoder created
20:50:40.522: libfdk_aac bitrate: 160, channels: 2
20:50:40.549: ==== Recording Start ===============================================
20:50:40.549: [ffmpeg muxer: 'simple_file_output'] Writing file '/home/ben/2025-01-14 20-50-40.mkv'...
20:50:55.878: [ffmpeg muxer: 'simple_file_output'] Output of file '/home/ben/2025-01-14 20-50-40.mkv' stopped
20:50:55.878: Output 'simple_file_output': stopping
20:50:55.878: Output 'simple_file_output': Total frames output: 428
20:50:55.878: Output 'simple_file_output': Total drawn frames: 460
20:50:55.878: ==== Recording Stop ================================================
20:50:55.883: libfdk_aac encoder destroyed
Yours
info: [pipewire] source selected, setting up screencast
info: [pipewire] Server version: 1.2.7
info: [pipewire] Library version: 1.2.7
info: [pipewire] Header version: 1.2.7
zsh: trace trap (core dumped)  obs

I tried to find and delete everything related to OBS, then reinstalled it. But after selecting the video source (pipewire), the program still closes.

Try with a new user. It can help you narrow down the cause if it works for the new userā€¦

Edit:

How?

This woknā€™t make any difference if the issue is in your home directory.

So no difference, then? Just confirms that the problem seems to be in your home directory.

1 Like

Yes, I asked for confirmation (i.e. Create a NEW USER and repeat) a while back.

Did you, by any chance, try this:

rm -rvdI ~/.config/obs-studio

it didnā€™t help

Since no easy solution can be expected now,

please provide more information (inxi) !

sudo inxi --verbosity=8 --filter --width 

:footprints:

sudo inxi --verbosity=8 --filter --width
[sudo] password for u: 
System:
  Kernel: 6.13.0-rc2-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 14.2.1
    clocksource: tsc avail: hpet,acpi_pm
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-6.13-x86_64
    root=UUID=fc9caf00-0029-4bec-8699-cbb3666826f1 rw rootflags=subvol=@ quiet
    splash resume=UUID=36296a83-f3de-4c61-8adf-55423bf98b29
    udev.log_priority=3
  Desktop: KDE Plasma v: 6.2.4 tk: Qt v: N/A wm: kwin_wayland with: krunner
    dm: SDDM Distro: Manjaro base: Arch Linux
Machine:
  Type: Desktop Mobo: ASRock model: H310CM-HDV serial: <filter>
    uuid: 5459a1a8-92e8-0000-0000-000000000000 UEFI-[Legacy]: American Megatrends
    v: P4.30 date: 07/28/2021
Battery:
  Message: No system battery data found. Is one present?
Memory:
  System RAM: total: 16 GiB available: 15.55 GiB used: 3.01 GiB (19.4%)
  Array-1: capacity: 32 GiB slots: 2 modules: 2 EC: None
    max-module-size: 16 GiB note: est.
  Device-1: ChannelA-DIMM0 type: DDR4 detail: synchronous unbuffered
    (unregistered) size: 8 GiB speed: 2133 MT/s volts: curr: 1.2 min: 1.2
    max: 1.2 width (bits): data: 64 total: 64 manufacturer: Samsung
    part-no: M378A1G43EB1-CPB serial: <filter>
  Device-2: ChannelB-DIMM0 type: DDR4 detail: synchronous unbuffered
    (unregistered) size: 8 GiB speed: 2133 MT/s volts: curr: 1.2 min: 1.2
    max: 1.2 width (bits): data: 64 total: 64 manufacturer: Samsung
    part-no: M378A1K43BB1-CPB serial: <filter>
PCI Slots:
  Slot: 17 type: PCIe status: available length: short volts: 3.3
    bus-ID: 01:00.2
  Slot: 18 type: PCIe status: in use length: long volts: 3.3 bus-ID: 01:00.0
CPU:
  Info: model: Intel Core i3-9100F socket: LGA1151 bits: 64 type: MCP
    arch: Coffee Lake gen: core 9 level: v3 note: check built: 2018
    process: Intel 14nm family: 6 model-id: 0x9E (158) stepping: 0xA (10)
    microcode: 0xF8
  Topology: cpus: 1x dies: 1 clusters: 4 cores: 4 smt: <unsupported> cache:
    L1: 256 KiB desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB
    L3: 6 MiB desc: 1x6 MiB
  Speed (MHz): avg: 800 min/max: 800/4200 base/boost: 3600/8300 scaling:
    driver: intel_pstate governor: powersave volts: 1.0 V ext-clock: 100 MHz
    cores: 1: 800 2: 800 3: 800 4: 800 bogomips: 28808
  Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat
    arch_capabilities arch_perfmon art avx avx2 bmi1 bmi2 bts clflush
    clflushopt cmov constant_tsc cpuid cpuid_fault cx16 cx8 de ds_cpl dtes64
    dtherm dts epb ept ept_ad erms est f16c flexpriority flush_l1d fma fpu
    fsgsbase fxsr ht hwp hwp_act_window hwp_epp hwp_notify ibpb ibrs ida
    intel_pt invpcid lahf_lm lm mca mce md_clear mmx monitor movbe mpx msr
    mtrr nonstop_tsc nopl nx pae pat pbe pcid pclmulqdq pdcm pdpe1gb pebs pge
    pln pni popcnt pse pse36 pti pts rdrand rdseed rdtscp rep_good sdbg sep
    smap smep ss ssbd sse sse2 sse4_1 sse4_2 ssse3 stibp syscall tm tm2
    tpr_shadow tsc tsc_adjust tsc_deadline_timer vme vmx vnmi vpid x2apic
    xgetbv1 xsave xsavec xsaveopt xsaves xtopology xtpr
  Vulnerabilities:
  Type: gather_data_sampling mitigation: Microcode
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT
    disabled
  Type: mds mitigation: Clear CPU buffers; SMT disabled
  Type: meltdown mitigation: PTI
  Type: mmio_stale_data mitigation: Clear CPU buffers; SMT disabled
  Type: reg_file_data_sampling status: Not affected
  Type: retbleed mitigation: IBRS
  Type: spec_rstack_overflow status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: IBRS; IBPB: conditional; STIBP: disabled; RSB
    filling; PBRSB-eIBRS: Not affected; BHI: Not affected
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Advanced Micro Devices [AMD/ATI] Ellesmere [Radeon RX
    470/480/570/570X/580/580X/590] vendor: Tul / PowerColor driver: amdgpu
    v: kernel arch: GCN-4 code: Arctic Islands process: GF 14nm built: 2016-20
    pcie: gen: 3 speed: 8 GT/s lanes: 16 ports: active: HDMI-A-1 off: DVI-D-1
    empty: DP-1,DP-2,DP-3 bus-ID: 01:00.0 chip-ID: 1002:67df class-ID: 0300
    temp: 36.0 C
  Display: unspecified server: X.Org v: 24.1.4 with: Xwayland v: 24.1.4
    compositor: kwin_wayland driver: X: loaded: amdgpu unloaded: modesetting
    alternate: fbdev,vesa dri: radeonsi gpu: amdgpu display-ID: :1 screens: 1
  Screen-1: 0 s-res: 2560x1440 s-dpi: 96 s-size: 677x381mm (26.65x15.00")
    s-diag: 777mm (30.58") monitors: <missing: xrandr>
  Monitor-1: DVI-D-1 model: Philips PHL 246E9Q serial: <filter> built: 2020
    res: 1920x1080 dpi: 93 gamma: 1.2 chroma: red: x: 0.663 y: 0.310 green:
    x: 0.275 y: 0.671 blue: x: 0.149 y: 0.051 white: x: 0.314 y: 0.329
    size: 527x296mm (20.75x11.65") diag: 604mm (23.8") ratio: 16:9
    modes: 1920x1080, 1680x1050, 1280x1024, 1440x900, 1280x960, 1280x800,
    1280x720, 1024x768, 832x624, 800x600, 720x576, 720x480, 640x480, 720x400
  Monitor-2: HDMI-A-1 model: Philips 32M1C5500V serial: <filter> built: 2024
    res: 2560x1440 dpi: 93 gamma: 1.2 chroma: red: x: 0.675 y: 0.314 green:
    x: 0.282 y: 0.647 blue: x: 0.149 y: 0.063 white: x: 0.314 y: 0.329
    size: 697x392mm (27.44x15.43") diag: 800mm (31.5") ratio: 16:9
    modes: 2560x1440, 3840x2160, 1920x1200, 1920x1080, 1600x1200, 1680x1050,
    1280x1024, 1440x900, 1280x800, 1280x720, 1024x768, 832x624, 800x600,
    720x576, 720x480, 640x480, 720x400
  EDID-Warnings: 1: parse_edid: unhandled CEA mode 96 2: parse_edid:
    unhandled CEA mode 97
  API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0 drv: radeonsi
    device: 1 drv: swrast gbm: drv: radeonsi surfaceless: drv: radeonsi x11:
    drv: radeonsi inactive: wayland
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 24.2.8-arch1.1
    glx-v: 1.4 direct-render: yes renderer: AMD Radeon RX 470 Graphics (radeonsi
    polaris10 LLVM 18.1.8 DRM 3.59 6.13.0-rc2-1-MANJARO) device-ID: 1002:67df
    memory: 3.91 GiB unified: no
  API: Vulkan v: 1.4.303 layers: N/A device: 0 type: discrete-gpu name: AMD
    Radeon RX 470 Graphics (RADV POLARIS10) driver: N/A device-ID: 1002:67df
    surfaces: xcb,xlib
  Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo
    de: kscreen-console,kscreen-doctor wl: wayland-info x11: xdpyinfo,xprop
Audio:
  Device-1: Intel 200 Series PCH HD Audio vendor: ASRock driver: snd_hda_intel
    v: kernel alternate: snd_soc_avs bus-ID: 00:1f.3 chip-ID: 8086:a2f0
    class-ID: 0403
  Device-2: Advanced Micro Devices [AMD/ATI] Ellesmere HDMI Audio [Radeon RX
    470/480 / 570/580/590] vendor: Tul / PowerColor driver: snd_hda_intel
    v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 01:00.1
    chip-ID: 1002:aaf0 class-ID: 0403
  API: ALSA v: k6.13.0-rc2-1-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: JACK v: 1.9.22 status: off tools: N/A
  Server-2: PipeWire v: 1.2.7 status: n/a (root, process) with:
    1: pipewire-pulse status: active 2: wireplumber status: active
    3: pipewire-alsa type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    vendor: ASRock driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1
    port: d000 bus-ID: 02:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp2s0 state: up speed: 100 Mbps duplex: full mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: noprefixroute scope: link
  IF-ID-1: tun0 state: unknown speed: 10000 Mbps duplex: full mac: N/A
  IP v4: <filter> type: noprefixroute scope: global broadcast: <filter>
  IP v6: <filter> type: noprefixroute scope: global
  IP v6: <filter> virtual: stable-privacy proto kernel_ll scope: link
  Info: services: NetworkManager,nginx
  WAN IP: <filter>
Bluetooth:
  Message: No bluetooth data found.
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 7.51 TiB used: 68.63 GiB (0.9%)
  ID-1: /dev/sda maj-min: 8:0 vendor: GOODRAM model: SSDPR-CX400-128-G2
    size: 119.24 GiB block-size: physical: 512 B logical: 512 B sata: 3.2
    speed: 6.0 Gb/s tech: SSD serial: <filter> fw-rev: 117D temp: 48 C
    scheme: MBR
  SMART: yes state: enabled health: PASSED on: 281d 11h cycles: 2594
    read: 6.9 MiB written: 4.7 MiB
  ID-2: /dev/sdb maj-min: 8:16 vendor: Western Digital
    model: WD8004FRYZ-01VAEB0 family: Gold size: 7.28 TiB block-size:
    physical: 4096 B logical: 512 B sata: 3.2 speed: 6.0 Gb/s tech: HDD
    rpm: 7200 serial: <filter> fw-rev: 1H01 temp: 21 C scheme: GPT
  SMART: yes state: enabled health: PASSED on: 1y 282d 19h cycles: 3832
    Old-Age: UDMA CRC errors: 55176 alert: Bad cable/connection?
  ID-3: /dev/sdc maj-min: 8:32 vendor: Apacer model: AS350 128GB
    family: AS340/350 SSDs size: 119.24 GiB block-size: physical: 512 B
    logical: 512 B sata: 3.2 speed: 6.0 Gb/s tech: SSD serial: <filter>
    fw-rev: 1A0 temp: 40 C scheme: GPT
  SMART: yes state: enabled health: PASSED on: 103d 1h cycles: 718
    read: 223.8 MiB written: 99.4 MiB
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 118.23 GiB size: 118.23 GiB (100.00%)
    used: 68.63 GiB (58.0%) fs: btrfs block-size: 4096 B dev: /dev/sdc3
    maj-min: 8:35 label: N/A uuid: fc9caf00-0029-4bec-8699-cbb3666826f1
  ID-2: /home raw-size: 118.23 GiB size: 118.23 GiB (100.00%)
    used: 68.63 GiB (58.0%) fs: btrfs block-size: 4096 B dev: /dev/sdc3
    maj-min: 8:35 label: N/A uuid: fc9caf00-0029-4bec-8699-cbb3666826f1
  ID-3: /var/cache raw-size: 118.23 GiB size: 118.23 GiB (100.00%)
    used: 68.63 GiB (58.0%) fs: btrfs block-size: 4096 B dev: /dev/sdc3
    maj-min: 8:35 label: N/A uuid: fc9caf00-0029-4bec-8699-cbb3666826f1
  ID-4: /var/log raw-size: 118.23 GiB size: 118.23 GiB (100.00%)
    used: 68.63 GiB (58.0%) fs: btrfs block-size: 4096 B dev: /dev/sdc3
    maj-min: 8:35 label: N/A uuid: fc9caf00-0029-4bec-8699-cbb3666826f1
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default) zswap: no
  ID-1: swap-1 type: partition size: 1024 MiB used: 0 KiB (0.0%) priority: -2
    dev: /dev/sdc2 maj-min: 8:34 label: N/A
    uuid: 36296a83-f3de-4c61-8adf-55423bf98b29
Unmounted:
  ID-1: /dev/sda1 maj-min: 8:1 size: 8 MiB fs: N/A label: N/A uuid: N/A
  ID-2: /dev/sdb1 maj-min: 8:17 size: 104.49 GiB fs: ext4 label: N/A
    uuid: e405ed98-e8df-459f-a1d2-652bf1426f76
  ID-3: /dev/sdb3 maj-min: 8:19 size: 7.18 TiB fs: ext4 label: hdd
    uuid: 387b4c95-81fb-4242-b4f8-226a55fae1cb
  ID-4: /dev/sdc1 maj-min: 8:33 size: 9 MiB fs: N/A label: N/A uuid: N/A
USB:
  Hub-1: 1-0:1 info: hi-speed hub with single TT ports: 10 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Device-1: 1-1:2 info: USB OPTICAL MOUSE type: mouse,keyboard
    driver: hid-generic,usbhid interfaces: 2 rev: 1.1 speed: 1.5 Mb/s (183 KiB/s)
    lanes: 1 mode: 1.0 power: 100mA chip-ID: 4e53:5406 class-ID: 0301
  Device-2: 1-8:3 info: China Resource Semico USB Keyboard
    type: keyboard,mouse driver: hid-generic,usbhid interfaces: 2 rev: 1.1
    speed: 1.5 Mb/s (183 KiB/s) lanes: 1 mode: 1.0 power: 500mA
    chip-ID: 1a2c:4c5e class-ID: 0301
  Hub-2: 2-0:1 info: super-speed hub ports: 4 rev: 3.0
    speed: 5 Gb/s (596.0 MiB/s) lanes: 1 mode: 3.2 gen-1x1 chip-ID: 1d6b:0003
    class-ID: 0900
Sensors:
  System Temperatures: cpu: 31.0 C mobo: N/A gpu: amdgpu temp: 37.0 C
  Fan Speeds (rpm): N/A gpu: amdgpu fan: 195
Repos:
  Packages: pm: pacman pkgs: 1452 libs: 358 tools: pamac,yay pm: flatpak
    pkgs: 0
  Active pacman repo servers in: /etc/pacman.d/mirrorlist
    1: https://mirror.bouwhuis.network/manjaro/stable/$repo/$arch
    2: https://manjaro.mirrors.lavatech.top/stable/$repo/$arch
    3: https://mirror.koddos.net/manjaro/stable/$repo/$arch
Processes:
  CPU top: 5 of 277
  1: cpu: 100% command: ps pid: 3230 mem: 3.75 MiB (0.0%)
  2: cpu: 8.6% command: opera pid: 1591 mem: 194.9 MiB (1.2%)
  3: cpu: 7.6% command: opera pid: 1409 mem: 564.1 MiB (3.5%)
  4: cpu: 5.3% command: kwin_wayland pid: 759 mem: 396.7 MiB (2.4%)
  5: cpu: 4.5% command: opera pid: 2251 mem: 553.4 MiB (3.4%)
  Memory top: 5 of 277
  1: mem: 564.1 MiB (3.5%) command: opera pid: 1409 cpu: 7.6%
  2: mem: 553.4 MiB (3.4%) command: opera pid: 2251 cpu: 4.5%
  3: mem: 505.7 MiB (3.1%) command: opera pid: 2223 cpu: 2.8%
  4: mem: 396.7 MiB (2.4%) command: kwin_wayland pid: 759 cpu: 5.3%
  5: mem: 396.1 MiB (2.4%) command: opera pid: 2503 cpu: 4.4%
Info:
  Processes: 277 Power: uptime: 2m states: freeze,mem,disk suspend: deep
    avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
    suspend, test_resume image: 6.2 GiB services: org_kde_powerdevil,
    power-profiles-daemon, upowerd Init: systemd v: 256 default: graphical
    tool: systemctl
  Compilers: clang: 18.1.8 gcc: 14.2.1 Shell: Sudo (sudo) v: 1.9.16p2
    default: Bash v: 5.2.37 running-in: konsole inxi: 3.3.37

I tried to run the program via sudo.
To my surprise, I did not find an item with PipeWire when creating a source, but only with XSHM.
When adding this source, the program only captures the mouse cursor when it is over it. No other data gets into the capture area.
This is very sad, because I often record video courses. And what to do is hard to say.
I tried updating the Linux kernel, started with a new kernel. But this also did not give a result.


I managed to set up only window capture. But I need to capture not only the browser, but also, for example, Code OSS. Any ideas, guys?



The first screenshot is without sudo.
The second one is with sudo.



It help me