Hyprland
Hyprland copied to clipboard
Window sharing freezes if when recording fullscreen wayland osu
Currently, I'm trying to record osu(via window sharing) But it can't, it freezes. But only if I'm on the workspace that osu is on If I move to another workspace, osu records fine! This issue only occurs when osu is launched with wayland while in fullscreen
can you try sharing osu and pass the log?
The hyprland log or the xdph log
Basically this

hyprland log and xdph log from running with -l DEBUG
2022/12/09 21:21:53 [INFO] - dbus: create session method invoked
2022/12/09 21:21:53 [INFO] - dbus: request_handle: /org/freedesktop/portal/desktop/request/1_173/obs4
2022/12/09 21:21:53 [INFO] - dbus: session_handle: /org/freedesktop/portal/desktop/session/1_173/obs2
2022/12/09 21:21:53 [INFO] - dbus: app_id:
2022/12/09 21:21:53 [INFO] - dbus: select sources method invoked
2022/12/09 21:21:53 [INFO] - dbus: request_handle: /org/freedesktop/portal/desktop/request/1_173/obs5
2022/12/09 21:21:53 [INFO] - dbus: session_handle: /org/freedesktop/portal/desktop/session/1_173/obs2
2022/12/09 21:21:53 [INFO] - dbus: app_id:
2022/12/09 21:21:53 [INFO] - dbus: option types:1
2022/12/09 21:21:53 [INFO] - dbus: option multiple: 0
2022/12/09 21:21:53 [INFO] - dbus: option cursor_mode:2
2022/12/09 21:21:53 [WARN] - dbus: unknown option persist_mode
2022/12/09 21:21:53 [DEBUG] - dbus: select sources: found matching session /org/freedesktop/portal/desktop/session/1_173/obs2
2022/12/09 21:21:53 [INFO] - wlroots: capturable output: ASUSTek COMPUTER INC model: ROG XG279Q: id: 44 name: DP-3
2022/12/09 21:21:53 [INFO] - wlroots: capturable output: ASUSTek COMPUTER INC model: VZ249: id: 45 name: HDMI-A-1
2022/12/09 21:21:56 [INFO] - xdpw: screencast instance 0x56365cb28530 has 1 references
2022/12/09 21:21:56 [INFO] - xdpw: 1 active screencast instances
2022/12/09 21:21:56 [INFO] - hyprland: window handle -1285922144
2022/12/09 21:21:56 [INFO] - dbus: start method invoked
2022/12/09 21:21:56 [INFO] - dbus: request_handle: /org/freedesktop/portal/desktop/request/1_173/obs6
2022/12/09 21:21:56 [INFO] - dbus: session_handle: /org/freedesktop/portal/desktop/session/1_173/obs2
2022/12/09 21:21:56 [INFO] - dbus: app_id:
2022/12/09 21:21:56 [INFO] - dbus: parent_window:
2022/12/09 21:21:56 [DEBUG] - dbus: start: found matching session /org/freedesktop/portal/desktop/session/1_173/obs2
2022/12/09 21:21:56 [INFO] - wlroots: no modifiers available for format 0
2022/12/09 21:21:56 [INFO] - pipewire: stream state changed to "connecting"
2022/12/09 21:21:56 [INFO] - pipewire: node id is -1
2022/12/09 21:21:56 [INFO] - pipewire: stream state changed to "paused"
2022/12/09 21:21:56 [INFO] - pipewire: node id is 90
2022/12/09 21:21:56 [DEBUG] - dbus: start: returning node 90
2022/12/09 21:21:56 [DEBUG] - pipewire: Format negotiated:
2022/12/09 21:21:56 [DEBUG] - pipewire: buffer_type: 0 (4)
2022/12/09 21:21:56 [DEBUG] - pipewire: format: 7
2022/12/09 21:21:56 [DEBUG] - pipewire: modifier: 0
2022/12/09 21:21:56 [DEBUG] - pipewire: size: (2560, 1440)
2022/12/09 21:21:56 [DEBUG] - pipewire: max_framerate: (60 / 1)
2022/12/09 21:21:56 [DEBUG] - pipewire: add buffer event handle
2022/12/09 21:21:56 [DEBUG] - pipewire: add buffer event handle
2022/12/09 21:21:56 [INFO] - pipewire: stream state changed to "streaming"
2022/12/09 21:21:56 [INFO] - pipewire: node id is 90
2022/12/09 21:22:03 [DEBUG] - fps_limit: average FPS in the last 5.01 seconds: 59.84
2022/12/09 21:22:08 [DEBUG] - fps_limit: average FPS in the last 5.01 seconds: 28.76
2022/12/09 21:22:13 [DEBUG] - fps_limit: average FPS in the last 5.01 seconds: 59.72
2022/12/09 21:22:23 [DEBUG] - fps_limit: average FPS in the last 9.94 seconds: 4.02
2022/12/09 21:22:28 [DEBUG] - fps_limit: average FPS in the last 5.01 seconds: 59.85
xdph log, it seems like the average fps_limit drops drastically when it was focused in osu but the log itself isn't updated when I am focused in osu
hyprland https://0x0.st/od44.log
It works fine for me on git xdp-wlr, hyprland version 0.17, obs 28.1.2, pipewire 0.3.59. Maybe you can try obs-vkcapture plugin that enables Game Capture.
Not fixed on my end, using latest git.
Retroarch has this behaviour too
Did you try the plugin?
Yes I know the plugin and uses it. Side note, I do use glfw-wayland
Is this still a thing?
works now for me!