LizardByte / Sunshine

Self-hosted game stream host for Moonlight.
http://app.lizardbyte.dev/Sunshine/
GNU General Public License v3.0
19.65k stars 952 forks source link

segmentation fault after FFmpeg 7.1 update #3268

Closed slagiewka closed 3 weeks ago

slagiewka commented 1 month ago

Is there an existing issue for this?

Is your issue described in the documentation?

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

This issue is present in the latest pre-release

Describe the Bug

Just switched to the beta COPR repository from matte-schwartz/sunshine.

The process restarts 5 times while seg faulting and then the systemd service stops trying. Happened first with already existing config, and keeps happening even though I moved ~/.config/sunshine to a backup and it created a default one on its own.

Expected Behavior

No response

Additional Context

I can't wait to test it on Fedora 41 which has Mesa 24.2 with low latency encoding :slightly_smiling_face:

Host Operating System

Linux

Operating System Version

Fedora 40

Architecture

amd64/x86_64

Sunshine commit or version

0.0.0.b553f68d0f1f0b543ce4dcf6dfe61f208e87f237

Package

Linux - Fedora Copr

GPU Type

AMD

GPU Model

RX 6800

GPU Driver/Mesa Version

24.1.7

Capture Method

None

Config

No response

Apps

No response

Relevant log output

➜  ~ sudo dnf info Sunshine                  
[sudo] password for shimmy: 
Last metadata expiration check: 0:15:28 ago on Mon 07 Oct 2024 09:02:21 CEST.
Installed Packages
Name         : Sunshine
Version      : 2024.1007.50756
Release      : 1.fc40
Architecture : x86_64
Size         : 26 M
Source       : Sunshine-2024.1007.50756-1.fc40.src.rpm
Repository   : @System
From repo    : copr:copr.fedorainfracloud.org:lizardbyte:beta
Summary      : Self-hosted game stream host for Moonlight.
URL          : https://github.com/LizardByte/Sunshine
License      : GPLv3-only
Description  : Self-hosted game stream host for Moonlight.

Available Packages
Name         : Sunshine
Version      : 2024.1007.50756
Release      : 1.fc40
Architecture : src
Size         : 402 M
Source       : None
Repository   : copr:copr.fedorainfracloud.org:lizardbyte:beta
Summary      : Self-hosted game stream host for Moonlight.
URL          : https://github.com/LizardByte/Sunshine
License      : GPLv3-only
Description  : Self-hosted game stream host for Moonlight.

➜  ~ systemctl status --user sunshine.service
× sunshine.service - Self-hosted game stream host for Moonlight
     Loaded: loaded (/usr/lib/systemd/user/sunshine.service; enabled; preset: disabled)
    Drop-In: /usr/lib/systemd/user/service.d
             └─10-timeout-abort.conf
     Active: failed (Result: core-dump) since Mon 2024-10-07 09:18:04 CEST; 1min 13s ago
   Duration: 1.145s
    Process: 14572 ExecStartPre=/bin/sleep 5 (code=exited, status=0/SUCCESS)
    Process: 14877 ExecStart=/usr/bin/sunshine (code=dumped, signal=SEGV)
   Main PID: 14877 (code=dumped, signal=SEGV)
        CPU: 280ms

Oct 07 09:17:59 nilfgaard systemd[7487]: sunshine.service: Failed with result 'core-dump'.
Oct 07 09:18:04 nilfgaard systemd[7487]: sunshine.service: Scheduled restart job, restart counter is at 5.
Oct 07 09:18:04 nilfgaard systemd[7487]: sunshine.service: Start request repeated too quickly.
Oct 07 09:18:04 nilfgaard systemd[7487]: sunshine.service: Failed with result 'core-dump'.
Oct 07 09:18:04 nilfgaard systemd[7487]: Failed to start sunshine.service - Self-hosted game stream host for Moonlight.
➜  ~ journalctl --user -xeu sunshine.service 
                                                   #0  0x00007f59850a2da9 __futex_abstimed_wait_common (libc.so.6 + 0x93da9)
                                                   #1  0x00007f59850a57f9 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x967f9)
                                                   #2  0x00007f59518a893d cnd_wait (radeonsi_dri.so + 0xa893d)
                                                   #3  0x00007f595188570b util_queue_thread_func (radeonsi_dri.so + 0x8570b)
                                                   #4  0x00007f59518a886c impl_thrd_routine (radeonsi_dri.so + 0xa886c)
                                                   #5  0x00007f59850a66d7 start_thread (libc.so.6 + 0x976d7)
                                                   #6  0x00007f598512a60c __clone3 (libc.so.6 + 0x11b60c)

                                                   Stack trace of thread 14882:
                                                   #0  0x00007f59851283dd syscall (libc.so.6 + 0x1193dd)
                                                   #1  0x00007f5988431ccd g_cond_wait (libglib-2.0.so.0 + 0xbbccd)
                                                   #2  0x00007f598839d61b g_async_queue_pop_intern_unlocked (libglib-2.0.so.0 + 0x2761b)
                                                   #3  0x00007f5988404a03 g_thread_pool_spawn_thread (libglib-2.0.so.0 + 0x8ea03)
                                                   #4  0x00007f5988403813 g_thread_proxy (libglib-2.0.so.0 + 0x8d813)
                                                   #5  0x00007f59850a66d7 start_thread (libc.so.6 + 0x976d7)
                                                   #6  0x00007f598512a60c __clone3 (libc.so.6 + 0x11b60c)

                                                   Stack trace of thread 14983:
                                                   #0  0x00007f59850a2da9 __futex_abstimed_wait_common (libc.so.6 + 0x93da9)
                                                   #1  0x00007f59850a57f9 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x967f9)
                                                   #2  0x00007f59518a893d cnd_wait (radeonsi_dri.so + 0xa893d)
                                                   #3  0x00007f595188570b util_queue_thread_func (radeonsi_dri.so + 0x8570b)
                                                   #4  0x00007f59518a886c impl_thrd_routine (radeonsi_dri.so + 0xa886c)
                                                   #5  0x00007f59850a66d7 start_thread (libc.so.6 + 0x976d7)
                                                   #6  0x00007f598512a60c __clone3 (libc.so.6 + 0x11b60c)
                                                   ELF object binary architecture: AMD x86-64
░░ Subject: Process 14877 (sunshine) dumped core
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ Documentation: man:core(5)
░░ 
░░ Process 14877 (sunshine) crashed and dumped core.
░░ 
░░ This usually indicates a programming error in the crashing program and
░░ should be reported to its vendor as a bug.
Oct 07 09:17:59 nilfgaard systemd[7487]: sunshine.service: Main process exited, code=dumped, status=11/SEGV
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ An ExecStart= process belonging to unit UNIT has exited.
░░ 
░░ The process' exit code is 'dumped' and its exit status is 11.
Oct 07 09:17:59 nilfgaard systemd[7487]: sunshine.service: Failed with result 'core-dump'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ The unit UNIT has entered the 'failed' state with result 'core-dump'.
Oct 07 09:18:04 nilfgaard systemd[7487]: sunshine.service: Scheduled restart job, restart counter is at 5.
░░ Subject: Automatic restarting of a unit has been scheduled
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ Automatic restarting of the unit UNIT has been scheduled, as the result for
░░ the configured Restart= setting for the unit.
Oct 07 09:18:04 nilfgaard systemd[7487]: sunshine.service: Start request repeated too quickly.
Oct 07 09:18:04 nilfgaard systemd[7487]: sunshine.service: Failed with result 'core-dump'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ The unit UNIT has entered the 'failed' state with result 'core-dump'.
Oct 07 09:18:04 nilfgaard systemd[7487]: Failed to start sunshine.service - Self-hosted game stream host for Moonlight.
░░ Subject: A start job for unit UNIT has failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ A start job for unit UNIT has finished with a failure.
░░ 
░░ The job identifier is 1735 and the job result is failed.
ReenigneArcher commented 1 month ago

Can you try running Sunshine manually instead of from the service?

Also, where did you get 0.0.0.b553f68d0f1f0b543ce4dcf6dfe61f208e87f237 from? I thought I fixed the version number in the UI, but maybe I missed something.

slagiewka commented 1 month ago

Also, where did you get 0.0.0.b553f68d0f1f0b543ce4dcf6dfe61f208e87f237 from? I thought I fixed the version number in the UI, but maybe I missed something.

As per bug reporting instructions, I used the binary

default config ``` ➜ ~ sunshine --version [2024-10-07 15:03:24.130]: Info: Sunshine version: 0.0.0.b553f68d0f1f0b543ce4dcf6dfe61f208e87f237 [2024-10-07 15:03:24.130]: Info: Package Publisher: LizardByte [2024-10-07 15:03:24.130]: Info: Publisher Website: https://app.lizardbyte.dev [2024-10-07 15:03:24.130]: Info: Get support: https://app.lizardbyte.dev/support ➜ ~ sunshine [2024-10-07 15:04:12.323]: Info: Sunshine version: 0.0.0.b553f68d0f1f0b543ce4dcf6dfe61f208e87f237 [2024-10-07 15:04:12.323]: Info: Package Publisher: LizardByte [2024-10-07 15:04:12.323]: Info: Publisher Website: https://app.lizardbyte.dev [2024-10-07 15:04:12.323]: Info: Get support: https://app.lizardbyte.dev/support Cannot load libcuda.so.1 [2024-10-07 15:04:12.324]: Error: Couldn't load cuda: -1 [2024-10-07 15:04:12.324]: Info: Found display [wayland-0] [2024-10-07 15:04:12.324]: Info: Found interface: zxdg_output_manager_v1(31) version 3 [2024-10-07 15:04:12.324]: Info: Found interface: wl_output(66) version 4 [2024-10-07 15:04:12.324]: Warning: Missing Wayland wire for wlr-export-dmabuf [2024-10-07 15:04:12.324]: Info: /dev/dri/card1 -> amdgpu [2024-10-07 15:04:12.325]: Info: Found display [wayland-0] [2024-10-07 15:04:12.325]: Info: Found display [wayland-0] [2024-10-07 15:04:12.325]: Info: Found interface: zxdg_output_manager_v1(31) version 3 [2024-10-07 15:04:12.325]: Info: Found interface: wl_output(66) version 4 [2024-10-07 15:04:12.325]: Info: Resolution: 3840x2160 [2024-10-07 15:04:12.325]: Info: Offset: 0x0 [2024-10-07 15:04:12.325]: Info: Logical size: 1920x1080 [2024-10-07 15:04:12.325]: Info: Name: DP-3 [2024-10-07 15:04:12.325]: Info: Found monitor: GIGA-BYTE TECHNOLOGY CO., LTD. M28U/21350B000520 [2024-10-07 15:04:12.326]: Info: -------- Start of KMS monitor list -------- [2024-10-07 15:04:12.326]: Info: Monitor 0 is DP-3: GIGA-BYTE TECHNOLOGY CO., LTD. M28U/21350B000520 [2024-10-07 15:04:12.326]: Info: --------- End of KMS monitor list --------- [2024-10-07 15:04:12.355]: Info: System tray created [2024-10-07 15:04:12.440]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. // [2024-10-07 15:04:12.440]: Info: Trying encoder [nvenc] [2024-10-07 15:04:12.440]: Info: Screencasting with KMS [2024-10-07 15:04:12.441]: Info: /dev/dri/card1 -> amdgpu [2024-10-07 15:04:12.442]: Error: Couldn't find monitor [0] [2024-10-07 15:04:12.442]: Info: /dev/dri/card1 -> amdgpu [2024-10-07 15:04:12.442]: Error: Couldn't find monitor [0] [2024-10-07 15:04:12.643]: Info: Screencasting with KMS [2024-10-07 15:04:12.644]: Info: /dev/dri/card1 -> amdgpu [2024-10-07 15:04:12.645]: Error: Couldn't find monitor [0] [2024-10-07 15:04:12.645]: Info: /dev/dri/card1 -> amdgpu [2024-10-07 15:04:12.646]: Error: Couldn't find monitor [0] [2024-10-07 15:04:12.846]: Info: Encoder [nvenc] failed [2024-10-07 15:04:12.846]: Info: Trying encoder [vaapi] [2024-10-07 15:04:12.846]: Info: Screencasting with KMS [2024-10-07 15:04:12.848]: Info: /dev/dri/card1 -> amdgpu [2024-10-07 15:04:12.849]: Info: Found monitor for DRM screencasting [2024-10-07 15:04:12.849]: Info: Found connector ID [126] [2024-10-07 15:04:12.849]: Info: Found cursor plane [88] libva info: VA-API version 1.21.0 libva info: Trying to open /usr/lib64/dri-nonfree/radeonsi_drv_video.so libva info: Trying to open /usr/lib64/dri-freeworld/radeonsi_drv_video.so libva info: Trying to open /usr/lib64/dri/radeonsi_drv_video.so libva info: Found init function __vaDriverInit_1_21 libva info: va_openDriver() returns 0 [2024-10-07 15:04:12.881]: Info: Creating encoder [h264_vaapi] [2024-10-07 15:04:12.881]: Info: Color coding: SDR (Rec. 601) [2024-10-07 15:04:12.881]: Info: Color depth: 8-bit [2024-10-07 15:04:12.881]: Info: Color range: JPEG libva info: VA-API version 1.21.0 libva info: Trying to open /usr/lib64/dri-nonfree/radeonsi_drv_video.so libva info: Trying to open /usr/lib64/dri-freeworld/radeonsi_drv_video.so libva info: Trying to open /usr/lib64/dri/radeonsi_drv_video.so libva info: Found init function __vaDriverInit_1_21 libva info: va_openDriver() returns 0 [2024-10-07 15:04:12.895]: Info: vaapi vendor: Mesa Gallium driver 24.1.7 for AMD Radeon RX 6800 (radeonsi, navi21, LLVM 18.1.6, DRM 3.57, 6.10.12-200.fc40.x86_64) [2024-10-07 15:04:12.896]: Error: [h264_vaapi @ 0x11b31280] No usable encoding entrypoint found for profile VAProfileH264High (7). [2024-10-07 15:04:12.897]: Info: Retrying with fallback configuration options for [h264_vaapi] after error: Function not implemented libva info: VA-API version 1.21.0 libva info: Trying to open /usr/lib64/dri-nonfree/radeonsi_drv_video.so libva info: Trying to open /usr/lib64/dri-freeworld/radeonsi_drv_video.so libva info: Trying to open /usr/lib64/dri/radeonsi_drv_video.so libva info: Found init function __vaDriverInit_1_21 libva info: va_openDriver() returns 0 [2024-10-07 15:04:12.900]: Info: vaapi vendor: Mesa Gallium driver 24.1.7 for AMD Radeon RX 6800 (radeonsi, navi21, LLVM 18.1.6, DRM 3.57, 6.10.12-200.fc40.x86_64) [2024-10-07 15:04:12.900]: Warning: [h264_vaapi @ 0x11e35d80] Driver does not support some wanted packed headers (wanted 0xd, found 0x1). [2024-10-07 15:04:12.917]: Error: Invalid value at rbsp_stop_one_bit: bitstream ended. [2024-10-07 15:04:12.917]: Error: Failed to read unit 4 (type 12). [2024-10-07 15:04:12.917]: Error: Couldn't read packet: Invalid data found when processing input [2024-10-07 15:04:12.919]: Info: Creating encoder [hevc_vaapi] [2024-10-07 15:04:12.919]: Info: Color coding: SDR (Rec. 601) [2024-10-07 15:04:12.919]: Info: Color depth: 8-bit [2024-10-07 15:04:12.919]: Info: Color range: JPEG libva info: VA-API version 1.21.0 libva info: Trying to open /usr/lib64/dri-nonfree/radeonsi_drv_video.so libva info: Trying to open /usr/lib64/dri-freeworld/radeonsi_drv_video.so libva info: Trying to open /usr/lib64/dri/radeonsi_drv_video.so libva info: Found init function __vaDriverInit_1_21 libva info: va_openDriver() returns 0 [2024-10-07 15:04:12.931]: Info: vaapi vendor: Mesa Gallium driver 24.1.7 for AMD Radeon RX 6800 (radeonsi, navi21, LLVM 18.1.6, DRM 3.57, 6.10.12-200.fc40.x86_64) [1] 23874 segmentation fault (core dumped) sunshine ```
my config ``` ➜ ~ sunshine [min_threads] -- [4] [global_prep_cmd] -- [[{"do":"sh -c \"kscreen-doctor output.DP-3.mode.${SUNSHINE_CLIENT_WIDTH}x${SUNSHINE_CLIENT_HEIGHT}@${SUNSHINE_CLIENT_FPS} output.DP-3.scale.1\"","undo":"kscreen-doctor output.DP-3.mode.3840x2160@144 output.DP-3.scale.2"},{"do":"loginctl unlock-session","undo":""}]] [min_log_level] -- [1] [output_name] -- [0] [resolutions] -- [[ 352x240, 480x360, 858x480, 1280x720, 1920x1080, 2560x1080, 3440x1440, 1920x1200, 3860x2160, 3840x1600, 1280x800 ]] Warning: Unrecognized configurable option [resolutions] [2024-10-07 15:05:42.764]: Info: Sunshine version: 0.0.0.b553f68d0f1f0b543ce4dcf6dfe61f208e87f237 [2024-10-07 15:05:42.764]: Info: Package Publisher: LizardByte [2024-10-07 15:05:42.764]: Info: Publisher Website: https://app.lizardbyte.dev [2024-10-07 15:05:42.764]: Info: Get support: https://app.lizardbyte.dev/support Cannot load libcuda.so.1 [2024-10-07 15:05:42.765]: Error: Couldn't load cuda: -1 [2024-10-07 15:05:42.765]: Info: Found display [wayland-0] [2024-10-07 15:05:42.766]: Debug: Available interface: wl_compositor(1) version 6 [2024-10-07 15:05:42.766]: Debug: Available interface: zwp_tablet_manager_v2(3) version 1 [2024-10-07 15:05:42.766]: Debug: Available interface: zwp_keyboard_shortcuts_inhibit_manager_v1(4) version 1 [2024-10-07 15:05:42.766]: Debug: Available interface: zxdg_decoration_manager_v1(5) version 1 [2024-10-07 15:05:42.766]: Debug: Available interface: wp_viewporter(6) version 1 [2024-10-07 15:05:42.766]: Debug: Available interface: wp_security_context_manager_v1(7) version 1 [2024-10-07 15:05:42.766]: Debug: Available interface: wp_fractional_scale_manager_v1(8) version 1 [2024-10-07 15:05:42.766]: Debug: Available interface: wl_shm(9) version 1 [2024-10-07 15:05:42.766]: Debug: Available interface: wl_seat(10) version 9 [2024-10-07 15:05:42.766]: Debug: Available interface: zwp_pointer_gestures_v1(11) version 3 [2024-10-07 15:05:42.766]: Debug: Available interface: zwp_pointer_constraints_v1(12) version 1 [2024-10-07 15:05:42.766]: Debug: Available interface: zwp_relative_pointer_manager_v1(13) version 1 [2024-10-07 15:05:42.766]: Debug: Available interface: wl_data_device_manager(14) version 3 [2024-10-07 15:05:42.766]: Debug: Available interface: zwlr_data_control_manager_v1(15) version 2 [2024-10-07 15:05:42.766]: Debug: Available interface: wp_cursor_shape_manager_v1(16) version 1 [2024-10-07 15:05:42.766]: Debug: Available interface: zwp_primary_selection_device_manager_v1(17) version 1 [2024-10-07 15:05:42.766]: Debug: Available interface: org_kde_kwin_idle(18) version 1 [2024-10-07 15:05:42.766]: Debug: Available interface: zwp_idle_inhibit_manager_v1(19) version 1 [2024-10-07 15:05:42.766]: Debug: Available interface: ext_idle_notifier_v1(20) version 1 [2024-10-07 15:05:42.766]: Debug: Available interface: org_kde_plasma_shell(21) version 8 [2024-10-07 15:05:42.766]: Debug: Available interface: org_kde_kwin_appmenu_manager(22) version 1 [2024-10-07 15:05:42.766]: Debug: Available interface: org_kde_kwin_server_decoration_palette_manager(23) version 1 [2024-10-07 15:05:42.766]: Debug: Available interface: org_kde_plasma_virtual_desktop_management(25) version 2 [2024-10-07 15:05:42.766]: Debug: Available interface: org_kde_kwin_shadow_manager(27) version 2 [2024-10-07 15:05:42.766]: Debug: Available interface: org_kde_kwin_dpms_manager(28) version 1 [2024-10-07 15:05:42.766]: Debug: Available interface: org_kde_kwin_server_decoration_manager(29) version 1 [2024-10-07 15:05:42.766]: Debug: Available interface: kde_output_management_v2(30) version 9 [2024-10-07 15:05:42.766]: Debug: Available interface: zxdg_output_manager_v1(31) version 3 [2024-10-07 15:05:42.766]: Info: Found interface: zxdg_output_manager_v1(31) version 3 [2024-10-07 15:05:42.766]: Debug: Available interface: wl_subcompositor(32) version 1 [2024-10-07 15:05:42.766]: Debug: Available interface: zxdg_exporter_v2(33) version 1 [2024-10-07 15:05:42.766]: Debug: Available interface: zxdg_importer_v2(34) version 1 [2024-10-07 15:05:42.766]: Debug: Available interface: xdg_activation_v1(37) version 1 [2024-10-07 15:05:42.766]: Debug: Available interface: wp_content_type_manager_v1(39) version 1 [2024-10-07 15:05:42.766]: Debug: Available interface: wp_tearing_control_manager_v1(40) version 1 [2024-10-07 15:05:42.766]: Debug: Available interface: xdg_toplevel_drag_manager_v1(41) version 1 [2024-10-07 15:05:42.766]: Debug: Available interface: kde_screen_edge_manager_v1(42) version 1 [2024-10-07 15:05:42.766]: Debug: Available interface: frog_color_management_factory_v1(43) version 1 [2024-10-07 15:05:42.766]: Debug: Available interface: wp_presentation(44) version 1 [2024-10-07 15:05:42.766]: Debug: Available interface: xdg_wm_dialog_v1(45) version 1 [2024-10-07 15:05:42.766]: Debug: Available interface: xdg_wm_base(48) version 6 [2024-10-07 15:05:42.766]: Debug: Available interface: zwlr_layer_shell_v1(49) version 5 [2024-10-07 15:05:42.766]: Debug: Available interface: wp_drm_lease_device_v1(51) version 1 [2024-10-07 15:05:42.766]: Debug: Available interface: kde_output_order_v1(52) version 1 [2024-10-07 15:05:42.766]: Debug: Available interface: zwp_text_input_manager_v1(53) version 1 [2024-10-07 15:05:42.766]: Debug: Available interface: zwp_text_input_manager_v2(54) version 1 [2024-10-07 15:05:42.766]: Debug: Available interface: zwp_text_input_manager_v3(55) version 1 [2024-10-07 15:05:42.766]: Debug: Available interface: wl_drm(57) version 2 [2024-10-07 15:05:42.766]: Debug: Available interface: zwp_linux_dmabuf_v1(58) version 4 [2024-10-07 15:05:42.766]: Debug: Available interface: wp_linux_drm_syncobj_manager_v1(59) version 1 [2024-10-07 15:05:42.766]: Debug: Available interface: org_kde_kwin_blur_manager(62) version 1 [2024-10-07 15:05:42.766]: Debug: Available interface: org_kde_kwin_contrast_manager(63) version 2 [2024-10-07 15:05:42.766]: Debug: Available interface: org_kde_kwin_slide_manager(64) version 1 [2024-10-07 15:05:42.766]: Debug: Available interface: kde_output_device_v2(65) version 8 [2024-10-07 15:05:42.766]: Debug: Available interface: wl_output(66) version 4 [2024-10-07 15:05:42.766]: Info: Found interface: wl_output(66) version 4 [2024-10-07 15:05:42.766]: Warning: Missing Wayland wire for wlr-export-dmabuf [2024-10-07 15:05:42.766]: Info: /dev/dri/card1 -> amdgpu [2024-10-07 15:05:42.766]: Debug: Opening render node: /dev/dri/renderD128 [2024-10-07 15:05:42.767]: Debug: crtc(0, 0) [2024-10-07 15:05:42.767]: Debug: crtc(3840, 2160) [2024-10-07 15:05:42.767]: Debug: plane->possible_crtcs == 1 [2024-10-07 15:05:42.767]: Debug: x(0) y(0) crtc_x(0) crtc_y(0) crtc_id(91) [2024-10-07 15:05:42.767]: Debug: Resolution: 3840x2160: Pitch: 15360: Offset: 0 [2024-10-07 15:05:42.767]: Debug: Format [XR24, AR24, RA24, XR30, XB30, AR30, AB30, XR48, XB48, AR48, AB48, XB24, AB24, RG16, NV12, P010, XR4H, AR4H, XB4H, AB4H] [2024-10-07 15:05:42.767]: Info: Found display [wayland-0] [2024-10-07 15:05:42.767]: Info: Found display [wayland-0] [2024-10-07 15:05:42.767]: Debug: Available interface: wl_compositor(1) version 6 [2024-10-07 15:05:42.767]: Debug: Available interface: zwp_tablet_manager_v2(3) version 1 [2024-10-07 15:05:42.767]: Debug: Available interface: zwp_keyboard_shortcuts_inhibit_manager_v1(4) version 1 [2024-10-07 15:05:42.767]: Debug: Available interface: zxdg_decoration_manager_v1(5) version 1 [2024-10-07 15:05:42.767]: Debug: Available interface: wp_viewporter(6) version 1 [2024-10-07 15:05:42.767]: Debug: Available interface: wp_security_context_manager_v1(7) version 1 [2024-10-07 15:05:42.767]: Debug: Available interface: wp_fractional_scale_manager_v1(8) version 1 [2024-10-07 15:05:42.767]: Debug: Available interface: wl_shm(9) version 1 [2024-10-07 15:05:42.767]: Debug: Available interface: wl_seat(10) version 9 [2024-10-07 15:05:42.767]: Debug: Available interface: zwp_pointer_gestures_v1(11) version 3 [2024-10-07 15:05:42.767]: Debug: Available interface: zwp_pointer_constraints_v1(12) version 1 [2024-10-07 15:05:42.767]: Debug: Available interface: zwp_relative_pointer_manager_v1(13) version 1 [2024-10-07 15:05:42.767]: Debug: Available interface: wl_data_device_manager(14) version 3 [2024-10-07 15:05:42.767]: Debug: Available interface: zwlr_data_control_manager_v1(15) version 2 [2024-10-07 15:05:42.767]: Debug: Available interface: wp_cursor_shape_manager_v1(16) version 1 [2024-10-07 15:05:42.767]: Debug: Available interface: zwp_primary_selection_device_manager_v1(17) version 1 [2024-10-07 15:05:42.767]: Debug: Available interface: org_kde_kwin_idle(18) version 1 [2024-10-07 15:05:42.767]: Debug: Available interface: zwp_idle_inhibit_manager_v1(19) version 1 [2024-10-07 15:05:42.767]: Debug: Available interface: ext_idle_notifier_v1(20) version 1 [2024-10-07 15:05:42.767]: Debug: Available interface: org_kde_plasma_shell(21) version 8 [2024-10-07 15:05:42.767]: Debug: Available interface: org_kde_kwin_appmenu_manager(22) version 1 [2024-10-07 15:05:42.767]: Debug: Available interface: org_kde_kwin_server_decoration_palette_manager(23) version 1 [2024-10-07 15:05:42.767]: Debug: Available interface: org_kde_plasma_virtual_desktop_management(25) version 2 [2024-10-07 15:05:42.767]: Debug: Available interface: org_kde_kwin_shadow_manager(27) version 2 [2024-10-07 15:05:42.767]: Debug: Available interface: org_kde_kwin_dpms_manager(28) version 1 [2024-10-07 15:05:42.767]: Debug: Available interface: org_kde_kwin_server_decoration_manager(29) version 1 [2024-10-07 15:05:42.767]: Debug: Available interface: kde_output_management_v2(30) version 9 [2024-10-07 15:05:42.767]: Debug: Available interface: zxdg_output_manager_v1(31) version 3 [2024-10-07 15:05:42.767]: Info: Found interface: zxdg_output_manager_v1(31) version 3 [2024-10-07 15:05:42.767]: Debug: Available interface: wl_subcompositor(32) version 1 [2024-10-07 15:05:42.767]: Debug: Available interface: zxdg_exporter_v2(33) version 1 [2024-10-07 15:05:42.767]: Debug: Available interface: zxdg_importer_v2(34) version 1 [2024-10-07 15:05:42.767]: Debug: Available interface: xdg_activation_v1(37) version 1 [2024-10-07 15:05:42.767]: Debug: Available interface: wp_content_type_manager_v1(39) version 1 [2024-10-07 15:05:42.767]: Debug: Available interface: wp_tearing_control_manager_v1(40) version 1 [2024-10-07 15:05:42.768]: Debug: Available interface: xdg_toplevel_drag_manager_v1(41) version 1 [2024-10-07 15:05:42.768]: Debug: Available interface: kde_screen_edge_manager_v1(42) version 1 [2024-10-07 15:05:42.768]: Debug: Available interface: frog_color_management_factory_v1(43) version 1 [2024-10-07 15:05:42.768]: Debug: Available interface: wp_presentation(44) version 1 [2024-10-07 15:05:42.768]: Debug: Available interface: xdg_wm_dialog_v1(45) version 1 [2024-10-07 15:05:42.768]: Debug: Available interface: xdg_wm_base(48) version 6 [2024-10-07 15:05:42.768]: Debug: Available interface: zwlr_layer_shell_v1(49) version 5 [2024-10-07 15:05:42.768]: Debug: Available interface: wp_drm_lease_device_v1(51) version 1 [2024-10-07 15:05:42.768]: Debug: Available interface: kde_output_order_v1(52) version 1 [2024-10-07 15:05:42.768]: Debug: Available interface: zwp_text_input_manager_v1(53) version 1 [2024-10-07 15:05:42.768]: Debug: Available interface: zwp_text_input_manager_v2(54) version 1 [2024-10-07 15:05:42.768]: Debug: Available interface: zwp_text_input_manager_v3(55) version 1 [2024-10-07 15:05:42.768]: Debug: Available interface: wl_drm(57) version 2 [2024-10-07 15:05:42.768]: Debug: Available interface: zwp_linux_dmabuf_v1(58) version 4 [2024-10-07 15:05:42.768]: Debug: Available interface: wp_linux_drm_syncobj_manager_v1(59) version 1 [2024-10-07 15:05:42.768]: Debug: Available interface: org_kde_kwin_blur_manager(62) version 1 [2024-10-07 15:05:42.768]: Debug: Available interface: org_kde_kwin_contrast_manager(63) version 2 [2024-10-07 15:05:42.768]: Debug: Available interface: org_kde_kwin_slide_manager(64) version 1 [2024-10-07 15:05:42.768]: Debug: Available interface: kde_output_device_v2(65) version 8 [2024-10-07 15:05:42.768]: Debug: Available interface: wl_output(66) version 4 [2024-10-07 15:05:42.768]: Info: Found interface: wl_output(66) version 4 [2024-10-07 15:05:42.768]: Info: Resolution: 3840x2160 [2024-10-07 15:05:42.768]: Info: Offset: 0x0 [2024-10-07 15:05:42.768]: Info: Logical size: 1920x1080 [2024-10-07 15:05:42.768]: Info: Name: DP-3 [2024-10-07 15:05:42.768]: Info: Found monitor: GIGA-BYTE TECHNOLOGY CO., LTD. M28U/21350B000520 [2024-10-07 15:05:42.768]: Info: -------- Start of KMS monitor list -------- [2024-10-07 15:05:42.768]: Info: Monitor 0 is DP-3: GIGA-BYTE TECHNOLOGY CO., LTD. M28U/21350B000520 [2024-10-07 15:05:42.768]: Info: --------- End of KMS monitor list --------- [2024-10-07 15:05:42.768]: Debug: Monitor description [2024-10-07 15:05:42.768]: Debug: Resolution: 0x0 [2024-10-07 15:05:42.768]: Debug: Offset: 0x0 [2024-10-07 15:05:42.768]: Debug: Monitor description [2024-10-07 15:05:42.768]: Debug: Resolution: 3840x2160 [2024-10-07 15:05:42.768]: Debug: Offset: 0x0 [2024-10-07 15:05:42.768]: Debug: Desktop resolution: 3840x2160 [2024-10-07 15:05:42.802]: Info: System tray created [2024-10-07 15:05:42.802]: Debug: System tray loop [2024-10-07 15:05:42.803]: Debug: System tray loop [2024-10-07 15:05:42.803]: Debug: System tray loop [2024-10-07 15:05:42.803]: Debug: System tray loop [2024-10-07 15:05:42.803]: Debug: System tray loop [2024-10-07 15:05:42.803]: Debug: System tray loop [2024-10-07 15:05:42.804]: Debug: System tray loop [2024-10-07 15:05:42.804]: Debug: System tray loop [2024-10-07 15:05:42.804]: Debug: System tray loop [2024-10-07 15:05:42.804]: Debug: System tray loop [2024-10-07 15:05:42.804]: Debug: System tray loop [2024-10-07 15:05:42.804]: Debug: System tray loop [2024-10-07 15:05:42.843]: Debug: System tray loop [2024-10-07 15:05:42.844]: Debug: System tray loop [2024-10-07 15:05:42.844]: Debug: System tray loop [2024-10-07 15:05:42.854]: Debug: System tray loop [2024-10-07 15:05:42.854]: Debug: System tray loop [2024-10-07 15:05:42.875]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. // [2024-10-07 15:05:42.875]: Info: Trying encoder [nvenc] [2024-10-07 15:05:42.875]: Info: Screencasting with KMS [2024-10-07 15:05:42.876]: Info: /dev/dri/card1 -> amdgpu [2024-10-07 15:05:42.876]: Debug: Opening render node: /dev/dri/renderD128 [2024-10-07 15:05:42.876]: Debug: "card1" is not a CUDA device [2024-10-07 15:05:42.876]: Error: Couldn't find monitor [0] [2024-10-07 15:05:42.876]: Info: /dev/dri/card1 -> amdgpu [2024-10-07 15:05:42.877]: Debug: Opening render node: /dev/dri/renderD128 [2024-10-07 15:05:42.877]: Debug: "card1" is not a CUDA device [2024-10-07 15:05:42.877]: Error: Couldn't find monitor [0] [2024-10-07 15:05:43.077]: Info: Screencasting with KMS [2024-10-07 15:05:43.079]: Info: /dev/dri/card1 -> amdgpu [2024-10-07 15:05:43.079]: Debug: Opening render node: /dev/dri/renderD128 [2024-10-07 15:05:43.079]: Debug: "card1" is not a CUDA device [2024-10-07 15:05:43.079]: Error: Couldn't find monitor [0] [2024-10-07 15:05:43.080]: Info: /dev/dri/card1 -> amdgpu [2024-10-07 15:05:43.080]: Debug: Opening render node: /dev/dri/renderD128 [2024-10-07 15:05:43.080]: Debug: "card1" is not a CUDA device [2024-10-07 15:05:43.080]: Error: Couldn't find monitor [0] [2024-10-07 15:05:43.280]: Info: Encoder [nvenc] failed [2024-10-07 15:05:43.280]: Info: Trying encoder [vaapi] [2024-10-07 15:05:43.281]: Info: Screencasting with KMS [2024-10-07 15:05:43.282]: Info: /dev/dri/card1 -> amdgpu [2024-10-07 15:05:43.282]: Debug: Opening render node: /dev/dri/renderD128 [2024-10-07 15:05:43.283]: Info: Found monitor for DRM screencasting [2024-10-07 15:05:43.283]: Debug: crtc(0, 0) [2024-10-07 15:05:43.283]: Debug: crtc(3840, 2160) [2024-10-07 15:05:43.283]: Debug: plane->possible_crtcs == 1 [2024-10-07 15:05:43.283]: Debug: x(0) y(0) crtc_x(0) crtc_y(0) crtc_id(91) [2024-10-07 15:05:43.283]: Debug: Resolution: 3840x2160: Pitch: 15360: Offset: 0 [2024-10-07 15:05:43.283]: Debug: Format [XR24, AR24, RA24, XR30, XB30, AR30, AB30, XR48, XB48, AR48, AB48, XB24, AB24, RG16, NV12, P010, XR4H, AR4H, XB4H, AB4H] [2024-10-07 15:05:43.283]: Info: Found connector ID [126] [2024-10-07 15:05:43.283]: Info: Found cursor plane [88] libva info: VA-API version 1.21.0 libva info: Trying to open /usr/lib64/dri-nonfree/radeonsi_drv_video.so libva info: Trying to open /usr/lib64/dri-freeworld/radeonsi_drv_video.so libva info: Trying to open /usr/lib64/dri/radeonsi_drv_video.so libva info: Found init function __vaDriverInit_1_21 libva info: va_openDriver() returns 0 [2024-10-07 15:05:43.307]: Info: Creating encoder [h264_vaapi] [2024-10-07 15:05:43.307]: Info: Color coding: SDR (Rec. 601) [2024-10-07 15:05:43.307]: Info: Color depth: 8-bit [2024-10-07 15:05:43.307]: Info: Color range: JPEG [2024-10-07 15:05:43.314]: Debug: EGL: [Mesa Project]: version [1.5] [2024-10-07 15:05:43.314]: Debug: API's supported: [OpenGL OpenGL_ES ] [2024-10-07 15:05:43.316]: Debug: GL: vendor: AMD [2024-10-07 15:05:43.316]: Debug: GL: renderer: AMD Radeon RX 6800 (radeonsi, navi21, LLVM 18.1.6, DRM 3.57, 6.10.12-200.fc40.x86_64) [2024-10-07 15:05:43.316]: Debug: GL: version: 4.6 (Compatibility Profile) Mesa 24.1.7 [2024-10-07 15:05:43.316]: Debug: GL: shader: 4.60 libva info: VA-API version 1.21.0 libva info: Trying to open /usr/lib64/dri-nonfree/radeonsi_drv_video.so libva info: Trying to open /usr/lib64/dri-freeworld/radeonsi_drv_video.so libva info: Trying to open /usr/lib64/dri/radeonsi_drv_video.so libva info: Found init function __vaDriverInit_1_21 libva info: va_openDriver() returns 0 [2024-10-07 15:05:43.320]: Info: vaapi vendor: Mesa Gallium driver 24.1.7 for AMD Radeon RX 6800 (radeonsi, navi21, LLVM 18.1.6, DRM 3.57, 6.10.12-200.fc40.x86_64) [2024-10-07 15:05:43.320]: Debug: [AVHWDeviceContext @ 0x24f2ea40] VAAPI driver: Mesa Gallium driver 24.1.7 for AMD Radeon RX 6800 (radeonsi, navi21, LLVM 18.1.6, DRM 3.57, 6.10.12-200.fc40.x86_64). [2024-10-07 15:05:43.320]: Debug: [AVHWDeviceContext @ 0x24f2ea40] Driver not found in known nonstandard list, using standard behaviour. [2024-10-07 15:05:43.320]: Debug: [h264_vaapi @ 0x24dc3000] Input surface format is nv12. [2024-10-07 15:05:43.320]: Debug: [h264_vaapi @ 0x24dc3000] Using VAAPI profile VAProfileH264High (7). [2024-10-07 15:05:43.320]: Error: [h264_vaapi @ 0x24dc3000] No usable encoding entrypoint found for profile VAProfileH264High (7). [2024-10-07 15:05:43.320]: Info: Retrying with fallback configuration options for [h264_vaapi] after error: Function not implemented libva info: VA-API version 1.21.0 libva info: Trying to open /usr/lib64/dri-nonfree/radeonsi_drv_video.so libva info: Trying to open /usr/lib64/dri-freeworld/radeonsi_drv_video.so libva info: Trying to open /usr/lib64/dri/radeonsi_drv_video.so libva info: Found init function __vaDriverInit_1_21 libva info: va_openDriver() returns 0 [2024-10-07 15:05:43.323]: Info: vaapi vendor: Mesa Gallium driver 24.1.7 for AMD Radeon RX 6800 (radeonsi, navi21, LLVM 18.1.6, DRM 3.57, 6.10.12-200.fc40.x86_64) [2024-10-07 15:05:43.323]: Debug: [AVHWDeviceContext @ 0x24fa6680] VAAPI driver: Mesa Gallium driver 24.1.7 for AMD Radeon RX 6800 (radeonsi, navi21, LLVM 18.1.6, DRM 3.57, 6.10.12-200.fc40.x86_64). [2024-10-07 15:05:43.323]: Debug: [AVHWDeviceContext @ 0x24fa6680] Driver not found in known nonstandard list, using standard behaviour. [2024-10-07 15:05:43.324]: Debug: [h264_vaapi @ 0x24f3fd40] Input surface format is nv12. [2024-10-07 15:05:43.324]: Debug: [h264_vaapi @ 0x24f3fd40] Using VAAPI profile VAProfileH264High (7). [2024-10-07 15:05:43.324]: Debug: [h264_vaapi @ 0x24f3fd40] Using VAAPI entrypoint VAEntrypointEncSlice (6). [2024-10-07 15:05:43.324]: Debug: [h264_vaapi @ 0x24f3fd40] Using VAAPI render target format YUV420 (0x1). [2024-10-07 15:05:43.324]: Debug: [h264_vaapi @ 0x24f3fd40] RC mode: CBR. [2024-10-07 15:05:43.324]: Debug: [h264_vaapi @ 0x24f3fd40] Block Level bitrate control: OFF. [2024-10-07 15:05:43.324]: Debug: [h264_vaapi @ 0x24f3fd40] RC target: 100% of 1000000 bps over 16 ms. [2024-10-07 15:05:43.324]: Debug: [h264_vaapi @ 0x24f3fd40] RC buffer: 16666 bits, initial fullness 12499 bits. [2024-10-07 15:05:43.324]: Debug: [h264_vaapi @ 0x24f3fd40] RC framerate: 60/1 (60.00 fps). [2024-10-07 15:05:43.324]: Debug: [h264_vaapi @ 0x24f3fd40] Driver does not report any additional prediction constraints. [2024-10-07 15:05:43.324]: Debug: [h264_vaapi @ 0x24f3fd40] Using intra and P-frames (supported references: 1 / 1). [2024-10-07 15:05:43.324]: Warning: [h264_vaapi @ 0x24f3fd40] Driver does not support some wanted packed headers (wanted 0xd, found 0x1). [2024-10-07 15:05:43.324]: Debug: [h264_vaapi @ 0x24f3fd40] Using level 4.2. [2024-10-07 15:05:43.340]: Debug: Frame 1: IDR Keyframe (AV_FRAME_FLAG_KEY) [2024-10-07 15:05:43.340]: Error: Invalid value at rbsp_stop_one_bit: bitstream ended. [2024-10-07 15:05:43.340]: Error: Failed to read unit 4 (type 12). [2024-10-07 15:05:43.340]: Error: Couldn't read packet: Invalid data found when processing input [2024-10-07 15:05:43.342]: Info: Creating encoder [hevc_vaapi] [2024-10-07 15:05:43.342]: Info: Color coding: SDR (Rec. 601) [2024-10-07 15:05:43.342]: Info: Color depth: 8-bit [2024-10-07 15:05:43.342]: Info: Color range: JPEG [2024-10-07 15:05:43.348]: Debug: EGL: [Mesa Project]: version [1.5] [2024-10-07 15:05:43.348]: Debug: API's supported: [OpenGL OpenGL_ES ] [2024-10-07 15:05:43.348]: Debug: GL: vendor: AMD [2024-10-07 15:05:43.349]: Debug: GL: renderer: AMD Radeon RX 6800 (radeonsi, navi21, LLVM 18.1.6, DRM 3.57, 6.10.12-200.fc40.x86_64) [2024-10-07 15:05:43.349]: Debug: GL: version: 4.6 (Compatibility Profile) Mesa 24.1.7 [2024-10-07 15:05:43.349]: Debug: GL: shader: 4.60 libva info: VA-API version 1.21.0 libva info: Trying to open /usr/lib64/dri-nonfree/radeonsi_drv_video.so libva info: Trying to open /usr/lib64/dri-freeworld/radeonsi_drv_video.so libva info: Trying to open /usr/lib64/dri/radeonsi_drv_video.so libva info: Found init function __vaDriverInit_1_21 libva info: va_openDriver() returns 0 [2024-10-07 15:05:43.354]: Info: vaapi vendor: Mesa Gallium driver 24.1.7 for AMD Radeon RX 6800 (radeonsi, navi21, LLVM 18.1.6, DRM 3.57, 6.10.12-200.fc40.x86_64) [2024-10-07 15:05:43.354]: Debug: [AVHWDeviceContext @ 0x2518dd40] VAAPI driver: Mesa Gallium driver 24.1.7 for AMD Radeon RX 6800 (radeonsi, navi21, LLVM 18.1.6, DRM 3.57, 6.10.12-200.fc40.x86_64). [2024-10-07 15:05:43.354]: Debug: [AVHWDeviceContext @ 0x2518dd40] Driver not found in known nonstandard list, using standard behaviour. [1] 24296 segmentation fault (core dumped) sunshine ```
ReenigneArcher commented 1 month ago

I don't think this has anything to do with the change to the packaging, but maybe from #3263.

Does copr let you try older builds? If so can you try this one?

image

@cgutman do you have some idea?

slagiewka commented 1 month ago

Does copr let you try older builds? If so can you try this one?

Downgraded works ``` ➜ ~ sudo dnf install Sunshine-2024.1006.230920-1.fc40.x86_64 [sudo] password for shimmy: Last metadata expiration check: 4:09:18 ago on Mon 07 Oct 2024 11:48:13 CEST. Dependencies resolved. ================================================================================================================================================================================================================================================================================== Package Architecture Version Repository Size ================================================================================================================================================================================================================================================================================== Downgrading: Sunshine x86_64 2024.1006.230920-1.fc40 copr:copr.fedorainfracloud.org:lizardbyte:beta 7.3 M Transaction Summary ================================================================================================================================================================================================================================================================================== Downgrade 1 Package Total download size: 7.3 M Is this ok [y/N]: y Downloading Packages: Sunshine-2024.1006.230920-1.fc40.x86_64.rpm 6.9 MB/s | 7.3 MB 00:01 ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Total 6.9 MB/s | 7.3 MB 00:01 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Downgrading : Sunshine-2024.1006.230920-1.fc40.x86_64 1/2 Running scriptlet: Sunshine-2024.1006.230920-1.fc40.x86_64 1/2 Not in an rpm-ostree environment, proceeding with post install steps. Reloading udev rules. Udev rules reloaded successfully. Running scriptlet: Sunshine-2024.1007.50756-1.fc40.x86_64 2/2 Cleanup : Sunshine-2024.1007.50756-1.fc40.x86_64 2/2 Running scriptlet: Sunshine-2024.1007.50756-1.fc40.x86_64 2/2 Downgraded: Sunshine-2024.1006.230920-1.fc40.x86_64 Complete! ➜ ~ sunshine [min_threads] -- [4] [global_prep_cmd] -- [[{"do":"sh -c \"kscreen-doctor output.DP-3.mode.${SUNSHINE_CLIENT_WIDTH}x${SUNSHINE_CLIENT_HEIGHT}@${SUNSHINE_CLIENT_FPS} output.DP-3.scale.1\"","undo":"kscreen-doctor output.DP-3.mode.3840x2160@144 output.DP-3.scale.2"},{"do":"loginctl unlock-session","undo":""}]] [min_log_level] -- [1] [output_name] -- [0] [resolutions] -- [[ 352x240, 480x360, 858x480, 1280x720, 1920x1080, 2560x1080, 3440x1440, 1920x1200, 3860x2160, 3840x1600, 1280x800 ]] Warning: Unrecognized configurable option [resolutions] [2024-10-07 15:57:41.921]: Info: Sunshine version: 0.0.0.756d2e19b2d8d67298dfd5068319e421a036909b [2024-10-07 15:57:41.921]: Info: Package Publisher: LizardByte [2024-10-07 15:57:41.921]: Info: Publisher Website: https://app.lizardbyte.dev [2024-10-07 15:57:41.921]: Info: Get support: https://app.lizardbyte.dev/support Cannot load libcuda.so.1 [2024-10-07 15:57:41.922]: Error: Couldn't load cuda: -1 [2024-10-07 15:57:41.922]: Info: Found display [wayland-0] [2024-10-07 15:57:41.923]: Debug: Available interface: wl_compositor(1) version 6 [2024-10-07 15:57:41.923]: Debug: Available interface: zwp_tablet_manager_v2(3) version 1 [2024-10-07 15:57:41.923]: Debug: Available interface: zwp_keyboard_shortcuts_inhibit_manager_v1(4) version 1 [2024-10-07 15:57:41.923]: Debug: Available interface: zxdg_decoration_manager_v1(5) version 1 [2024-10-07 15:57:41.923]: Debug: Available interface: wp_viewporter(6) version 1 [2024-10-07 15:57:41.923]: Debug: Available interface: wp_security_context_manager_v1(7) version 1 [2024-10-07 15:57:41.923]: Debug: Available interface: wp_fractional_scale_manager_v1(8) version 1 [2024-10-07 15:57:41.923]: Debug: Available interface: wl_shm(9) version 1 [2024-10-07 15:57:41.923]: Debug: Available interface: wl_seat(10) version 9 [2024-10-07 15:57:41.923]: Debug: Available interface: zwp_pointer_gestures_v1(11) version 3 [2024-10-07 15:57:41.923]: Debug: Available interface: zwp_pointer_constraints_v1(12) version 1 [2024-10-07 15:57:41.923]: Debug: Available interface: zwp_relative_pointer_manager_v1(13) version 1 [2024-10-07 15:57:41.923]: Debug: Available interface: wl_data_device_manager(14) version 3 [2024-10-07 15:57:41.923]: Debug: Available interface: zwlr_data_control_manager_v1(15) version 2 [2024-10-07 15:57:41.923]: Debug: Available interface: wp_cursor_shape_manager_v1(16) version 1 [2024-10-07 15:57:41.923]: Debug: Available interface: zwp_primary_selection_device_manager_v1(17) version 1 [2024-10-07 15:57:41.923]: Debug: Available interface: org_kde_kwin_idle(18) version 1 [2024-10-07 15:57:41.923]: Debug: Available interface: zwp_idle_inhibit_manager_v1(19) version 1 [2024-10-07 15:57:41.923]: Debug: Available interface: ext_idle_notifier_v1(20) version 1 [2024-10-07 15:57:41.923]: Debug: Available interface: org_kde_plasma_shell(21) version 8 [2024-10-07 15:57:41.923]: Debug: Available interface: org_kde_kwin_appmenu_manager(22) version 1 [2024-10-07 15:57:41.923]: Debug: Available interface: org_kde_kwin_server_decoration_palette_manager(23) version 1 [2024-10-07 15:57:41.923]: Debug: Available interface: org_kde_plasma_virtual_desktop_management(25) version 2 [2024-10-07 15:57:41.923]: Debug: Available interface: org_kde_kwin_shadow_manager(27) version 2 [2024-10-07 15:57:41.923]: Debug: Available interface: org_kde_kwin_dpms_manager(28) version 1 [2024-10-07 15:57:41.923]: Debug: Available interface: org_kde_kwin_server_decoration_manager(29) version 1 [2024-10-07 15:57:41.923]: Debug: Available interface: kde_output_management_v2(30) version 9 [2024-10-07 15:57:41.923]: Debug: Available interface: zxdg_output_manager_v1(31) version 3 [2024-10-07 15:57:41.923]: Info: Found interface: zxdg_output_manager_v1(31) version 3 [2024-10-07 15:57:41.923]: Debug: Available interface: wl_subcompositor(32) version 1 [2024-10-07 15:57:41.923]: Debug: Available interface: zxdg_exporter_v2(33) version 1 [2024-10-07 15:57:41.923]: Debug: Available interface: zxdg_importer_v2(34) version 1 [2024-10-07 15:57:41.923]: Debug: Available interface: xdg_activation_v1(37) version 1 [2024-10-07 15:57:41.923]: Debug: Available interface: wp_content_type_manager_v1(39) version 1 [2024-10-07 15:57:41.923]: Debug: Available interface: wp_tearing_control_manager_v1(40) version 1 [2024-10-07 15:57:41.923]: Debug: Available interface: xdg_toplevel_drag_manager_v1(41) version 1 [2024-10-07 15:57:41.923]: Debug: Available interface: kde_screen_edge_manager_v1(42) version 1 [2024-10-07 15:57:41.923]: Debug: Available interface: frog_color_management_factory_v1(43) version 1 [2024-10-07 15:57:41.923]: Debug: Available interface: wp_presentation(44) version 1 [2024-10-07 15:57:41.923]: Debug: Available interface: xdg_wm_dialog_v1(45) version 1 [2024-10-07 15:57:41.923]: Debug: Available interface: xdg_wm_base(48) version 6 [2024-10-07 15:57:41.923]: Debug: Available interface: zwlr_layer_shell_v1(49) version 5 [2024-10-07 15:57:41.923]: Debug: Available interface: wp_drm_lease_device_v1(51) version 1 [2024-10-07 15:57:41.923]: Debug: Available interface: kde_output_order_v1(52) version 1 [2024-10-07 15:57:41.923]: Debug: Available interface: zwp_text_input_manager_v1(53) version 1 [2024-10-07 15:57:41.923]: Debug: Available interface: zwp_text_input_manager_v2(54) version 1 [2024-10-07 15:57:41.923]: Debug: Available interface: zwp_text_input_manager_v3(55) version 1 [2024-10-07 15:57:41.923]: Debug: Available interface: wl_drm(57) version 2 [2024-10-07 15:57:41.923]: Debug: Available interface: zwp_linux_dmabuf_v1(58) version 4 [2024-10-07 15:57:41.923]: Debug: Available interface: wp_linux_drm_syncobj_manager_v1(59) version 1 [2024-10-07 15:57:41.923]: Debug: Available interface: org_kde_kwin_blur_manager(62) version 1 [2024-10-07 15:57:41.923]: Debug: Available interface: org_kde_kwin_contrast_manager(63) version 2 [2024-10-07 15:57:41.923]: Debug: Available interface: org_kde_kwin_slide_manager(64) version 1 [2024-10-07 15:57:41.923]: Debug: Available interface: kde_output_device_v2(69) version 8 [2024-10-07 15:57:41.923]: Debug: Available interface: wl_output(70) version 4 [2024-10-07 15:57:41.923]: Info: Found interface: wl_output(70) version 4 [2024-10-07 15:57:41.923]: Warning: Missing Wayland wire for wlr-export-dmabuf [2024-10-07 15:57:41.923]: Info: /dev/dri/card1 -> amdgpu [2024-10-07 15:57:41.923]: Debug: Opening render node: /dev/dri/renderD128 [2024-10-07 15:57:41.923]: Debug: crtc(0, 0) [2024-10-07 15:57:41.923]: Debug: crtc(3840, 2160) [2024-10-07 15:57:41.923]: Debug: plane->possible_crtcs == 1 [2024-10-07 15:57:41.923]: Debug: x(0) y(0) crtc_x(0) crtc_y(0) crtc_id(91) [2024-10-07 15:57:41.923]: Debug: Resolution: 3840x2160: Pitch: 15360: Offset: 0 [2024-10-07 15:57:41.923]: Debug: Format [XR24, AR24, RA24, XR30, XB30, AR30, AB30, XR48, XB48, AR48, AB48, XB24, AB24, RG16, NV12, P010, XR4H, AR4H, XB4H, AB4H] [2024-10-07 15:57:41.924]: Info: Found display [wayland-0] [2024-10-07 15:57:41.924]: Info: Found display [wayland-0] [2024-10-07 15:57:41.924]: Debug: Available interface: wl_compositor(1) version 6 [2024-10-07 15:57:41.924]: Debug: Available interface: zwp_tablet_manager_v2(3) version 1 [2024-10-07 15:57:41.924]: Debug: Available interface: zwp_keyboard_shortcuts_inhibit_manager_v1(4) version 1 [2024-10-07 15:57:41.924]: Debug: Available interface: zxdg_decoration_manager_v1(5) version 1 [2024-10-07 15:57:41.924]: Debug: Available interface: wp_viewporter(6) version 1 [2024-10-07 15:57:41.924]: Debug: Available interface: wp_security_context_manager_v1(7) version 1 [2024-10-07 15:57:41.924]: Debug: Available interface: wp_fractional_scale_manager_v1(8) version 1 [2024-10-07 15:57:41.924]: Debug: Available interface: wl_shm(9) version 1 [2024-10-07 15:57:41.924]: Debug: Available interface: wl_seat(10) version 9 [2024-10-07 15:57:41.924]: Debug: Available interface: zwp_pointer_gestures_v1(11) version 3 [2024-10-07 15:57:41.924]: Debug: Available interface: zwp_pointer_constraints_v1(12) version 1 [2024-10-07 15:57:41.924]: Debug: Available interface: zwp_relative_pointer_manager_v1(13) version 1 [2024-10-07 15:57:41.924]: Debug: Available interface: wl_data_device_manager(14) version 3 [2024-10-07 15:57:41.924]: Debug: Available interface: zwlr_data_control_manager_v1(15) version 2 [2024-10-07 15:57:41.924]: Debug: Available interface: wp_cursor_shape_manager_v1(16) version 1 [2024-10-07 15:57:41.924]: Debug: Available interface: zwp_primary_selection_device_manager_v1(17) version 1 [2024-10-07 15:57:41.924]: Debug: Available interface: org_kde_kwin_idle(18) version 1 [2024-10-07 15:57:41.924]: Debug: Available interface: zwp_idle_inhibit_manager_v1(19) version 1 [2024-10-07 15:57:41.924]: Debug: Available interface: ext_idle_notifier_v1(20) version 1 [2024-10-07 15:57:41.924]: Debug: Available interface: org_kde_plasma_shell(21) version 8 [2024-10-07 15:57:41.924]: Debug: Available interface: org_kde_kwin_appmenu_manager(22) version 1 [2024-10-07 15:57:41.924]: Debug: Available interface: org_kde_kwin_server_decoration_palette_manager(23) version 1 [2024-10-07 15:57:41.924]: Debug: Available interface: org_kde_plasma_virtual_desktop_management(25) version 2 [2024-10-07 15:57:41.924]: Debug: Available interface: org_kde_kwin_shadow_manager(27) version 2 [2024-10-07 15:57:41.924]: Debug: Available interface: org_kde_kwin_dpms_manager(28) version 1 [2024-10-07 15:57:41.924]: Debug: Available interface: org_kde_kwin_server_decoration_manager(29) version 1 [2024-10-07 15:57:41.924]: Debug: Available interface: kde_output_management_v2(30) version 9 [2024-10-07 15:57:41.924]: Debug: Available interface: zxdg_output_manager_v1(31) version 3 [2024-10-07 15:57:41.924]: Info: Found interface: zxdg_output_manager_v1(31) version 3 [2024-10-07 15:57:41.924]: Debug: Available interface: wl_subcompositor(32) version 1 [2024-10-07 15:57:41.924]: Debug: Available interface: zxdg_exporter_v2(33) version 1 [2024-10-07 15:57:41.924]: Debug: Available interface: zxdg_importer_v2(34) version 1 [2024-10-07 15:57:41.924]: Debug: Available interface: xdg_activation_v1(37) version 1 [2024-10-07 15:57:41.924]: Debug: Available interface: wp_content_type_manager_v1(39) version 1 [2024-10-07 15:57:41.924]: Debug: Available interface: wp_tearing_control_manager_v1(40) version 1 [2024-10-07 15:57:41.924]: Debug: Available interface: xdg_toplevel_drag_manager_v1(41) version 1 [2024-10-07 15:57:41.924]: Debug: Available interface: kde_screen_edge_manager_v1(42) version 1 [2024-10-07 15:57:41.924]: Debug: Available interface: frog_color_management_factory_v1(43) version 1 [2024-10-07 15:57:41.924]: Debug: Available interface: wp_presentation(44) version 1 [2024-10-07 15:57:41.924]: Debug: Available interface: xdg_wm_dialog_v1(45) version 1 [2024-10-07 15:57:41.924]: Debug: Available interface: xdg_wm_base(48) version 6 [2024-10-07 15:57:41.924]: Debug: Available interface: zwlr_layer_shell_v1(49) version 5 [2024-10-07 15:57:41.924]: Debug: Available interface: wp_drm_lease_device_v1(51) version 1 [2024-10-07 15:57:41.924]: Debug: Available interface: kde_output_order_v1(52) version 1 [2024-10-07 15:57:41.924]: Debug: Available interface: zwp_text_input_manager_v1(53) version 1 [2024-10-07 15:57:41.924]: Debug: Available interface: zwp_text_input_manager_v2(54) version 1 [2024-10-07 15:57:41.924]: Debug: Available interface: zwp_text_input_manager_v3(55) version 1 [2024-10-07 15:57:41.924]: Debug: Available interface: wl_drm(57) version 2 [2024-10-07 15:57:41.924]: Debug: Available interface: zwp_linux_dmabuf_v1(58) version 4 [2024-10-07 15:57:41.924]: Debug: Available interface: wp_linux_drm_syncobj_manager_v1(59) version 1 [2024-10-07 15:57:41.924]: Debug: Available interface: org_kde_kwin_blur_manager(62) version 1 [2024-10-07 15:57:41.924]: Debug: Available interface: org_kde_kwin_contrast_manager(63) version 2 [2024-10-07 15:57:41.924]: Debug: Available interface: org_kde_kwin_slide_manager(64) version 1 [2024-10-07 15:57:41.924]: Debug: Available interface: kde_output_device_v2(69) version 8 [2024-10-07 15:57:41.924]: Debug: Available interface: wl_output(70) version 4 [2024-10-07 15:57:41.924]: Info: Found interface: wl_output(70) version 4 [2024-10-07 15:57:41.924]: Info: Resolution: 3840x2160 [2024-10-07 15:57:41.924]: Info: Offset: 0x0 [2024-10-07 15:57:41.924]: Info: Logical size: 1920x1080 [2024-10-07 15:57:41.924]: Info: Name: DP-3 [2024-10-07 15:57:41.924]: Info: Found monitor: GIGA-BYTE TECHNOLOGY CO., LTD. M28U/21350B000520 [2024-10-07 15:57:41.924]: Info: -------- Start of KMS monitor list -------- [2024-10-07 15:57:41.924]: Info: Monitor 0 is DP-3: GIGA-BYTE TECHNOLOGY CO., LTD. M28U/21350B000520 [2024-10-07 15:57:41.924]: Info: --------- End of KMS monitor list --------- [2024-10-07 15:57:41.924]: Debug: Monitor description [2024-10-07 15:57:41.924]: Debug: Resolution: 0x0 [2024-10-07 15:57:41.924]: Debug: Offset: 0x0 [2024-10-07 15:57:41.924]: Debug: Monitor description [2024-10-07 15:57:41.924]: Debug: Resolution: 3840x2160 [2024-10-07 15:57:41.924]: Debug: Offset: 0x0 [2024-10-07 15:57:41.924]: Debug: Desktop resolution: 3840x2160 [2024-10-07 15:57:41.955]: Info: System tray created [2024-10-07 15:57:41.955]: Debug: System tray loop [2024-10-07 15:57:41.956]: Debug: System tray loop [2024-10-07 15:57:41.957]: Debug: System tray loop [2024-10-07 15:57:41.957]: Debug: System tray loop [2024-10-07 15:57:41.957]: Debug: System tray loop [2024-10-07 15:57:41.957]: Debug: System tray loop [2024-10-07 15:57:41.957]: Debug: System tray loop [2024-10-07 15:57:41.957]: Debug: System tray loop [2024-10-07 15:57:41.957]: Debug: System tray loop [2024-10-07 15:57:41.957]: Debug: System tray loop [2024-10-07 15:57:41.957]: Debug: System tray loop [2024-10-07 15:57:41.959]: Debug: System tray loop [2024-10-07 15:57:41.959]: Debug: System tray loop [2024-10-07 15:57:41.969]: Debug: System tray loop [2024-10-07 15:57:41.969]: Debug: System tray loop [2024-10-07 15:57:42.043]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. // [2024-10-07 15:57:42.043]: Info: Trying encoder [nvenc] [2024-10-07 15:57:42.043]: Info: Screencasting with KMS [2024-10-07 15:57:42.043]: Info: /dev/dri/card1 -> amdgpu [2024-10-07 15:57:42.043]: Debug: Opening render node: /dev/dri/renderD128 [2024-10-07 15:57:42.043]: Debug: "card1" is not a CUDA device [2024-10-07 15:57:42.044]: Error: Couldn't find monitor [0] [2024-10-07 15:57:42.044]: Info: /dev/dri/card1 -> amdgpu [2024-10-07 15:57:42.044]: Debug: Opening render node: /dev/dri/renderD128 [2024-10-07 15:57:42.044]: Debug: "card1" is not a CUDA device [2024-10-07 15:57:42.045]: Error: Couldn't find monitor [0] [2024-10-07 15:57:42.245]: Info: Screencasting with KMS [2024-10-07 15:57:42.245]: Info: /dev/dri/card1 -> amdgpu [2024-10-07 15:57:42.245]: Debug: Opening render node: /dev/dri/renderD128 [2024-10-07 15:57:42.245]: Debug: "card1" is not a CUDA device [2024-10-07 15:57:42.246]: Error: Couldn't find monitor [0] [2024-10-07 15:57:42.246]: Info: /dev/dri/card1 -> amdgpu [2024-10-07 15:57:42.246]: Debug: Opening render node: /dev/dri/renderD128 [2024-10-07 15:57:42.246]: Debug: "card1" is not a CUDA device [2024-10-07 15:57:42.246]: Error: Couldn't find monitor [0] [2024-10-07 15:57:42.447]: Info: Encoder [nvenc] failed [2024-10-07 15:57:42.447]: Info: Trying encoder [vaapi] [2024-10-07 15:57:42.447]: Info: Screencasting with KMS [2024-10-07 15:57:42.447]: Info: /dev/dri/card1 -> amdgpu [2024-10-07 15:57:42.447]: Debug: Opening render node: /dev/dri/renderD128 [2024-10-07 15:57:42.447]: Info: Found monitor for DRM screencasting [2024-10-07 15:57:42.447]: Debug: crtc(0, 0) [2024-10-07 15:57:42.447]: Debug: crtc(3840, 2160) [2024-10-07 15:57:42.447]: Debug: plane->possible_crtcs == 1 [2024-10-07 15:57:42.447]: Debug: x(0) y(0) crtc_x(0) crtc_y(0) crtc_id(91) [2024-10-07 15:57:42.447]: Debug: Resolution: 3840x2160: Pitch: 15360: Offset: 0 [2024-10-07 15:57:42.447]: Debug: Format [XR24, AR24, RA24, XR30, XB30, AR30, AB30, XR48, XB48, AR48, AB48, XB24, AB24, RG16, NV12, P010, XR4H, AR4H, XB4H, AB4H] [2024-10-07 15:57:42.447]: Info: Found connector ID [126] [2024-10-07 15:57:42.448]: Info: Found cursor plane [88] libva info: VA-API version 1.21.0 libva info: Trying to open /usr/lib64/dri-nonfree/radeonsi_drv_video.so libva info: Trying to open /usr/lib64/dri-freeworld/radeonsi_drv_video.so libva info: Trying to open /usr/lib64/dri/radeonsi_drv_video.so libva info: Found init function __vaDriverInit_1_21 libva info: va_openDriver() returns 0 [2024-10-07 15:57:42.470]: Info: Creating encoder [h264_vaapi] [2024-10-07 15:57:42.470]: Info: Color coding: SDR (Rec. 601) [2024-10-07 15:57:42.470]: Info: Color depth: 8-bit [2024-10-07 15:57:42.470]: Info: Color range: JPEG [2024-10-07 15:57:42.479]: Debug: EGL: [Mesa Project]: version [1.5] [2024-10-07 15:57:42.479]: Debug: API's supported: [OpenGL OpenGL_ES ] [2024-10-07 15:57:42.480]: Debug: GL: vendor: AMD [2024-10-07 15:57:42.480]: Debug: GL: renderer: AMD Radeon RX 6800 (radeonsi, navi21, LLVM 18.1.6, DRM 3.57, 6.10.12-200.fc40.x86_64) [2024-10-07 15:57:42.480]: Debug: GL: version: 4.6 (Compatibility Profile) Mesa 24.1.7 [2024-10-07 15:57:42.480]: Debug: GL: shader: 4.60 libva info: VA-API version 1.21.0 libva info: Trying to open /usr/lib64/dri-nonfree/radeonsi_drv_video.so libva info: Trying to open /usr/lib64/dri-freeworld/radeonsi_drv_video.so libva info: Trying to open /usr/lib64/dri/radeonsi_drv_video.so libva info: Found init function __vaDriverInit_1_21 libva info: va_openDriver() returns 0 [2024-10-07 15:57:42.484]: Info: vaapi vendor: Mesa Gallium driver 24.1.7 for AMD Radeon RX 6800 (radeonsi, navi21, LLVM 18.1.6, DRM 3.57, 6.10.12-200.fc40.x86_64) [2024-10-07 15:57:42.484]: Debug: [AVHWDeviceContext @ 0x1f93ccc0] VAAPI driver: Mesa Gallium driver 24.1.7 for AMD Radeon RX 6800 (radeonsi, navi21, LLVM 18.1.6, DRM 3.57, 6.10.12-200.fc40.x86_64). [2024-10-07 15:57:42.484]: Debug: [AVHWDeviceContext @ 0x1f93ccc0] Driver not found in known nonstandard list, using standard behaviour. [2024-10-07 15:57:42.484]: Debug: [h264_vaapi @ 0x1f8b1480] Input surface format is nv12. [2024-10-07 15:57:42.484]: Debug: [h264_vaapi @ 0x1f8b1480] Using VAAPI profile VAProfileH264High (7). [2024-10-07 15:57:42.484]: Error: [h264_vaapi @ 0x1f8b1480] No usable encoding entrypoint found for profile VAProfileH264High (7). [2024-10-07 15:57:42.485]: Info: Retrying with fallback configuration options for [h264_vaapi] after error: Function not implemented libva info: VA-API version 1.21.0 libva info: Trying to open /usr/lib64/dri-nonfree/radeonsi_drv_video.so libva info: Trying to open /usr/lib64/dri-freeworld/radeonsi_drv_video.so libva info: Trying to open /usr/lib64/dri/radeonsi_drv_video.so libva info: Found init function __vaDriverInit_1_21 libva info: va_openDriver() returns 0 [2024-10-07 15:57:42.488]: Info: vaapi vendor: Mesa Gallium driver 24.1.7 for AMD Radeon RX 6800 (radeonsi, navi21, LLVM 18.1.6, DRM 3.57, 6.10.12-200.fc40.x86_64) [2024-10-07 15:57:42.488]: Debug: [AVHWDeviceContext @ 0x1f8bad80] VAAPI driver: Mesa Gallium driver 24.1.7 for AMD Radeon RX 6800 (radeonsi, navi21, LLVM 18.1.6, DRM 3.57, 6.10.12-200.fc40.x86_64). [2024-10-07 15:57:42.488]: Debug: [AVHWDeviceContext @ 0x1f8bad80] Driver not found in known nonstandard list, using standard behaviour. [2024-10-07 15:57:42.488]: Debug: [h264_vaapi @ 0x1f93a980] Input surface format is nv12. [2024-10-07 15:57:42.488]: Debug: [h264_vaapi @ 0x1f93a980] Using VAAPI profile VAProfileH264High (7). [2024-10-07 15:57:42.488]: Debug: [h264_vaapi @ 0x1f93a980] Using VAAPI entrypoint VAEntrypointEncSlice (6). [2024-10-07 15:57:42.488]: Debug: [h264_vaapi @ 0x1f93a980] Using VAAPI render target format YUV420 (0x1). [2024-10-07 15:57:42.488]: Debug: [h264_vaapi @ 0x1f93a980] RC mode: CBR. [2024-10-07 15:57:42.488]: Debug: [h264_vaapi @ 0x1f93a980] RC target: 100% of 1000000 bps over 16 ms. [2024-10-07 15:57:42.488]: Debug: [h264_vaapi @ 0x1f93a980] RC buffer: 16666 bits, initial fullness 12499 bits. [2024-10-07 15:57:42.488]: Debug: [h264_vaapi @ 0x1f93a980] RC framerate: 60/1 (60.00 fps). [2024-10-07 15:57:42.488]: Debug: [h264_vaapi @ 0x1f93a980] Driver does not report any additional prediction constraints. [2024-10-07 15:57:42.488]: Debug: [h264_vaapi @ 0x1f93a980] Using intra and P-frames (supported references: 1 / 1). [2024-10-07 15:57:42.488]: Warning: [h264_vaapi @ 0x1f93a980] Driver does not support some wanted packed headers (wanted 0xd, found 0x1). [2024-10-07 15:57:42.488]: Debug: [h264_vaapi @ 0x1f93a980] Using level 4.2. [2024-10-07 15:57:42.504]: Debug: Frame 1: IDR Keyframe (AV_FRAME_FLAG_KEY) [2024-10-07 15:57:42.504]: Error: Invalid value at rbsp_stop_one_bit: bitstream ended. [2024-10-07 15:57:42.504]: Error: Failed to read unit 4 (type 12). [2024-10-07 15:57:42.504]: Error: Couldn't read packet: Invalid data found when processing input [2024-10-07 15:57:42.515]: Info: Creating encoder [hevc_vaapi] [2024-10-07 15:57:42.515]: Info: Color coding: SDR (Rec. 601) [2024-10-07 15:57:42.515]: Info: Color depth: 8-bit [2024-10-07 15:57:42.515]: Info: Color range: JPEG [2024-10-07 15:57:42.523]: Debug: EGL: [Mesa Project]: version [1.5] [2024-10-07 15:57:42.523]: Debug: API's supported: [OpenGL OpenGL_ES ] [2024-10-07 15:57:42.523]: Debug: GL: vendor: AMD [2024-10-07 15:57:42.523]: Debug: GL: renderer: AMD Radeon RX 6800 (radeonsi, navi21, LLVM 18.1.6, DRM 3.57, 6.10.12-200.fc40.x86_64) [2024-10-07 15:57:42.523]: Debug: GL: version: 4.6 (Compatibility Profile) Mesa 24.1.7 [2024-10-07 15:57:42.523]: Debug: GL: shader: 4.60 libva info: VA-API version 1.21.0 libva info: Trying to open /usr/lib64/dri-nonfree/radeonsi_drv_video.so libva info: Trying to open /usr/lib64/dri-freeworld/radeonsi_drv_video.so libva info: Trying to open /usr/lib64/dri/radeonsi_drv_video.so libva info: Found init function __vaDriverInit_1_21 libva info: va_openDriver() returns 0 [2024-10-07 15:57:42.529]: Info: vaapi vendor: Mesa Gallium driver 24.1.7 for AMD Radeon RX 6800 (radeonsi, navi21, LLVM 18.1.6, DRM 3.57, 6.10.12-200.fc40.x86_64) [2024-10-07 15:57:42.529]: Debug: [AVHWDeviceContext @ 0x1f67a900] VAAPI driver: Mesa Gallium driver 24.1.7 for AMD Radeon RX 6800 (radeonsi, navi21, LLVM 18.1.6, DRM 3.57, 6.10.12-200.fc40.x86_64). [2024-10-07 15:57:42.529]: Debug: [AVHWDeviceContext @ 0x1f67a900] Driver not found in known nonstandard list, using standard behaviour. [2024-10-07 15:57:42.529]: Debug: [hevc_vaapi @ 0x1f8b1480] Input surface format is nv12. [2024-10-07 15:57:42.529]: Debug: [hevc_vaapi @ 0x1f8b1480] Using VAAPI profile VAProfileHEVCMain (17). [2024-10-07 15:57:42.529]: Error: [hevc_vaapi @ 0x1f8b1480] No usable encoding entrypoint found for profile VAProfileHEVCMain (17). [2024-10-07 15:57:42.531]: Info: Retrying with fallback configuration options for [hevc_vaapi] after error: Function not implemented libva info: VA-API version 1.21.0 libva info: Trying to open /usr/lib64/dri-nonfree/radeonsi_drv_video.so libva info: Trying to open /usr/lib64/dri-freeworld/radeonsi_drv_video.so libva info: Trying to open /usr/lib64/dri/radeonsi_drv_video.so libva info: Found init function __vaDriverInit_1_21 libva info: va_openDriver() returns 0 [2024-10-07 15:57:42.536]: Info: vaapi vendor: Mesa Gallium driver 24.1.7 for AMD Radeon RX 6800 (radeonsi, navi21, LLVM 18.1.6, DRM 3.57, 6.10.12-200.fc40.x86_64) [2024-10-07 15:57:42.536]: Debug: [AVHWDeviceContext @ 0x1f93c240] VAAPI driver: Mesa Gallium driver 24.1.7 for AMD Radeon RX 6800 (radeonsi, navi21, LLVM 18.1.6, DRM 3.57, 6.10.12-200.fc40.x86_64). [2024-10-07 15:57:42.536]: Debug: [AVHWDeviceContext @ 0x1f93c240] Driver not found in known nonstandard list, using standard behaviour. [2024-10-07 15:57:42.536]: Debug: [hevc_vaapi @ 0x201af680] Input surface format is nv12. [2024-10-07 15:57:42.536]: Debug: [hevc_vaapi @ 0x201af680] Using VAAPI profile VAProfileHEVCMain (17). [2024-10-07 15:57:42.536]: Debug: [hevc_vaapi @ 0x201af680] Using VAAPI entrypoint VAEntrypointEncSlice (6). [2024-10-07 15:57:42.536]: Debug: [hevc_vaapi @ 0x201af680] Using VAAPI render target format YUV420 (0x1). [2024-10-07 15:57:42.536]: Debug: [hevc_vaapi @ 0x201af680] Using CTU size 64x64, min CB size 8x8. [2024-10-07 15:57:42.536]: Debug: [hevc_vaapi @ 0x201af680] RC mode: CBR. [2024-10-07 15:57:42.536]: Debug: [hevc_vaapi @ 0x201af680] RC target: 100% of 1000000 bps over 16 ms. [2024-10-07 15:57:42.536]: Debug: [hevc_vaapi @ 0x201af680] RC buffer: 16666 bits, initial fullness 12499 bits. [2024-10-07 15:57:42.536]: Debug: [hevc_vaapi @ 0x201af680] RC framerate: 60/1 (60.00 fps). [2024-10-07 15:57:42.536]: Debug: [hevc_vaapi @ 0x201af680] Driver does not report any additional prediction constraints. [2024-10-07 15:57:42.536]: Debug: [hevc_vaapi @ 0x201af680] Using intra and P-frames (supported references: 1 / 0). [2024-10-07 15:57:42.536]: Warning: [hevc_vaapi @ 0x201af680] Driver does not support some wanted packed headers (wanted 0xd, found 0x1). [2024-10-07 15:57:42.537]: Debug: [hevc_vaapi @ 0x201af680] Using level 4. [2024-10-07 15:57:42.550]: Debug: Frame 1: IDR Keyframe (AV_FRAME_FLAG_KEY) [2024-10-07 15:57:42.552]: Debug: Decomposition unimplemented for unit 5 (type 38). [2024-10-07 15:57:42.556]: Info: Creating encoder [av1_vaapi] [2024-10-07 15:57:42.556]: Info: Color coding: SDR (Rec. 601) [2024-10-07 15:57:42.556]: Info: Color depth: 8-bit [2024-10-07 15:57:42.556]: Info: Color range: JPEG [2024-10-07 15:57:42.564]: Debug: EGL: [Mesa Project]: version [1.5] [2024-10-07 15:57:42.564]: Debug: API's supported: [OpenGL OpenGL_ES ] [2024-10-07 15:57:42.565]: Debug: GL: vendor: AMD [2024-10-07 15:57:42.565]: Debug: GL: renderer: AMD Radeon RX 6800 (radeonsi, navi21, LLVM 18.1.6, DRM 3.57, 6.10.12-200.fc40.x86_64) [2024-10-07 15:57:42.565]: Debug: GL: version: 4.6 (Compatibility Profile) Mesa 24.1.7 [2024-10-07 15:57:42.565]: Debug: GL: shader: 4.60 libva info: VA-API version 1.21.0 libva info: Trying to open /usr/lib64/dri-nonfree/radeonsi_drv_video.so libva info: Trying to open /usr/lib64/dri-freeworld/radeonsi_drv_video.so libva info: Trying to open /usr/lib64/dri/radeonsi_drv_video.so libva info: Found init function __vaDriverInit_1_21 libva info: va_openDriver() returns 0 [2024-10-07 15:57:42.568]: Info: vaapi vendor: Mesa Gallium driver 24.1.7 for AMD Radeon RX 6800 (radeonsi, navi21, LLVM 18.1.6, DRM 3.57, 6.10.12-200.fc40.x86_64) [2024-10-07 15:57:42.568]: Debug: [AVHWDeviceContext @ 0x1f9a9f80] VAAPI driver: Mesa Gallium driver 24.1.7 for AMD Radeon RX 6800 (radeonsi, navi21, LLVM 18.1.6, DRM 3.57, 6.10.12-200.fc40.x86_64). [2024-10-07 15:57:42.568]: Debug: [AVHWDeviceContext @ 0x1f9a9f80] Driver not found in known nonstandard list, using standard behaviour. [2024-10-07 15:57:42.568]: Debug: [av1_vaapi @ 0x201af680] Input surface format is nv12. [2024-10-07 15:57:42.568]: Debug: [av1_vaapi @ 0x201af680] Using VAAPI profile VAProfileAV1Profile0 (32). [2024-10-07 15:57:42.568]: Error: [av1_vaapi @ 0x201af680] No usable encoding entrypoint found for profile VAProfileAV1Profile0 (32). [2024-10-07 15:57:42.569]: Info: Retrying with fallback configuration options for [av1_vaapi] after error: Function not implemented libva info: VA-API version 1.21.0 libva info: Trying to open /usr/lib64/dri-nonfree/radeonsi_drv_video.so libva info: Trying to open /usr/lib64/dri-freeworld/radeonsi_drv_video.so libva info: Trying to open /usr/lib64/dri/radeonsi_drv_video.so libva info: Found init function __vaDriverInit_1_21 libva info: va_openDriver() returns 0 [2024-10-07 15:57:42.572]: Info: vaapi vendor: Mesa Gallium driver 24.1.7 for AMD Radeon RX 6800 (radeonsi, navi21, LLVM 18.1.6, DRM 3.57, 6.10.12-200.fc40.x86_64) [2024-10-07 15:57:42.572]: Debug: [AVHWDeviceContext @ 0x1f5dde00] VAAPI driver: Mesa Gallium driver 24.1.7 for AMD Radeon RX 6800 (radeonsi, navi21, LLVM 18.1.6, DRM 3.57, 6.10.12-200.fc40.x86_64). [2024-10-07 15:57:42.572]: Debug: [AVHWDeviceContext @ 0x1f5dde00] Driver not found in known nonstandard list, using standard behaviour. [2024-10-07 15:57:42.572]: Debug: [av1_vaapi @ 0x1f8b1480] Input surface format is nv12. [2024-10-07 15:57:42.572]: Debug: [av1_vaapi @ 0x1f8b1480] Using VAAPI profile VAProfileAV1Profile0 (32). [2024-10-07 15:57:42.572]: Error: [av1_vaapi @ 0x1f8b1480] No usable encoding entrypoint found for profile VAProfileAV1Profile0 (32). [2024-10-07 15:57:42.573]: Error: Could not open codec [av1_vaapi]: Function not implemented [2024-10-07 15:57:42.576]: Info: Creating encoder [av1_vaapi] [2024-10-07 15:57:42.576]: Info: Color coding: SDR (Rec. 601) [2024-10-07 15:57:42.576]: Info: Color depth: 8-bit [2024-10-07 15:57:42.576]: Info: Color range: JPEG [2024-10-07 15:57:42.584]: Debug: EGL: [Mesa Project]: version [1.5] [2024-10-07 15:57:42.584]: Debug: API's supported: [OpenGL OpenGL_ES ] [2024-10-07 15:57:42.585]: Debug: GL: vendor: AMD [2024-10-07 15:57:42.585]: Debug: GL: renderer: AMD Radeon RX 6800 (radeonsi, navi21, LLVM 18.1.6, DRM 3.57, 6.10.12-200.fc40.x86_64) [2024-10-07 15:57:42.585]: Debug: GL: version: 4.6 (Compatibility Profile) Mesa 24.1.7 [2024-10-07 15:57:42.585]: Debug: GL: shader: 4.60 libva info: VA-API version 1.21.0 libva info: Trying to open /usr/lib64/dri-nonfree/radeonsi_drv_video.so libva info: Trying to open /usr/lib64/dri-freeworld/radeonsi_drv_video.so libva info: Trying to open /usr/lib64/dri/radeonsi_drv_video.so libva info: Found init function __vaDriverInit_1_21 libva info: va_openDriver() returns 0 [2024-10-07 15:57:42.588]: Info: vaapi vendor: Mesa Gallium driver 24.1.7 for AMD Radeon RX 6800 (radeonsi, navi21, LLVM 18.1.6, DRM 3.57, 6.10.12-200.fc40.x86_64) [2024-10-07 15:57:42.588]: Debug: [AVHWDeviceContext @ 0x1f7b5000] VAAPI driver: Mesa Gallium driver 24.1.7 for AMD Radeon RX 6800 (radeonsi, navi21, LLVM 18.1.6, DRM 3.57, 6.10.12-200.fc40.x86_64). [2024-10-07 15:57:42.588]: Debug: [AVHWDeviceContext @ 0x1f7b5000] Driver not found in known nonstandard list, using standard behaviour. [2024-10-07 15:57:42.589]: Debug: [av1_vaapi @ 0x1f8b1480] Input surface format is nv12. [2024-10-07 15:57:42.589]: Debug: [av1_vaapi @ 0x1f8b1480] Using VAAPI profile VAProfileAV1Profile0 (32). [2024-10-07 15:57:42.589]: Error: [av1_vaapi @ 0x1f8b1480] No usable encoding entrypoint found for profile VAProfileAV1Profile0 (32). [2024-10-07 15:57:42.590]: Info: Retrying with fallback configuration options for [av1_vaapi] after error: Function not implemented libva info: VA-API version 1.21.0 libva info: Trying to open /usr/lib64/dri-nonfree/radeonsi_drv_video.so libva info: Trying to open /usr/lib64/dri-freeworld/radeonsi_drv_video.so libva info: Trying to open /usr/lib64/dri/radeonsi_drv_video.so libva info: Found init function __vaDriverInit_1_21 libva info: va_openDriver() returns 0 [2024-10-07 15:57:42.593]: Info: vaapi vendor: Mesa Gallium driver 24.1.7 for AMD Radeon RX 6800 (radeonsi, navi21, LLVM 18.1.6, DRM 3.57, 6.10.12-200.fc40.x86_64) [2024-10-07 15:57:42.593]: Debug: [AVHWDeviceContext @ 0x1f5f54c0] VAAPI driver: Mesa Gallium driver 24.1.7 for AMD Radeon RX 6800 (radeonsi, navi21, LLVM 18.1.6, DRM 3.57, 6.10.12-200.fc40.x86_64). [2024-10-07 15:57:42.593]: Debug: [AVHWDeviceContext @ 0x1f5f54c0] Driver not found in known nonstandard list, using standard behaviour. [2024-10-07 15:57:42.593]: Debug: [av1_vaapi @ 0x201af680] Input surface format is nv12. [2024-10-07 15:57:42.593]: Debug: [av1_vaapi @ 0x201af680] Using VAAPI profile VAProfileAV1Profile0 (32). [2024-10-07 15:57:42.593]: Error: [av1_vaapi @ 0x201af680] No usable encoding entrypoint found for profile VAProfileAV1Profile0 (32). [2024-10-07 15:57:42.593]: Error: Could not open codec [av1_vaapi]: Function not implemented [2024-10-07 15:57:42.596]: Info: Screencasting with KMS [2024-10-07 15:57:42.596]: Info: /dev/dri/card1 -> amdgpu [2024-10-07 15:57:42.596]: Debug: Opening render node: /dev/dri/renderD128 [2024-10-07 15:57:42.596]: Info: Found monitor for DRM screencasting [2024-10-07 15:57:42.596]: Debug: crtc(0, 0) [2024-10-07 15:57:42.596]: Debug: crtc(3840, 2160) [2024-10-07 15:57:42.596]: Debug: plane->possible_crtcs == 1 [2024-10-07 15:57:42.596]: Debug: x(0) y(0) crtc_x(0) crtc_y(0) crtc_id(91) [2024-10-07 15:57:42.596]: Debug: Resolution: 3840x2160: Pitch: 15360: Offset: 0 [2024-10-07 15:57:42.596]: Debug: Format [XR24, AR24, RA24, XR30, XB30, AR30, AB30, XR48, XB48, AR48, AB48, XB24, AB24, RG16, NV12, P010, XR4H, AR4H, XB4H, AB4H] [2024-10-07 15:57:42.596]: Info: Found connector ID [126] [2024-10-07 15:57:42.596]: Info: Found cursor plane [88] libva info: VA-API version 1.21.0 libva info: Trying to open /usr/lib64/dri-nonfree/radeonsi_drv_video.so libva info: Trying to open /usr/lib64/dri-freeworld/radeonsi_drv_video.so libva info: Trying to open /usr/lib64/dri/radeonsi_drv_video.so libva info: Found init function __vaDriverInit_1_21 libva info: va_openDriver() returns 0 [2024-10-07 15:57:42.604]: Info: Creating encoder [hevc_vaapi] [2024-10-07 15:57:42.604]: Info: Color coding: HDR (Rec. 2020 + SMPTE 2084 PQ) [2024-10-07 15:57:42.604]: Info: Color depth: 10-bit [2024-10-07 15:57:42.604]: Info: Color range: JPEG [2024-10-07 15:57:42.612]: Debug: EGL: [Mesa Project]: version [1.5] [2024-10-07 15:57:42.612]: Debug: API's supported: [OpenGL OpenGL_ES ] [2024-10-07 15:57:42.613]: Debug: GL: vendor: AMD [2024-10-07 15:57:42.613]: Debug: GL: renderer: AMD Radeon RX 6800 (radeonsi, navi21, LLVM 18.1.6, DRM 3.57, 6.10.12-200.fc40.x86_64) [2024-10-07 15:57:42.613]: Debug: GL: version: 4.6 (Compatibility Profile) Mesa 24.1.7 [2024-10-07 15:57:42.613]: Debug: GL: shader: 4.60 libva info: VA-API version 1.21.0 libva info: Trying to open /usr/lib64/dri-nonfree/radeonsi_drv_video.so libva info: Trying to open /usr/lib64/dri-freeworld/radeonsi_drv_video.so libva info: Trying to open /usr/lib64/dri/radeonsi_drv_video.so libva info: Found init function __vaDriverInit_1_21 libva info: va_openDriver() returns 0 [2024-10-07 15:57:42.616]: Info: vaapi vendor: Mesa Gallium driver 24.1.7 for AMD Radeon RX 6800 (radeonsi, navi21, LLVM 18.1.6, DRM 3.57, 6.10.12-200.fc40.x86_64) [2024-10-07 15:57:42.616]: Debug: [AVHWDeviceContext @ 0x201aeb40] VAAPI driver: Mesa Gallium driver 24.1.7 for AMD Radeon RX 6800 (radeonsi, navi21, LLVM 18.1.6, DRM 3.57, 6.10.12-200.fc40.x86_64). [2024-10-07 15:57:42.617]: Debug: [AVHWDeviceContext @ 0x201aeb40] Driver not found in known nonstandard list, using standard behaviour. [2024-10-07 15:57:42.617]: Debug: [hevc_vaapi @ 0x201af680] Input surface format is p010le. [2024-10-07 15:57:42.617]: Debug: [hevc_vaapi @ 0x201af680] Using VAAPI profile VAProfileHEVCMain10 (18). [2024-10-07 15:57:42.617]: Error: [hevc_vaapi @ 0x201af680] No usable encoding entrypoint found for profile VAProfileHEVCMain10 (18). [2024-10-07 15:57:42.617]: Info: Retrying with fallback configuration options for [hevc_vaapi] after error: Function not implemented libva info: VA-API version 1.21.0 libva info: Trying to open /usr/lib64/dri-nonfree/radeonsi_drv_video.so libva info: Trying to open /usr/lib64/dri-freeworld/radeonsi_drv_video.so libva info: Trying to open /usr/lib64/dri/radeonsi_drv_video.so libva info: Found init function __vaDriverInit_1_21 libva info: va_openDriver() returns 0 [2024-10-07 15:57:42.620]: Info: vaapi vendor: Mesa Gallium driver 24.1.7 for AMD Radeon RX 6800 (radeonsi, navi21, LLVM 18.1.6, DRM 3.57, 6.10.12-200.fc40.x86_64) [2024-10-07 15:57:42.621]: Debug: [AVHWDeviceContext @ 0x1f67c0c0] VAAPI driver: Mesa Gallium driver 24.1.7 for AMD Radeon RX 6800 (radeonsi, navi21, LLVM 18.1.6, DRM 3.57, 6.10.12-200.fc40.x86_64). [2024-10-07 15:57:42.621]: Debug: [AVHWDeviceContext @ 0x1f67c0c0] Driver not found in known nonstandard list, using standard behaviour. [2024-10-07 15:57:42.621]: Debug: [hevc_vaapi @ 0x1f8b1480] Input surface format is p010le. [2024-10-07 15:57:42.621]: Debug: [hevc_vaapi @ 0x1f8b1480] Using VAAPI profile VAProfileHEVCMain10 (18). [2024-10-07 15:57:42.621]: Debug: [hevc_vaapi @ 0x1f8b1480] Using VAAPI entrypoint VAEntrypointEncSlice (6). [2024-10-07 15:57:42.621]: Debug: [hevc_vaapi @ 0x1f8b1480] Using VAAPI render target format YUV420_10 (0x100). [2024-10-07 15:57:42.621]: Debug: [hevc_vaapi @ 0x1f8b1480] Using CTU size 64x64, min CB size 8x8. [2024-10-07 15:57:42.621]: Debug: [hevc_vaapi @ 0x1f8b1480] RC mode: CBR. [2024-10-07 15:57:42.621]: Debug: [hevc_vaapi @ 0x1f8b1480] RC target: 100% of 1000000 bps over 16 ms. [2024-10-07 15:57:42.621]: Debug: [hevc_vaapi @ 0x1f8b1480] RC buffer: 16666 bits, initial fullness 12499 bits. [2024-10-07 15:57:42.621]: Debug: [hevc_vaapi @ 0x1f8b1480] RC framerate: 60/1 (60.00 fps). [2024-10-07 15:57:42.621]: Debug: [hevc_vaapi @ 0x1f8b1480] Driver does not report any additional prediction constraints. [2024-10-07 15:57:42.621]: Debug: [hevc_vaapi @ 0x1f8b1480] Using intra and P-frames (supported references: 1 / 0). [2024-10-07 15:57:42.621]: Warning: [hevc_vaapi @ 0x1f8b1480] Driver does not support some wanted packed headers (wanted 0xd, found 0x1). [2024-10-07 15:57:42.621]: Debug: [hevc_vaapi @ 0x1f8b1480] Using level 4. [2024-10-07 15:57:42.636]: Debug: Frame 1: IDR Keyframe (AV_FRAME_FLAG_KEY) [2024-10-07 15:57:42.639]: Debug: Decomposition unimplemented for unit 5 (type 38). [2024-10-07 15:57:42.643]: Warning: vaapi: h264 missing sps->vui parameters [2024-10-07 15:57:42.643]: Info: [2024-10-07 15:57:42.643]: Info: // Ignore any errors mentioned above, they are not relevant. // [2024-10-07 15:57:42.643]: Info: [2024-10-07 15:57:42.643]: Debug: ------ h264 ------ [2024-10-07 15:57:42.643]: Debug: PASSED: supported [2024-10-07 15:57:42.643]: Debug: REF_FRAMES_RESTRICT: supported [2024-10-07 15:57:42.643]: Debug: CBR: supported [2024-10-07 15:57:42.643]: Debug: DYNAMIC_RANGE: unsupported [2024-10-07 15:57:42.643]: Debug: YUV444: unsupported [2024-10-07 15:57:42.643]: Debug: VUI_PARAMETERS: unsupported [2024-10-07 15:57:42.643]: Debug: ------------------- [2024-10-07 15:57:42.643]: Info: Found H.264 encoder: h264_vaapi [vaapi] [2024-10-07 15:57:42.643]: Debug: ------ hevc ------ [2024-10-07 15:57:42.643]: Debug: PASSED: supported [2024-10-07 15:57:42.644]: Debug: REF_FRAMES_RESTRICT: supported [2024-10-07 15:57:42.644]: Debug: CBR: supported [2024-10-07 15:57:42.644]: Debug: DYNAMIC_RANGE: supported [2024-10-07 15:57:42.644]: Debug: YUV444: unsupported [2024-10-07 15:57:42.644]: Debug: VUI_PARAMETERS: supported [2024-10-07 15:57:42.644]: Debug: ------------------- [2024-10-07 15:57:42.644]: Info: Found HEVC encoder: hevc_vaapi [vaapi] [2024-10-07 15:57:42.646]: Info: Adding avahi service nilfgaard [2024-10-07 15:57:42.646]: Info: Configuration UI available at [https://localhost:47990] [2024-10-07 15:57:43.551]: Info: Avahi service nilfgaard successfully established. [2024-10-07 15:57:58.531]: Debug: System tray loop ```
slagiewka commented 1 month ago

I also tested Sunshine-2024.1007.1553-1.fc40.x86_64 (ffmpeg update) and it segfaults indeed (core dumped).

ReenigneArcher commented 1 month ago

Thanks! I found the reason for the version being wrong as well. I will get that fixed later today.

ReenigneArcher commented 1 month ago

Version number should be fixed now, if you could test it that would be great.

slagiewka commented 1 month ago

Version number should be fixed now, if you could test it that would be great.

Version is OK now, crashes are still there (understandably).

➜  ~ sudo dnf install Sunshine-2024.1007.214114-1.fc40.x86_64 --refresh
Copr repo for beta owned by lizardbyte                                                                                                                                                                                                            7.5 kB/s | 1.5 kB     00:00    
Copr repo for beta owned by lizardbyte                                                                                                                                                                                                             14 kB/s | 4.5 kB     00:00     
Dependencies resolved.
==================================================================================================================================================================================================================================================================================
 Package                                               Architecture                                        Version                                                              Repository                                                                                   Size
==================================================================================================================================================================================================================================================================================
Upgrading:
 Sunshine                                              x86_64                                              2024.1007.214114-1.fc40                                              copr:copr.fedorainfracloud.org:lizardbyte:beta                                              7.4 M

Transaction Summary
==================================================================================================================================================================================================================================================================================
Upgrade  1 Package

Total download size: 7.4 M
Is this ok [y/N]: y
Downloading Packages:
Sunshine-2024.1007.214114-1.fc40.x86_64.rpm                                                                                                                                                                                                       5.2 MB/s | 7.4 MB     00:01    
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                                                                                             5.2 MB/s | 7.4 MB     00:01     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                                                                                                                          1/1 
  Upgrading        : Sunshine-2024.1007.214114-1.fc40.x86_64                                                                                                                                                                                                                  1/2 
  Running scriptlet: Sunshine-2024.1007.214114-1.fc40.x86_64                                                                                                                                                                                                                  1/2 
Not in an rpm-ostree environment, proceeding with post install steps.
Reloading udev rules.
Udev rules reloaded successfully.

  Running scriptlet: Sunshine-2024.1006.230920-1.fc40.x86_64                                                                                                                                                                                                                  2/2 
  Cleanup          : Sunshine-2024.1006.230920-1.fc40.x86_64                                                                                                                                                                                                                  2/2 
  Running scriptlet: Sunshine-2024.1006.230920-1.fc40.x86_64                                                                                                                                                                                                                  2/2 

Upgraded:
  Sunshine-2024.1007.214114-1.fc40.x86_64                                                                                                                                                                                                                                         

Complete!
➜  ~ sunshine                                                          
[min_threads] -- [4]
[global_prep_cmd] -- [[{"do":"sh -c \"kscreen-doctor output.DP-3.mode.${SUNSHINE_CLIENT_WIDTH}x${SUNSHINE_CLIENT_HEIGHT}@${SUNSHINE_CLIENT_FPS} output.DP-3.scale.1\"","undo":"kscreen-doctor output.DP-3.mode.3840x2160@144 output.DP-3.scale.2"},{"do":"loginctl unlock-session","undo":""}]]
[min_log_level] -- [1]
[output_name] -- [0]
[resolutions] -- [[
    352x240,
    480x360,
    858x480,
    1280x720,
    1920x1080,
    2560x1080,
    3440x1440,
    1920x1200,
    3860x2160,
    3840x1600,
    1280x800
]]
Warning: Unrecognized configurable option [resolutions]
[2024-10-08 09:12:40.537]: Info: Sunshine version: v2024.1007.214114
[2024-10-08 09:12:40.537]: Info: Package Publisher: LizardByte
[2024-10-08 09:12:40.537]: Info: Publisher Website: https://app.lizardbyte.dev
[2024-10-08 09:12:40.537]: Info: Get support: https://app.lizardbyte.dev/support
// snip
cgutman commented 1 month ago

Can you show the entire thread stack output from the core dump? It looks cut off and the crashing thread is not present in the part you posted.

slagiewka commented 1 month ago

Can you show the entire thread stack output from the core dump? It looks cut off and the crashing thread is not present in the part you posted.

I don't get anything more than I already posted in https://github.com/LizardByte/Sunshine/issues/3268#issuecomment-2396881415 image

(ignore \ swapped with /, it's just Berkeley Mono Trial shenanigans)

cgutman commented 1 month ago

I meant the part with the stack trace from your original report shown below:

 ~ journalctl --user -xeu sunshine.service 
                                                   #0  0x00007f59850a2da9 __futex_abstimed_wait_common (libc.so.6 + 0x93da9)
                                                   #1  0x00007f59850a57f9 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x967f9)
                                                   #2  0x00007f59518a893d cnd_wait (radeonsi_dri.so + 0xa893d)
                                                   #3  0x00007f595188570b util_queue_thread_func (radeonsi_dri.so + 0x8570b)
                                                   #4  0x00007f59518a886c impl_thrd_routine (radeonsi_dri.so + 0xa886c)
                                                   #5  0x00007f59850a66d7 start_thread (libc.so.6 + 0x976d7)
                                                   #6  0x00007f598512a60c __clone3 (libc.so.6 + 0x11b60c)

                                                   Stack trace of thread 14882:
                                                   #0  0x00007f59851283dd syscall (libc.so.6 + 0x1193dd)
                                                   #1  0x00007f5988431ccd g_cond_wait (libglib-2.0.so.0 + 0xbbccd)
                                                   #2  0x00007f598839d61b g_async_queue_pop_intern_unlocked (libglib-2.0.so.0 + 0x2761b)
                                                   #3  0x00007f5988404a03 g_thread_pool_spawn_thread (libglib-2.0.so.0 + 0x8ea03)
                                                   #4  0x00007f5988403813 g_thread_proxy (libglib-2.0.so.0 + 0x8d813)
                                                   #5  0x00007f59850a66d7 start_thread (libc.so.6 + 0x976d7)
                                                   #6  0x00007f598512a60c __clone3 (libc.so.6 + 0x11b60c)

                                                   Stack trace of thread 14983:
                                                   #0  0x00007f59850a2da9 __futex_abstimed_wait_common (libc.so.6 + 0x93da9)
                                                   #1  0x00007f59850a57f9 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x967f9)
                                                   #2  0x00007f59518a893d cnd_wait (radeonsi_dri.so + 0xa893d)
                                                   #3  0x00007f595188570b util_queue_thread_func (radeonsi_dri.so + 0x8570b)
                                                   #4  0x00007f59518a886c impl_thrd_routine (radeonsi_dri.so + 0xa886c)
                                                   #5  0x00007f59850a66d7 start_thread (libc.so.6 + 0x976d7)
                                                   #6  0x00007f598512a60c __clone3 (libc.so.6 + 0x11b60c)
                                                   ELF object binary architecture: AMD x86-64
slagiewka commented 1 month ago

Ah, yes. You're indubitably right. There was more in journalctl on the second look.

``` Oct 12 08:38:27 nilfgaard systemd-coredump[133867]: [🡕] Process 133752 (sunshine) of user 1000 dumped core. Module libpciaccess.so.0 from rpm libpciaccess-0.16-12.fc40.x86_64 Module libdrm_intel.so.1 from rpm libdrm-2.4.123-1.fc40.x86_64 Module libsensors.so.4 from rpm lm_sensors-3.6.0-18.fc40.x86_64 Module radeonsi_dri.so from rpm mesa-24.1.7-1.fc40.x86_64 Module libtinfo.so.6 from rpm ncurses-6.4-12.20240127.fc40.x86_64 Module libedit.so.0 from rpm libedit-3.1-53.20240808cvs.fc40.x86_64 Module libdrm_amdgpu.so.1 from rpm libdrm-2.4.123-1.fc40.x86_64 Module libelf.so.1 from rpm elfutils-0.191-4.fc40.x86_64 Module libdrm_radeon.so.1 from rpm libdrm-2.4.123-1.fc40.x86_64 Module radeonsi_drv_video.so from rpm mesa-freeworld-24.1.7-1.fc40.x86_64 Module libwindow-decorations-gtk-module.so from rpm kde-gtk-config-6.2.0-1.fc40.x86_64 Module libcolorreload-gtk-module.so from rpm kde-gtk-config-6.2.0-1.fc40.x86_64 Module libxshmfence.so.1 from rpm libxshmfence-1.3.2-3.fc40.x86_64 Module libxcb-sync.so.1 from rpm libxcb-1.17.0-2.fc40.x86_64 Module libxcb-present.so.0 from rpm libxcb-1.17.0-2.fc40.x86_64 Module libxcb-xfixes.so.0 from rpm libxcb-1.17.0-2.fc40.x86_64 Module libxcb-dri2.so.0 from rpm libxcb-1.17.0-2.fc40.x86_64 Module libglapi.so.0 from rpm mesa-24.1.7-1.fc40.x86_64 Module libEGL_mesa.so.0 from rpm mesa-24.1.7-1.fc40.x86_64 Module libGLdispatch.so.0 from rpm libglvnd-1.7.0-4.fc40.x86_64 Module libEGL.so.1 from rpm libglvnd-1.7.0-4.fc40.x86_64 Module libdconfsettings.so from rpm dconf-0.40.0-12.fc40.x86_64 Module libxcb-randr.so.0 from rpm libxcb-1.17.0-2.fc40.x86_64 Module libexpat.so.1 from rpm expat-2.6.3-1.fc40.x86_64 Module libgbm.so.1 from rpm mesa-24.1.7-1.fc40.x86_64 Module libzstd.so.1 from rpm zstd-1.5.6-1.fc40.x86_64 Module liblz4.so.1 from rpm lz4-1.9.4-6.fc40.x86_64 Module libmpg123.so.0 from rpm mpg123-1.31.3-4.fc40.x86_64 Module libogg.so.0 from rpm libogg-1.3.5-8.fc40.x86_64 Module libvorbisenc.so.2 from rpm libvorbis-1.3.7-10.fc40.x86_64 Module libvorbis.so.0 from rpm libvorbis-1.3.7-10.fc40.x86_64 Module libFLAC.so.12 from rpm flac-1.4.3-4.fc40.x86_64 Module libgsm.so.1 from rpm gsm-1.0.22-6.fc40.x86_64 Module liblzma.so.5 from rpm xz-5.4.6-3.fc40.x86_64 Module libcrypt.so.2 from rpm libxcrypt-4.4.36-5.fc40.x86_64 Module libsystemd.so.0 from rpm systemd-255.12-1.fc40.x86_64 Module libsndfile.so.1 from rpm libsndfile-1.2.2-2.fc40.x86_64 Module libblkid.so.1 from rpm util-linux-2.40.1-1.fc40.x86_64 Module libXau.so.6 from rpm libXau-1.0.11-6.fc40.x86_64 Module libbz2.so.1 from rpm bzip2-1.0.8-18.fc40.x86_64 Module libdatrie.so.1 from rpm libdatrie-0.2.13-9.fc40.x86_64 Module libjson-glib-1.0.so.0 from rpm json-glib-1.8.0-3.fc40.x86_64 Module libatspi.so.0 from rpm at-spi2-core-2.52.0-1.fc40.x86_64 Module libxml2.so.2 from rpm libxml2-2.12.8-1.fc40.x86_64 Module libbrotlicommon.so.1 from rpm brotli-1.1.0-3.fc40.x86_64 Module libsasl2.so.3 from rpm cyrus-sasl-2.1.28-19.fc40.x86_64 Module libevent-2.1.so.7 from rpm libevent-2.1.12-12.fc40.x86_64 Module libkeyutils.so.1 from rpm keyutils-1.6.3-3.fc40.x86_64 Module libkrb5support.so.0 from rpm krb5-1.21.3-1.fc40.x86_64 Module libcom_err.so.2 from rpm e2fsprogs-1.47.0-5.fc40.x86_64 Module libk5crypto.so.3 from rpm krb5-1.21.3-1.fc40.x86_64 Module libkrb5.so.3 from rpm krb5-1.21.3-1.fc40.x86_64 Module libunistring.so.5 from rpm libunistring-1.1-7.fc40.x86_64 Module libdbus-1.so.3 from rpm dbus-1.14.10-3.fc40.x86_64 Module libpulsecommon-16.1.so from rpm pulseaudio-16.1-8.fc40.x86_64 Module libxcb-dri3.so.0 from rpm libxcb-1.17.0-2.fc40.x86_64 Module libX11-xcb.so.1 from rpm libX11-1.8.10-2.fc40.x86_64 Module libpcre2-8.so.0 from rpm pcre2-10.44-1.fc40.x86_64 Module libffi.so.8 from rpm libffi-3.4.4-7.fc40.x86_64 Module libselinux.so.1 from rpm libselinux-3.7-5.fc40.x86_64 Module libmount.so.1 from rpm util-linux-2.40.1-1.fc40.x86_64 Module libjpeg.so.62 from rpm libjpeg-turbo-3.0.2-1.fc40.x86_64 Module libpixman-1.so.0 from rpm pixman-0.43.4-1.fc40.x86_64 Module libxcb-shm.so.0 from rpm libxcb-1.17.0-2.fc40.x86_64 Module libxcb-render.so.0 from rpm libxcb-1.17.0-2.fc40.x86_64 Module libxcb.so.1 from rpm libxcb-1.17.0-2.fc40.x86_64 Module libXrender.so.1 from rpm libXrender-0.9.11-6.fc40.x86_64 Module libpng16.so.16 from rpm libpng-1.6.40-3.fc40.x86_64 Module libgraphite2.so.3 from rpm graphite2-1.3.14-15.fc40.x86_64 Module libfreetype.so.6 from rpm freetype-2.13.2-5.fc40.x86_64 Module libthai.so.0 from rpm libthai-0.1.29-8.fc40.x86_64 Module libXinerama.so.1 from rpm libXinerama-1.1.5-6.fc40.x86_64 Module libXrandr.so.2 from rpm libXrandr-1.5.4-3.fc40.x86_64 Module libXcomposite.so.1 from rpm libXcomposite-0.4.6-3.fc40.x86_64 Module libXdamage.so.1 from rpm libXdamage-1.1.6-3.fc40.x86_64 Module libXcursor.so.1 from rpm libXcursor-1.2.1-7.fc40.x86_64 Module libxkbcommon.so.0 from rpm libxkbcommon-1.6.0-2.fc40.x86_64 Module libXfixes.so.3 from rpm libXfixes-6.0.1-3.fc40.x86_64 Module libtracker-sparql-3.0.so.0 from rpm tracker-3.7.3-1.fc40.x86_64 Module libcloudproviders.so.0 from rpm libcloudproviders-0.3.5-3.fc40.x86_64 Module libatk-bridge-2.0.so.0 from rpm at-spi2-core-2.52.0-1.fc40.x86_64 Module libXi.so.6 from rpm libXi-1.8.2-1.fc40.x86_64 Module libepoxy.so.0 from rpm libepoxy-1.5.10-6.fc40.x86_64 Module libfribidi.so.0 from rpm fribidi-1.0.14-2.fc40.x86_64 Module libfontconfig.so.1 from rpm fontconfig-2.15.0-6.fc40.x86_64 Module libpangoft2-1.0.so.0 from rpm pango-1.54.0-1.fc40.x86_64 Module libgmodule-2.0.so.0 from rpm glib2-2.80.3-1.fc40.x86_64 Module libdbusmenu-gtk3.so.4 from rpm libdbusmenu-16.04.0-27.fc40.x86_64 Module libbrotlidec.so.1 from rpm brotli-1.1.0-3.fc40.x86_64 Module libgssapi_krb5.so.2 from rpm krb5-1.21.3-1.fc40.x86_64 Module libpsl.so.5 from rpm libpsl-0.21.5-3.fc40.x86_64 Module libssh.so.4 from rpm libssh-0.10.6-5.fc40.x86_64 Module libidn2.so.0 from rpm libidn2-2.3.7-1.fc40.x86_64 Module libnghttp2.so.14 from rpm nghttp2-1.59.0-3.fc40.x86_64 Module libicuuc.so.74 from rpm icu-74.2-1.fc40.x86_64 Module libicui18n.so.74 from rpm icu-74.2-1.fc40.x86_64 Module libicudata.so.74 from rpm icu-74.2-1.fc40.x86_64 Module libpulse-simple.so.0 from rpm pulseaudio-16.1-8.fc40.x86_64 Module libpulse.so.0 from rpm pulseaudio-16.1-8.fc40.x86_64 Module libXext.so.6 from rpm libXext-1.3.6-1.fc40.x86_64 Module libwayland-cursor.so.0 from rpm wayland-1.23.0-2.fc40.x86_64 Module libwayland-egl.so.1 from rpm wayland-1.23.0-2.fc40.x86_64 Module libwayland-server.so.0 from rpm wayland-1.23.0-2.fc40.x86_64 Module libwayland-client.so.0 from rpm wayland-1.23.0-2.fc40.x86_64 Module libevdev.so.2 from rpm libevdev-1.13.3-1.fc40.x86_64 Module libcap.so.2 from rpm libcap-2.69-8.fc40.x86_64 Module libdrm.so.2 from rpm libdrm-2.4.123-1.fc40.x86_64 Module libcrypto.so.3 from rpm openssl-3.2.2-3.fc40.x86_64 Module libssl.so.3 from rpm openssl-3.2.2-3.fc40.x86_64 Module libX11.so.6 from rpm libX11-1.8.10-2.fc40.x86_64 Module libvdpau.so.1 from rpm libvdpau-1.5-6.fc40.x86_64 Module libva-x11.so.2 from rpm libva-2.21.0-3.fc40.x86_64 Module libva-drm.so.2 from rpm libva-2.21.0-3.fc40.x86_64 Module libva.so.2 from rpm libva-2.21.0-3.fc40.x86_64 Module libnuma.so.1 from rpm numactl-2.0.16-5.fc40.x86_64 Module libopus.so.0 from rpm opus-1.5.1-1.fc40.x86_64 Module libminiupnpc.so.17 from rpm miniupnpc-2.2.5-5.fc40.x86_64 Module libnotify.so.4 from rpm libnotify-0.8.3-3.fc40.x86_64 Module libglib-2.0.so.0 from rpm glib2-2.80.3-1.fc40.x86_64 Module libgobject-2.0.so.0 from rpm glib2-2.80.3-1.fc40.x86_64 Module libgio-2.0.so.0 from rpm glib2-2.80.3-1.fc40.x86_64 Module libgdk_pixbuf-2.0.so.0 from rpm gdk-pixbuf2-2.42.10-8.fc40.x86_64 Module libcairo.so.2 from rpm cairo-1.18.0-3.fc40.x86_64 Module libcairo-gobject.so.2 from rpm cairo-1.18.0-3.fc40.x86_64 Module libatk-1.0.so.0 from rpm at-spi2-core-2.52.0-1.fc40.x86_64 Module libharfbuzz.so.0 from rpm harfbuzz-8.5.0-1.fc40.x86_64 Module libpango-1.0.so.0 from rpm pango-1.54.0-1.fc40.x86_64 Module libpangocairo-1.0.so.0 from rpm pango-1.54.0-1.fc40.x86_64 Module libz.so.1 from rpm zlib-ng-2.1.7-2.fc40.x86_64 Module libgdk-3.so.0 from rpm gtk3-3.24.43-1.fc40.x86_64 Module libgtk-3.so.0 from rpm gtk3-3.24.43-1.fc40.x86_64 Module libdbusmenu-glib.so.4 from rpm libdbusmenu-16.04.0-27.fc40.x86_64 Module libayatana-ido3-0.4.so.0 from rpm libayatana-ido-0.10.4-1.fc40.x86_64 Module libayatana-indicator3.so.7 from rpm libayatana-indicator-0.9.4-3.fc40.x86_64 Module libayatana-appindicator3.so.1 from rpm libayatana-appindicator-0.5.93-5.fc40.x86_64 Module libcurl.so.4 from rpm curl-8.6.0-10.fc40.x86_64 Stack trace of thread 133752: #0 0x00007fb61611a7dd si_launch_grid (radeonsi_dri.so + 0x91a7dd) #1 0x00007fb61611c00a si_launch_grid_internal (radeonsi_dri.so + 0x91c00a) #2 0x00007fb61611c621 si_launch_grid_internal_images (radeonsi_dri.so + 0x91c621) #3 0x00007fb61611ed97 si_compute_clear_render_target (radeonsi_dri.so + 0x91ed97) #4 0x00007fb622e32990 vlVaHandleSurfaceAllocate (radeonsi_drv_video.so + 0x32990) #5 0x00007fb622e32d7b vlVaCreateSurfaces2.part.0 (radeonsi_drv_video.so + 0x32d7b) #6 0x00007fb64bff4884 vaCreateSurfaces (libva.so.2 + 0xa884) #7 0x0000000000716646 vaapi_pool_alloc (sunshine-v2024.1007.214114 + 0x316646) #8 0x000000000070a984 av_buffer_pool_get (sunshine-v2024.1007.214114 + 0x30a984) #9 0x000000000071649f vaapi_frames_init (sunshine-v2024.1007.214114 + 0x31649f) #10 0x0000000000712285 av_hwframe_ctx_init (sunshine-v2024.1007.214114 + 0x312285) #11 0x000000000059227a _ZN5video27make_avcodec_encode_sessionEPN5platf9display_tERKNS_9encoder_tERKNS_8config_tEiiSt10unique_ptrINS0_23avcodec_encode_device_tESt14default_deleteISA_EE (sunshine-v2024.1007.214114 + 0x19227a) #12 0x0000000000593340 _ZN5video19make_encode_sessionEPN5platf9display_tERKNS_9encoder_tERKNS_8config_tEiiSt10unique_ptrINS0_15encode_device_tESt14default_deleteISA_EE (sunshine-v2024.1007.214114 + 0x193340) #13 0x00000000005977ae _ZN5video15validate_configESt10shared_ptrIN5platf9display_tEERKNS_9encoder_tERKNS_8config_tE (sunshine-v2024.1007.214114 + 0x1977ae) #14 0x000000000059874a _ZN5video16validate_encoderERNS_9encoder_tEb (sunshine-v2024.1007.214114 + 0x19874a) #15 0x000000000059a42b _ZN5video14probe_encodersEv (sunshine-v2024.1007.214114 + 0x19a42b) #16 0x000000000045b57d main (sunshine-v2024.1007.214114 + 0x5b57d) #17 0x00007fb648d3f088 __libc_start_call_main (libc.so.6 + 0x2a088) #18 0x00007fb648d3f14b __libc_start_main@@GLIBC_2.34 (libc.so.6 + 0x2a14b) #19 0x0000000000465975 _start (sunshine-v2024.1007.214114 + 0x65975) Stack trace of thread 133754: #0 0x00007fb648da8da9 __futex_abstimed_wait_common (libc.so.6 + 0x93da9) #1 0x00007fb648dab7f9 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x967f9) #2 0x00007fb6490dd700 _ZNSt18condition_variable4waitERSt11unique_lockISt5mutexE (libstdc++.so.6 + 0xdd700) #3 0x00000000004a2ad9 _ZN16thread_pool_util10ThreadPool5_mainEv (sunshine-v2024.1007.214114 + 0xa2ad9) #4 0x00007fb6490e7564 execute_native_thread_routine (libstdc++.so.6 + 0xe7564) #5 0x00007fb648dac6d7 start_thread (libc.so.6 + 0x976d7) #6 0x00007fb648e3060c __clone3 (libc.so.6 + 0x11b60c) Stack trace of thread 133753: #0 0x00007fb648e2e3dd syscall (libc.so.6 + 0x1193dd) #1 0x0000000001474eb2 _ZN5boost3log12v2s_mt_posix3aux18atomic_based_event4waitEv (sunshine-v2024.1007.214114 + 0x1074eb2) #2 0x000000000049a010 _ZN5boost6detail11thread_dataINS_3log12v2s_mt_posix5sinks17asynchronous_sinkINS4_26basic_text_ostream_backendIcEENS4_20unbounded_fifo_queueEE8run_funcEE3runEv (sunshine-v2024.1007.214114 + 0x9a010) #3 0x0000000001484810 thread_proxy (sunshine-v2024.1007.214114 + 0x1084810) #4 0x00007fb648dac6d7 start_thread (libc.so.6 + 0x976d7) #5 0x00007fb648e3060c __clone3 (libc.so.6 + 0x11b60c) Stack trace of thread 133756: #0 0x00007fb648e2e3dd syscall (libc.so.6 + 0x1193dd) #1 0x00007fb64c15eccd g_cond_wait (libglib-2.0.so.0 + 0xbbccd) #2 0x00007fb64c0ca61b g_async_queue_pop_intern_unlocked (libglib-2.0.so.0 + 0x2761b) #3 0x00007fb64c131a03 g_thread_pool_spawn_thread (libglib-2.0.so.0 + 0x8ea03) #4 0x00007fb64c130813 g_thread_proxy (libglib-2.0.so.0 + 0x8d813) #5 0x00007fb648dac6d7 start_thread (libc.so.6 + 0x976d7) #6 0x00007fb648e3060c __clone3 (libc.so.6 + 0x11b60c) Stack trace of thread 133760: #0 0x00007fb648e2287d __poll (libc.so.6 + 0x10d87d) #1 0x00007fb64c161c34 g_main_context_iterate_unlocked.isra.0 (libglib-2.0.so.0 + 0xbec34) #2 0x00007fb64c101383 g_main_context_iteration (libglib-2.0.so.0 + 0x5e383) #3 0x00007fb64792d705 dconf_gdbus_worker_thread (libdconfsettings.so + 0x7705) #4 0x00007fb64c130813 g_thread_proxy (libglib-2.0.so.0 + 0x8d813) #5 0x00007fb648dac6d7 start_thread (libc.so.6 + 0x976d7) #6 0x00007fb648e3060c __clone3 (libc.so.6 + 0x11b60c) Stack trace of thread 133757: #0 0x00007fb648e2287d __poll (libc.so.6 + 0x10d87d) #1 0x00007fb64c161c34 g_main_context_iterate_unlocked.isra.0 (libglib-2.0.so.0 + 0xbec34) #2 0x00007fb64c101383 g_main_context_iteration (libglib-2.0.so.0 + 0x5e383) #3 0x00007fb64c1013e1 glib_worker_main (libglib-2.0.so.0 + 0x5e3e1) #4 0x00007fb64c130813 g_thread_proxy (libglib-2.0.so.0 + 0x8d813) #5 0x00007fb648dac6d7 start_thread (libc.so.6 + 0x976d7) #6 0x00007fb648e3060c __clone3 (libc.so.6 + 0x11b60c) Stack trace of thread 133755: #0 0x00007fb648e2287d __poll (libc.so.6 + 0x10d87d) #1 0x00007fb64c161c34 g_main_context_iterate_unlocked.isra.0 (libglib-2.0.so.0 + 0xbec34) #2 0x00007fb64c101383 g_main_context_iteration (libglib-2.0.so.0 + 0x5e383) #3 0x00007fb64c9efc5d gtk_main_iteration_do (libgtk-3.so.0 + 0x1efc5d) #4 0x0000000000612a09 tray_loop (sunshine-v2024.1007.214114 + 0x212a09) #5 0x00000000005ca7ba _ZN11system_tray11system_trayEv (sunshine-v2024.1007.214114 + 0x1ca7ba) #6 0x00007fb6490e7564 execute_native_thread_routine (libstdc++.so.6 + 0xe7564) #7 0x00007fb648dac6d7 start_thread (libc.so.6 + 0x976d7) #8 0x00007fb648e3060c __clone3 (libc.so.6 + 0x11b60c) Stack trace of thread 133761: #0 0x00007fb648df8c13 clock_nanosleep@GLIBC_2.2.5 (libc.so.6 + 0xe3c13) #1 0x00007fb648e04c47 __nanosleep (libc.so.6 + 0xefc47) #2 0x0000000000663a9a _ZNSt6thread11_State_implINS_8_InvokerISt5tupleIJZN9inputtino8Keyboard6createERKNS3_16DeviceDefinitionEiEUlvE_EEEEE6_M_runEv (sunshine-v2024.1007.214114 + 0x263a9a) #3 0x00007fb6490e7564 execute_native_thread_routine (libstdc++.so.6 + 0xe7564) #4 0x00007fb648dac6d7 start_thread (libc.so.6 + 0x976d7) #5 0x00007fb648e3060c __clone3 (libc.so.6 + 0x11b60c) Stack trace of thread 133788: #0 0x00007fb648e2e3dd syscall (libc.so.6 + 0x1193dd) #1 0x00007fb64c15eeb0 g_cond_wait_until (libglib-2.0.so.0 + 0xbbeb0) #2 0x00007fb64c0ca5e3 g_async_queue_pop_intern_unlocked (libglib-2.0.so.0 + 0x275e3) #3 0x00007fb64c0ca736 g_async_queue_timeout_pop (libglib-2.0.so.0 + 0x27736) #4 0x00007fb64c1323df g_thread_pool_thread_proxy.lto_priv.0 (libglib-2.0.so.0 + 0x8f3df) #5 0x00007fb64c130813 g_thread_proxy (libglib-2.0.so.0 + 0x8d813) #6 0x00007fb648dac6d7 start_thread (libc.so.6 + 0x976d7) #7 0x00007fb648e3060c __clone3 (libc.so.6 + 0x11b60c) Stack trace of thread 133863: #0 0x00007fb648da8da9 __futex_abstimed_wait_common (libc.so.6 + 0x93da9) #1 0x00007fb648dab7f9 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x967f9) #2 0x00007fb6158a893d cnd_wait (radeonsi_dri.so + 0xa893d) #3 0x00007fb61588570b util_queue_thread_func (radeonsi_dri.so + 0x8570b) #4 0x00007fb6158a886c impl_thrd_routine (radeonsi_dri.so + 0xa886c) #5 0x00007fb648dac6d7 start_thread (libc.so.6 + 0x976d7) #6 0x00007fb648e3060c __clone3 (libc.so.6 + 0x11b60c) Stack trace of thread 133864: #0 0x00007fb648da8da9 __futex_abstimed_wait_common (libc.so.6 + 0x93da9) #1 0x00007fb648dab7f9 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x967f9) #2 0x00007fb6158a893d cnd_wait (radeonsi_dri.so + 0xa893d) #3 0x00007fb61588570b util_queue_thread_func (radeonsi_dri.so + 0x8570b) #4 0x00007fb6158a886c impl_thrd_routine (radeonsi_dri.so + 0xa886c) #5 0x00007fb648dac6d7 start_thread (libc.so.6 + 0x976d7) #6 0x00007fb648e3060c __clone3 (libc.so.6 + 0x11b60c) Stack trace of thread 133849: #0 0x00007fb648da8da9 __futex_abstimed_wait_common (libc.so.6 + 0x93da9) #1 0x00007fb648dab7f9 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x967f9) #2 0x00007fb622e9eb9d cnd_wait (radeonsi_drv_video.so + 0x9eb9d) #3 0x00007fb6231c73fb util_queue_thread_func (radeonsi_drv_video.so + 0x3c73fb) #4 0x00007fb622e9eafc impl_thrd_routine (radeonsi_drv_video.so + 0x9eafc) #5 0x00007fb648dac6d7 start_thread (libc.so.6 + 0x976d7) #6 0x00007fb648e3060c __clone3 (libc.so.6 + 0x11b60c) Stack trace of thread 133759: #0 0x00007fb648e2287d __poll (libc.so.6 + 0x10d87d) #1 0x00007fb64c161c34 g_main_context_iterate_unlocked.isra.0 (libglib-2.0.so.0 + 0xbec34) #2 0x00007fb64c105f37 g_main_loop_run (libglib-2.0.so.0 + 0x62f37) #3 0x00007fb64c365682 gdbus_shared_thread_func.lto_priv.0 (libgio-2.0.so.0 + 0x115682) #4 0x00007fb64c130813 g_thread_proxy (libglib-2.0.so.0 + 0x8d813) #5 0x00007fb648dac6d7 start_thread (libc.so.6 + 0x976d7) #6 0x00007fb648e3060c __clone3 (libc.so.6 + 0x11b60c) Stack trace of thread 133862: #0 0x00007fb648da8da9 __futex_abstimed_wait_common (libc.so.6 + 0x93da9) #1 0x00007fb648dab7f9 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x967f9) #2 0x00007fb6158a893d cnd_wait (radeonsi_dri.so + 0xa893d) #3 0x00007fb61588570b util_queue_thread_func (radeonsi_dri.so + 0x8570b) #4 0x00007fb6158a886c impl_thrd_routine (radeonsi_dri.so + 0xa886c) #5 0x00007fb648dac6d7 start_thread (libc.so.6 + 0x976d7) #6 0x00007fb648e3060c __clone3 (libc.so.6 + 0x11b60c) Stack trace of thread 133865: #0 0x00007fb648da8da9 __futex_abstimed_wait_common (libc.so.6 + 0x93da9) #1 0x00007fb648dab7f9 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x967f9) #2 0x00007fb6158a893d cnd_wait (radeonsi_dri.so + 0xa893d) #3 0x00007fb61588570b util_queue_thread_func (radeonsi_dri.so + 0x8570b) #4 0x00007fb6158a886c impl_thrd_routine (radeonsi_dri.so + 0xa886c) #5 0x00007fb648dac6d7 start_thread (libc.so.6 + 0x976d7) #6 0x00007fb648e3060c __clone3 (libc.so.6 + 0x11b60c) ELF object binary architecture: AMD x86-64 Oct 12 08:38:28 nilfgaard systemd[115726]: Started drkonqi-coredump-launcher@36-133868-0.service - Launch DrKonqi for a systemd-coredump crash (PID 133868/UID 0). Oct 12 08:38:28 nilfgaard drkonqi-coredump-launcher[133947]: Unable to find file for pid 133752 expected at "kcrash-metadata/sunshine-v2024.1007.214114.626748fcda944a7aaa52310ed8083eb0.133752.ini" Oct 12 08:38:28 nilfgaard drkonqi-coredump-launcher[133947]: Nothing handled the dump :O ```
slagiewka commented 1 month ago

I just upgraded to Fedora 41. The latest package, as well as the exact version with ffmpeg 7.1 update are working now. Fedora 41 ships ffmpeg 7.0.2 if that's of any help.

cgutman commented 4 weeks ago

I'm going to still investigate this. Fedora 40 is the latest GA release of Fedora, so we shouldn't be shipping packages that crash on it.

ReenigneArcher commented 4 weeks ago

Sorry, I thought this was resolved based on

update are working now

cgutman commented 3 weeks ago

I was able to reproduce this and it's another bug in FFmpeg 7.1. It was fixed upstream in https://github.com/FFmpeg/FFmpeg/commit/48a1a12968345bf673db1e1cbb5c64bd3529c50c, but the fix has a use-after-free bug that I reported on the mailing list.

I also requested the fix be cherry-picked into release/7.1. Hopefully they will do that so we can avoid having to carry a patch for months (and to avoid problems when building with vanilla FFmpeg).

wiseindy commented 3 weeks ago

Just wanted to report as well. I'm seeing the same error on my Fedora 40 Kinoite when I run using Wayland. It works fine with X11 though. I'm on the nightly build v2024.1015.41553

This is what happens when I run sunshine from the terminal on Wayland (works perfectly on X11, though):

[2024-10-17 09:50:51.190]: Info: Sunshine version: v2024.1015.41553
[2024-10-17 09:50:51.190]: Info: Package Publisher: LizardByte
[2024-10-17 09:50:51.190]: Info: Publisher Website: https://app.lizardbyte.dev
[2024-10-17 09:50:51.190]: Info: Get support: https://app.lizardbyte.dev/support
Cannot load libcuda.so.1
[2024-10-17 09:50:51.206]: Error: Couldn't load cuda: -1
[2024-10-17 09:50:51.206]: Info: Found display [wayland-0]
[2024-10-17 09:50:51.206]: Info: Found interface: zxdg_output_manager_v1(31) version 3
[2024-10-17 09:50:51.206]: Info: Found interface: wl_output(64) version 4
[2024-10-17 09:50:51.206]: Warning: Missing Wayland wire for wlr-export-dmabuf
[2024-10-17 09:50:51.206]: Info: /dev/dri/card0 -> amdgpu
[2024-10-17 09:50:51.207]: Info: Found display [wayland-0]
[2024-10-17 09:50:51.207]: Info: Found display [wayland-0]
[2024-10-17 09:50:51.207]: Info: Found interface: zxdg_output_manager_v1(31) version 3
[2024-10-17 09:50:51.207]: Info: Found interface: wl_output(64) version 4
[2024-10-17 09:50:51.207]: Info: Resolution: 2560x1440
[2024-10-17 09:50:51.207]: Info: Offset: 0x0
[2024-10-17 09:50:51.207]: Info: Logical size: 2560x1440
[2024-10-17 09:50:51.207]: Info: Name: DP-3
[2024-10-17 09:50:51.207]: Info: Found monitor: HP Inc. OMEN by HP 27/#ASP89+1efL/d
[2024-10-17 09:50:51.207]: Info: -------- Start of KMS monitor list --------
[2024-10-17 09:50:51.207]: Info: Monitor 0 is DP-3: HP Inc. OMEN by HP 27/#ASP89+1efL/d
[2024-10-17 09:50:51.207]: Info: --------- End of KMS monitor list ---------
[2024-10-17 09:50:51.210]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2024-10-17 09:50:51.210]: Info: Trying encoder [nvenc]
[2024-10-17 09:50:51.210]: Info: Screencasting with KMS
[2024-10-17 09:50:51.211]: Info: /dev/dri/card0 -> amdgpu
[2024-10-17 09:50:51.211]: Error: Couldn't find monitor [0]
[2024-10-17 09:50:51.211]: Info: /dev/dri/card0 -> amdgpu
[2024-10-17 09:50:51.212]: Error: Couldn't find monitor [0]
[2024-10-17 09:50:51.259]: Info: System tray created
[2024-10-17 09:50:51.412]: Info: Screencasting with KMS
[2024-10-17 09:50:51.412]: Info: /dev/dri/card0 -> amdgpu
[2024-10-17 09:50:51.413]: Error: Couldn't find monitor [0]
[2024-10-17 09:50:51.413]: Info: /dev/dri/card0 -> amdgpu
[2024-10-17 09:50:51.414]: Error: Couldn't find monitor [0]
[2024-10-17 09:50:51.614]: Info: Encoder [nvenc] failed
[2024-10-17 09:50:51.614]: Info: Trying encoder [vaapi]
[2024-10-17 09:50:51.614]: Info: Screencasting with KMS
[2024-10-17 09:50:51.616]: Info: /dev/dri/card0 -> amdgpu
[2024-10-17 09:50:51.616]: Info: Found monitor for DRM screencasting
[2024-10-17 09:50:51.616]: Info: Found connector ID [126]
[2024-10-17 09:50:51.617]: Info: Found cursor plane [88]
libva info: VA-API version 1.22.0
libva info: Trying to open /usr/lib64/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_22
libva info: va_openDriver() returns 0
[2024-10-17 09:50:51.661]: Info: Creating encoder [h264_vaapi]
[2024-10-17 09:50:51.661]: Info: Color coding: SDR (Rec. 601)
[2024-10-17 09:50:51.661]: Info: Color depth: 8-bit
[2024-10-17 09:50:51.661]: Info: Color range: JPEG
libva info: VA-API version 1.22.0
libva info: Trying to open /usr/lib64/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_22
libva info: va_openDriver() returns 0
[2024-10-17 09:50:51.688]: Info: vaapi vendor: Mesa Gallium driver 24.1.7 for AMD Radeon RX 6750 XT (radeonsi, navi22, LLVM 18.1.8, DRM 3.59, 6.11.3-200.fc40.x86_64)
[2024-10-17 09:50:51.688]: Error: [h264_vaapi @ 0x2640c400] No usable encoding entrypoint found for profile VAProfileH264High (7).
[2024-10-17 09:50:51.690]: Info: Retrying with fallback configuration options for [h264_vaapi] after error: Function not implemented
libva info: VA-API version 1.22.0
libva info: Trying to open /usr/lib64/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_22
libva info: va_openDriver() returns 0
[2024-10-17 09:50:51.696]: Info: vaapi vendor: Mesa Gallium driver 24.1.7 for AMD Radeon RX 6750 XT (radeonsi, navi22, LLVM 18.1.8, DRM 3.59, 6.11.3-200.fc40.x86_64)
[2024-10-17 09:50:51.697]: Warning: [h264_vaapi @ 0x2675d200] Driver does not support some wanted packed headers (wanted 0xd, found 0x1).
[2024-10-17 09:50:51.722]: Error: Invalid value at rbsp_stop_one_bit: bitstream ended.
[2024-10-17 09:50:51.722]: Error: Failed to read unit 4 (type 12).
[2024-10-17 09:50:51.722]: Error: Couldn't read packet: Invalid data found when processing input
[2024-10-17 09:50:51.727]: Info: Creating encoder [hevc_vaapi]
[2024-10-17 09:50:51.727]: Info: Color coding: SDR (Rec. 601)
[2024-10-17 09:50:51.727]: Info: Color depth: 8-bit
[2024-10-17 09:50:51.727]: Info: Color range: JPEG
libva info: VA-API version 1.22.0
libva info: Trying to open /usr/lib64/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_22
libva info: va_openDriver() returns 0
[2024-10-17 09:50:51.750]: Info: vaapi vendor: Mesa Gallium driver 24.1.7 for AMD Radeon RX 6750 XT (radeonsi, navi22, LLVM 18.1.8, DRM 3.59, 6.11.3-200.fc40.x86_64)
Segmentation fault (core dumped)
luigiistcrazy commented 3 weeks ago

Just installed the latest build v2024.1020.30518 and the error still appears for me. I've reinstalled sunshine twice as well as rebooted my system after each install. I'd be curious to know if I'm the only one and if https://github.com/LizardByte/build-deps/commit/0170afdb1f17ed3d8acd4989faaf16816a92860c actually fixed the issue.

ReenigneArcher commented 3 weeks ago

@luigiistcrazy that hasn't been merged into Sunshine yet.

luigiistcrazy commented 3 weeks ago

@ReenigneArcher Ah I see, sorry for wasting your time.

ReenigneArcher commented 3 weeks ago

@luigiistcrazy you can try after https://github.com/LizardByte/Sunshine/pull/3318 is merged, and after the pre-release builds.

luigiistcrazy commented 3 weeks ago

@ReenigneArcher I can confirm this build solves the issue. Sunshine is working for me now on Fedora Workstation 40.

wiseindy commented 3 weeks ago

Just tested version v2024.1020.154020, and the issue is now solved for me too on Fedora Kinoite 40 running Wayland. Thank you for the fix @ReenigneArcher!