Trying to Stream or Record any application on fullscreen freezes the application

While trying to stream or record (Via Discord Canary or Obs Flatpak) any game, application or anything that is running on fullscreen mode, it will cause the application to freeze after alt-tabbing back into the application, but not a normal freeze. Instead it just makes the application image to get stuck but the application keeps working, audio included. If you close obs, stop streaming on discord or remove the capture source for that window, the game/application will behave as normal.

inxi -Fxxc0z:

System:
  Kernel: 6.12.8-arch1-1 arch: x86_64 bits: 64 compiler: gcc v: 14.2.1
  Desktop: KDE Plasma v: 6.2.5 tk: Qt v: N/A wm: kwin_wayland dm: SDDM
    Distro: EndeavourOS base: Arch Linux
Machine:
  Type: Desktop System: Gigabyte product: B450M DS3H v: N/A
    serial: <superuser required>
  Mobo: Gigabyte model: B450M DS3H-CF serial: <superuser required>
    UEFI: American Megatrends LLC. v: F67b date: 07/11/2024
CPU:
  Info: 6-core model: AMD Ryzen 5 5600 bits: 64 type: MT MCP arch: Zen 3+
    rev: 2 cache: L1: 384 KiB L2: 3 MiB L3: 32 MiB
  Speed (MHz): avg: 3739 min/max: 550/4468 boost: enabled cores: 1: 3739
    2: 3739 3: 3739 4: 3739 5: 3739 6: 3739 7: 3739 8: 3739 9: 3739 10: 3739
    11: 3739 12: 3739 bogomips: 84024
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
  Device-1: Advanced Micro Devices [AMD/ATI] Navi 23 [Radeon RX 6600/6600
    XT/6600M] vendor: XFX driver: amdgpu v: kernel arch: RDNA-2 pcie:
    speed: 16 GT/s lanes: 16 ports: active: DP-2 empty: DP-1, DP-3, HDMI-A-1,
    Writeback-1 bus-ID: 09:00.0 chip-ID: 1002:73ff
  Display: wayland server: X.org v: 1.21.1.15 with: Xwayland v: 24.1.4
    compositor: kwin_wayland driver: X: loaded: amdgpu
    unloaded: modesetting,radeon alternate: fbdev,vesa dri: radeonsi
    gpu: amdgpu display-ID: 0
  Monitor-1: DP-2 res: 1920x1080 size: N/A
  API: EGL v: 1.5 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.3.3-arch1.1
    glx-v: 1.4 direct-render: yes renderer: AMD Radeon RX 6600 (radeonsi navi23
    LLVM 18.1.8 DRM 3.59 6.12.8-arch1-1) device-ID: 1002:73ff display-ID: :1.0
  API: Vulkan v: 1.4.303 surfaces: xcb,xlib,wayland device: 0
    type: discrete-gpu driver: N/A device-ID: 1002:73ff
Audio:
  Device-1: Advanced Micro Devices [AMD/ATI] Navi 21/23 HDMI/DP Audio
    driver: snd_hda_intel v: kernel pcie: speed: 16 GT/s lanes: 16
    bus-ID: 09:00.1 chip-ID: 1002:ab28
  Device-2: Advanced Micro Devices [AMD] Starship/Matisse HD Audio
    vendor: Gigabyte driver: snd_hda_intel v: kernel pcie: speed: 16 GT/s
    lanes: 16 bus-ID: 0b:00.4 chip-ID: 1022:1487
  API: ALSA v: k6.12.8-arch1-1 status: kernel-api
  Server-1: PipeWire v: 1.2.7 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin
Network:
  Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    vendor: Gigabyte driver: r8169 v: kernel pcie: speed: 2.5 GT/s lanes: 1
    port: f000 bus-ID: 05:00.0 chip-ID: 10ec:8168
  IF: enp5s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  IF-ID-1: ztyqbzb64o state: unknown speed: 10000 Mbps duplex: full
    mac: <filter>
Bluetooth:
  Device-1: Realtek Bluetooth Radio driver: btusb v: 0.8 type: USB rev: 1.1
    speed: 12 Mb/s lanes: 1 bus-ID: 1-2:2 chip-ID: 0bda:8771
  Report: btmgmt ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 5.1
    lmp-v: 10
Drives:
  Local Storage: total: 2.26 TiB used: 1.95 TiB (86.4%)
  ID-1: /dev/nvme0n1 vendor: Crucial model: CT1000P3SSD8 size: 931.51 GiB
    speed: 31.6 Gb/s lanes: 4 serial: <filter> temp: 40.9 C
  ID-2: /dev/sda vendor: Kingston model: SA400S37480G size: 447.13 GiB
    speed: 6.0 Gb/s serial: <filter>
  ID-3: /dev/sdb vendor: Seagate model: ST1000DM010-2EP102 size: 931.51 GiB
    speed: 6.0 Gb/s serial: <filter>
Partition:
  ID-1: / size: 914.83 GiB used: 785.7 GiB (85.9%) fs: ext4
    dev: /dev/nvme0n1p2
Swap:
  ID-1: swap-1 type: file size: 512 MiB used: 512 MiB (100.0%) priority: -2
    file: /swapfile
Sensors:
  System Temperatures: cpu: 45.6 C mobo: 36.0 C gpu: amdgpu temp: 54.0 C
    mem: 52.0 C
  Fan Speeds (rpm): N/A gpu: amdgpu fan: 0
Info:
  Memory: total: 16 GiB available: 15.54 GiB used: 13.5 GiB (86.8%)
  Processes: 373 Power: uptime: 6h 28m wakeups: 0 Init: systemd v: 257
    default: graphical
  Packages: 1444 pm: pacman pkgs: 1412 pm: flatpak pkgs: 32 Compilers:
    clang: 18.1.8 gcc: 14.2.1 Shell: Bash v: 5.2.37 running-in: konsole
    inxi: 3.3.36

sudo journalctl --since "1 min ago" | eos-sendlog

https://0x0.st/8i7C.txt

How to reproduce:

  1. Boot OBS or discord canary.
  2. Add the fullscreen window as the window being capture
  3. Start Recording or streaming.
  4. Alt-tab back into the fullscreen window.
  5. Notice the application has frozen but still running and still has audio.

The one that happens the most is discord, sometimes obs does it. other times it works fine.

Video showcasing this bug:

In OBS, what screen capture method are you using? PipeWire or XSHM?

  • PipeWire is for Wayland screen capture.
  • XSHM is for X11 screen capture.

Have you tested under an X11 session?

In OBS I’m using pipewire Capture!

Will be testing on X11 soon.

Alright, tested on X11, streaming doesn’t freeze the fullscreen applications, so maybe a wayland issue?

1 Like

Checked on the obs discord, found two users with the same exact problem and even one with footage: https://www.youtube.com/watch?v=Gm7_oYRIaM4

It could be a bug with KDE’s portal on wayland and sadly, the only “fix” there is…it’s just waiting until it gets fixed :confused:

After the newest Plasma update on arch linux stable repo, it works again :smiley:
Glad it got fixed.

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