[GH-ISSUE #6] How can I keep the used container running? #5

Closed
opened 2026-10-15 13:01:21 +00:00 by bsakaguchi · 0 comments
Owner

Originally created by @nhths on GitHub (Jul 10, 2025).
Original GitHub issue: https://github.com/games-on-whales/wolf-ui/issues/6

While the game is downloading, I need to keep the session alive, but how can I do that?

The documentation mentions the variable WOLF_STOP_CONTAINER_ON_EXIT=TRUE, which says: "Set to False in order to avoid force stop and removal of containers when the connection is closed."
But what exactly does it mean? Does the container get stopped anyway, just not forcibly? Can this variable be applied after the first start of a Wolf instance? We need use "FALSE" or "False"?

When I disconnect from the Moonlight session, both the Wolf UI and Wolf XFCE stop.

If this is a "NVIDIA bug", Wolf produces the following log:

wolf-1         | 14:21:06.800151516 WARN  | [DOCKER] Container Wolf-UI_2630281249053999894 already present, removing first
wolf-1         | 14:21:06.988213713 INFO  | [DOCKER] Starting container: /Wolf-UI_2630281249053999894
wolf-1         | 0:07:27.362576263     1 0x7248a8000dc0 WARN                 basesrc gstbasesrc.c:4255:gst_base_src_push_segment: segment format mismatched, ignore
wolf-1         | 0:07:29.057987426     1 0x7248a8001b50 WARN                 basesrc gstbasesrc.c:4255:gst_base_src_push_segment: segment format mismatched, ignore
wolf-1         | 14:21:17.305108913 INFO  | [LOBBY] Creating new lobby
wolf-1         | 0:07:37.713960059     1 0x72484c3a1f50 WARN                basesink gstbasesink.c:1248:gst_base_sink_query_latency:<4994cb81-d609-4438-9d05-68bb1c43586c_video> warning: Pipeline construction is invalid, please add queues.
wolf-1         | 0:07:37.713985979     1 0x72484c3a1f50 WARN                basesink gstbasesink.c:1248:gst_base_sink_query_latency:<4994cb81-d609-4438-9d05-68bb1c43586c_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.
wolf-1         | 14:21:17.366852016 INFO  | Wayland display ready, listening on: wayland-2
wolf-1         | 14:21:17.377324123 INFO  | Mounting nvidia driver nvidia-driver-vol:/usr/nvidia
wolf-1         | 14:21:17.384691714 WARN  | [DOCKER] Failed to get major numbers for hidraw and input
wolf-1         | 14:21:17.422298397 INFO  | [LOBBY] Session 2630281249053999894 joining lobby 4994cb81-d609-4438-9d05-68bb1c43586c
wolf-1         | 14:21:17.530800343 INFO  | [DOCKER] Starting container: /WolfXFCE_4994cb81-d609-4438-9d05-68bb1c43586c
wolf-1         | 14:21:28.788101509 INFO  | [LOBBY] Moonlight stream 2630281249053999894 over, leaving lobby 4994cb81-d609-4438-9d05-68bb1c43586c
wolf-1         | 14:21:28.788171259 INFO  | [LOBBY] Session 2630281249053999894 leaving lobby 4994cb81-d609-4438-9d05-68bb1c43586c
wolf-1         | 14:21:28.822042107 INFO  | [GSTREAMER] Pipeline reached End Of Stream
wolf-1         | 14:21:28.991032138 INFO  | [GSTREAMER] Pipeline reached End Of Stream
wolf-1         | 14:21:35.293141084 INFO  | [GSTREAMER] Pipeline reached End Of Stream
wolf-1         | 14:21:35.301370883 INFO  | [GSTREAMER] Pipeline reached End Of Stream
wolf-1         | 0:07:55.648856536     1 0x7248b008e010 WARN                audiosrc gstaudiosrc.c:227:audioringbuffer_thread_func: error reading data -1 (reason: Success), skipping segment
wolf-1         | 2025-07-10T14:21:35.348196Z ERROR smithay::backend::egl::ffi: [EGL] 0x3001 (NOT_INITIALIZED) eglCreateImage: EGL_NOT_INITIALIZED error: In eglCreateImage: EGLDisplay (0x7248b0032780) not initialized
wolf-1         | 
wolf-1         | 2025-07-10T14:21:35.348249Z ERROR smithay::backend::egl::ffi: [EGL] 0x3001 (NOT_INITIALIZED) eglCreateImage: EGL_NOT_INITIALIZED error: In eglCreateImage: EGLDisplay (0x7248b0032780) not initialized
wolf-1         | 
wolf-1         | 0:07:55.695566268     1 0x7248a8001e20 WARN              gleglimage gsteglimage.c:994:gst_egl_image_from_dmabuf_direct_target_with_dma_drm: eglCreateImage failed: EGL_NOT_INITIALIZED
wolf-1         | 0:07:55.695604378     1 0x7248a8001e20 WARN              gleglimage gsteglimage.c:994:gst_egl_image_from_dmabuf_direct_target_with_dma_drm: eglCreateImage failed: EGL_NOT_INITIALIZED
wolf-1         | 
wolf-1         | (wolf:1): GStreamer-Video-CRITICAL **: 15:21:35.348: gst_video_frame_map_id: assertion 'info->finfo->format == meta->format' failed
wolf-1         | 0:07:55.695652568     1 0x7248a8001e20 WARN         gluploadelement gstgluploadelement.c:318:gst_gl_upload_element_prepare_output_buffer: error: Failed to upload buffer
wolf-1         | 0:07:55.695680848     1 0x7248a8001e20 WARN           basetransform gstbasetransform.c:2228:default_generate_output: could not get buffer from pool: error
wolf-1         | 0:07:55.695692158     1 0x7248a8001e20 WARN                 basesrc gstbasesrc.c:3187:gst_base_src_loop: error: Internal data stream error.
wolf-1         | 0:07:55.695697778     1 0x7248a8001e20 WARN                 basesrc gstbasesrc.c:3187:gst_base_src_loop: error: streaming stopped, reason error (-5)
wolf-1         | 14:21:35.348399295 ERROR | [GSTREAMER] Pipeline error: Failed to upload buffer
wolf-1         | 2025-07-10T14:21:35.378492Z ERROR smithay::backend::egl::ffi: [EGL] 0x3001 (NOT_INITIALIZED) eglDestroyImage: EGL_NOT_INITIALIZED error: In eglDestroyImage: EGLDisplay (0x7248b0032780) not intiialized
wolf-1         | 
wolf-1         | 0:07:55.725859611     1 0x7248a44199b0 WARN              gleglimage gsteglimage.c:442:_gst_egl_image_destroy: eglDestroyImage failed
wolf-1         | 0:07:55.726492340     1 0x7248a44199b0 ERROR              glcontext gstglcontext_egl.c:1304:gst_gl_context_egl_activate: Failed to bind context to the current rendering thread: EGL_NOT_INITIALIZED
wolf-1         | 2025-07-10T14:21:35.379129Z ERROR smithay::backend::egl::ffi: [EGL] 0x3001 (NOT_INITIALIZED) eglMakeCurrent: EGL_NOT_INITIALIZED error: In eglMakeCurrent: EGLDisplay (0x7248b0032780) not intiialized
wolf-1         | 
wolf-1         | 0:07:55.726530650     1 0x7248a44199b0 ERROR              glcontext gstglcontext_egl.c:1304:gst_gl_context_egl_activate: Failed to bind context to the current rendering thread: EGL_NOT_INITIALIZED
wolf-1         | 2025-07-10T14:21:35.379174Z ERROR smithay::backend::egl::ffi: [EGL] 0x3001 (NOT_INITIALIZED) eglMakeCurrent: EGL_NOT_INITIALIZED error: In eglMakeCurrent: EGLDisplay (0x7248b0032780) not intiialized
wolf-1         | 
wolf-1         | 2025-07-10T14:21:35.379190Z ERROR smithay::backend::egl::ffi: [EGL] 0x3001 (NOT_INITIALIZED) eglDestroyContext: EGL_NOT_INITIALIZED error: In eglDestroyContext: EGLDisplay (0x7248b0032780) not intiialized
wolf-1         | 
wolf-1         | 14:21:35.641775112 INFO  | Stopped container: /Wolf-UI_2630281249053999894
wolf-1         | 14:21:35.714926102 INFO  | Stopped container: /WolfXFCE_4994cb81-d609-4438-9d05-68bb1c43586c
wolf-1         | 14:21:37.716798525 INFO  | [LOBBY] stopping lobby 4994cb81-d609-4438-9d05-68bb1c43586c
wolf-1         | 14:21:37.716834995 INFO  | [GSTREAMER] Pipeline reached End Of Stream
wolf-1         | 0:07:58.064339728     1 0x7248503218d0 WARN                audiosrc gstaudiosrc.c:227:audioringbuffer_thread_func: error reading data -1 (reason: Success), skipping segment
Originally created by @nhths on GitHub (Jul 10, 2025). Original GitHub issue: https://github.com/games-on-whales/wolf-ui/issues/6 While the game is downloading, I need to keep the session alive, but how can I do that? The documentation mentions the variable WOLF_STOP_CONTAINER_ON_EXIT=TRUE, which says: "Set to False in order to avoid force stop and removal of containers when the connection is closed." But what exactly does it mean? Does the container get stopped anyway, just not forcibly? Can this variable be applied after the first start of a Wolf instance? We need use "FALSE" or "False"? When I disconnect from the Moonlight session, both the Wolf UI and Wolf XFCE stop. If this is a "NVIDIA bug", Wolf produces the following log: ``` wolf-1 | 14:21:06.800151516 WARN | [DOCKER] Container Wolf-UI_2630281249053999894 already present, removing first wolf-1 | 14:21:06.988213713 INFO | [DOCKER] Starting container: /Wolf-UI_2630281249053999894 wolf-1 | 0:07:27.362576263 1 0x7248a8000dc0 WARN basesrc gstbasesrc.c:4255:gst_base_src_push_segment: segment format mismatched, ignore wolf-1 | 0:07:29.057987426 1 0x7248a8001b50 WARN basesrc gstbasesrc.c:4255:gst_base_src_push_segment: segment format mismatched, ignore wolf-1 | 14:21:17.305108913 INFO | [LOBBY] Creating new lobby wolf-1 | 0:07:37.713960059 1 0x72484c3a1f50 WARN basesink gstbasesink.c:1248:gst_base_sink_query_latency:<4994cb81-d609-4438-9d05-68bb1c43586c_video> warning: Pipeline construction is invalid, please add queues. wolf-1 | 0:07:37.713985979 1 0x72484c3a1f50 WARN basesink gstbasesink.c:1248:gst_base_sink_query_latency:<4994cb81-d609-4438-9d05-68bb1c43586c_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. wolf-1 | 14:21:17.366852016 INFO | Wayland display ready, listening on: wayland-2 wolf-1 | 14:21:17.377324123 INFO | Mounting nvidia driver nvidia-driver-vol:/usr/nvidia wolf-1 | 14:21:17.384691714 WARN | [DOCKER] Failed to get major numbers for hidraw and input wolf-1 | 14:21:17.422298397 INFO | [LOBBY] Session 2630281249053999894 joining lobby 4994cb81-d609-4438-9d05-68bb1c43586c wolf-1 | 14:21:17.530800343 INFO | [DOCKER] Starting container: /WolfXFCE_4994cb81-d609-4438-9d05-68bb1c43586c wolf-1 | 14:21:28.788101509 INFO | [LOBBY] Moonlight stream 2630281249053999894 over, leaving lobby 4994cb81-d609-4438-9d05-68bb1c43586c wolf-1 | 14:21:28.788171259 INFO | [LOBBY] Session 2630281249053999894 leaving lobby 4994cb81-d609-4438-9d05-68bb1c43586c wolf-1 | 14:21:28.822042107 INFO | [GSTREAMER] Pipeline reached End Of Stream wolf-1 | 14:21:28.991032138 INFO | [GSTREAMER] Pipeline reached End Of Stream wolf-1 | 14:21:35.293141084 INFO | [GSTREAMER] Pipeline reached End Of Stream wolf-1 | 14:21:35.301370883 INFO | [GSTREAMER] Pipeline reached End Of Stream wolf-1 | 0:07:55.648856536 1 0x7248b008e010 WARN audiosrc gstaudiosrc.c:227:audioringbuffer_thread_func: error reading data -1 (reason: Success), skipping segment wolf-1 | 2025-07-10T14:21:35.348196Z ERROR smithay::backend::egl::ffi: [EGL] 0x3001 (NOT_INITIALIZED) eglCreateImage: EGL_NOT_INITIALIZED error: In eglCreateImage: EGLDisplay (0x7248b0032780) not initialized wolf-1 | wolf-1 | 2025-07-10T14:21:35.348249Z ERROR smithay::backend::egl::ffi: [EGL] 0x3001 (NOT_INITIALIZED) eglCreateImage: EGL_NOT_INITIALIZED error: In eglCreateImage: EGLDisplay (0x7248b0032780) not initialized wolf-1 | wolf-1 | 0:07:55.695566268 1 0x7248a8001e20 WARN gleglimage gsteglimage.c:994:gst_egl_image_from_dmabuf_direct_target_with_dma_drm: eglCreateImage failed: EGL_NOT_INITIALIZED wolf-1 | 0:07:55.695604378 1 0x7248a8001e20 WARN gleglimage gsteglimage.c:994:gst_egl_image_from_dmabuf_direct_target_with_dma_drm: eglCreateImage failed: EGL_NOT_INITIALIZED wolf-1 | wolf-1 | (wolf:1): GStreamer-Video-CRITICAL **: 15:21:35.348: gst_video_frame_map_id: assertion 'info->finfo->format == meta->format' failed wolf-1 | 0:07:55.695652568 1 0x7248a8001e20 WARN gluploadelement gstgluploadelement.c:318:gst_gl_upload_element_prepare_output_buffer: error: Failed to upload buffer wolf-1 | 0:07:55.695680848 1 0x7248a8001e20 WARN basetransform gstbasetransform.c:2228:default_generate_output: could not get buffer from pool: error wolf-1 | 0:07:55.695692158 1 0x7248a8001e20 WARN basesrc gstbasesrc.c:3187:gst_base_src_loop: error: Internal data stream error. wolf-1 | 0:07:55.695697778 1 0x7248a8001e20 WARN basesrc gstbasesrc.c:3187:gst_base_src_loop: error: streaming stopped, reason error (-5) wolf-1 | 14:21:35.348399295 ERROR | [GSTREAMER] Pipeline error: Failed to upload buffer wolf-1 | 2025-07-10T14:21:35.378492Z ERROR smithay::backend::egl::ffi: [EGL] 0x3001 (NOT_INITIALIZED) eglDestroyImage: EGL_NOT_INITIALIZED error: In eglDestroyImage: EGLDisplay (0x7248b0032780) not intiialized wolf-1 | wolf-1 | 0:07:55.725859611 1 0x7248a44199b0 WARN gleglimage gsteglimage.c:442:_gst_egl_image_destroy: eglDestroyImage failed wolf-1 | 0:07:55.726492340 1 0x7248a44199b0 ERROR glcontext gstglcontext_egl.c:1304:gst_gl_context_egl_activate: Failed to bind context to the current rendering thread: EGL_NOT_INITIALIZED wolf-1 | 2025-07-10T14:21:35.379129Z ERROR smithay::backend::egl::ffi: [EGL] 0x3001 (NOT_INITIALIZED) eglMakeCurrent: EGL_NOT_INITIALIZED error: In eglMakeCurrent: EGLDisplay (0x7248b0032780) not intiialized wolf-1 | wolf-1 | 0:07:55.726530650 1 0x7248a44199b0 ERROR glcontext gstglcontext_egl.c:1304:gst_gl_context_egl_activate: Failed to bind context to the current rendering thread: EGL_NOT_INITIALIZED wolf-1 | 2025-07-10T14:21:35.379174Z ERROR smithay::backend::egl::ffi: [EGL] 0x3001 (NOT_INITIALIZED) eglMakeCurrent: EGL_NOT_INITIALIZED error: In eglMakeCurrent: EGLDisplay (0x7248b0032780) not intiialized wolf-1 | wolf-1 | 2025-07-10T14:21:35.379190Z ERROR smithay::backend::egl::ffi: [EGL] 0x3001 (NOT_INITIALIZED) eglDestroyContext: EGL_NOT_INITIALIZED error: In eglDestroyContext: EGLDisplay (0x7248b0032780) not intiialized wolf-1 | wolf-1 | 14:21:35.641775112 INFO | Stopped container: /Wolf-UI_2630281249053999894 wolf-1 | 14:21:35.714926102 INFO | Stopped container: /WolfXFCE_4994cb81-d609-4438-9d05-68bb1c43586c wolf-1 | 14:21:37.716798525 INFO | [LOBBY] stopping lobby 4994cb81-d609-4438-9d05-68bb1c43586c wolf-1 | 14:21:37.716834995 INFO | [GSTREAMER] Pipeline reached End Of Stream wolf-1 | 0:07:58.064339728 1 0x7248503218d0 WARN audiosrc gstaudiosrc.c:227:audioringbuffer_thread_func: error reading data -1 (reason: Success), skipping segment ```
Sign in to join this conversation.
No labels
pull-request
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-ui#5
No description provided.