Hyprland icon indicating copy to clipboard operation
Hyprland copied to clipboard

Window sharing freezes if when recording fullscreen wayland osu

Open JustSimplyKyle opened this issue 2 years ago • 10 comments

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

JustSimplyKyle avatar Dec 08 '22 12:12 JustSimplyKyle

can you try sharing osu and pass the log?

vaxerski avatar Dec 08 '22 12:12 vaxerski

The hyprland log or the xdph log

JustSimplyKyle avatar Dec 08 '22 12:12 JustSimplyKyle

Basically this image

JustSimplyKyle avatar Dec 08 '22 12:12 JustSimplyKyle

hyprland log and xdph log from running with -l DEBUG

vaxerski avatar Dec 08 '22 13:12 vaxerski

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

JustSimplyKyle avatar Dec 09 '22 13:12 JustSimplyKyle

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.

jabuxas avatar Dec 14 '22 19:12 jabuxas

Not fixed on my end, using latest git.

JustSimplyKyle avatar Dec 17 '22 06:12 JustSimplyKyle

Retroarch has this behaviour too

JustSimplyKyle avatar Dec 17 '22 10:12 JustSimplyKyle

Did you try the plugin?

jabuxas avatar Dec 17 '22 17:12 jabuxas

Yes I know the plugin and uses it. Side note, I do use glfw-wayland

JustSimplyKyle avatar Dec 18 '22 02:12 JustSimplyKyle

Is this still a thing?

izmyname avatar Jul 25 '24 07:07 izmyname

works now for me!

JustSimplyKyle avatar Jul 25 '24 12:07 JustSimplyKyle