[GH-ISSUE #306] Black screen in Moonlight: Arch + Wayland + NVIDIA #214

Closed
opened 2026-10-15 12:58:20 +00:00 by bsakaguchi · 1 comment
Owner

Originally created by @flathead on GitHub (Dec 3, 2025).
Original GitHub issue: https://github.com/games-on-whales/wolf/issues/306

All I see on launch, regardless of which of the two installation methods I choose, is a black screen in Moonlight. I couldn’t find any solutions in the issues, I don’t have the expertise to fix it myself, searches yielded nothing, and AI didn’t help in this situation either.
With the Arch + Wayland setup, the configs don’t work.

Logs:

(wolf:1): GStreamer-CRITICAL **: 21:06:53.497: gst_element_send_event: assertion 'GST_IS_ELEMENT (element)' failed
21:06:53.497270180 WARN  | Key code not found: 336
21:06:53.497323654 WARN  | Key code not found: 337
21:06:53.497393951 WARN  | Key code not found: 339

(wolf:1): GStreamer-CRITICAL **: 21:06:53.497: gst_element_send_event: assertion 'GST_IS_ELEMENT (element)' failed

(wolf:1): GStreamer-CRITICAL **: 21:06:53.497: gst_element_send_event: assertion 'GST_IS_ELEMENT (element)' failed

(wolf:1): GStreamer-CRITICAL **: 21:06:53.497: gst_element_send_event: assertion 'GST_IS_ELEMENT (element)' failed

(wolf:1): GStreamer-CRITICAL **: 21:06:53.497: gst_element_send_event: assertion 'GST_IS_ELEMENT (element)' failed
(wolf:1): GStreamer-CRITICAL **: 21:06:55.114: gst_element_send_event: assertion 'GST_IS_ELEMENT (element)' failed

(wolf:1): GStreamer-CRITICAL **: 21:06:55.122: gst_element_send_event: assertion 'GST_IS_ELEMENT (element)' failed
21:06:57.006165061 WARN | Process exited with code: 9

(wolf:1): GStreamer-CRITICAL **: 21:06:57.324: gst_element_send_event: assertion 'GST_IS_ELEMENT (element)' failed
21:06:59.041178087 WARN | Received MOUSE_MOVE_REL_PACKET but no mouse device is present
21:06:59.050137053 WARN | Received MOUSE_MOVE_REL_PACKET but no mouse device is present
21:06:59.074580291 INFO | Creating CUDA context for device /dev/dri/renderD128 (detected CUDA device ID: 0)
21:06:59.101316632 INFO | Creating Xbox joypad for controller 0 in session 13612273788857225832
0:11:36.080955517 1 0x7f656c01a1b0 WARN basesink gstbasesink.c:1248:gst_base_sink_query_latency:<13612273788857225832_video> warning: Pipeline construction is invalid, please add queues.
0:11:36.080964215 1 0x7f656c01a1b0 WARN basesink gstbasesink.c:1248:gst_base_sink_query_latency:<13612273788857225832_video> warning: Not enough buffering available for the processing deadline of 0:00:00.020000000, add enough queues to buffer 0:00:00.020000000 additional data. Shortening processing latency to 0:00:00.000000000.
21:06:59.147093994 INFO | Wayland display ready, listening on: wayland-1
21:06:59.154282554 INFO | Mounting nvidia driver nvidia-driver-vol:/usr/nvidia
21:06:59.165787970 WARN | [DOCKER] Image ghcr.io/games-on-whales/wolf-ui:main not present, downloading...
21:07:14.309841451 INFO | [DOCKER] Starting container: /Wolf-UI_13612273788857225832

nvidia-smi

Thu Dec  4 00:20:38 2025       
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 580.105.08             Driver Version: 580.105.08     CUDA Version: 13.0     |
+-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA GeForce RTX 4070 ...    Off |   00000000:01:00.0  On |                  N/A |
| 30%   29C    P2             35W /  220W |    1242MiB /  12282MiB |      6%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+

+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI              PID   Type   Process name                        GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|    0   N/A  N/A             886      G   /usr/lib/Xorg                            21MiB |
|    0   N/A  N/A            1584      G   Hyprland                                113MiB |
|    0   N/A  N/A            2175      G   qs                                      144MiB |
|    0   N/A  N/A            2178      G   ...it-kde-authentication-agent-1          3MiB |
|    0   N/A  N/A            2199      G   Telegram                                  3MiB |
|    0   N/A  N/A            2320      G   Xwayland                                  3MiB |
|    0   N/A  N/A            2526      G   /usr/lib/electron37/electron             43MiB |
|    0   N/A  N/A            5303      G   /usr/lib/firefox/firefox                186MiB |
|    0   N/A  N/A            6616      G   kitty                                    61MiB |
|    0   N/A  N/A           63007      G   /usr/lib/xdg-desktop-portal-kde           3MiB |
|    0   N/A  N/A           89132    C+G   /wolf/wolf                              194MiB |
|    0   N/A  N/A           89991    C+G   wolf-ui                                 117MiB |
+-----------------------------------------------------------------------------------------+

Test ball running after restart/startup (black screen also):

[2025-12-03 21:46:02] Launching the container's startup script as user 'root'
0:00:00.003661578   177 0x55d304328150 WARN             msdkcontext gstmsdkcontext.c:178:gst_msdk_context_use_vaapi: Couldn't find a drm device node to open
0:00:00.006124156   177 0x55d304328150 WARN                   vaapi gstvaapiutils.c:78:gst_vaapi_warning: vaGetDriverNames() failed with operation failed
0:00:00.006289028   177 0x55d304328150 WARN                 default gstvaapi.c:232:plugin_init: Cannot create a VA display
0:00:00.007663283   177 0x55d304328150 WARN               vadisplay gstvadisplay.c:401:gst_va_display_initialize:<vadisplaydrm0> vaInitialize: unknown libva error
21:46:02.624160282 INFO  | Gstreamer version: 1.26.7-0
21:46:02.632079446 INFO  | Reading config file from: /etc/wolf/cfg/config.toml
0:00:00.147267639     1 0x55ad2e0ba4a0 WARN               cudanvrtc gstcudanvrtc.cpp:179:gst_cuda_nvrtc_load_library_once: Failed to load 'nvrtcGetCUBINSize', 'nvrtcGetCUBINSize': /usr/local/nvidia/lib/libnvrtc.so: undefined symbol: nvrtcGetCUBINSize
21:46:03.988462255 INFO  | Using h264 encoder: nvcodec
21:46:03.988842826 INFO  | Using h265 encoder: nvcodec
21:46:03.988944071 INFO  | Using av1 encoder: nvcodec
21:46:03.989372351 INFO  | Using zero copy pipeline on Nvidia (/dev/dri/renderD128)
21:46:04.072192127 INFO  | Detected mounted /etc/wolf in the host as /etc/wolf
21:46:04.072255736 INFO  | Detected mounted /run/user/wolf in the host as /var/lib/docker/volumes/bce85c83590c6debb37e5fc3c43c0c6c082fdc4346214613d691290a32c0fb2a/_data
21:46:04.072669847 INFO  | [RTP] Starting RTP ping server on ports 48100 and 48200
21:46:04.072858644 INFO  | RTSP server started on port: 48010
21:46:04.073162018 INFO  | Control server started on port: 47999
21:46:04.073211679 INFO  | HTTP server listening on port: 47989 
21:46:04.073413115 INFO  | Starting mDNS service
21:46:04.073700580 INFO  | Starting Wolf API server on /run/user/wolf/wolf.sock
XDG_RUNTIME_DIR (/run/user/wolf) is not owned by us (uid 0), but by uid 1000! (This could e.g. happen if you try to connect to a non-root PulseAudio as a root user, over the native protocol. Don't do that.)
21:46:04.075556525 WARN  | [PULSE] Unable to connect, Access denied
21:46:04.075721854 INFO  | Starting PulseAudio docker container
21:46:04.079496481 INFO  | HTTPS server listening on port: 47984 
21:46:04.130342171 WARN  | [DOCKER] Container WolfPulseAudio already present, removing first
21:46:08.048132718 INFO  | Mounting nvidia driver nvidia-driver-vol:/usr/nvidia

(wolf:1): GStreamer-CRITICAL **: 21:46:08.096: gst_element_send_event: assertion 'GST_IS_ELEMENT (element)' failed

(wolf:1): GStreamer-CRITICAL **: 21:46:08.103: gst_element_send_event: assertion 'GST_IS_ELEMENT (element)' failed
21:46:08.117531320 INFO  | Creating Xbox joypad for controller 0 in session 13612273788857225832

(wolf:1): GStreamer-CRITICAL **: 21:46:18.671: gst_element_send_event: assertion 'GST_IS_ELEMENT (element)' failed

(wolf:1): GStreamer-CRITICAL **: 21:46:18.681: gst_element_send_event: assertion 'GST_IS_ELEMENT (element)' failed
Originally created by @flathead on GitHub (Dec 3, 2025). Original GitHub issue: https://github.com/games-on-whales/wolf/issues/306 All I see on launch, regardless of which of the two installation methods I choose, is a black screen in Moonlight. I couldn’t find any solutions in the issues, I don’t have the expertise to fix it myself, searches yielded nothing, and AI didn’t help in this situation either. With the Arch + Wayland setup, the configs don’t work. Logs: ```bash (wolf:1): GStreamer-CRITICAL **: 21:06:53.497: gst_element_send_event: assertion 'GST_IS_ELEMENT (element)' failed 21:06:53.497270180 WARN | Key code not found: 336 21:06:53.497323654 WARN | Key code not found: 337 21:06:53.497393951 WARN | Key code not found: 339 (wolf:1): GStreamer-CRITICAL **: 21:06:53.497: gst_element_send_event: assertion 'GST_IS_ELEMENT (element)' failed (wolf:1): GStreamer-CRITICAL **: 21:06:53.497: gst_element_send_event: assertion 'GST_IS_ELEMENT (element)' failed (wolf:1): GStreamer-CRITICAL **: 21:06:53.497: gst_element_send_event: assertion 'GST_IS_ELEMENT (element)' failed (wolf:1): GStreamer-CRITICAL **: 21:06:53.497: gst_element_send_event: assertion 'GST_IS_ELEMENT (element)' failed (wolf:1): GStreamer-CRITICAL **: 21:06:55.114: gst_element_send_event: assertion 'GST_IS_ELEMENT (element)' failed (wolf:1): GStreamer-CRITICAL **: 21:06:55.122: gst_element_send_event: assertion 'GST_IS_ELEMENT (element)' failed 21:06:57.006165061 WARN | Process exited with code: 9 (wolf:1): GStreamer-CRITICAL **: 21:06:57.324: gst_element_send_event: assertion 'GST_IS_ELEMENT (element)' failed 21:06:59.041178087 WARN | Received MOUSE_MOVE_REL_PACKET but no mouse device is present 21:06:59.050137053 WARN | Received MOUSE_MOVE_REL_PACKET but no mouse device is present 21:06:59.074580291 INFO | Creating CUDA context for device /dev/dri/renderD128 (detected CUDA device ID: 0) 21:06:59.101316632 INFO | Creating Xbox joypad for controller 0 in session 13612273788857225832 0:11:36.080955517 1 0x7f656c01a1b0 WARN basesink gstbasesink.c:1248:gst_base_sink_query_latency:<13612273788857225832_video> warning: Pipeline construction is invalid, please add queues. 0:11:36.080964215 1 0x7f656c01a1b0 WARN basesink gstbasesink.c:1248:gst_base_sink_query_latency:<13612273788857225832_video> warning: Not enough buffering available for the processing deadline of 0:00:00.020000000, add enough queues to buffer 0:00:00.020000000 additional data. Shortening processing latency to 0:00:00.000000000. 21:06:59.147093994 INFO | Wayland display ready, listening on: wayland-1 21:06:59.154282554 INFO | Mounting nvidia driver nvidia-driver-vol:/usr/nvidia 21:06:59.165787970 WARN | [DOCKER] Image ghcr.io/games-on-whales/wolf-ui:main not present, downloading... 21:07:14.309841451 INFO | [DOCKER] Starting container: /Wolf-UI_13612273788857225832 ``` nvidia-smi ```bash Thu Dec 4 00:20:38 2025 +-----------------------------------------------------------------------------------------+ | NVIDIA-SMI 580.105.08 Driver Version: 580.105.08 CUDA Version: 13.0 | +-----------------------------------------+------------------------+----------------------+ | GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC | | Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. | | | | MIG M. | |=========================================+========================+======================| | 0 NVIDIA GeForce RTX 4070 ... Off | 00000000:01:00.0 On | N/A | | 30% 29C P2 35W / 220W | 1242MiB / 12282MiB | 6% Default | | | | N/A | +-----------------------------------------+------------------------+----------------------+ +-----------------------------------------------------------------------------------------+ | Processes: | | GPU GI CI PID Type Process name GPU Memory | | ID ID Usage | |=========================================================================================| | 0 N/A N/A 886 G /usr/lib/Xorg 21MiB | | 0 N/A N/A 1584 G Hyprland 113MiB | | 0 N/A N/A 2175 G qs 144MiB | | 0 N/A N/A 2178 G ...it-kde-authentication-agent-1 3MiB | | 0 N/A N/A 2199 G Telegram 3MiB | | 0 N/A N/A 2320 G Xwayland 3MiB | | 0 N/A N/A 2526 G /usr/lib/electron37/electron 43MiB | | 0 N/A N/A 5303 G /usr/lib/firefox/firefox 186MiB | | 0 N/A N/A 6616 G kitty 61MiB | | 0 N/A N/A 63007 G /usr/lib/xdg-desktop-portal-kde 3MiB | | 0 N/A N/A 89132 C+G /wolf/wolf 194MiB | | 0 N/A N/A 89991 C+G wolf-ui 117MiB | +-----------------------------------------------------------------------------------------+ ``` Test ball running after restart/startup (black screen also): ```bash [2025-12-03 21:46:02] Launching the container's startup script as user 'root' 0:00:00.003661578 177 0x55d304328150 WARN msdkcontext gstmsdkcontext.c:178:gst_msdk_context_use_vaapi: Couldn't find a drm device node to open 0:00:00.006124156 177 0x55d304328150 WARN vaapi gstvaapiutils.c:78:gst_vaapi_warning: vaGetDriverNames() failed with operation failed 0:00:00.006289028 177 0x55d304328150 WARN default gstvaapi.c:232:plugin_init: Cannot create a VA display 0:00:00.007663283 177 0x55d304328150 WARN vadisplay gstvadisplay.c:401:gst_va_display_initialize:<vadisplaydrm0> vaInitialize: unknown libva error 21:46:02.624160282 INFO | Gstreamer version: 1.26.7-0 21:46:02.632079446 INFO | Reading config file from: /etc/wolf/cfg/config.toml 0:00:00.147267639 1 0x55ad2e0ba4a0 WARN cudanvrtc gstcudanvrtc.cpp:179:gst_cuda_nvrtc_load_library_once: Failed to load 'nvrtcGetCUBINSize', 'nvrtcGetCUBINSize': /usr/local/nvidia/lib/libnvrtc.so: undefined symbol: nvrtcGetCUBINSize 21:46:03.988462255 INFO | Using h264 encoder: nvcodec 21:46:03.988842826 INFO | Using h265 encoder: nvcodec 21:46:03.988944071 INFO | Using av1 encoder: nvcodec 21:46:03.989372351 INFO | Using zero copy pipeline on Nvidia (/dev/dri/renderD128) 21:46:04.072192127 INFO | Detected mounted /etc/wolf in the host as /etc/wolf 21:46:04.072255736 INFO | Detected mounted /run/user/wolf in the host as /var/lib/docker/volumes/bce85c83590c6debb37e5fc3c43c0c6c082fdc4346214613d691290a32c0fb2a/_data 21:46:04.072669847 INFO | [RTP] Starting RTP ping server on ports 48100 and 48200 21:46:04.072858644 INFO | RTSP server started on port: 48010 21:46:04.073162018 INFO | Control server started on port: 47999 21:46:04.073211679 INFO | HTTP server listening on port: 47989 21:46:04.073413115 INFO | Starting mDNS service 21:46:04.073700580 INFO | Starting Wolf API server on /run/user/wolf/wolf.sock XDG_RUNTIME_DIR (/run/user/wolf) is not owned by us (uid 0), but by uid 1000! (This could e.g. happen if you try to connect to a non-root PulseAudio as a root user, over the native protocol. Don't do that.) 21:46:04.075556525 WARN | [PULSE] Unable to connect, Access denied 21:46:04.075721854 INFO | Starting PulseAudio docker container 21:46:04.079496481 INFO | HTTPS server listening on port: 47984 21:46:04.130342171 WARN | [DOCKER] Container WolfPulseAudio already present, removing first 21:46:08.048132718 INFO | Mounting nvidia driver nvidia-driver-vol:/usr/nvidia (wolf:1): GStreamer-CRITICAL **: 21:46:08.096: gst_element_send_event: assertion 'GST_IS_ELEMENT (element)' failed (wolf:1): GStreamer-CRITICAL **: 21:46:08.103: gst_element_send_event: assertion 'GST_IS_ELEMENT (element)' failed 21:46:08.117531320 INFO | Creating Xbox joypad for controller 0 in session 13612273788857225832 (wolf:1): GStreamer-CRITICAL **: 21:46:18.671: gst_element_send_event: assertion 'GST_IS_ELEMENT (element)' failed (wolf:1): GStreamer-CRITICAL **: 21:46:18.681: gst_element_send_event: assertion 'GST_IS_ELEMENT (element)' failed ```
Author
Owner

@ABeltramo commented on GitHub (Dec 3, 2025):

Please don't spam, let's keep the conversation in #301

<!-- gh-comment-id:3609291881 --> @ABeltramo commented on GitHub (Dec 3, 2025): Please don't spam, let's keep the conversation in #301
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
games-on-whales/wolf#214
No description provided.