moonlight-stream/moonlight-qt

Segmentation fault on Linux with Nvidia GPU and X11

Opened this issue · 2 comments

Describe the bug
On Linux with an Nvidia GPU and an X11 desktop, connecting to a server causes a segmentation fault.

Steps to reproduce

  1. Launch the Moonlight Appimage via the terminal.
  2. Connect to the server and launch a desktop session
  3. Observe crash

Moonlight settings (please complete the following information)
These are using default settings, in windowed mode.

Client PC details (please complete the following information)

  • OS: Debian 12
  • Moonlight Version: 6.1.0
  • GPU: Nvidia RTX 3060 (Driver version: 580.65.06, installed through official CUDA repo)
  • Linux package type (if applicable): Appimage

Some more system info (neofetch --stdout output):

allen@debian-pc 
--------------- 
OS: Debian GNU/Linux 12 (bookworm) x86_64 
Host: B450M Steel Legend 
Kernel: 6.12.30+bpo-amd64 
Uptime: 2 hours, 32 mins 
Packages: 5725 (dpkg), 32 (flatpak), 15 (snap) 
Shell: bash 5.2.15 
Resolution: 2560x1440 
DE: LXDE 
WM: Openbox 
WM Theme: Numix-Frost 
Theme: Numix-Frost [GTK2/3] 
Icons: ePapirus [GTK2/3] 
Terminal: lxterminal 
Terminal Font: DejaVu Sans Mono 10 
CPU: AMD Ryzen 9 5950X (32) @ 5.084GHz 
GPU: NVIDIA GeForce RTX 3060 
Memory: 11605MiB / 64226MiB 

Server PC details (please complete the following information)

  • OS: Windows 10 IoT LTSC 2021 (21H2 build 19044.6216)
  • Sunshine or GeForce Experience version: Sunshine v2025.122.141614
  • GPU: Nvidia RTX 2060 SUPER
  • GPU driver: 576.63

Moonlight Logs (please attach)

allen@debian-pc:~/Applications$ ./Moonlight-6.1.0-x86_64.AppImage 
00:00:00 - SDL Info (0): Compiled with SDL 2.31.0
00:00:00 - SDL Info (0): Running with SDL 2.31.0
00:00:00 - Qt Info: No translation available for "en_US"
00:00:00 - Qt Warning: qrc:/gui/main.qml:13:1: QML ApplicationWindow: ToolTip must be attached to an Item
00:00:00 - Qt Info: Found "gamecontrollerdb.txt" at "/home/allen/.cache/Moonlight Game Streaming Project/Moonlight/gamecontrollerdb.txt"
00:00:00 - SDL Info (0): Loaded 395 new gamepad mappings
00:00:00 - SDL Info (0): V-sync disabled
libva info: VA-API version 1.22.0
libva info: Trying to open /usr/local/lib/dri/nvidia_drv_video.so
libva info: va_openDriver() returns -1
00:00:00 - SDL Info (0): Skipping VAAPI fallback driver names on libva 2.20+
00:00:00 - SDL Info (0): Trying fallback VAAPI driver paths
libva info: VA-API version 1.22.0
libva info: Trying to open /usr/lib64/dri-nonfree/nvidia_drv_video.so
libva info: Trying to open /usr/lib64/dri-freeworld/nvidia_drv_video.so
libva info: Trying to open /usr/lib64/dri/nvidia_drv_video.so
libva info: Trying to open /usr/lib64/va/drivers/nvidia_drv_video.so
libva info: Trying to open /usr/lib/dri/nvidia_drv_video.so
libva info: Trying to open /usr/lib/va/drivers/nvidia_drv_video.so
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so
libva info: va_openDriver() returns -1
00:00:00 - SDL Info (0): Skipping VAAPI fallback driver names on libva 2.20+
00:00:00 - SDL Error (0): Failed to initialize VAAPI: -1
libva info: VA-API version 1.22.0
libva info: Trying to open /usr/local/lib/dri/nvidia_drv_video.so
libva info: va_openDriver() returns -1
00:00:00 - SDL Info (0): Skipping VAAPI fallback driver names on libva 2.20+
00:00:00 - SDL Info (0): Trying fallback VAAPI driver paths
libva info: VA-API version 1.22.0
libva info: Trying to open /usr/lib64/dri-nonfree/nvidia_drv_video.so
libva info: Trying to open /usr/lib64/dri-freeworld/nvidia_drv_video.so
libva info: Trying to open /usr/lib64/dri/nvidia_drv_video.so
libva info: Trying to open /usr/lib64/va/drivers/nvidia_drv_video.so
libva info: Trying to open /usr/lib/dri/nvidia_drv_video.so
libva info: Trying to open /usr/lib/va/drivers/nvidia_drv_video.so
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so
libva info: va_openDriver() returns -1
00:00:00 - SDL Info (0): Skipping VAAPI fallback driver names on libva 2.20+
00:00:00 - SDL Error (0): Failed to initialize VAAPI: -1
00:00:00 - SDL Warn (0): Vulkan device 'NVIDIA GeForce RTX 3060' does not support HDR10 (ST.2084 PQ)
00:00:00 - SDL Warn (0): Vulkan device 'llvmpipe (LLVM 15.0.6, 256 bits)' does not support VK_KHR_video_decode_h265
00:00:00 - SDL Error (0): No suitable HDR-capable Vulkan devices found!
00:00:01 - SDL Info (0): Vulkan rendering device chosen: NVIDIA GeForce RTX 3060
00:00:01 - SDL Info (0): Using Immediate present mode with V-Sync disabled
00:00:01 - FFmpeg: [AVHWDeviceContext @ 0x7ff6dc303e80] Using device: NVIDIA GeForce RTX 3060
00:00:01 - FFmpeg: [AVHWDeviceContext @ 0x7ff6dc303e80] Alignments:
00:00:01 - FFmpeg: [AVHWDeviceContext @ 0x7ff6dc303e80]     optimalBufferCopyRowPitchAlignment: 1
00:00:01 - FFmpeg: [AVHWDeviceContext @ 0x7ff6dc303e80]     minMemoryMapAlignment:              64
00:00:01 - FFmpeg: [AVHWDeviceContext @ 0x7ff6dc303e80]     nonCoherentAtomSize:                64
00:00:01 - FFmpeg: [AVHWDeviceContext @ 0x7ff6dc303e80]     minImportedHostPointerAlignment:    4096
00:00:01 - FFmpeg: [AVHWDeviceContext @ 0x7ff6dc303e80] Using queue family 0 (queues: 1) for graphics
00:00:01 - FFmpeg: [AVHWDeviceContext @ 0x7ff6dc303e80] Using queue family 2 (queues: 1) for compute
00:00:01 - FFmpeg: [AVHWDeviceContext @ 0x7ff6dc303e80] Using queue family 1 (queues: 1) for transfers
00:00:01 - FFmpeg: [AVHWDeviceContext @ 0x7ff6dc303e80] Using queue family 3 (queues: 1) for decode
00:00:01 - SDL Warn (0): Vulkan device 'NVIDIA GeForce RTX 3060' does not support HDR10 (ST.2084 PQ)
00:00:01 - SDL Warn (0): Vulkan device 'llvmpipe (LLVM 15.0.6, 256 bits)' does not support VK_KHR_video_decode_h265
00:00:01 - SDL Error (0): No suitable HDR-capable Vulkan devices found!
00:00:02 - SDL Info (0): Vulkan rendering device chosen: NVIDIA GeForce RTX 3060
00:00:02 - SDL Info (0): Using Immediate present mode with V-Sync disabled
00:00:02 - FFmpeg: [AVHWDeviceContext @ 0x7ff6dc4a4200] Using device: NVIDIA GeForce RTX 3060
00:00:02 - FFmpeg: [AVHWDeviceContext @ 0x7ff6dc4a4200] Alignments:
00:00:02 - FFmpeg: [AVHWDeviceContext @ 0x7ff6dc4a4200]     optimalBufferCopyRowPitchAlignment: 1
00:00:02 - FFmpeg: [AVHWDeviceContext @ 0x7ff6dc4a4200]     minMemoryMapAlignment:              64
00:00:02 - FFmpeg: [AVHWDeviceContext @ 0x7ff6dc4a4200]     nonCoherentAtomSize:                64
00:00:02 - FFmpeg: [AVHWDeviceContext @ 0x7ff6dc4a4200]     minImportedHostPointerAlignment:    4096
00:00:02 - FFmpeg: [AVHWDeviceContext @ 0x7ff6dc4a4200] Using queue family 0 (queues: 1) for graphics
00:00:02 - FFmpeg: [AVHWDeviceContext @ 0x7ff6dc4a4200] Using queue family 2 (queues: 1) for compute
00:00:02 - FFmpeg: [AVHWDeviceContext @ 0x7ff6dc4a4200] Using queue family 1 (queues: 1) for transfers
00:00:02 - FFmpeg: [AVHWDeviceContext @ 0x7ff6dc4a4200] Using queue family 3 (queues: 1) for decode
00:00:02 - SDL Info (0): Using Vulkan video decoding
00:00:02 - FFmpeg: [hevc @ 0x7ff6dc445d00] nal_unit_type: 32(VPS), nuh_layer_id: 0, temporal_id: 0
00:00:02 - FFmpeg: [hevc @ 0x7ff6dc445d00] nal_unit_type: 33(SPS), nuh_layer_id: 0, temporal_id: 0
00:00:02 - FFmpeg: [hevc @ 0x7ff6dc445d00] nal_unit_type: 34(PPS), nuh_layer_id: 0, temporal_id: 0
00:00:02 - FFmpeg: [hevc @ 0x7ff6dc445d00] nal_unit_type: 21(CRA_NUT), nuh_layer_id: 0, temporal_id: 0
00:00:02 - FFmpeg: [hevc @ 0x7ff6dc445d00] nal_unit_type: 21(CRA_NUT), nuh_layer_id: 0, temporal_id: 0
00:00:02 - FFmpeg: [hevc @ 0x7ff6dc445d00] nal_unit_type: 21(CRA_NUT), nuh_layer_id: 0, temporal_id: 0
00:00:02 - FFmpeg: [hevc @ 0x7ff6dc445d00] nal_unit_type: 21(CRA_NUT), nuh_layer_id: 0, temporal_id: 0
00:00:02 - FFmpeg: [hevc @ 0x7ff6dc445d00] Decoding VPS
00:00:02 - FFmpeg: [hevc @ 0x7ff6dc445d00] Main 10 profile bitstream
00:00:02 - FFmpeg: [hevc @ 0x7ff6dc445d00] Decoding SPS
00:00:02 - FFmpeg: [hevc @ 0x7ff6dc445d00] Main 10 profile bitstream
00:00:02 - FFmpeg: [hevc @ 0x7ff6dc445d00] Decoding VUI
00:00:02 - FFmpeg: [hevc @ 0x7ff6dc445d00] Decoding PPS
00:00:02 - FFmpeg: [hevc @ 0x7ff6dc445d00] Format vulkan chosen by get_format().
00:00:02 - FFmpeg: [hevc @ 0x7ff6dc445d00] Format vulkan requires hwaccel hevc_vulkan initialisation.
00:00:02 - FFmpeg: [hevc @ 0x7ff6dc445d00] Decoder capabilities for hevc profile "Main 10":
00:00:02 - FFmpeg: [hevc @ 0x7ff6dc445d00]     Maximum level: 61 (stream 120)
00:00:02 - FFmpeg: [hevc @ 0x7ff6dc445d00]     Width: from 144 to 8192
00:00:02 - FFmpeg: [hevc @ 0x7ff6dc445d00]     Height: from 144 to 8192
00:00:02 - FFmpeg: [hevc @ 0x7ff6dc445d00]     Width alignment: 16
00:00:02 - FFmpeg: [hevc @ 0x7ff6dc445d00]     Height alignment: 16
00:00:02 - FFmpeg: [hevc @ 0x7ff6dc445d00]     Bitstream offset alignment: 256
00:00:02 - FFmpeg: [hevc @ 0x7ff6dc445d00]     Bitstream size alignment: 256
00:00:02 - FFmpeg: [hevc @ 0x7ff6dc445d00]     Maximum references: 16
00:00:02 - FFmpeg: [hevc @ 0x7ff6dc445d00]     Maximum active references: 16
00:00:02 - FFmpeg: [hevc @ 0x7ff6dc445d00]     Codec header name: 'VK_STD_vulkan_video_codec_h265_decode' (driver), 'VK_STD_vulkan_video_codec_h265_decode' (compiled)
00:00:02 - FFmpeg: [hevc @ 0x7ff6dc445d00]     Codec header version: 1.0.0 (driver), 1.0.0 (compiled)
00:00:02 - FFmpeg: [hevc @ 0x7ff6dc445d00]     Decode modes: reuse_dst_dpb
00:00:02 - FFmpeg: [hevc @ 0x7ff6dc445d00]     Capability flags: none
00:00:02 - FFmpeg: [hevc @ 0x7ff6dc445d00] Choosing best pixel format for decoding from 1:
00:00:02 - FFmpeg: [hevc @ 0x7ff6dc445d00]     p010le* (Vulkan ID: 1000156013)
00:00:02 - FFmpeg: [hevc @ 0x7ff6dc445d00] Chosen frame pixfmt: p010le (Vulkan ID: 1000156013)
00:00:02 - FFmpeg: [hevc @ 0x7ff6dc445d00] Allocating 4096 bytes in bind index 0 for video session
00:00:02 - FFmpeg: [hevc @ 0x7ff6dc445d00] Allocating 16384 bytes in bind index 1 for video session
00:00:02 - FFmpeg: [hevc @ 0x7ff6dc445d00] Allocating 71303168 bytes in bind index 2 for video session
00:00:02 - FFmpeg: [hevc @ 0x7ff6dc445d00] Allocating 247595008 bytes in bind index 3 for video session
00:00:02 - FFmpeg: [hevc @ 0x7ff6dc445d00] Vulkan decoder initialization sucessful
00:00:02 - FFmpeg: [hevc @ 0x7ff6dc445d00] Output frame with POC 3.
00:00:02 - FFmpeg: [hevc @ 0x7ff6dc445d00] Created frame parameters: 1 SPS 1 PPS 1 VPS
00:00:02 - FFmpeg: [hevc @ 0x7ff6dc445d00] Decoding frame, 349 bytes, 4 slices
00:00:02 - SDL Info (0): FFmpeg-based video decoder chosen
00:00:02 - Qt Info: Found "gamecontrollerdb.txt" at "/home/allen/.cache/Moonlight Game Streaming Project/Moonlight/gamecontrollerdb.txt"
00:00:02 - SDL Info (0): Loaded 395 new gamepad mappings
00:00:02 - Qt Debug: Current Moonlight version: "6.1.0"
00:00:02 - Qt Info: Gamepad mappings are up to date
00:00:02 - Qt Info: Latest supported GFE server: "99.99.99.99"
00:00:02 - Qt Info: Discovered mDNS host: "DESKTOP-RLBU0H7.local."
00:00:02 - Qt Debug: Found update manifest match for current platform
00:00:02 - Qt Debug: Latest version of Moonlight for this platform is: "6.1.0"
00:00:02 - Qt Debug: Update manifest version equal to current version
00:00:02 - Qt Info: Resolved "DESKTOP-RLBU0H7.local." to QHostAddress("192.168.0.44")
00:00:02 - Qt Info: Resolved "DESKTOP-RLBU0H7.local." to QHostAddress("xxxxxxxxxxxxxxxxxxxxxxxx")
00:00:02 - Qt Info: Resolved "DESKTOP-RLBU0H7.local." to QHostAddress("xxxxxxxxxxxxxxxxxxxxxxxx")
00:00:02 - Qt Info: Resolved "DESKTOP-RLBU0H7.local." to QHostAddress("xxxxxxxxxxxxxxxxxxxxxxxx")
00:00:02 - Qt Info: Resolved "DESKTOP-RLBU0H7.local." to QHostAddress("xxxxxxxxxxxxxxxxxxxxxxxx")
00:00:03 - Qt Info: "DESKTOP-RLBU0H7" is now online at "192.168.0.44:47989"
00:00:04 - Qt Info: Processing new PC at "192.168.0.44:47989" from mDNS with IPv6 address "[xxxxxxxxxxxxxxxxxxxxxxxx]:47989"
00:00:04 - Qt Info: Executing request: "http://192.168.0.44:47989/serverinfo?uniqueid=0123456789ABCDEF&uuid=5f749b75c328423fa79920e958524ebc"
00:00:04 - Qt Info: Executing request: "https://192.168.0.44:47984/serverinfo?uniqueid=0123456789ABCDEF&uuid=55f479c772864d878d9c9f85b791b969"
00:00:05 - Qt Info: Found "ModeSeven.ttf" at ":/data/ModeSeven.ttf"
00:00:05 - SDL Info (0): Qt UI screen is at (0,0)
00:00:05 - SDL Info (0): SDL found matching display 0
00:00:05 - Qt Info: Server GPU: ""
00:00:05 - Qt Info: Server GFE version: "3.23.0.74"
00:00:05 - SDL Info (0): Video bitrate: 80000 kbps
00:00:05 - SDL Info (0): Desired audio buffer: 720 samples (5760 bytes)
00:00:05 - SDL Info (0): Obtained audio buffer: 720 samples (5760 bytes)
00:00:05 - SDL Info (0): SDL audio driver: pulseaudio
00:00:05 - SDL Info (0): Audio channel count: 2
00:00:05 - SDL Info (0): Audio channel mask: 3
00:00:05 - SDL Info (0): V-sync disabled
libva info: VA-API version 1.22.0
libva info: Trying to open /usr/local/lib/dri/nvidia_drv_video.so
libva info: va_openDriver() returns -1
00:00:05 - SDL Info (0): Skipping VAAPI fallback driver names on libva 2.20+
00:00:05 - SDL Info (0): Trying fallback VAAPI driver paths
libva info: VA-API version 1.22.0
libva info: Trying to open /usr/lib64/dri-nonfree/nvidia_drv_video.so
libva info: Trying to open /usr/lib64/dri-freeworld/nvidia_drv_video.so
libva info: Trying to open /usr/lib64/dri/nvidia_drv_video.so
libva info: Trying to open /usr/lib64/va/drivers/nvidia_drv_video.so
libva info: Trying to open /usr/lib/dri/nvidia_drv_video.so
libva info: Trying to open /usr/lib/va/drivers/nvidia_drv_video.so
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so
libva info: va_openDriver() returns -1
00:00:05 - SDL Info (0): Skipping VAAPI fallback driver names on libva 2.20+
00:00:05 - SDL Error (0): Failed to initialize VAAPI: -1
libva info: VA-API version 1.22.0
libva info: Trying to open /usr/local/lib/dri/nvidia_drv_video.so
libva info: va_openDriver() returns -1
00:00:05 - SDL Info (0): Skipping VAAPI fallback driver names on libva 2.20+
00:00:05 - SDL Info (0): Trying fallback VAAPI driver paths
libva info: VA-API version 1.22.0
libva info: Trying to open /usr/lib64/dri-nonfree/nvidia_drv_video.so
libva info: Trying to open /usr/lib64/dri-freeworld/nvidia_drv_video.so
libva info: Trying to open /usr/lib64/dri/nvidia_drv_video.so
libva info: Trying to open /usr/lib64/va/drivers/nvidia_drv_video.so
libva info: Trying to open /usr/lib/dri/nvidia_drv_video.so
libva info: Trying to open /usr/lib/va/drivers/nvidia_drv_video.so
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so
libva info: va_openDriver() returns -1
00:00:05 - SDL Info (0): Skipping VAAPI fallback driver names on libva 2.20+
00:00:05 - SDL Error (0): Failed to initialize VAAPI: -1
00:00:05 - FFmpeg: [AVHWDeviceContext @ 0x7ff6a403e180] Successfully created a VDPAU device (NVIDIA VDPAU Driver Shared Library  580.65.06  Sun Jul 27 06:38:37 UTC 2025) on X11 display :0
00:00:05 - SDL Info (0): Driver: NVIDIA VDPAU Driver Shared Library  580.65.06  Sun Jul 27 06:38:37 UTC 2025
00:00:05 - FFmpeg: [AVHWDeviceContext @ 0x7ff6a4077580] Successfully created a VDPAU device (NVIDIA VDPAU Driver Shared Library  580.65.06  Sun Jul 27 06:38:37 UTC 2025) on X11 display :0
00:00:05 - SDL Info (0): Driver: NVIDIA VDPAU Driver Shared Library  580.65.06  Sun Jul 27 06:38:37 UTC 2025
00:00:05 - SDL Info (0): Using VDPAU accelerated renderer
00:00:05 - FFmpeg: [hevc @ 0x7ff6a4079200] nal_unit_type: 32(VPS), nuh_layer_id: 0, temporal_id: 0
00:00:05 - FFmpeg: [hevc @ 0x7ff6a4079200] nal_unit_type: 33(SPS), nuh_layer_id: 0, temporal_id: 0
00:00:05 - FFmpeg: [hevc @ 0x7ff6a4079200] nal_unit_type: 34(PPS), nuh_layer_id: 0, temporal_id: 0
00:00:05 - FFmpeg: [hevc @ 0x7ff6a4079200] nal_unit_type: 21(CRA_NUT), nuh_layer_id: 0, temporal_id: 0
00:00:05 - FFmpeg: [hevc @ 0x7ff6a4079200] Decoding VPS
00:00:05 - FFmpeg: [hevc @ 0x7ff6a4079200] Main profile bitstream
00:00:05 - FFmpeg: [hevc @ 0x7ff6a4079200] Decoding SPS
00:00:05 - FFmpeg: [hevc @ 0x7ff6a4079200] Main profile bitstream
00:00:05 - FFmpeg: [hevc @ 0x7ff6a4079200] Decoding VUI
00:00:05 - FFmpeg: [hevc @ 0x7ff6a4079200] Decoding PPS
00:00:05 - FFmpeg: [hevc @ 0x7ff6a4079200] Format vdpau chosen by get_format().
00:00:05 - FFmpeg: [hevc @ 0x7ff6a4079200] Format vdpau requires hwaccel hevc_vdpau initialisation.
00:00:05 - FFmpeg: [hevc @ 0x7ff6a4079200] Output frame with POC 3.
00:00:05 - SDL Info (0): FFmpeg-based video decoder chosen
00:00:05 - Qt Warning: Your selection to enable remote desktop mouse mode may cause problems in games.
00:00:09 - SDL Info (0): Desired audio buffer: 720 samples (5760 bytes)
00:00:09 - SDL Info (0): Obtained audio buffer: 720 samples (5760 bytes)
00:00:09 - SDL Info (0): SDL audio driver: pulseaudio
00:00:09 - Qt Info: Found "gamecontrollerdb.txt" at "/home/allen/.cache/Moonlight Game Streaming Project/Moonlight/gamecontrollerdb.txt"
00:00:09 - SDL Info (0): Loaded 395 new gamepad mappings
00:00:09 - SDL Info (0): V-sync disabled
libva info: VA-API version 1.22.0
00:00:09 - Qt Warning: The X11 connection broke: Error during FD passing (code 7)
XIO:  fatal IO error 0 (Success) on X server ":0"
      after 134 requests (133 known processed) with 2 events remaining.
00:00:09 - Qt Warning: QObject::~QObject: Timers cannot be stopped from another thread
00:00:09 - Qt Warning: QObject::~QObject: Timers cannot be stopped from another thread
Segmentation fault
allen@debian-pc:~/Applications$ 

Additional context
Everything works perfectly fine if software video decoding is forced.

I can confirm i have the same issue with similar hardware and system. (I'm virtualizing tho)

Neofetch:

OS: Ubuntu 22.04.5 LTS x86_64 
Host: KVM/QEMU (Standard PC (i440FX + PIIX, 1996) pc-i440fx-9.2) 
Kernel: 6.8.0-79-generic 
Uptime: 49 mins 
Packages: 2131 (dpkg), 14 (snap) 
Shell: bash 5.1.16 
Resolution: 1080x1920, 2560x1440, 1920x1080, 2560x1440 
DE: GNOME 42.9 
WM: Mutter 
WM Theme: Adwaita 
Theme: Yaru-red-dark [GTK2/3] 
Icons: Yaru-red [GTK2/3] 
Terminal: gnome-terminal 
CPU: AMD Ryzen 9 5900X (8) @ 3.693GHz 
GPU: NVIDIA GeForce RTX 3060 Lite Hash Rate 
Memory: 5907MiB / 31340MiB 

Crashlog:

$ ./Moonlight-6.1.0-x86_64.AppImage 
00:00:00 - SDL Info (0): Compiled with SDL 2.31.0
00:00:00 - SDL Info (0): Running with SDL 2.31.0
00:00:00 - Qt Info: No translation available for "en_US"
00:00:00 - Qt Warning: qrc:/gui/main.qml:13:1: QML ApplicationWindow: ToolTip must be attached to an Item
00:00:00 - Qt Info: Found "gamecontrollerdb.txt" at "/home/cj/.cache/Moonlight Game Streaming Project/Moonlight/gamecontrollerdb.txt"
00:00:00 - SDL Info (0): Loaded 395 new gamepad mappings
00:00:01 - SDL Info (0): V-sync disabled
libva info: VA-API version 1.22.0
libva info: Trying to open /usr/local/lib/dri/nvidia_drv_video.so
libva info: va_openDriver() returns -1
00:00:01 - SDL Info (0): Skipping VAAPI fallback driver names on libva 2.20+
00:00:01 - SDL Info (0): Trying fallback VAAPI driver paths
libva info: VA-API version 1.22.0
libva info: Trying to open /usr/lib64/dri-nonfree/nvidia_drv_video.so
libva info: Trying to open /usr/lib64/dri-freeworld/nvidia_drv_video.so
libva info: Trying to open /usr/lib64/dri/nvidia_drv_video.so
libva info: Trying to open /usr/lib64/va/drivers/nvidia_drv_video.so
libva info: Trying to open /usr/lib/dri/nvidia_drv_video.so
libva info: Trying to open /usr/lib/va/drivers/nvidia_drv_video.so
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so
libva info: va_openDriver() returns -1
00:00:01 - SDL Info (0): Skipping VAAPI fallback driver names on libva 2.20+
00:00:01 - SDL Error (0): Failed to initialize VAAPI: -1
libva info: VA-API version 1.22.0
libva info: Trying to open /usr/local/lib/dri/nvidia_drv_video.so
libva info: va_openDriver() returns -1
00:00:01 - SDL Info (0): Skipping VAAPI fallback driver names on libva 2.20+
00:00:01 - SDL Info (0): Trying fallback VAAPI driver paths
libva info: VA-API version 1.22.0
libva info: Trying to open /usr/lib64/dri-nonfree/nvidia_drv_video.so
libva info: Trying to open /usr/lib64/dri-freeworld/nvidia_drv_video.so
libva info: Trying to open /usr/lib64/dri/nvidia_drv_video.so
libva info: Trying to open /usr/lib64/va/drivers/nvidia_drv_video.so
libva info: Trying to open /usr/lib/dri/nvidia_drv_video.so
libva info: Trying to open /usr/lib/va/drivers/nvidia_drv_video.so
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so
libva info: va_openDriver() returns -1
00:00:01 - SDL Info (0): Skipping VAAPI fallback driver names on libva 2.20+
00:00:01 - SDL Error (0): Failed to initialize VAAPI: -1
00:00:01 - SDL Warn (0): Vulkan device 'NVIDIA GeForce RTX 3060' does not support HDR10 (ST.2084 PQ)
00:00:01 - SDL Warn (0): Vulkan device 'llvmpipe (LLVM 15.0.7, 256 bits)' does not support VK_KHR_video_decode_h265
00:00:01 - SDL Error (0): No suitable HDR-capable Vulkan devices found!
00:00:01 - SDL Info (0): Vulkan rendering device chosen: NVIDIA GeForce RTX 3060
00:00:01 - SDL Info (0): Using Immediate present mode with V-Sync disabled
00:00:02 - FFmpeg: [AVHWDeviceContext @ 0x70e3702d0d00] Using device: NVIDIA GeForce RTX 3060
00:00:02 - FFmpeg: [AVHWDeviceContext @ 0x70e3702d0d00] Alignments:
00:00:02 - FFmpeg: [AVHWDeviceContext @ 0x70e3702d0d00]     optimalBufferCopyRowPitchAlignment: 1
00:00:02 - FFmpeg: [AVHWDeviceContext @ 0x70e3702d0d00]     minMemoryMapAlignment:              64
00:00:02 - FFmpeg: [AVHWDeviceContext @ 0x70e3702d0d00]     nonCoherentAtomSize:                64
00:00:02 - FFmpeg: [AVHWDeviceContext @ 0x70e3702d0d00]     minImportedHostPointerAlignment:    4096
00:00:02 - FFmpeg: [AVHWDeviceContext @ 0x70e3702d0d00] Using queue family 0 (queues: 1) for graphics
00:00:02 - FFmpeg: [AVHWDeviceContext @ 0x70e3702d0d00] Using queue family 2 (queues: 1) for compute
00:00:02 - FFmpeg: [AVHWDeviceContext @ 0x70e3702d0d00] Using queue family 1 (queues: 1) for transfers
00:00:02 - FFmpeg: [AVHWDeviceContext @ 0x70e3702d0d00] Using queue family 3 (queues: 1) for decode
00:00:02 - SDL Warn (0): Vulkan device 'NVIDIA GeForce RTX 3060' does not support HDR10 (ST.2084 PQ)
00:00:02 - SDL Warn (0): Vulkan device 'llvmpipe (LLVM 15.0.7, 256 bits)' does not support VK_KHR_video_decode_h265
00:00:02 - SDL Error (0): No suitable HDR-capable Vulkan devices found!
00:00:02 - SDL Info (0): Vulkan rendering device chosen: NVIDIA GeForce RTX 3060
00:00:02 - SDL Info (0): Using Immediate present mode with V-Sync disabled
00:00:02 - FFmpeg: [AVHWDeviceContext @ 0x70e37113dc00] Using device: NVIDIA GeForce RTX 3060
00:00:02 - FFmpeg: [AVHWDeviceContext @ 0x70e37113dc00] Alignments:
00:00:02 - FFmpeg: [AVHWDeviceContext @ 0x70e37113dc00]     optimalBufferCopyRowPitchAlignment: 1
00:00:02 - FFmpeg: [AVHWDeviceContext @ 0x70e37113dc00]     minMemoryMapAlignment:              64
00:00:02 - FFmpeg: [AVHWDeviceContext @ 0x70e37113dc00]     nonCoherentAtomSize:                64
00:00:02 - FFmpeg: [AVHWDeviceContext @ 0x70e37113dc00]     minImportedHostPointerAlignment:    4096
00:00:02 - FFmpeg: [AVHWDeviceContext @ 0x70e37113dc00] Using queue family 0 (queues: 1) for graphics
00:00:02 - FFmpeg: [AVHWDeviceContext @ 0x70e37113dc00] Using queue family 2 (queues: 1) for compute
00:00:02 - FFmpeg: [AVHWDeviceContext @ 0x70e37113dc00] Using queue family 1 (queues: 1) for transfers
00:00:02 - FFmpeg: [AVHWDeviceContext @ 0x70e37113dc00] Using queue family 3 (queues: 1) for decode
00:00:02 - SDL Info (0): Using Vulkan video decoding
00:00:02 - FFmpeg: [hevc @ 0x70e37113e800] nal_unit_type: 32(VPS), nuh_layer_id: 0, temporal_id: 0
00:00:02 - FFmpeg: [hevc @ 0x70e37113e800] nal_unit_type: 33(SPS), nuh_layer_id: 0, temporal_id: 0
00:00:02 - FFmpeg: [hevc @ 0x70e37113e800] nal_unit_type: 34(PPS), nuh_layer_id: 0, temporal_id: 0
00:00:02 - FFmpeg: [hevc @ 0x70e37113e800] nal_unit_type: 21(CRA_NUT), nuh_layer_id: 0, temporal_id: 0
00:00:02 - FFmpeg: [hevc @ 0x70e37113e800] nal_unit_type: 21(CRA_NUT), nuh_layer_id: 0, temporal_id: 0
00:00:02 - FFmpeg: [hevc @ 0x70e37113e800] nal_unit_type: 21(CRA_NUT), nuh_layer_id: 0, temporal_id: 0
00:00:02 - FFmpeg: [hevc @ 0x70e37113e800] nal_unit_type: 21(CRA_NUT), nuh_layer_id: 0, temporal_id: 0
00:00:02 - FFmpeg: [hevc @ 0x70e37113e800] Decoding VPS
00:00:02 - FFmpeg: [hevc @ 0x70e37113e800] Main 10 profile bitstream
00:00:02 - FFmpeg: [hevc @ 0x70e37113e800] Decoding SPS
00:00:02 - FFmpeg: [hevc @ 0x70e37113e800] Main 10 profile bitstream
00:00:02 - FFmpeg: [hevc @ 0x70e37113e800] Decoding VUI
00:00:02 - FFmpeg: [hevc @ 0x70e37113e800] Decoding PPS
00:00:02 - FFmpeg: [hevc @ 0x70e37113e800] Format vulkan chosen by get_format().
00:00:02 - FFmpeg: [hevc @ 0x70e37113e800] Format vulkan requires hwaccel hevc_vulkan initialisation.
00:00:02 - FFmpeg: [hevc @ 0x70e37113e800] Decoder capabilities for hevc profile "Main 10":
00:00:02 - FFmpeg: [hevc @ 0x70e37113e800]     Maximum level: 61 (stream 120)
00:00:02 - FFmpeg: [hevc @ 0x70e37113e800]     Width: from 144 to 8192
00:00:02 - FFmpeg: [hevc @ 0x70e37113e800]     Height: from 144 to 8192
00:00:02 - FFmpeg: [hevc @ 0x70e37113e800]     Width alignment: 16
00:00:02 - FFmpeg: [hevc @ 0x70e37113e800]     Height alignment: 16
00:00:02 - FFmpeg: [hevc @ 0x70e37113e800]     Bitstream offset alignment: 256
00:00:02 - FFmpeg: [hevc @ 0x70e37113e800]     Bitstream size alignment: 256
00:00:02 - FFmpeg: [hevc @ 0x70e37113e800]     Maximum references: 16
00:00:02 - FFmpeg: [hevc @ 0x70e37113e800]     Maximum active references: 16
00:00:02 - FFmpeg: [hevc @ 0x70e37113e800]     Codec header name: 'VK_STD_vulkan_video_codec_h265_decode' (driver), 'VK_STD_vulkan_video_codec_h265_decode' (compiled)
00:00:02 - FFmpeg: [hevc @ 0x70e37113e800]     Codec header version: 1.0.0 (driver), 1.0.0 (compiled)
00:00:02 - FFmpeg: [hevc @ 0x70e37113e800]     Decode modes: reuse_dst_dpb
00:00:02 - FFmpeg: [hevc @ 0x70e37113e800]     Capability flags: none
00:00:02 - FFmpeg: [hevc @ 0x70e37113e800] Choosing best pixel format for decoding from 1:
00:00:02 - FFmpeg: [hevc @ 0x70e37113e800]     p010le* (Vulkan ID: 1000156013)
00:00:02 - FFmpeg: [hevc @ 0x70e37113e800] Chosen frame pixfmt: p010le (Vulkan ID: 1000156013)
00:00:02 - FFmpeg: [hevc @ 0x70e37113e800] Allocating 4096 bytes in bind index 0 for video session
00:00:02 - FFmpeg: [hevc @ 0x70e37113e800] Allocating 16384 bytes in bind index 1 for video session
00:00:02 - FFmpeg: [hevc @ 0x70e37113e800] Allocating 71303168 bytes in bind index 2 for video session
00:00:02 - FFmpeg: [hevc @ 0x70e37113e800] Allocating 247595008 bytes in bind index 3 for video session
00:00:02 - FFmpeg: [hevc @ 0x70e37113e800] Vulkan decoder initialization sucessful
00:00:02 - FFmpeg: [hevc @ 0x70e37113e800] Output frame with POC 3.
00:00:02 - FFmpeg: [hevc @ 0x70e37113e800] Created frame parameters: 1 SPS 1 PPS 1 VPS
00:00:02 - FFmpeg: [hevc @ 0x70e37113e800] Decoding frame, 349 bytes, 4 slices
00:00:02 - SDL Info (0): FFmpeg-based video decoder chosen
00:00:03 - Qt Info: Found "gamecontrollerdb.txt" at "/home/cj/.cache/Moonlight Game Streaming Project/Moonlight/gamecontrollerdb.txt"
00:00:03 - SDL Info (0): Loaded 395 new gamepad mappings
00:00:03 - Qt Debug: Current Moonlight version: "6.1.0"
00:00:03 - Qt Info: Gamepad mappings are up to date
00:00:03 - Qt Info: Latest supported GFE server: "99.99.99.99"
00:00:03 - Qt Debug: Found update manifest match for current platform
00:00:03 - Qt Debug: Latest version of Moonlight for this platform is: "6.1.0"
00:00:03 - Qt Debug: Update manifest version equal to current version
00:00:03 - Qt Info: "WIN-MAIN" is now online at "192.168.178.84:47989"
00:00:03 - Qt Info: Discovered mDNS host: "WIN-MAIN.local."
00:00:03 - Qt Info: Resolved "WIN-MAIN.local." to QHostAddress("192.168.178.84")
00:00:03 - Qt Info: Resolved "WIN-MAIN.local." to QHostAddress("2a00:6020:50e8:c00:57a6:6ea9:3917:5893")
00:00:03 - Qt Info: Resolved "WIN-MAIN.local." to QHostAddress("fd42:441:408e:0:471b:8b8:7a7e:fca5")
00:00:03 - Qt Info: Resolved "WIN-MAIN.local." to QHostAddress("2a00:6020:50e8:c00:208b:2c7d:99ae:39c8")
00:00:03 - Qt Info: Resolved "WIN-MAIN.local." to QHostAddress("fd42:441:408e:0:208b:2c7d:99ae:39c8")
00:00:03 - Qt Info: Resolved "WIN-MAIN.local." to QHostAddress("fe80::4809:1104:2c57:c4db")
00:00:03 - Qt Info: Resolved "WIN-MAIN.local." to QHostAddress("10.0.1.3")
00:00:03 - Qt Info: Resolved "WIN-MAIN.local." to QHostAddress("fe80::451d:6828:80bb:a4e")
00:00:03 - Qt Info: Resolved "WIN-MAIN.local." to QHostAddress("10.0.0.130")
00:00:03 - Qt Info: Resolved "WIN-MAIN.local." to QHostAddress("fe80::784:77fc:4c4f:6057")
00:00:05 - Qt Info: Processing new PC at "192.168.178.84:47989" from mDNS with IPv6 address "[2a00:6020:50e8:c00:57a6:6ea9:3917:5893]:47989"
00:00:05 - Qt Info: Executing request: "http://192.168.178.84:47989/serverinfo?uniqueid=0123456789ABCDEF&uuid=d0f053cef558433d91d610ec36b5abfe"
00:00:05 - Qt Info: Executing request: "https://192.168.178.84:47984/serverinfo?uniqueid=0123456789ABCDEF&uuid=3bc9f9def2d745bd999c48cdf5342acb"
00:00:06 - Qt Info: Found "ModeSeven.ttf" at ":/data/ModeSeven.ttf"
00:00:06 - SDL Info (0): Qt UI screen is at (1080,1482)
00:00:06 - SDL Info (0): SDL found matching display 0
00:00:06 - Qt Info: Server GPU: ""
00:00:06 - Qt Info: Server GFE version: "3.23.0.74"
00:00:06 - SDL Info (0): Video bitrate: 500000 kbps
00:00:06 - SDL Info (0): Desired audio buffer: 720 samples (5760 bytes)
00:00:06 - SDL Info (0): Obtained audio buffer: 720 samples (5760 bytes)
00:00:06 - SDL Info (0): SDL audio driver: pulseaudio
00:00:06 - SDL Info (0): Audio channel count: 2
00:00:06 - SDL Info (0): Audio channel mask: 3
00:00:06 - SDL Info (0): V-sync disabled
libva info: VA-API version 1.22.0
libva info: Trying to open /usr/local/lib/dri/nvidia_drv_video.so
libva info: va_openDriver() returns -1
00:00:06 - SDL Info (0): Skipping VAAPI fallback driver names on libva 2.20+
00:00:06 - SDL Info (0): Trying fallback VAAPI driver paths
libva info: VA-API version 1.22.0
libva info: Trying to open /usr/lib64/dri-nonfree/nvidia_drv_video.so
libva info: Trying to open /usr/lib64/dri-freeworld/nvidia_drv_video.so
libva info: Trying to open /usr/lib64/dri/nvidia_drv_video.so
libva info: Trying to open /usr/lib64/va/drivers/nvidia_drv_video.so
libva info: Trying to open /usr/lib/dri/nvidia_drv_video.so
libva info: Trying to open /usr/lib/va/drivers/nvidia_drv_video.so
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so
libva info: va_openDriver() returns -1
00:00:06 - SDL Info (0): Skipping VAAPI fallback driver names on libva 2.20+
00:00:06 - SDL Error (0): Failed to initialize VAAPI: -1
libva info: VA-API version 1.22.0
libva info: Trying to open /usr/local/lib/dri/nvidia_drv_video.so
libva info: va_openDriver() returns -1
00:00:06 - SDL Info (0): Skipping VAAPI fallback driver names on libva 2.20+
00:00:06 - SDL Info (0): Trying fallback VAAPI driver paths
libva info: VA-API version 1.22.0
libva info: Trying to open /usr/lib64/dri-nonfree/nvidia_drv_video.so
libva info: Trying to open /usr/lib64/dri-freeworld/nvidia_drv_video.so
libva info: Trying to open /usr/lib64/dri/nvidia_drv_video.so
libva info: Trying to open /usr/lib64/va/drivers/nvidia_drv_video.so
libva info: Trying to open /usr/lib/dri/nvidia_drv_video.so
libva info: Trying to open /usr/lib/va/drivers/nvidia_drv_video.so
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so
libva info: va_openDriver() returns -1
00:00:06 - SDL Info (0): Skipping VAAPI fallback driver names on libva 2.20+
00:00:06 - SDL Error (0): Failed to initialize VAAPI: -1
00:00:06 - FFmpeg: [AVHWDeviceContext @ 0x70e32c0da880] Successfully created a VDPAU device (NVIDIA VDPAU Driver Shared Library  570.169  Thu Jun 12 19:26:43 UTC 2025) on X11 display :1
00:00:06 - SDL Info (0): Driver: NVIDIA VDPAU Driver Shared Library  570.169  Thu Jun 12 19:26:43 UTC 2025
00:00:06 - FFmpeg: [AVHWDeviceContext @ 0x70e32c0da980] Successfully created a VDPAU device (NVIDIA VDPAU Driver Shared Library  570.169  Thu Jun 12 19:26:43 UTC 2025) on X11 display :1
00:00:06 - SDL Info (0): Driver: NVIDIA VDPAU Driver Shared Library  570.169  Thu Jun 12 19:26:43 UTC 2025
00:00:06 - SDL Info (0): Using VDPAU accelerated renderer
00:00:06 - FFmpeg: [hevc @ 0x70e32c0b4480] nal_unit_type: 32(VPS), nuh_layer_id: 0, temporal_id: 0
00:00:06 - FFmpeg: [hevc @ 0x70e32c0b4480] nal_unit_type: 33(SPS), nuh_layer_id: 0, temporal_id: 0
00:00:06 - FFmpeg: [hevc @ 0x70e32c0b4480] nal_unit_type: 34(PPS), nuh_layer_id: 0, temporal_id: 0
00:00:06 - FFmpeg: [hevc @ 0x70e32c0b4480] nal_unit_type: 21(CRA_NUT), nuh_layer_id: 0, temporal_id: 0
00:00:06 - FFmpeg: [hevc @ 0x70e32c0b4480] Decoding VPS
00:00:06 - FFmpeg: [hevc @ 0x70e32c0b4480] Main profile bitstream
00:00:06 - FFmpeg: [hevc @ 0x70e32c0b4480] Decoding SPS
00:00:06 - FFmpeg: [hevc @ 0x70e32c0b4480] Main profile bitstream
00:00:06 - FFmpeg: [hevc @ 0x70e32c0b4480] Decoding VUI
00:00:06 - FFmpeg: [hevc @ 0x70e32c0b4480] Decoding PPS
00:00:06 - FFmpeg: [hevc @ 0x70e32c0b4480] Format vdpau chosen by get_format().
00:00:06 - FFmpeg: [hevc @ 0x70e32c0b4480] Format vdpau requires hwaccel hevc_vdpau initialisation.
00:00:06 - FFmpeg: [hevc @ 0x70e32c0b4480] Output frame with POC 3.
00:00:06 - SDL Info (0): FFmpeg-based video decoder chosen
00:00:07 - Qt Warning: Your selection to enable remote desktop mouse mode may cause problems in games.
00:00:09 - Qt Info: "WIN-NEW" is now offline
00:00:10 - SDL Info (0): Desired audio buffer: 720 samples (5760 bytes)
00:00:10 - SDL Info (0): Obtained audio buffer: 720 samples (5760 bytes)
00:00:10 - SDL Info (0): SDL audio driver: pulseaudio
00:00:10 - Qt Info: Found "gamecontrollerdb.txt" at "/home/cj/.cache/Moonlight Game Streaming Project/Moonlight/gamecontrollerdb.txt"
00:00:10 - SDL Info (0): Loaded 395 new gamepad mappings
00:00:10 - SDL Info (0): V-sync disabled
libva info: VA-API version 1.22.0
00:00:10 - Qt Warning: The X11 connection broke: Error during FD passing (code 7)
XIO:  fatal IO error 0 (Success) on X server ":1"
      after 146 requests (145 known processed) with 9 events remaining.
00:00:10 - Qt Warning: QObject::~QObject: Timers cannot be stopped from another thread
00:00:10 - Qt Warning: QObject::~QObject: Timers cannot be stopped from another thread
Segmentation fault (core dumped)

Nvidia Driver Version: 570.169

I can also confirm that when repeatedly retrying to connect that sometimes the connection succeeds without disabling HW accel, and HW accel seems to work.

I also tried an older appimage, specifically 'Moonlight-5.0.1-x86_64.AppImage', which has the same issue on my system.

c--- commented

Does it not crash if you don't move the mouse while it's connecting?

Or the opposite. If you wiggle the mouse while it's connecting does it crash every time?

#1603