OBS Window capture freezing games

Hi there, I’ve been scouring all night to see if anyone has had this same issue, but nobody in my search seems to have brought up my particular issue so I thought I’d try asking here.

My problem here is whenever trying to window capture games in OBS on Wayland, these games would essentially just freeze and lock up and end up being unplayable. However this only seems to affect games being played via WINE/Proton, games with native Linux versions are seemingly unaffected by this problem. This seems to be a fairly recent occurrence as I’ve personally not experienced this until earlier this month.

However, this problem is completely negated via screen capture and choosing my monitor as the display. Games seem to work perfectly fine that way regardless whether they are native Linux versions or played via WINE/Proton.

To be completely honest, I’m really not sure how I can even report this issue or which project to bring this issue to light with. I’m not sure if it’s an OBS issue, a WINE issue or a Wayland issue and I’ve yet to find a permanent fix as I much prefer capturing games via window capture. Has anyone else experienced this problem and which project would be best to report this problem to?

Steps to reproduce:

  • Log in to a Wayland session
  • Open OBS Studio
  • Add Screen Capture (select windows tab)
  • Open WINE/Proton game
  • Select game window in Screen Capture (optional, so long as the game window is selectable and Screen Capture remains opened on the windows tab)
  • Watch as the game proceeds to freeze and lock up
System:
  Kernel: 6.11.8-zen1-2-zen arch: x86_64 bits: 64 compiler: gcc v: 14.2.1
    clocksource: tsc avail: hpet,acpi_pm
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=c87e17cf-c2aa-4cb7-9b3f-535b1b50e245 rw rootflags=subvol=@
    quiet quiet rd.udev.log_priority=3 vt.global_cursor_default=0 loglevel=3
    ibt=off
  Desktop: KDE Plasma v: 6.2.3 tk: Qt v: N/A info: frameworks v: 6.8.0
    wm: kwin_wayland with: krunner vt: 1 dm: SDDM Distro: Garuda
    base: Arch Linux
Machine:
  Type: Desktop System: Tactus product: Custom v: N/A
    serial: <superuser required>
  Mobo: ASUSTeK model: ROG STRIX X570-E GAMING WIFI II v: Rev X.0x
    serial: <superuser required> part-nu: SKU uuid: <superuser required>
    UEFI: American Megatrends v: 5003 date: 10/07/2023
CPU:
  Info: model: AMD Ryzen 9 5900X bits: 64 type: MT MCP arch: Zen 3+ gen: 3
    level: v3 note: check built: 2022 process: TSMC n6 (7nm) family: 0x19 (25)
    model-id: 0x21 (33) stepping: 2 microcode: 0xA20120E
  Topology: cpus: 1x dies: 1 clusters: 1 cores: 12 threads: 24 tpc: 2
    smt: enabled cache: L1: 768 KiB desc: d-12x32 KiB; i-12x32 KiB L2: 6 MiB
    desc: 12x512 KiB L3: 64 MiB desc: 2x32 MiB
  Speed (MHz): avg: 3901 min/max: 550/5219 boost: disabled scaling:
    driver: amd-pstate-epp governor: powersave cores: 1: 3901 2: 3901 3: 3901
    4: 3901 5: 3901 6: 3901 7: 3901 8: 3901 9: 3901 10: 3901 11: 3901 12: 3901
    13: 3901 14: 3901 15: 3901 16: 3901 17: 3901 18: 3901 19: 3901 20: 3901
    21: 3901 22: 3901 23: 3901 24: 3901 bogomips: 187200
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities: <filter>
Graphics:
  Device-1: Advanced Micro Devices [AMD/ATI] Navi 21 [Radeon RX 6800/6800 XT
    / 6900 XT] vendor: Gigabyte driver: amdgpu v: kernel arch: RDNA-2
    code: Navi-2x process: TSMC n7 (7nm) built: 2020-22 pcie: gen: 4
    speed: 16 GT/s lanes: 16 ports: active: DP-2 empty: DP-1, HDMI-A-1,
    HDMI-A-2, Writeback-1 bus-ID: 0c:00.0 chip-ID: 1002:73bf class-ID: 0300
  Display: wayland server: X.org v: 1.21.1.14 with: Xwayland v: 24.1.4
    compositor: kwin_wayland driver: X: loaded: amdgpu dri: radeonsi gpu: amdgpu
    display-ID: 0
  Monitor-1: DP-2 res: 2560x1440 size: N/A modes: N/A
  API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0 drv: radeonsi
    device: 1 drv: swrast gbm: drv: kms_swrast surfaceless: drv: radeonsi
    wayland: drv: radeonsi x11: drv: radeonsi
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 24.2.7-arch1.1
    glx-v: 1.4 direct-render: yes renderer: AMD Radeon RX 6800 XT (radeonsi
    navi21 LLVM 18.1.8 DRM 3.59 6.11.8-zen1-2-zen) device-ID: 1002:73bf
    memory: 15.62 GiB unified: no display-ID: :1.0
  API: Vulkan v: 1.3.295 layers: 11 device: 0 type: discrete-gpu name: AMD
    Radeon RX 6800 XT (RADV NAVI21) driver: mesa radv v: 24.2.7-arch1.1
    device-ID: 1002:73bf surfaces: xcb,xlib,wayland device: 1 type: cpu
    name: llvmpipe (LLVM 18.1.8 256 bits) driver: mesa llvmpipe
    v: 24.2.7-arch1.1 (LLVM 18.1.8) device-ID: 10005:0000
    surfaces: xcb,xlib,wayland
Audio:
  Device-1: Advanced Micro Devices [AMD/ATI] Navi 21/23 HDMI/DP Audio
    driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
    bus-ID: 0c:00.1 chip-ID: 1002:ab28 class-ID: 0403
  Device-2: Advanced Micro Devices [AMD] Starship/Matisse HD Audio
    vendor: ASUSTeK driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s
    lanes: 16 bus-ID: 0e:00.4 chip-ID: 1022:1487 class-ID: 0403
  Device-3: Creative Pebble V3 driver: hid-generic,snd-usb-audio,usbhid
    type: USB rev: 1.1 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-2:2
    chip-ID: 041e:3272 class-ID: 0300 serial: <filter>
  Device-4: RODE Microphones NT-USB driver: hid-generic,snd-usb-audio,usbhid
    type: USB rev: 1.1 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-4:4
    chip-ID: 19f7:0003 class-ID: 0300
  API: ALSA v: k6.11.8-zen1-2-zen status: kernel-api with: aoss
    type: oss-emulator tools: N/A
  Server-1: PipeWire v: 1.2.6 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: MEDIATEK MT7921K Wi-Fi 6E 80MHz driver: mt7921e v: kernel pcie:
    gen: 2 speed: 5 GT/s lanes: 1 bus-ID: 04:00.0 chip-ID: 14c3:0608
    class-ID: 0280
  IF: wlp4s0 state: up mac: <filter>
  Device-2: Realtek RTL8125 2.5GbE vendor: ASUSTeK driver: r8169 v: kernel
    pcie: gen: 2 speed: 5 GT/s lanes: 1 port: e000 bus-ID: 05:00.0
    chip-ID: 10ec:8125 class-ID: 0200
  IF: enp5s0 state: down mac: <filter>
  Device-3: Intel I211 Gigabit Network vendor: ASUSTeK driver: igb v: kernel
    pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: d000 bus-ID: 06:00.0
    chip-ID: 8086:1539 class-ID: 0200
  IF: enp6s0 state: up speed: 100 Mbps duplex: full mac: <filter>
  Device-4: ASUSTek ROG KERIS WIRELESS driver: hid-generic,usbhid type: USB
    rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-3.1:5
    chip-ID: 0b05:195e class-ID: 0300
  Info: services: NetworkManager, systemd-timesyncd, wpa_supplicant
Bluetooth:
  Device-1: MediaTek Wireless_Device driver: btusb v: 0.8 type: USB rev: 2.1
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-6:7 chip-ID: 0e8d:0608
    class-ID: e001 serial: <filter>
  Report: btmgmt ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 5.2
    lmp-v: 11 status: discoverable: no pairing: no class-ID: 6c0104
Drives:
  Local Storage: total: 8.2 TiB used: 5.81 TiB (70.8%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Seagate model: FireCuda 530
    ZP1000GM30013 size: 931.51 GiB block-size: physical: 512 B logical: 512 B
    speed: 63.2 Gb/s lanes: 4 tech: SSD serial: <filter> fw-rev: SU6SM001
    temp: 44.9 C scheme: GPT
  ID-2: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 870 QVO 2TB
    size: 1.82 TiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    tech: SSD serial: <filter> fw-rev: 2B6Q
  ID-3: /dev/sdb maj-min: 8:16 vendor: Seagate model: ST2000DM008-2FR102
    size: 1.82 TiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
    tech: HDD rpm: 7200 serial: <filter> fw-rev: 0001
  ID-4: /dev/sdc maj-min: 8:32 vendor: Seagate model: ST4000NE001-2MA101
    size: 3.64 TiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
    tech: HDD rpm: 7200 serial: <filter> fw-rev: EN01
  ID-5: /dev/sdd maj-min: 8:48 vendor: SanDisk model: USB 3.2Gen1
    size: 14.34 GiB block-size: physical: 512 B logical: 512 B type: USB
    rev: 3.2 spd: 5 Gb/s lanes: 1 mode: 3.2 gen-1x1 tech: N/A serial: <filter>
    fw-rev: 1.00
  SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
Partition:
  ID-1: / raw-size: 931.22 GiB size: 931.22 GiB (100.00%)
    used: 820.03 GiB (88.1%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 584 KiB (0.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
  ID-3: /home raw-size: 931.22 GiB size: 931.22 GiB (100.00%)
    used: 820.03 GiB (88.1%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-4: /var/log raw-size: 931.22 GiB size: 931.22 GiB (100.00%)
    used: 820.03 GiB (88.1%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-5: /var/tmp raw-size: 931.22 GiB size: 931.22 GiB (100.00%)
    used: 820.03 GiB (88.1%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
  ID-1: swap-1 type: zram size: 62.7 GiB used: 4.87 GiB (7.8%) priority: 100
    comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 24 dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 45.0 C mobo: 37.0 C gpu: amdgpu temp: 58.0 C
    mem: 56.0 C
  Fan Speeds (rpm): N/A gpu: amdgpu fan: 931
Info:
  Memory: total: 64 GiB note: est. available: 62.7 GiB used: 23.45 GiB (37.4%)
  Processes: 559 Power: uptime: 4d 1h 8m states: freeze,mem,disk
    suspend: deep avail: s2idle wakeups: 0 hibernate: platform avail: shutdown,
    reboot, suspend, test_resume image: 25.06 GiB
    services: org_kde_powerdevil,upowerd Init: systemd v: 256
    default: graphical tool: systemctl
  Packages: 1779 pm: pacman pkgs: 1744 libs: 478 tools: paru,yay pm: flatpak
    pkgs: 35 Compilers: clang: 18.1.8 gcc: 14.2.1 Shell: garuda-inxi
    default: Bash v: 5.2.37 running-in: gnome-terminal inxi: 3.3.36
Garuda (2.6.26-1):
  System install date:     2023-06-21
  Last full system update: 2024-11-22 ↻
  Is partially upgraded:   No
  Relevant software:       snapper NetworkManager dracut
  Windows dual boot:       No/Undetected
  Failed units:        

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