Skip to content

Sunshine systemd service restarts after close loop #5213

Closed

Description

@solidv

Is there an existing issue for this?

  • I have searched the existing issues

Is your issue described in the documentation?

  • I have read the documentation

Is your issue present in the latest beta/pre-release?

This issue is present in the latest pre-release

Describe the Bug

If i close sunshine via icon tray in gnome. The app restarts itself. Only way to close it is using: systemctl --user stop app-dev.lizardbyte.app.Sunshine.service.
Think started to happen after this commit: dbce229

Expected Behavior

When i close via icon tray it's supposed to stay closed.

Additional Context

No response

Host Operating System

Linux

Operating System Version

Arch

Architecture

amd64/x86_64

Package

Linux - LizardByte/pacman-repo

GPU Type

AMD

GPU Model

9070XT

GPU Driver/Mesa Version

Mesa 26.1.1-arch2.1

Capture Method

XDG Portal Grab (FreeBSD/Linux)

Apps

Log output

[2026-05-29 19:50:52.313]: Info: Sunshine version: 2026.528.35537 commit: 22d9aa3b2e5fe0cee654e830b5715901b37cf0bd
[2026-05-29 19:50:52.313]: Info: Package Publisher: LizardByte
[2026-05-29 19:50:52.313]: Info: Publisher Website: https://app.lizardbyte.dev
[2026-05-29 19:50:52.313]: Info: Get support: https://app.lizardbyte.dev/support
[2026-05-29 19:50:52.313]: Info: config: 'capture' = portal
[2026-05-29 19:50:52.313]: Info: config: 'encoder' = vulkan
[2026-05-29 19:50:52.313]: Info: config: 'hevc_mode' = 0
[2026-05-29 19:50:52.313]: Info: config: 'min_log_level' = 1
[2026-05-29 19:50:52.313]: Info: config: 'notify_pre_releases' = enabled
[2026-05-29 19:50:52.313]: Info: config: 'vk_rc_mode' = 2
[2026-05-29 19:50:52.313]: Info: [portalgrab] Loaded portal restore token from disk
[2026-05-29 19:50:52.315]: Debug: [misc] has_elevated_privileges found permitted cap:21
[2026-05-29 19:50:52.401]: Info: Trying encoder [vulkan]
[2026-05-29 19:50:52.401]: Debug: [misc] has_elevated_privileges found permitted cap:21
[2026-05-29 19:50:52.401]: Info: [misc] drop_elevated_privileges succeeded in dropping capabilities
[2026-05-29 19:50:52.401]: Info: Screencasting with XDG portal
[2026-05-29 19:50:52.401]: Debug: [misc] has_elevated_privileges found permitted cap:23
[2026-05-29 19:50:52.401]: Info: [misc] drop_elevated_privileges succeeded in dropping capabilities
[2026-05-29 19:50:52.401]: Debug: [pipewire] Start PW thread loop
[2026-05-29 19:50:52.401]: Info: [pipewire] Requested frame rate [60/1, approx. 60 fps]
[2026-05-29 19:50:52.401]: Info: [wayland] Found display [wayland-0]
[2026-05-29 19:50:52.412]: Debug: EGL: [Mesa Project]: version [1.5]
[2026-05-29 19:50:52.412]: Debug: API's supported: [OpenGL OpenGL_ES ]
[2026-05-29 19:50:52.413]: Info: [portalgrab] Loaded portal restore token from disk
[2026-05-29 19:50:52.415]: Debug: [portalgrab] RemoteDesktop CreateSession response_code: 0
[2026-05-29 19:50:52.415]: Debug: [portalgrab] RemoteDesktop CreateSession: got session handle: /org/freedesktop/portal/desktop/session/1_146/Sunshine1
[2026-05-29 19:50:52.417]: Debug: [portalgrab] SelectDevices response_code: 0
[2026-05-29 19:50:52.418]: Debug: [portalgrab] SelectSources response_code: 0
[2026-05-29 19:50:52.424]: Debug: [portalgrab] RemoteDesktop Start response_code: 0
[2026-05-29 19:50:52.424]: Info: [wayland] Found display [wayland-0]
[2026-05-29 19:50:52.424]: Debug: [wayland] Available interface: wl_compositor(1) version 6
[2026-05-29 19:50:52.424]: Debug: [wayland] Available interface: wl_shm(2) version 2
[2026-05-29 19:50:52.424]: Debug: [wayland] Available interface: wl_output(3) version 4
[2026-05-29 19:50:52.424]: Info: [wayland] Found interface: wl_output(3) version 4
[2026-05-29 19:50:52.424]: Debug: [wayland] Available interface: zxdg_output_manager_v1(4) version 3
[2026-05-29 19:50:52.424]: Info: [wayland] Found interface: zxdg_output_manager_v1(4) version 3
[2026-05-29 19:50:52.424]: Debug: [wayland] Available interface: wl_data_device_manager(5) version 3
[2026-05-29 19:50:52.424]: Debug: [wayland] Available interface: xdg_toplevel_drag_manager_v1(6) version 1
[2026-05-29 19:50:52.424]: Debug: [wayland] Available interface: zwp_primary_selection_device_manager_v1(7) version 1
[2026-05-29 19:50:52.424]: Debug: [wayland] Available interface: wl_subcompositor(8) version 1
[2026-05-29 19:50:52.424]: Debug: [wayland] Available interface: xdg_wm_base(9) version 7
[2026-05-29 19:50:52.424]: Debug: [wayland] Available interface: gtk_shell1(10) version 7
[2026-05-29 19:50:52.424]: Debug: [wayland] Available interface: wp_viewporter(11) version 1
[2026-05-29 19:50:52.424]: Debug: [wayland] Available interface: wp_fractional_scale_manager_v1(12) version 1
[2026-05-29 19:50:52.424]: Debug: [wayland] Available interface: zwp_pointer_gestures_v1(13) version 3
[2026-05-29 19:50:52.424]: Debug: [wayland] Available interface: zwp_tablet_manager_v2(14) version 2
[2026-05-29 19:50:52.424]: Debug: [wayland] Available interface: wp_pointer_warp_v1(15) version 1
[2026-05-29 19:50:52.424]: Debug: [wayland] Available interface: wl_seat(16) version 10
[2026-05-29 19:50:52.424]: Debug: [wayland] Available interface: zwp_relative_pointer_manager_v1(17) version 1
[2026-05-29 19:50:52.424]: Debug: [wayland] Available interface: zwp_pointer_constraints_v1(18) version 1
[2026-05-29 19:50:52.424]: Debug: [wayland] Available interface: zxdg_exporter_v2(19) version 1
[2026-05-29 19:50:52.424]: Debug: [wayland] Available interface: zxdg_importer_v2(20) version 1
[2026-05-29 19:50:52.424]: Debug: [wayland] Available interface: zxdg_exporter_v1(21) version 1
[2026-05-29 19:50:52.424]: Debug: [wayland] Available interface: zxdg_importer_v1(22) version 1
[2026-05-29 19:50:52.424]: Debug: [wayland] Available interface: zwp_linux_dmabuf_v1(23) version 5
[2026-05-29 19:50:52.424]: Info: [wayland] Found interface: zwp_linux_dmabuf_v1(23) version 5
[2026-05-29 19:50:52.424]: Debug: [wayland] Available interface: wp_single_pixel_buffer_manager_v1(24) version 1
[2026-05-29 19:50:52.424]: Debug: [wayland] Available interface: zwp_keyboard_shortcuts_inhibit_manager_v1(25) version 1
[2026-05-29 19:50:52.424]: Debug: [wayland] Available interface: zwp_text_input_manager_v3(26) version 1
[2026-05-29 19:50:52.424]: Debug: [wayland] Available interface: wp_presentation(27) version 2
[2026-05-29 19:50:52.424]: Debug: [wayland] Available interface: xdg_activation_v1(28) version 1
[2026-05-29 19:50:52.424]: Debug: [wayland] Available interface: zwp_idle_inhibit_manager_v1(29) version 1
[2026-05-29 19:50:52.424]: Debug: [wayland] Available interface: wp_linux_drm_syncobj_manager_v1(30) version 1
[2026-05-29 19:50:52.424]: Debug: [wayland] Available interface: xdg_wm_dialog_v1(31) version 1
[2026-05-29 19:50:52.424]: Debug: [wayland] Available interface: wp_color_manager_v1(32) version 2
[2026-05-29 19:50:52.424]: Debug: [wayland] Available interface: xdg_system_bell_v1(33) version 1
[2026-05-29 19:50:52.424]: Debug: [wayland] Available interface: xdg_toplevel_tag_manager_v1(34) version 1
[2026-05-29 19:50:52.424]: Debug: [wayland] Available interface: wp_drm_lease_device_v1(35) version 1
[2026-05-29 19:50:52.424]: Debug: [wayland] Available interface: wp_commit_timing_manager_v1(36) version 1
[2026-05-29 19:50:52.424]: Debug: [wayland] Available interface: wp_fifo_manager_v1(37) version 1
[2026-05-29 19:50:52.424]: Debug: [wayland] Available interface: wp_cursor_shape_manager_v1(38) version 2
[2026-05-29 19:50:52.425]: Debug: [wayland] Available interface: wp_color_representation_manager_v1(39) version 1
[2026-05-29 19:50:52.425]: Debug: [wayland] Available interface: wl_fixes(40) version 1
[2026-05-29 19:50:52.425]: Info: [wayland] Resolution: 3840x2160
[2026-05-29 19:50:52.425]: Info: [wayland] Offset: 0x0
[2026-05-29 19:50:52.425]: Info: [wayland] Logical size: 2560x1440
[2026-05-29 19:50:52.425]: Info: [wayland] Name: DP-2
[2026-05-29 19:50:52.425]: Info: [wayland] Found monitor: AOC 32"
[2026-05-29 19:50:52.426]: Info: [portalgrab] Using first available stream as no matching stream was found for: ''
[2026-05-29 19:50:52.426]: Info: [pipewire] Streaming display '' offset: 0x0 resolution: 2560x1440
[2026-05-29 19:50:52.426]: Info: [wayland] Found display [wayland-0]
[2026-05-29 19:50:52.426]: Debug: [wayland] Available interface: wl_compositor(1) version 6
[2026-05-29 19:50:52.426]: Debug: [wayland] Available interface: wl_shm(2) version 2
[2026-05-29 19:50:52.426]: Debug: [wayland] Available interface: wl_output(3) version 4
[2026-05-29 19:50:52.426]: Info: [wayland] Found interface: wl_output(3) version 4
[2026-05-29 19:50:52.426]: Debug: [wayland] Available interface: zxdg_output_manager_v1(4) version 3
[2026-05-29 19:50:52.426]: Info: [wayland] Found interface: zxdg_output_manager_v1(4) version 3
[2026-05-29 19:50:52.426]: Debug: [wayland] Available interface: wl_data_device_manager(5) version 3
[2026-05-29 19:50:52.426]: Debug: [wayland] Available interface: xdg_toplevel_drag_manager_v1(6) version 1
[2026-05-29 19:50:52.426]: Debug: [wayland] Available interface: zwp_primary_selection_device_manager_v1(7) version 1
[2026-05-29 19:50:52.426]: Debug: [wayland] Available interface: wl_subcompositor(8) version 1
[2026-05-29 19:50:52.426]: Debug: [wayland] Available interface: xdg_wm_base(9) version 7
[2026-05-29 19:50:52.426]: Debug: [wayland] Available interface: gtk_shell1(10) version 7
[2026-05-29 19:50:52.426]: Debug: [wayland] Available interface: wp_viewporter(11) version 1
[2026-05-29 19:50:52.426]: Debug: [wayland] Available interface: wp_fractional_scale_manager_v1(12) version 1
[2026-05-29 19:50:52.426]: Debug: [wayland] Available interface: zwp_pointer_gestures_v1(13) version 3
[2026-05-29 19:50:52.426]: Debug: [wayland] Available interface: zwp_tablet_manager_v2(14) version 2
[2026-05-29 19:50:52.426]: Debug: [wayland] Available interface: wp_pointer_warp_v1(15) version 1
[2026-05-29 19:50:52.426]: Debug: [wayland] Available interface: wl_seat(16) version 10
[2026-05-29 19:50:52.426]: Debug: [wayland] Available interface: zwp_relative_pointer_manager_v1(17) version 1
[2026-05-29 19:50:52.426]: Debug: [wayland] Available interface: zwp_pointer_constraints_v1(18) version 1
[2026-05-29 19:50:52.426]: Debug: [wayland] Available interface: zxdg_exporter_v2(19) version 1
[2026-05-29 19:50:52.426]: Debug: [wayland] Available interface: zxdg_importer_v2(20) version 1
[2026-05-29 19:50:52.426]: Debug: [wayland] Available interface: zxdg_exporter_v1(21) version 1
[2026-05-29 19:50:52.426]: Debug: [wayland] Available interface: zxdg_importer_v1(22) version 1
[2026-05-29 19:50:52.426]: Debug: [wayland] Available interface: zwp_linux_dmabuf_v1(23) version 5
[2026-05-29 19:50:52.426]: Info: [wayland] Found interface: zwp_linux_dmabuf_v1(23) version 5
[2026-05-29 19:50:52.426]: Debug: [wayland] Available interface: wp_single_pixel_buffer_manager_v1(24) version 1
[2026-05-29 19:50:52.426]: Debug: [wayland] Available interface: zwp_keyboard_shortcuts_inhibit_manager_v1(25) version 1
[2026-05-29 19:50:52.426]: Debug: [wayland] Available interface: zwp_text_input_manager_v3(26) version 1
[2026-05-29 19:50:52.426]: Debug: [wayland] Available interface: wp_presentation(27) version 2
[2026-05-29 19:50:52.426]: Debug: [wayland] Available interface: xdg_activation_v1(28) version 1
[2026-05-29 19:50:52.426]: Debug: [wayland] Available interface: zwp_idle_inhibit_manager_v1(29) version 1
[2026-05-29 19:50:52.426]: Debug: [wayland] Available interface: wp_linux_drm_syncobj_manager_v1(30) version 1
[2026-05-29 19:50:52.426]: Debug: [wayland] Available interface: xdg_wm_dialog_v1(31) version 1
[2026-05-29 19:50:52.426]: Debug: [wayland] Available interface: wp_color_manager_v1(32) version 2
[2026-05-29 19:50:52.426]: Debug: [wayland] Available interface: xdg_system_bell_v1(33) version 1
[2026-05-29 19:50:52.426]: Debug: [wayland] Available interface: xdg_toplevel_tag_manager_v1(34) version 1
[2026-05-29 19:50:52.426]: Debug: [wayland] Available interface: wp_drm_lease_device_v1(35) version 1
[2026-05-29 19:50:52.426]: Debug: [wayland] Available interface: wp_commit_timing_manager_v1(36) version 1
[2026-05-29 19:50:52.426]: Debug: [wayland] Available interface: wp_fifo_manager_v1(37) version 1
[2026-05-29 19:50:52.426]: Debug: [wayland] Available interface: wp_cursor_shape_manager_v1(38) version 2
[2026-05-29 19:50:52.426]: Debug: [wayland] Available interface: wp_color_representation_manager_v1(39) version 1
[2026-05-29 19:50:52.426]: Debug: [wayland] Available interface: wl_fixes(40) version 1
[2026-05-29 19:50:52.426]: Info: [wayland] Resolution: 3840x2160
[2026-05-29 19:50:52.426]: Info: [wayland] Offset: 0x0
[2026-05-29 19:50:52.426]: Info: [wayland] Logical size: 2560x1440
[2026-05-29 19:50:52.426]: Info: [wayland] Name: DP-2
[2026-05-29 19:50:52.426]: Info: [wayland] Found monitor: AOC 32"
[2026-05-29 19:50:52.426]: Debug: [pipewire] Found output: 'DP-2' offset: 0x0 resolution: 3840x2160 logical resolution: 2560x1440
[2026-05-29 19:50:52.426]: Debug: [pipewire] Set logical resolution: 2560x1440
[2026-05-29 19:50:52.426]: Debug: [pipewire] Set desktop resolution: 3840x2160
[2026-05-29 19:50:52.426]: Debug: [pipewire] Set desktop logical resolution: 2560x1440
[2026-05-29 19:50:52.426]: Debug: [pipewire] Setup PW context
[2026-05-29 19:50:52.427]: Debug: [pipewire] Connect PW context to fd
[2026-05-29 19:50:52.427]: Debug: [pipewire] Create PW stream
[2026-05-29 19:50:52.427]: Debug: [pipewire] Connect PW stream - fd: 18 node: 70 object serial: 4294967295
[2026-05-29 19:50:52.427]: Debug: [pipewire] PipeWire stream state: unconnected -> connecting
[2026-05-29 19:50:52.428]: Info: [pipewire] Connected to pipewire version 1.6.6
[2026-05-29 19:50:52.428]: Debug: [pipewire] PipeWire stream state: connecting -> paused
[2026-05-29 19:50:52.432]: Debug: [pipewire] PipeWire stream state: paused -> error
[2026-05-29 19:50:52.432]: Info: [pipewire] Pipewire Error, id:2 seq:18 message: no more input formats
[2026-05-29 19:50:53.941]: Info: Creating encoder [h264_vulkan]
[2026-05-29 19:50:53.941]: Info: Color coding: SDR (Rec. 601)
[2026-05-29 19:50:53.941]: Info: Color depth: 8-bit
[2026-05-29 19:50:53.941]: Info: Color range: JPEG
[2026-05-29 19:50:53.949]: Debug: [Vulkan @ 0x555bf9222c00] Supported layers:
[2026-05-29 19:50:53.949]: Debug: [Vulkan @ 0x555bf9222c00] 	VK_LAYER_MANGOHUD_overlay_x86
[2026-05-29 19:50:53.949]: Debug: [Vulkan @ 0x555bf9222c00] 	VK_LAYER_MANGOHUD_overlay_x86_64
[2026-05-29 19:50:53.949]: Debug: [Vulkan @ 0x555bf9222c00] 	VK_LAYER_MESA_anti_lag
[2026-05-29 19:50:53.949]: Debug: [Vulkan @ 0x555bf9222c00] 	VK_LAYER_MESA_device_select
[2026-05-29 19:50:53.952]: Debug: [Vulkan @ 0x555bf9222c00] GPU listing:
[2026-05-29 19:50:53.952]: Debug: [Vulkan @ 0x555bf9222c00]     0: AMD Radeon RX 9070 XT (RADV GFX1201) (discrete) (0x7550)
[2026-05-29 19:50:53.952]: Debug: [Vulkan @ 0x555bf9222c00] Device 0 selected: AMD Radeon RX 9070 XT (RADV GFX1201) (discrete) (0x7550)
[2026-05-29 19:50:53.952]: Debug: [Vulkan @ 0x555bf9222c00] Using device extension VK_KHR_push_descriptor
[2026-05-29 19:50:53.952]: Debug: [Vulkan @ 0x555bf9222c00] Using device extension VK_EXT_physical_device_drm
[2026-05-29 19:50:53.952]: Debug: [Vulkan @ 0x555bf9222c00] Using device extension VK_EXT_shader_atomic_float
[2026-05-29 19:50:53.952]: Debug: [Vulkan @ 0x555bf9222c00] Using device extension VK_KHR_cooperative_matrix
[2026-05-29 19:50:53.952]: Debug: [Vulkan @ 0x555bf9222c00] Using device extension VK_EXT_shader_object
[2026-05-29 19:50:53.952]: Debug: [Vulkan @ 0x555bf9222c00] Using device extension VK_KHR_shader_subgroup_rotate
[2026-05-29 19:50:53.952]: Debug: [Vulkan @ 0x555bf9222c00] Using device extension VK_KHR_workgroup_memory_explicit_layout
[2026-05-29 19:50:53.952]: Debug: [Vulkan @ 0x555bf9222c00] Using device extension VK_KHR_shader_relaxed_extended_instruction
[2026-05-29 19:50:53.952]: Debug: [Vulkan @ 0x555bf9222c00] Using device extension VK_EXT_shader_replicated_composites
[2026-05-29 19:50:53.952]: Debug: [Vulkan @ 0x555bf9222c00] Using device extension VK_EXT_zero_initialize_device_memory
[2026-05-29 19:50:53.952]: Debug: [Vulkan @ 0x555bf9222c00] Using device extension VK_KHR_shader_expect_assume
[2026-05-29 19:50:53.952]: Debug: [Vulkan @ 0x555bf9222c00] Using device extension VK_KHR_video_maintenance1
[2026-05-29 19:50:53.952]: Debug: [Vulkan @ 0x555bf9222c00] Using device extension VK_KHR_video_maintenance2
[2026-05-29 19:50:53.952]: Debug: [Vulkan @ 0x555bf9222c00] Using device extension VK_KHR_external_memory_fd
[2026-05-29 19:50:53.952]: Debug: [Vulkan @ 0x555bf9222c00] Using device extension VK_EXT_external_memory_dma_buf
[2026-05-29 19:50:53.952]: Debug: [Vulkan @ 0x555bf9222c00] Using device extension VK_EXT_image_drm_format_modifier
[2026-05-29 19:50:53.952]: Debug: [Vulkan @ 0x555bf9222c00] Using device extension VK_KHR_external_semaphore_fd
[2026-05-29 19:50:53.952]: Debug: [Vulkan @ 0x555bf9222c00] Using device extension VK_EXT_external_memory_host
[2026-05-29 19:50:53.952]: Debug: [Vulkan @ 0x555bf9222c00] Using device extension VK_KHR_video_queue
[2026-05-29 19:50:53.952]: Debug: [Vulkan @ 0x555bf9222c00] Using device extension VK_KHR_video_encode_queue
[2026-05-29 19:50:53.952]: Debug: [Vulkan @ 0x555bf9222c00] Using device extension VK_KHR_video_decode_queue
[2026-05-29 19:50:53.952]: Debug: [Vulkan @ 0x555bf9222c00] Using device extension VK_KHR_video_encode_h264
[2026-05-29 19:50:53.952]: Debug: [Vulkan @ 0x555bf9222c00] Using device extension VK_KHR_video_decode_h264
[2026-05-29 19:50:53.952]: Debug: [Vulkan @ 0x555bf9222c00] Using device extension VK_KHR_video_encode_h265
[2026-05-29 19:50:53.952]: Debug: [Vulkan @ 0x555bf9222c00] Using device extension VK_KHR_video_decode_h265
[2026-05-29 19:50:53.952]: Debug: [Vulkan @ 0x555bf9222c00] Using device extension VK_KHR_video_decode_vp9
[2026-05-29 19:50:53.952]: Debug: [Vulkan @ 0x555bf9222c00] Using device extension VK_KHR_video_encode_av1
[2026-05-29 19:50:53.952]: Debug: [Vulkan @ 0x555bf9222c00] Using device extension VK_KHR_video_decode_av1
[2026-05-29 19:50:53.952]: Debug: [Vulkan @ 0x555bf9222c00] Queue families:
[2026-05-29 19:50:53.952]: Debug: [Vulkan @ 0x555bf9222c00]     0: graphics compute transfer sparse (queues: 1)
[2026-05-29 19:50:53.952]: Debug: [Vulkan @ 0x555bf9222c00]     1: compute transfer sparse (queues: 4)
[2026-05-29 19:50:53.952]: Debug: [Vulkan @ 0x555bf9222c00]     2: decode (queues: 1)
[2026-05-29 19:50:53.952]: Debug: [Vulkan @ 0x555bf9222c00]     3: encode (queues: 1)
[2026-05-29 19:50:53.952]: Debug: [Vulkan @ 0x555bf9222c00]     4: sparse (queues: 1)
[2026-05-29 19:50:53.955]: Debug: [Vulkan @ 0x555bf9222c00] Using device: AMD Radeon RX 9070 XT (RADV GFX1201)
[2026-05-29 19:50:53.955]: Debug: [Vulkan @ 0x555bf9222c00] Alignments:
[2026-05-29 19:50:53.955]: Debug: [Vulkan @ 0x555bf9222c00]     optimalBufferCopyRowPitchAlignment: 1
[2026-05-29 19:50:53.955]: Debug: [Vulkan @ 0x555bf9222c00]     minMemoryMapAlignment:              4096
[2026-05-29 19:50:53.955]: Debug: [Vulkan @ 0x555bf9222c00]     nonCoherentAtomSize:                64
[2026-05-29 19:50:53.955]: Debug: [Vulkan @ 0x555bf9222c00]     minImportedHostPointerAlignment:    4096
[2026-05-29 19:50:53.955]: Debug: [Vulkan @ 0x555bf9222c00] Using queue family 0 (queues: 1) for graphics
[2026-05-29 19:50:53.955]: Debug: [Vulkan @ 0x555bf9222c00] Using queue family 1 (queues: 4) for compute transfers
[2026-05-29 19:50:53.955]: Debug: [Vulkan @ 0x555bf9222c00] Using queue family 2 (queues: 1) for decode
[2026-05-29 19:50:53.955]: Debug: [Vulkan @ 0x555bf9222c00] Using queue family 3 (queues: 1) for encode
[2026-05-29 19:50:53.956]: Info: Streaming bitrate is 1000000
[2026-05-29 19:50:53.956]: Debug: [h264_vulkan @ 0x555bf91cec00] Encoder capabilities for h264 profile "High":
[2026-05-29 19:50:53.956]: Debug: [h264_vulkan @ 0x555bf91cec00]     Width: from 96 to 4096
[2026-05-29 19:50:53.956]: Debug: [h264_vulkan @ 0x555bf91cec00]     Height: from 32 to 4096
[2026-05-29 19:50:53.956]: Debug: [h264_vulkan @ 0x555bf91cec00]     Width alignment: 16
[2026-05-29 19:50:53.956]: Debug: [h264_vulkan @ 0x555bf91cec00]     Height alignment: 16
[2026-05-29 19:50:53.956]: Debug: [h264_vulkan @ 0x555bf91cec00]     Bitstream offset alignment: 256
[2026-05-29 19:50:53.956]: Debug: [h264_vulkan @ 0x555bf91cec00]     Bitstream size alignment: 8
[2026-05-29 19:50:53.956]: Debug: [h264_vulkan @ 0x555bf91cec00]     Maximum references: 17
[2026-05-29 19:50:53.956]: Debug: [h264_vulkan @ 0x555bf91cec00]     Maximum active references: 2
[2026-05-29 19:50:53.956]: Debug: [h264_vulkan @ 0x555bf91cec00]     Codec header version: 1.0.0 (driver), 1.0.0 (compiled)
[2026-05-29 19:50:53.956]: Debug: [h264_vulkan @ 0x555bf91cec00]     Encoder max quality: 4
[2026-05-29 19:50:53.956]: Debug: [h264_vulkan @ 0x555bf91cec00]     Encoder image width alignment: 16
[2026-05-29 19:50:53.956]: Debug: [h264_vulkan @ 0x555bf91cec00]     Encoder image height alignment: 16
[2026-05-29 19:50:53.956]: Debug: [h264_vulkan @ 0x555bf91cec00]     Capability flags: separate_references
[2026-05-29 19:50:53.956]: Debug: [h264_vulkan @ 0x555bf91cec00] Supported input formats:
[2026-05-29 19:50:53.956]: Debug: [h264_vulkan @ 0x555bf91cec00]     0: 1000156003
[2026-05-29 19:50:53.956]: Debug: [h264_vulkan @ 0x555bf91cec00] Allocating 131072 bytes in bind index 0 for video session
[2026-05-29 19:50:53.956]: Debug: [h264_vulkan @ 0x555bf91cec00] H264 encoder capabilities:
[2026-05-29 19:50:53.956]: Debug: [h264_vulkan @ 0x555bf91cec00]     Standard capability flags:
[2026-05-29 19:50:53.956]: Debug: [h264_vulkan @ 0x555bf91cec00]         separate_color_plane: 0
[2026-05-29 19:50:53.956]: Debug: [h264_vulkan @ 0x555bf91cec00]         qprime_y_zero_transform_bypass: 0
[2026-05-29 19:50:53.956]: Debug: [h264_vulkan @ 0x555bf91cec00]         scaling_lists: 0
[2026-05-29 19:50:53.956]: Debug: [h264_vulkan @ 0x555bf91cec00]         chroma_qp_index_offset: 0
[2026-05-29 19:50:53.956]: Debug: [h264_vulkan @ 0x555bf91cec00]         second_chroma_qp_index_offset: 0
[2026-05-29 19:50:53.956]: Debug: [h264_vulkan @ 0x555bf91cec00]         pic_init_qp: 0
[2026-05-29 19:50:53.956]: Debug: [h264_vulkan @ 0x555bf91cec00]         weighted: bipred_implicit
[2026-05-29 19:50:53.956]: Debug: [h264_vulkan @ 0x555bf91cec00]         8x8_transforms: 1
[2026-05-29 19:50:53.956]: Debug: [h264_vulkan @ 0x555bf91cec00]         disable_direct_spatial_mv_pred: 0
[2026-05-29 19:50:53.956]: Debug: [h264_vulkan @ 0x555bf91cec00]         coder: cabac cavlc
[2026-05-29 19:50:53.956]: Debug: [h264_vulkan @ 0x555bf91cec00]         direct_8x8_inference: 0
[2026-05-29 19:50:53.956]: Debug: [h264_vulkan @ 0x555bf91cec00]         constrained_intra_pred: 1
[2026-05-29 19:50:53.956]: Debug: [h264_vulkan @ 0x555bf91cec00]         deblock:
[2026-05-29 19:50:53.956]: Debug: [h264_vulkan @ 0x555bf91cec00]     Capability flags:
[2026-05-29 19:50:53.956]: Debug: [h264_vulkan @ 0x555bf91cec00]         hdr_compliance: 1
[2026-05-29 19:50:53.956]: Debug: [h264_vulkan @ 0x555bf91cec00]         pred_weight_table_generated: 0
[2026-05-29 19:50:53.956]: Debug: [h264_vulkan @ 0x555bf91cec00]         row_unaligned_slice: 1
[2026-05-29 19:50:53.956]: Debug: [h264_vulkan @ 0x555bf91cec00]         different_slice_type: 0
[2026-05-29 19:50:53.956]: Debug: [h264_vulkan @ 0x555bf91cec00]         b_frame_in_l0_list: 1
[2026-05-29 19:50:53.956]: Debug: [h264_vulkan @ 0x555bf91cec00]         b_frame_in_l1_list: 0
[2026-05-29 19:50:53.956]: Debug: [h264_vulkan @ 0x555bf91cec00]         per_pict_type_min_max_qp: 1
[2026-05-29 19:50:53.956]: Debug: [h264_vulkan @ 0x555bf91cec00]         per_slice_constant_qp: 0
[2026-05-29 19:50:53.956]: Debug: [h264_vulkan @ 0x555bf91cec00]         generate_prefix_nalu: 0
[2026-05-29 19:50:53.956]: Debug: [h264_vulkan @ 0x555bf91cec00]     Capabilities:
[2026-05-29 19:50:53.956]: Debug: [h264_vulkan @ 0x555bf91cec00]         maxLevelIdc: 0
[2026-05-29 19:50:53.956]: Debug: [h264_vulkan @ 0x555bf91cec00]         maxSliceCount: 128
[2026-05-29 19:50:53.956]: Debug: [h264_vulkan @ 0x555bf91cec00]         max(P/B)PictureL0ReferenceCount: 2 P's; 1 B's
[2026-05-29 19:50:53.956]: Debug: [h264_vulkan @ 0x555bf91cec00]         maxL1ReferenceCount: 1
[2026-05-29 19:50:53.956]: Debug: [h264_vulkan @ 0x555bf91cec00]         maxTemporalLayerCount: 4
[2026-05-29 19:50:53.956]: Debug: [h264_vulkan @ 0x555bf91cec00]         expectDyadicTemporalLayerPattern: 0
[2026-05-29 19:50:53.956]: Debug: [h264_vulkan @ 0x555bf91cec00]         min/max Qp: [0, 51]
[2026-05-29 19:50:53.956]: Debug: [h264_vulkan @ 0x555bf91cec00]         prefersGopRemainingFrames: 0
[2026-05-29 19:50:53.956]: Debug: [h264_vulkan @ 0x555bf91cec00]         requiresGopRemainingFrames: 0
[2026-05-29 19:50:53.956]: Debug: [h264_vulkan @ 0x555bf91cec00] Using intra and P-frames (supported references: 1 / 1).
[2026-05-29 19:50:53.956]: Debug: [h264_vulkan @ 0x555bf91cec00] Using level 4.2.
[2026-05-29 19:50:53.956]: Debug: [h264_vulkan @ 0x555bf91cec00] Feedback units written, overrides: 1 (SPS: 0 PPS: 1)
[2026-05-29 19:50:53.956]: Info: Vulkan encode using GPU: AMD Radeon RX 9070 XT (RADV GFX1201)
[2026-05-29 19:50:53.963]: Debug: Frame 1: IDR Keyframe (AV_FRAME_FLAG_KEY)
[2026-05-29 19:50:53.965]: Info: Creating encoder [hevc_vulkan]
[2026-05-29 19:50:53.965]: Info: Color coding: SDR (Rec. 601)
[2026-05-29 19:50:53.965]: Info: Color depth: 8-bit
[2026-05-29 19:50:53.965]: Info: Color range: JPEG
[2026-05-29 19:50:53.969]: Debug: [Vulkan @ 0x555bf91d0f40] Supported layers:
[2026-05-29 19:50:53.969]: Debug: [Vulkan @ 0x555bf91d0f40] 	VK_LAYER_MANGOHUD_overlay_x86
[2026-05-29 19:50:53.969]: Debug: [Vulkan @ 0x555bf91d0f40] 	VK_LAYER_MANGOHUD_overlay_x86_64
[2026-05-29 19:50:53.969]: Debug: [Vulkan @ 0x555bf91d0f40] 	VK_LAYER_MESA_anti_lag
[2026-05-29 19:50:53.969]: Debug: [Vulkan @ 0x555bf91d0f40] 	VK_LAYER_MESA_device_select
[2026-05-29 19:50:53.972]: Debug: [Vulkan @ 0x555bf91d0f40] GPU listing:
[2026-05-29 19:50:53.972]: Debug: [Vulkan @ 0x555bf91d0f40]     0: AMD Radeon RX 9070 XT (RADV GFX1201) (discrete) (0x7550)
[2026-05-29 19:50:53.972]: Debug: [Vulkan @ 0x555bf91d0f40] Device 0 selected: AMD Radeon RX 9070 XT (RADV GFX1201) (discrete) (0x7550)
[2026-05-29 19:50:53.972]: Debug: [Vulkan @ 0x555bf91d0f40] Using device extension VK_KHR_push_descriptor
[2026-05-29 19:50:53.972]: Debug: [Vulkan @ 0x555bf91d0f40] Using device extension VK_EXT_physical_device_drm
[2026-05-29 19:50:53.972]: Debug: [Vulkan @ 0x555bf91d0f40] Using device extension VK_EXT_shader_atomic_float
[2026-05-29 19:50:53.972]: Debug: [Vulkan @ 0x555bf91d0f40] Using device extension VK_KHR_cooperative_matrix
[2026-05-29 19:50:53.972]: Debug: [Vulkan @ 0x555bf91d0f40] Using device extension VK_EXT_shader_object
[2026-05-29 19:50:53.972]: Debug: [Vulkan @ 0x555bf91d0f40] Using device extension VK_KHR_shader_subgroup_rotate
[2026-05-29 19:50:53.972]: Debug: [Vulkan @ 0x555bf91d0f40] Using device extension VK_KHR_workgroup_memory_explicit_layout
[2026-05-29 19:50:53.972]: Debug: [Vulkan @ 0x555bf91d0f40] Using device extension VK_KHR_shader_relaxed_extended_instruction
[2026-05-29 19:50:53.972]: Debug: [Vulkan @ 0x555bf91d0f40] Using device extension VK_EXT_shader_replicated_composites
[2026-05-29 19:50:53.972]: Debug: [Vulkan @ 0x555bf91d0f40] Using device extension VK_EXT_zero_initialize_device_memory
[2026-05-29 19:50:53.972]: Debug: [Vulkan @ 0x555bf91d0f40] Using device extension VK_KHR_shader_expect_assume
[2026-05-29 19:50:53.972]: Debug: [Vulkan @ 0x555bf91d0f40] Using device extension VK_KHR_video_maintenance1
[2026-05-29 19:50:53.972]: Debug: [Vulkan @ 0x555bf91d0f40] Using device extension VK_KHR_video_maintenance2
[2026-05-29 19:50:53.972]: Debug: [Vulkan @ 0x555bf91d0f40] Using device extension VK_KHR_external_memory_fd
[2026-05-29 19:50:53.972]: Debug: [Vulkan @ 0x555bf91d0f40] Using device extension VK_EXT_external_memory_dma_buf
[2026-05-29 19:50:53.972]: Debug: [Vulkan @ 0x555bf91d0f40] Using device extension VK_EXT_image_drm_format_modifier
[2026-05-29 19:50:53.972]: Debug: [Vulkan @ 0x555bf91d0f40] Using device extension VK_KHR_external_semaphore_fd
[2026-05-29 19:50:53.972]: Debug: [Vulkan @ 0x555bf91d0f40] Using device extension VK_EXT_external_memory_host
[2026-05-29 19:50:53.972]: Debug: [Vulkan @ 0x555bf91d0f40] Using device extension VK_KHR_video_queue
[2026-05-29 19:50:53.972]: Debug: [Vulkan @ 0x555bf91d0f40] Using device extension VK_KHR_video_encode_queue
[2026-05-29 19:50:53.972]: Debug: [Vulkan @ 0x555bf91d0f40] Using device extension VK_KHR_video_decode_queue
[2026-05-29 19:50:53.972]: Debug: [Vulkan @ 0x555bf91d0f40] Using device extension VK_KHR_video_encode_h264
[2026-05-29 19:50:53.972]: Debug: [Vulkan @ 0x555bf91d0f40] Using device extension VK_KHR_video_decode_h264
[2026-05-29 19:50:53.972]: Debug: [Vulkan @ 0x555bf91d0f40] Using device extension VK_KHR_video_encode_h265
[2026-05-29 19:50:53.972]: Debug: [Vulkan @ 0x555bf91d0f40] Using device extension VK_KHR_video_decode_h265
[2026-05-29 19:50:53.972]: Debug: [Vulkan @ 0x555bf91d0f40] Using device extension VK_KHR_video_decode_vp9
[2026-05-29 19:50:53.972]: Debug: [Vulkan @ 0x555bf91d0f40] Using device extension VK_KHR_video_encode_av1
[2026-05-29 19:50:53.972]: Debug: [Vulkan @ 0x555bf91d0f40] Using device extension VK_KHR_video_decode_av1
[2026-05-29 19:50:53.972]: Debug: [Vulkan @ 0x555bf91d0f40] Queue families:
[2026-05-29 19:50:53.972]: Debug: [Vulkan @ 0x555bf91d0f40]     0: graphics compute transfer sparse (queues: 1)
[2026-05-29 19:50:53.972]: Debug: [Vulkan @ 0x555bf91d0f40]     1: compute transfer sparse (queues: 4)
[2026-05-29 19:50:53.972]: Debug: [Vulkan @ 0x555bf91d0f40]     2: decode (queues: 1)
[2026-05-29 19:50:53.972]: Debug: [Vulkan @ 0x555bf91d0f40]     3: encode (queues: 1)
[2026-05-29 19:50:53.972]: Debug: [Vulkan @ 0x555bf91d0f40]     4: sparse (queues: 1)
[2026-05-29 19:50:53.975]: Debug: [Vulkan @ 0x555bf91d0f40] Using device: AMD Radeon RX 9070 XT (RADV GFX1201)
[2026-05-29 19:50:53.975]: Debug: [Vulkan @ 0x555bf91d0f40] Alignments:
[2026-05-29 19:50:53.975]: Debug: [Vulkan @ 0x555bf91d0f40]     optimalBufferCopyRowPitchAlignment: 1
[2026-05-29 19:50:53.975]: Debug: [Vulkan @ 0x555bf91d0f40]     minMemoryMapAlignment:              4096
[2026-05-29 19:50:53.975]: Debug: [Vulkan @ 0x555bf91d0f40]     nonCoherentAtomSize:                64
[2026-05-29 19:50:53.975]: Debug: [Vulkan @ 0x555bf91d0f40]     minImportedHostPointerAlignment:    4096
[2026-05-29 19:50:53.975]: Debug: [Vulkan @ 0x555bf91d0f40] Using queue family 0 (queues: 1) for graphics
[2026-05-29 19:50:53.975]: Debug: [Vulkan @ 0x555bf91d0f40] Using queue family 1 (queues: 4) for compute transfers
[2026-05-29 19:50:53.975]: Debug: [Vulkan @ 0x555bf91d0f40] Using queue family 2 (queues: 1) for decode
[2026-05-29 19:50:53.975]: Debug: [Vulkan @ 0x555bf91d0f40] Using queue family 3 (queues: 1) for encode
[2026-05-29 19:50:53.975]: Info: Streaming bitrate is 1000000
[2026-05-29 19:50:53.975]: Debug: [hevc_vulkan @ 0x555bf91cec00] Encoder capabilities for hevc profile "Main":
[2026-05-29 19:50:53.975]: Debug: [hevc_vulkan @ 0x555bf91cec00]     Width: from 384 to 8192
[2026-05-29 19:50:53.975]: Debug: [hevc_vulkan @ 0x555bf91cec00]     Height: from 128 to 4352
[2026-05-29 19:50:53.975]: Debug: [hevc_vulkan @ 0x555bf91cec00]     Width alignment: 64
[2026-05-29 19:50:53.975]: Debug: [hevc_vulkan @ 0x555bf91cec00]     Height alignment: 16
[2026-05-29 19:50:53.975]: Debug: [hevc_vulkan @ 0x555bf91cec00]     Bitstream offset alignment: 256
[2026-05-29 19:50:53.975]: Debug: [hevc_vulkan @ 0x555bf91cec00]     Bitstream size alignment: 8
[2026-05-29 19:50:53.975]: Debug: [hevc_vulkan @ 0x555bf91cec00]     Maximum references: 17
[2026-05-29 19:50:53.975]: Debug: [hevc_vulkan @ 0x555bf91cec00]     Maximum active references: 1
[2026-05-29 19:50:53.975]: Debug: [hevc_vulkan @ 0x555bf91cec00]     Codec header version: 1.0.0 (driver), 1.0.0 (compiled)
[2026-05-29 19:50:53.975]: Debug: [hevc_vulkan @ 0x555bf91cec00]     Encoder max quality: 4
[2026-05-29 19:50:53.975]: Debug: [hevc_vulkan @ 0x555bf91cec00]     Encoder image width alignment: 64
[2026-05-29 19:50:53.975]: Debug: [hevc_vulkan @ 0x555bf91cec00]     Encoder image height alignment: 16
[2026-05-29 19:50:53.975]: Debug: [hevc_vulkan @ 0x555bf91cec00]     Capability flags: separate_references
[2026-05-29 19:50:53.975]: Debug: [hevc_vulkan @ 0x555bf91cec00] Supported input formats:
[2026-05-29 19:50:53.975]: Debug: [hevc_vulkan @ 0x555bf91cec00]     0: 1000156003
[2026-05-29 19:50:53.975]: Debug: [hevc_vulkan @ 0x555bf91cec00] Allocating 131072 bytes in bind index 0 for video session
[2026-05-29 19:50:53.975]: Debug: [hevc_vulkan @ 0x555bf91cec00] H265 encoder capabilities:
[2026-05-29 19:50:53.975]: Debug: [hevc_vulkan @ 0x555bf91cec00]     Standard capability flags:
[2026-05-29 19:50:53.975]: Debug: [hevc_vulkan @ 0x555bf91cec00]         separate_color_plane: 0
[2026-05-29 19:50:53.976]: Debug: [hevc_vulkan @ 0x555bf91cec00]         sample_adaptive_offset: 1
[2026-05-29 19:50:53.976]: Debug: [hevc_vulkan @ 0x555bf91cec00]         scaling_lists: 0
[2026-05-29 19:50:53.976]: Debug: [hevc_vulkan @ 0x555bf91cec00]         pcm: 0
[2026-05-29 19:50:53.976]: Debug: [hevc_vulkan @ 0x555bf91cec00]         temporal_mvp: 0
[2026-05-29 19:50:53.976]: Debug: [hevc_vulkan @ 0x555bf91cec00]         init_qp: 0
[2026-05-29 19:50:53.976]: Debug: [hevc_vulkan @ 0x555bf91cec00]         weighted:
[2026-05-29 19:50:53.976]: Debug: [hevc_vulkan @ 0x555bf91cec00]         parallel_merge_level: 0
[2026-05-29 19:50:53.976]: Debug: [hevc_vulkan @ 0x555bf91cec00]         sign_data_hiding: 0
[2026-05-29 19:50:53.976]: Debug: [hevc_vulkan @ 0x555bf91cec00]         transform_skip: set unset
[2026-05-29 19:50:53.976]: Debug: [hevc_vulkan @ 0x555bf91cec00]         slice_chroma_qp_offsets: 0
[2026-05-29 19:50:53.976]: Debug: [hevc_vulkan @ 0x555bf91cec00]         transquant_bypass: 0
[2026-05-29 19:50:53.976]: Debug: [hevc_vulkan @ 0x555bf91cec00]         constrained_intra_pred: 1
[2026-05-29 19:50:53.976]: Debug: [hevc_vulkan @ 0x555bf91cec00]         entrypy_coding_sync: 1
[2026-05-29 19:50:53.976]: Debug: [hevc_vulkan @ 0x555bf91cec00]         dependent_slice_segment:
[2026-05-29 19:50:53.976]: Debug: [hevc_vulkan @ 0x555bf91cec00]         slice_qp_delta: 0
[2026-05-29 19:50:53.976]: Debug: [hevc_vulkan @ 0x555bf91cec00]         different_slice_qp_delta: 0
[2026-05-29 19:50:53.976]: Debug: [hevc_vulkan @ 0x555bf91cec00]     Capability flags:
[2026-05-29 19:50:53.976]: Debug: [hevc_vulkan @ 0x555bf91cec00]         hdr_compliance: 1
[2026-05-29 19:50:53.976]: Debug: [hevc_vulkan @ 0x555bf91cec00]         pred_weight_table_generated: 0
[2026-05-29 19:50:53.976]: Debug: [hevc_vulkan @ 0x555bf91cec00]         row_unaligned_slice: 1
[2026-05-29 19:50:53.976]: Debug: [hevc_vulkan @ 0x555bf91cec00]         different_slice_type: 0
[2026-05-29 19:50:53.976]: Debug: [hevc_vulkan @ 0x555bf91cec00]         b_frame_in_l0_list: 0
[2026-05-29 19:50:53.976]: Debug: [hevc_vulkan @ 0x555bf91cec00]         b_frame_in_l1_list: 0
[2026-05-29 19:50:53.976]: Debug: [hevc_vulkan @ 0x555bf91cec00]         per_pict_type_min_max_qp: 1
[2026-05-29 19:50:53.976]: Debug: [hevc_vulkan @ 0x555bf91cec00]         per_slice_constant_qp: 0
[2026-05-29 19:50:53.976]: Debug: [hevc_vulkan @ 0x555bf91cec00]         generate_prefix_nalu: 0
[2026-05-29 19:50:53.976]: Debug: [hevc_vulkan @ 0x555bf91cec00]     Capabilities:
[2026-05-29 19:50:53.976]: Debug: [hevc_vulkan @ 0x555bf91cec00]         maxLevelIdc: 0
[2026-05-29 19:50:53.976]: Debug: [hevc_vulkan @ 0x555bf91cec00]         maxSliceCount: 128
[2026-05-29 19:50:53.976]: Debug: [hevc_vulkan @ 0x555bf91cec00]         maxTiles: 1x1
[2026-05-29 19:50:53.976]: Debug: [hevc_vulkan @ 0x555bf91cec00]         cbtSizes: 0x4
[2026-05-29 19:50:53.976]: Debug: [hevc_vulkan @ 0x555bf91cec00]         transformBlockSizes: 0xf
[2026-05-29 19:50:53.976]: Debug: [hevc_vulkan @ 0x555bf91cec00]         max(P/B)PictureL0ReferenceCount: 1 P's; 0 B's
[2026-05-29 19:50:53.976]: Debug: [hevc_vulkan @ 0x555bf91cec00]         maxL1ReferenceCount: 0
[2026-05-29 19:50:53.976]: Debug: [hevc_vulkan @ 0x555bf91cec00]         maxSubLayerCount: 4
[2026-05-29 19:50:53.976]: Debug: [hevc_vulkan @ 0x555bf91cec00]         expectDyadicTemporalLayerPattern: 0
[2026-05-29 19:50:53.976]: Debug: [hevc_vulkan @ 0x555bf91cec00]         min/max Qp: [0, 51]
[2026-05-29 19:50:53.976]: Debug: [hevc_vulkan @ 0x555bf91cec00]         prefersGopRemainingFrames: 0
[2026-05-29 19:50:53.976]: Debug: [hevc_vulkan @ 0x555bf91cec00]         requiresGopRemainingFrames: 0
[2026-05-29 19:50:53.976]: Debug: [hevc_vulkan @ 0x555bf91cec00] Using intra and P-frames (supported references: 1 / 0).
[2026-05-29 19:50:53.976]: Debug: [hevc_vulkan @ 0x555bf91cec00] Using level 4.
[2026-05-29 19:50:53.976]: Debug: [hevc_vulkan @ 0x555bf91cec00] Feedback units written, overrides: 1 (SPS: 1 PPS: 1 VPS: 0)
[2026-05-29 19:50:53.977]: Info: Vulkan encode using GPU: AMD Radeon RX 9070 XT (RADV GFX1201)

Online logs

No response

Activity

  1. ReenigneArcher commented on May 29, 2026

    @ReenigneArcher
    Member

    I'm about to start banning everyone creating issues with no logs.

  2. solidv commented on May 29, 2026

    @solidv
    ContributorAuthor

    Sorry I analyzed the log, nothing seems relevant. But later I will post it

  3. reopened this on May 29, 2026
  4. Kishi85 commented on May 29, 2026

    @Kishi85
    Contributor

    The sunshine log alone probably won't be enough to fully diagnose the restart. Could you post the part from journalctl --user -u app-dev.lizardbyte.app.Sunshine.service -e from where you stop Sunshine via Tray (so we can see the reason systemd treats this exit as a failure causing a restart) ?

  5. solidv commented on May 30, 2026

    @solidv
    ContributorAuthor

    Hope this helps

    mai 30 01:24:08 archlinux-solidv sunshine[1714760]: [2026-05-30 01:24:08.520]: Info: Quitting from system tray
    mai 30 01:24:08 archlinux-solidv sunshine[1714760]: [2026-05-30 01:24:08.520]: Info: Interrupt handler called
    mai 30 01:24:18 archlinux-solidv sunshine[1714760]: [2026-05-30 01:24:18.520]: Fatal: 10 seconds passed, yet Sunshine's still running: Forcing shutdown
    mai 30 01:24:19 archlinux-solidv systemd-coredump[1715303]: Process 1714760 (sunshine) of user 1000 dumped core.
                                                                
                                                                Stack trace of thread 1714763:
                                                                #0  0x00007f1ac20adfbb pthread_kill (libc.so.6 + 0xadfbb)
                                                                #1  0x00007f1ac2044c88 raise (libc.so.6 + 0x44c88)
                                                                #2  0x000055b376395987 n/a (sunshine + 0x1be987)
                                                                #3  0x000055b37638d116 n/a (sunshine + 0x1b6116)
                                                                #4  0x00007f1ac20b1834 n/a (libc.so.6 + 0xb1834)
                                                                #5  0x00007f1ac20b1959 pthread_once (libc.so.6 + 0xb1959)
                                                                #6  0x000055b3763947a5 n/a (sunshine + 0x1bd7a5)
                                                                #7  0x000055b37638d289 n/a (sunshine + 0x1b6289)
                                                                #8  0x000055b37752e934 n/a (sunshine + 0x1357934)
                                                                #9  0x00007f1ac20abd58 n/a (libc.so.6 + 0xabd58)
                                                                #10 0x00007f1ac214a5dc n/a (libc.so.6 + 0x14a5dc)
                                                                
                                                                Stack trace of thread 1714762:
                                                                #0  0x00007f1ac2147b1d syscall (libc.so.6 + 0x147b1d)
                                                                #1  0x000055b376390b19 n/a (sunshine + 0x1b9b19)
                                                                #2  0x000055b37752e934 n/a (sunshine + 0x1357934)
                                                                #3  0x00007f1ac20abd58 n/a (libc.so.6 + 0xabd58)
                                                                #4  0x00007f1ac214a5dc n/a (libc.so.6 + 0x14a5dc)
                                                                
                                                                Stack trace of thread 1714760:
                                                                #0  0x00007f1ac20b4e22 n/a (libc.so.6 + 0xb4e22)
                                                                #1  0x00007f1ac20a8178 n/a (libc.so.6 + 0xa8178)
                                                                #2  0x00007f1ac213ba13 ppoll (libc.so.6 + 0x13ba13)
                                                                #3  0x00007f1ac40e95b7 n/a (libglib-2.0.so.0 + 0x6d5b7)
                                                                #4  0x00007f1ac40e96b2 g_main_context_iteration (libglib-2.0.so.0 + 0x6d6b2)
                                                                #5  0x00007f1ac28f584b _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Core.so.6 + 0x4f584b)
                                                                #6  0x00007f1ac25a78b4 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 + 0x1a78b4)
                                                                #7  0x00007f1ac259c8f4 _ZN16QCoreApplication4execEv (libQt6Core.so.6 + 0x19c8f4)
                                                                #8  0x000055b3762ea511 main (sunshine + 0x113511)
                                                                #9  0x00007f1ac2027c8e n/a (libc.so.6 + 0x27c8e)
                                                                #10 0x00007f1ac2027dcb __libc_start_main (libc.so.6 + 0x27dcb)
                                                                #11 0x000055b3762f84f5 n/a (sunshine + 0x1214f5)
                                                                
                                                                Stack trace of thread 1714765:
                                                                #0  0x00007f1ac20b4e22 n/a (libc.so.6 + 0xb4e22)
                                                                #1  0x00007f1ac20a8178 n/a (libc.so.6 + 0xa8178)
                                                                #2  0x00007f1ac213ba13 ppoll (libc.so.6 + 0x13ba13)
                                                                #3  0x00007f1ac40e95b7 n/a (libglib-2.0.so.0 + 0x6d5b7)
                                                                #4  0x00007f1ac40e96b2 g_main_context_iteration (libglib-2.0.so.0 + 0x6d6b2)
                                                                #5  0x00007f1ac40e9702 n/a (libglib-2.0.so.0 + 0x6d702)
                                                                #6  0x00007f1ac412b963 n/a (libglib-2.0.so.0 + 0xaf963)
                                                                #7  0x00007f1ac20abd58 n/a (libc.so.6 + 0xabd58)
                                                                #8  0x00007f1ac214a5dc n/a (libc.so.6 + 0x14a5dc)
                                                                
                                                                Stack trace of thread 1714767:
                                                                #0  0x00007f1ac20b4e22 n/a (libc.so.6 + 0xb4e22)
                                                                #1  0x00007f1ac20a80e8 n/a (libc.so.6 + 0xa80e8)
                                                                #2  0x00007f1ac2101a7e clock_nanosleep (libc.so.6 + 0x101a7e)
                                                                #3  0x00007f1ac21123f7 __nanosleep (libc.so.6 + 0x1123f7)
                                                                #4  0x000055b37650e281 n/a (sunshine + 0x337281)
                                                                #5  0x000055b37752e934 n/a (sunshine + 0x1357934)
                                                                #6  0x00007f1ac20abd58 n/a (libc.so.6 + 0xabd58)
                                                                #7  0x00007f1ac214a5dc n/a (libc.so.6 + 0x14a5dc)
                                                                
                                                                Stack trace of thread 1714766:
                                                                #0  0x00007f1ac20b4e22 n/a (libc.so.6 + 0xb4e22)
                                                                #1  0x00007f1ac20a8178 n/a (libc.so.6 + 0xa8178)
                                                                #2  0x00007f1ac213ba13 ppoll (libc.so.6 + 0x13ba13)
                                                                #3  0x00007f1ac40e95b7 n/a (libglib-2.0.so.0 + 0x6d5b7)
                                                                #4  0x00007f1ac40e9867 g_main_loop_run (libglib-2.0.so.0 + 0x6d867)
                                                                #5  0x00007f1ac433e52c n/a (libgio-2.0.so.0 + 0x13e52c)
                                                                #6  0x00007f1ac412b963 n/a (libglib-2.0.so.0 + 0xaf963)
                                                                #7  0x00007f1ac20abd58 n/a (libc.so.6 + 0xabd58)
                                                                #8  0x00007f1ac214a5dc n/a (libc.so.6 + 0x14a5dc)
                                                                
                                                                Stack trace of thread 1714971:
                                                                #0  0x00007f1ac2147b1d syscall (libc.so.6 + 0x147b1d)
                                                                #1  0x00007f1ac4123135 g_cond_wait (libglib-2.0.so.0 + 0xa7135)
                                                                #2  0x00007f1ac40a3f25 g_async_queue_pop (libglib-2.0.so.0 + 0x27f25)
                                                                #3  0x00007f1ab47d3708 n/a (libpangoft2-1.0.so.0 + 0xc708)
                                                                #4  0x00007f1ac412b963 n/a (libglib-2.0.so.0 + 0xaf963)
                                                                #5  0x00007f1ac20abd58 n/a (libc.so.6 + 0xabd58)
                                                                #6  0x00007f1ac214a5dc n/a (libc.so.6 + 0x14a5dc)
                                                                
                                                                Stack trace of thread 1714966:
                                                                #0  0x00007f1ac20b4e22 n/a (libc.so.6 + 0xb4e22)
                                                                #1  0x00007f1ac20a8178 n/a (libc.so.6 + 0xa8178)
                                                                #2  0x00007f1ac213b2ea __poll (libc.so.6 + 0x13b2ea)
                                                                #3  0x00007f1abc0bb811 avahi_simple_poll_run (libavahi-common.so.3 + 0x6811)
                                                                #4  0x00007f1abc0bb9b1 avahi_simple_poll_iterate (libavahi-common.so.3 + 0x69b1)
                                                                #5  0x00007f1abc0bbc1e avahi_simple_poll_loop (libavahi-common.so.3 + 0x6c1e)
                                                                #6  0x000055b37752e934 n/a (sunshine + 0x1357934)
                                                                #7  0x00007f1ac20abd58 n/a (libc.so.6 + 0xabd58)
                                                                #8  0x00007f1ac214a5dc n/a (libc.so.6 + 0x14a5dc)
                                                                
                                                                Stack trace of thread 1714974:
                                                                #0  0x00007f1ac20b4e22 n/a (libc.so.6 + 0xb4e22)
                                                                #1  0x00007f1ac20a8178 n/a (libc.so.6 + 0xa8178)
                                                                #2  0x00007f1ac213b2ea __poll (libc.so.6 + 0x13b2ea)
                                                                #3  0x00007f1ab4354a75 n/a (libQt6WaylandClient.so.6 + 0x70a75)
                                                                #4  0x00007f1ac27b6f79 n/a (libQt6Core.so.6 + 0x3b6f79)
                                                                #5  0x00007f1ac20abd58 n/a (libc.so.6 + 0xabd58)
                                                                #6  0x00007f1ac214a5dc n/a (libc.so.6 + 0x14a5dc)
                                                                
                                                                Stack trace of thread 1714975:
                                                                #0  0x00007f1ac20b4e22 n/a (libc.so.6 + 0xb4e22)
                                                                #1  0x00007f1ac20a8178 n/a (libc.so.6 + 0xa8178)
                                                                #2  0x00007f1ac213b2ea __poll (libc.so.6 + 0x13b2ea)
                                                                #3  0x00007f1ab4354a75 n/a (libQt6WaylandClient.so.6 + 0x70a75)
                                                                #4  0x00007f1ac27b6f79 n/a (libQt6Core.so.6 + 0x3b6f79)
                                                                #5  0x00007f1ac20abd58 n/a (libc.so.6 + 0xabd58)
                                                                #6  0x00007f1ac214a5dc n/a (libc.so.6 + 0x14a5dc)
                                                                
                                                                Stack trace of thread 1714973:
                                                                #0  0x00007f1ac20b4e22 n/a (libc.so.6 + 0xb4e22)
                                                                #1  0x00007f1ac20a8178 n/a (libc.so.6 + 0xa8178)
                                                                #2  0x00007f1ac213ba13 ppoll (libc.so.6 + 0x13ba13)
                                                                #3  0x00007f1ac40e95b7 n/a (libglib-2.0.so.0 + 0x6d5b7)
                                                                #4  0x00007f1ac40e96b2 g_main_context_iteration (libglib-2.0.so.0 + 0x6d6b2)
                                                                #5  0x00007f1abc04685e n/a (libdconfsettings.so + 0x785e)
                                                                #6  0x00007f1ac412b963 n/a (libglib-2.0.so.0 + 0xaf963)
                                                                #7  0x00007f1ac20abd58 n/a (libc.so.6 + 0xabd58)
                                                                #8  0x00007f1ac214a5dc n/a (libc.so.6 + 0x14a5dc)
                                                                
                                                                Stack trace of thread 1714764:
                                                                #0  0x00007f1ac2147b1d syscall (libc.so.6 + 0x147b1d)
                                                                #1  0x00007f1ac4123135 g_cond_wait (libglib-2.0.so.0 + 0xa7135)
                                                                #2  0x00007f1ac40a4005 g_async_queue_pop_unlocked (libglib-2.0.so.0 + 0x28005)
                                                                #3  0x00007f1ac412be79 n/a (libglib-2.0.so.0 + 0xafe79)
                                                                #4  0x00007f1ac412b963 n/a (libglib-2.0.so.0 + 0xaf963)
                                                                #5  0x00007f1ac20abd58 n/a (libc.so.6 + 0xabd58)
                                                                #6  0x00007f1ac214a5dc n/a (libc.so.6 + 0x14a5dc)
                                                                
                                                                Stack trace of thread 1714970:
                                                                #0  0x00007f1ac20b4e22 n/a (libc.so.6 + 0xb4e22)
                                                                #1  0x00007f1ac20a8178 n/a (libc.so.6 + 0xa8178)
                                                                #2  0x00007f1ac213ba13 ppoll (libc.so.6 + 0x13ba13)
                                                                #3  0x00007f1ac40e95b7 n/a (libglib-2.0.so.0 + 0x6d5b7)
                                                                #4  0x00007f1ac40e96b2 g_main_context_iteration (libglib-2.0.so.0 + 0x6d6b2)
                                                                #5  0x00007f1ac28f584b _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Core.so.6 + 0x4f584b)
                                                                #6  0x00007f1ac25a78b4 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 + 0x1a78b4)
                                                                #7  0x00007f1ac26edffe _ZN7QThread4execEv (libQt6Core.so.6 + 0x2edffe)
                                                                #8  0x00007f1abf96a2c9 n/a (libQt6DBus.so.6 + 0x3a2c9)
                                                                #9  0x00007f1ac27b6f79 n/a (libQt6Core.so.6 + 0x3b6f79)
                                                                #10 0x00007f1ac20abd58 n/a (libc.so.6 + 0xabd58)
                                                                #11 0x00007f1ac214a5dc n/a (libc.so.6 + 0x14a5dc)
                                                                ELF object binary architecture: AMD x86-64
    mai 30 01:24:19 archlinux-solidv systemd[4445]: app-dev.lizardbyte.app.Sunshine.service: Main process exited, code=dumped, status=5/TRAP
    mai 30 01:24:19 archlinux-solidv systemd[4445]: app-dev.lizardbyte.app.Sunshine.service: Failed with result 'core-dump'.
    mai 30 01:24:19 archlinux-solidv systemd[4445]: app-dev.lizardbyte.app.Sunshine.service: Consumed 447ms CPU time over 35.044s wall clock time, 120.6M memory peak.
    mai 30 01:24:24 archlinux-solidv systemd[4445]: app-dev.lizardbyte.app.Sunshine.service: Scheduled restart job, restart counter is at 1.
    mai 30 01:24:24 archlinux-solidv systemd[4445]: Starting Self-hosted game stream host for Moonlight...
    mai 30 01:24:29 archlinux-solidv systemd[4445]: Started Self-hosted game stream host for Moonlight.
  6. Kishi85 commented on May 30, 2026

    @Kishi85
    Contributor

    Does this always happen even if you're exiting locally? or just when you're quitting from a running session using the tray icon?

    The interesting thing for me is that I cannot reproduce this on my setup which is very similiar to yours except I'm using KDE with kwingrab instead of Gnome with portalgrab. I've had a look at your PR and that is pointing towards some threading deadlock so I'll investigate that further.

  7. Kishi85 commented on May 30, 2026

    @Kishi85
    Contributor

    Sunshine's main thread loop is calling this:

    https://github.com/LizardByte/Sunshine/blob/a682ab07dc7da4661d6b53ace82718dcaa038e75/src/system_tray.cpp#L300-L308

    So this should be the main culprit for the issue as Sunshine expects tray_loop(1) to return after processing an event.

    When called blocking (tray_loop(1)) the QtTrayMenu will just call QApplication::exec() in the end blocking indefinitely until the QApplication is exiting. This will get Sunshine's main thread loop to get stuck until QApplication::exit() is called somehow causing the SIGTRAP we see above as it never returns from tray_loop(1) to be interrupted.

    @ReenigneArcher There's 2 viable options to solve this here:

    • Init the tray threaded like already done for WIN32 and let the QtMainLoop do the tray event processing internally leaving tray out of Sunshine's main thread loop.
    • Continue to process the tray event's in Sunshine's main loop but without using a blocking tray loop (calling tray_loop(0)).

    I'm personally tending to the first option and letting Qt do it's internal thing and leaving that kind of event processing out of Sunshine if possible. But what would you think to be the best solution here (especially in context to the other provided platforms) ?

    EDIT: To clarify: LizardByte/tray#139 will fix the immediate issue by itself. This should IMHO be additionally fixed on Sunshine's side as well as the current expectation to the function would break other event processors in the main loop should there ever be any.

    EDIT2: Fixing this on Sunshine's side can be done at a later point as well, particularily when there is another event processor that has to run in the main event loop. Right now it would just be a more or less cosmetic fix because it doesn't matter if the main thread loop gets blocked indefinitely by tray_loop.

  8. ReenigneArcher commented on May 30, 2026

    @ReenigneArcher
    Member

    I'd rather keep it on the main thread, and wish the Windows would work there as well... but unfortunately it has an issue when running Sunshine as a service on initial boot. Though I guess it doesn't matter since we can't seem to have all 3 platforms working the same way (macOS requires it running on the main thread as far as I'm aware).

    Either approach is fine I guess.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions