OBS Problem[Arch] - eviltoast

I used OBS, and everything was okay, but after I reinstalled the system and switched from XFCE to KDE Plasma, I encountered an error. I have no idea what changed, except for the desktop environment, and I don’t know why I am facing these problems now. OBS freezes my PC and closes every game (I guess?).

[h264_nvenc @ 0x560bc40b0b80] Using global_quality with nvenc is deprecated. Use qp instead.

info: ==== Replay Buffer Start =========================================== warning: Failed to create xdg-screensaver: 2 info: [window-capture: ‘Window Capture (Xcomposite)’] update settings: title: Desktop @ QRect(0,0 1920x1080) — Plasma class: plasmashell

warning: Failed to create xdg-screensaver: 2 error: [NVIDIA NVENC H.264 (FFmpeg) encoder: ‘simple_video_recording’] Encoding queue duration surpassed 5 seconds, terminating encoder error: Error encoding with encoder ‘simple_video_recording’

info: Output ‘Replay Buffer’: stopping info: Output ‘Replay Buffer’: Total frames output: 2990 info: Output ‘Replay Buffer’: Total drawn frames: 2949 (3002 attempted) info: Output ‘Replay Buffer’: Number of lagged frames due to rendering lag/stalls: 53 (1.8%)

info: ==== Replay Buffer Stop ============================================ info: libfdk_aac encoder destroyed info: libfdk_aac encoder destroyed warning: Failed to create xdg-screensaver: 2

  • Dotdev@programming.dev
    link
    fedilink
    English
    arrow-up
    4
    ·
    1 year ago

    You are running nvidia on wayland.If you are fine with not using your nvidia card for recording switch the encoder to h.264.

  • jaykstah@waveform.social
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Honestly I’d recommend going to ~/.config/obs-studio and making a backup of your scenes then deleting the originals. Start up OBS and set things up again.

    I’ve had similar issues when switching between KDE Plasma and sway, if I left the old scenes there OBS would break after switching enviornments. Once I deleted the scenes it would work fine.