[GH-ISSUE #96] Nvidia container toolkit: no GPU acceleration #64

Closed
opened 2026-10-15 12:55:46 +00:00 by bsakaguchi · 6 comments
Owner

Originally created by @2Peti on GitHub (Aug 10, 2024).
Original GitHub issue: https://github.com/games-on-whales/wolf/issues/96

my log:

wolf-1  | [2024-08-11 00:38:51] 
wolf-1  | [2024-08-11 00:38:51] [ /etc/cont-init.d/10-setup_user.sh: executing... ]
wolf-1  | [2024-08-11 00:38:51] **** Configure default user ****
wolf-1  | [2024-08-11 00:38:51] Container running as root. Nothing to do.
wolf-1  | [2024-08-11 00:38:51] DONE
wolf-1  | [2024-08-11 00:38:51] 
wolf-1  | [2024-08-11 00:38:51] [ /etc/cont-init.d/15-setup_devices.sh: executing... ]
wolf-1  | [2024-08-11 00:38:51] **** Configure devices ****
wolf-1  | [2024-08-11 00:38:51] Exec device groups
wolf-1  | [2024-08-11 00:38:51] Adding user 'root' to groups: gow-gid-102,root
wolf-1  | [2024-08-11 00:38:51] DONE
wolf-1  | [2024-08-11 00:38:51] 
wolf-1  | [2024-08-11 00:38:51] [ /etc/cont-init.d/30-nvidia.sh: executing... ]
wolf-1  | [2024-08-11 00:38:51] 
wolf-1  | [2024-08-11 00:38:51] [ /etc/cont-init.d/init-gamescope.sh: executing... ]
wolf-1  | [2024-08-11 00:38:51] Launching the container's startup script as user 'root'
wolf-1  | 23:38:51.974135183 INFO  | Gstreamer version: 1.22.7-0
wolf-1  | 23:38:51.974796137 DEBUG | XDG_RUNTIME_DIR=/tmp/sockets
wolf-1  | 23:38:51.974812097 INFO  | Reading config file from: /etc/wolf/cfg/config.toml
wolf-1  | 0:00:00.021646116     1 0x559b27d4ec40 WARN     GST_ELEMENT_FACTORY gstelementfactory.c:712:gst_element_factory_make_with_properties: no such element factory "nvh264enc"!
wolf-1  | 0:00:00.021667906     1 0x559b27d4ec40 WARN     GST_ELEMENT_FACTORY gstelementfactory.c:712:gst_element_factory_make_with_properties: no such element factory "qsvh264enc"!
wolf-1  | 0:00:00.021680186     1 0x559b27d4ec40 WARN     GST_ELEMENT_FACTORY gstelementfactory.c:712:gst_element_factory_make_with_properties: no such element factory "vah264enc"!
wolf-1  | 23:38:51.990072718 INFO  | Selected H264 encoder: x264
wolf-1  | 0:00:00.022694712     1 0x559b27d4ec40 WARN     GST_ELEMENT_FACTORY gstelementfactory.c:712:gst_element_factory_make_with_properties: no such element factory "nvh265enc"!
wolf-1  | 0:00:00.022708682     1 0x559b27d4ec40 WARN     GST_ELEMENT_FACTORY gstelementfactory.c:712:gst_element_factory_make_with_properties: no such element factory "qsvh265enc"!
wolf-1  | 0:00:00.022719152     1 0x559b27d4ec40 WARN     GST_ELEMENT_FACTORY gstelementfactory.c:712:gst_element_factory_make_with_properties: no such element factory "vah265enc"!
wolf-1  | 23:38:51.990759802 INFO  | Selected HEVC encoder: x265
wolf-1  | 23:38:51.991327465 DEBUG | Loading server certificates from disk: /etc/wolf/cfg/cert.pem /etc/wolf/cfg/key.pem
wolf-1  | 23:38:51.992540442 INFO  | RTSP server started on port: 48010
wolf-1  | 23:38:51.992543842 INFO  | HTTP server listening on port: 47989 
wolf-1  | 23:38:51.992606533 INFO  | Control server started on port: 47999
wolf-1  | XDG_RUNTIME_DIR (/tmp/sockets) 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.)
wolf-1  | 23:38:51.992713243 DEBUG | [PULSE] Connecting...
wolf-1  | 23:38:51.992752843 DEBUG | [PULSE] Context failed
wolf-1  | 23:38:51.992762253 WARN  | [PULSE] Unable to connect, Access denied
wolf-1  | 23:38:51.992807704 INFO  | Starting PulseAudio docker container
wolf-1  | 23:38:51.993617778 WARN  | [DOCKER] Container WolfPulseAudio already present, removing first
wolf-1  | 23:38:51.994131471 INFO  | HTTPS server listening on port: 47984 
wolf-1  | 23:38:54.405973388 DEBUG | [PULSE] Connecting...
wolf-1  | 23:38:54.406522551 DEBUG | [PULSE] Pulse connection ready
wolf-1  | 23:38:55.929610742 DEBUG | 192.168.100.53 [GET] HTTP://192.168.100.19/serverinfo
wolf-1  | 23:38:55.930138634 DEBUG | 192.168.100.53 [GET] HTTP://192.168.100.19/serverinfo
wolf-1  | 23:38:55.937406633 DEBUG | 192.168.100.53 [GET] HTTPS://192.168.100.19/serverinfo
wolf-1  | 23:38:55.937960296 DEBUG | 192.168.100.53 [GET] HTTP://192.168.100.19/serverinfo
wolf-1  | 23:38:55.944193189 DEBUG | 192.168.100.53 [GET] HTTPS://192.168.100.19/applist
wolf-1  | 23:38:57.556874248 DEBUG | 192.168.100.53 [GET] HTTPS://192.168.100.19/appasset
wolf-1  | 23:38:57.560352137 DEBUG | 192.168.100.53 [GET] HTTPS://192.168.100.19/appasset
wolf-1  | 23:38:57.560487447 DEBUG | 192.168.100.53 [GET] HTTPS://192.168.100.19/appasset
wolf-1  | 23:38:57.560685839 DEBUG | 192.168.100.53 [GET] HTTPS://192.168.100.19/appasset
wolf-1  | 23:38:57.571484546 DEBUG | 192.168.100.53 [GET] HTTPS://192.168.100.19/appasset
wolf-1  | 23:38:57.577791270 DEBUG | 192.168.100.53 [GET] HTTPS://192.168.100.19/appasset
wolf-1  | 23:38:57.578389453 DEBUG | 192.168.100.53 [GET] HTTPS://192.168.100.19/appasset
wolf-1  | 23:38:57.578559684 DEBUG | 192.168.100.53 [GET] HTTPS://192.168.100.19/appasset
wolf-1  | 23:38:57.581937862 DEBUG | 192.168.100.53 [GET] HTTPS://192.168.100.19/appasset
wolf-1  | 23:38:57.588025125 DEBUG | 192.168.100.53 [GET] HTTPS://192.168.100.19/appasset
wolf-1  | 23:38:58.949216663 DEBUG | 192.168.100.53 [GET] HTTP://192.168.100.19/serverinfo
wolf-1  | 23:38:58.956644593 DEBUG | 192.168.100.53 [GET] HTTPS://192.168.100.19/serverinfo
wolf-1  | 23:39:00.829276133 DEBUG | 192.168.100.53 [GET] HTTPS://192.168.100.19/launch
wolf-1  | 23:39:00.829365553 DEBUG | Host app state folder: /etc/wolf/657390554086948664/Firefox, creating paths
wolf-1  | 23:39:00.829621564 DEBUG | [STREAM_SESSION] Create virtual audio sink
wolf-1  | 23:39:00.829657915 INFO  | RTP server started on port: 48100
wolf-1  | 23:39:00.829689445 DEBUG | [STREAM_SESSION] Create wayland compositor
wolf-1  | 23:39:00.829697635 DEBUG | [WAYLAND] Creating wayland display
wolf-1  | 23:39:00.829694025 INFO  | RTP server started on port: 48200
wolf-1  | 23:39:00.830157707 DEBUG | [PULSE] Created virtual sink: 3
wolf-1  | 23:39:00.839352816 DEBUG | [RTSP] received command OPTIONS
wolf-1  | 23:39:00.847608831 DEBUG | [RTSP] received command DESCRIBE
wolf-1  | libEGL warning: egl: failed to create dri2 screen
wolf-1  | 2024-08-10T23:39:00.849779Z ERROR smithay::backend::egl::ffi: [EGL] 0x3001 (NOT_INITIALIZED) eglInitialize: DRI2: failed to create screen
wolf-1  | libEGL warning: egl: failed to create dri2 screen
wolf-1  | 2024-08-10T23:39:00.853721Z ERROR smithay::backend::egl::ffi: [EGL] 0x3001 (NOT_INITIALIZED) eglInitialize: DRI2: failed to create screen
wolf-1  | 23:39:00.856144006 DEBUG | [RTSP] received command SETUP
wolf-1  | libEGL warning: egl: failed to create dri2 screen
wolf-1  | 2024-08-10T23:39:00.857671Z ERROR smithay::backend::egl::ffi: [EGL] 0x3001 (NOT_INITIALIZED) eglInitialize: DRI2: failed to create screen
wolf-1  | 2024-08-10T23:39:00.857678Z ERROR smithay::backend::egl::ffi: [EGL] 0x3001 (NOT_INITIALIZED) eglInitialize: eglInitialize
wolf-1  | thread '<unnamed>' panicked at wayland-display-core/src/comp/mod.rs:189:60:
wolf-1  | Failed to create EGLDisplay: InitFailed(NotInitialized)
wolf-1  | stack backtrace:
wolf-1  |    0:     0x7f2d5517cdd5 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h1e1a1972118942ad
wolf-1  |    1:     0x7f2d551a0c3b - core::fmt::write::hc090a2ffd6b28c4a
wolf-1  |    2:     0x7f2d5517a16f - std::io::Write::write_fmt::h8898bac6ff039a23
wolf-1  |    3:     0x7f2d5517cbae - std::sys_common::backtrace::print::ha96650907276675e
wolf-1  |    4:     0x7f2d5517e019 - std::panicking::default_hook::{{closure}}::h215c2a0a8346e0e0
wolf-1  |    5:     0x7f2d5517dd5d - std::panicking::default_hook::h207342be97478370
wolf-1  |    6:     0x7f2d5517e4b3 - std::panicking::rust_panic_with_hook::hac8bdceee1e4fe2c
wolf-1  |    7:     0x7f2d5517e394 - std::panicking::begin_panic_handler::{{closure}}::h00d785e82757ce3c
wolf-1  |    8:     0x7f2d5517d299 - std::sys_common::backtrace::__rust_end_short_backtrace::h1628d957bcd06996
wolf-1  |    9:     0x7f2d5517e0c7 - rust_begin_unwind
wolf-1  |   10:     0x7f2d54f67193 - core::panicking::panic_fmt::hdc63834ffaaefae5
wolf-1  |   11:     0x7f2d54f67626 - core::result::unwrap_failed::h82b551e0ff2b2176
wolf-1  |   12:     0x7f2d54fd5132 - waylanddisplaycore::comp::init::h4be111288507d6e3
wolf-1  |   13:     0x7f2d5505be9d - std::panicking::try::hcd71468da3d0e1db
wolf-1  |   14:     0x7f2d54f84fe6 - std::sys_common::backtrace::__rust_begin_short_backtrace::h92847fbdf0a4066a
wolf-1  |   15:     0x7f2d5505c47e - core::ops::function::FnOnce::call_once{{vtable.shim}}::h0f54e8858354cc6a
wolf-1  |   16:     0x7f2d55180d7b - std::sys::pal::unix::thread::Thread::new::thread_start::h522bc89a54da820a
wolf-1  |   17:     0x7f2d52164a94 - <unknown>
wolf-1  |   18:     0x7f2d521f1a34 - __clone
wolf-1  | thread '<unnamed>' panicked at /tmp/gst-wayland-display/wayland-display-core/src/lib.rs:87:41:
wolf-1  | called `Result::unwrap()` on an `Err` value: RecvError
wolf-1  | stack backtrace:
wolf-1  | 2024-08-10T23:39:00.859861Z ERROR waylanddisplaycore: Compositor thread panic'ed! err=Any { .. }
wolf-1  |    0:     0x7f2d5517cdd5 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h1e1a1972118942ad
wolf-1  |    1:     0x7f2d551a0c3b - core::fmt::write::hc090a2ffd6b28c4a
wolf-1  |    2:     0x7f2d5517a16f - std::io::Write::write_fmt::h8898bac6ff039a23
wolf-1  |    3:     0x7f2d5517cbae - std::sys_common::backtrace::print::ha96650907276675e
wolf-1  |    4:     0x7f2d5517e019 - std::panicking::default_hook::{{closure}}::h215c2a0a8346e0e0
wolf-1  |    5:     0x7f2d5517dd5d - std::panicking::default_hook::h207342be97478370
wolf-1  |    6:     0x7f2d5517e4b3 - std::panicking::rust_panic_with_hook::hac8bdceee1e4fe2c
wolf-1  |    7:     0x7f2d5517e394 - std::panicking::begin_panic_handler::{{closure}}::h00d785e82757ce3c
wolf-1  |    8:     0x7f2d5517d299 - std::sys_common::backtrace::__rust_end_short_backtrace::h1628d957bcd06996
wolf-1  |    9:     0x7f2d5517e0c7 - rust_begin_unwind
wolf-1  |   10:     0x7f2d54f67193 - core::panicking::panic_fmt::hdc63834ffaaefae5
wolf-1  |   11:     0x7f2d54f67626 - core::result::unwrap_failed::h82b551e0ff2b2176
wolf-1  |   12:     0x7f2d54f6f662 - waylanddisplaycore::MaybeRecv<T>::get::h3309cc003de92825
wolf-1  |   13:     0x7f2d54f6eb9a - display_get_devices_len
wolf-1  | 23:39:00.864561811 DEBUG | [RTSP] received command SETUP
wolf-1  |   14:     0x559b27441cf4 - _ZN4wolf4core15virtual_display22create_wayland_displayERKN5immer5arrayINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS2_13memory_policyINS2_21free_list_heap_policyINS2_8cpp_heapELm1024EEENS2_15refcount_policyENS2_15spinlock_policyENS2_20no_transience_policyELb0ELb1EEEEERKS9_
wolf-1  |                                at /wolf/src/core/src/platforms/linux/virtual-display/wayland-display.cpp:30:22
wolf-1  | 23:39:00.872850475 DEBUG | [RTSP] received command SETUP
wolf-1  | 23:39:00.882083016 DEBUG | [RTSP] received command ANNOUNCE
wolf-1  | 23:39:00.882172076 DEBUG | [RTSP] Moonlight requested video format H264
wolf-1  | 23:39:00.882480228 DEBUG | Video session 657390554086948664, waiting for PING...
wolf-1  | 23:39:00.882513208 DEBUG | Audio session 657390554086948664, waiting for PING...
wolf-1  |   15:     0x559b27244a24 - _ZZZ23setup_sessions_handlersRKN5immer3boxIN5state8AppStateENS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEEEERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt8optionalI11AudioServerEENK3$_2clERKNS0_INS1_13StreamSessionESA_EEENKUlvE_clEv
wolf-1  |                                at /wolf/src/moonlight-server/wolf.cpp:236:29
wolf-1  |   16:     0x7f2d524dcbb4 - <unknown>
wolf-1  |   17:     0x7f2d52164a94 - <unknown>
wolf-1  |   18:     0x7f2d521f1a34 - __clone
wolf-1  | fatal runtime error: failed to initiate panic, error 5
wolf-1  | 23:39:00.890722392 DEBUG | [RTSP] received command PLAY
wolf-1  | 23:39:00.891236495 DEBUG | [ENET] connected client: 192.168.100.53:52643
wolf-1  | 23:39:00.893089514 WARN  | Received MOUSE_MOVE_REL_PACKET but no mouse device is present
wolf-1 exited with code 6
Originally created by @2Peti on GitHub (Aug 10, 2024). Original GitHub issue: https://github.com/games-on-whales/wolf/issues/96 my log: ``` wolf-1 | [2024-08-11 00:38:51] wolf-1 | [2024-08-11 00:38:51] [ /etc/cont-init.d/10-setup_user.sh: executing... ] wolf-1 | [2024-08-11 00:38:51] **** Configure default user **** wolf-1 | [2024-08-11 00:38:51] Container running as root. Nothing to do. wolf-1 | [2024-08-11 00:38:51] DONE wolf-1 | [2024-08-11 00:38:51] wolf-1 | [2024-08-11 00:38:51] [ /etc/cont-init.d/15-setup_devices.sh: executing... ] wolf-1 | [2024-08-11 00:38:51] **** Configure devices **** wolf-1 | [2024-08-11 00:38:51] Exec device groups wolf-1 | [2024-08-11 00:38:51] Adding user 'root' to groups: gow-gid-102,root wolf-1 | [2024-08-11 00:38:51] DONE wolf-1 | [2024-08-11 00:38:51] wolf-1 | [2024-08-11 00:38:51] [ /etc/cont-init.d/30-nvidia.sh: executing... ] wolf-1 | [2024-08-11 00:38:51] wolf-1 | [2024-08-11 00:38:51] [ /etc/cont-init.d/init-gamescope.sh: executing... ] wolf-1 | [2024-08-11 00:38:51] Launching the container's startup script as user 'root' wolf-1 | 23:38:51.974135183 INFO | Gstreamer version: 1.22.7-0 wolf-1 | 23:38:51.974796137 DEBUG | XDG_RUNTIME_DIR=/tmp/sockets wolf-1 | 23:38:51.974812097 INFO | Reading config file from: /etc/wolf/cfg/config.toml wolf-1 | 0:00:00.021646116 1 0x559b27d4ec40 WARN GST_ELEMENT_FACTORY gstelementfactory.c:712:gst_element_factory_make_with_properties: no such element factory "nvh264enc"! wolf-1 | 0:00:00.021667906 1 0x559b27d4ec40 WARN GST_ELEMENT_FACTORY gstelementfactory.c:712:gst_element_factory_make_with_properties: no such element factory "qsvh264enc"! wolf-1 | 0:00:00.021680186 1 0x559b27d4ec40 WARN GST_ELEMENT_FACTORY gstelementfactory.c:712:gst_element_factory_make_with_properties: no such element factory "vah264enc"! wolf-1 | 23:38:51.990072718 INFO | Selected H264 encoder: x264 wolf-1 | 0:00:00.022694712 1 0x559b27d4ec40 WARN GST_ELEMENT_FACTORY gstelementfactory.c:712:gst_element_factory_make_with_properties: no such element factory "nvh265enc"! wolf-1 | 0:00:00.022708682 1 0x559b27d4ec40 WARN GST_ELEMENT_FACTORY gstelementfactory.c:712:gst_element_factory_make_with_properties: no such element factory "qsvh265enc"! wolf-1 | 0:00:00.022719152 1 0x559b27d4ec40 WARN GST_ELEMENT_FACTORY gstelementfactory.c:712:gst_element_factory_make_with_properties: no such element factory "vah265enc"! wolf-1 | 23:38:51.990759802 INFO | Selected HEVC encoder: x265 wolf-1 | 23:38:51.991327465 DEBUG | Loading server certificates from disk: /etc/wolf/cfg/cert.pem /etc/wolf/cfg/key.pem wolf-1 | 23:38:51.992540442 INFO | RTSP server started on port: 48010 wolf-1 | 23:38:51.992543842 INFO | HTTP server listening on port: 47989 wolf-1 | 23:38:51.992606533 INFO | Control server started on port: 47999 wolf-1 | XDG_RUNTIME_DIR (/tmp/sockets) 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.) wolf-1 | 23:38:51.992713243 DEBUG | [PULSE] Connecting... wolf-1 | 23:38:51.992752843 DEBUG | [PULSE] Context failed wolf-1 | 23:38:51.992762253 WARN | [PULSE] Unable to connect, Access denied wolf-1 | 23:38:51.992807704 INFO | Starting PulseAudio docker container wolf-1 | 23:38:51.993617778 WARN | [DOCKER] Container WolfPulseAudio already present, removing first wolf-1 | 23:38:51.994131471 INFO | HTTPS server listening on port: 47984 wolf-1 | 23:38:54.405973388 DEBUG | [PULSE] Connecting... wolf-1 | 23:38:54.406522551 DEBUG | [PULSE] Pulse connection ready wolf-1 | 23:38:55.929610742 DEBUG | 192.168.100.53 [GET] HTTP://192.168.100.19/serverinfo wolf-1 | 23:38:55.930138634 DEBUG | 192.168.100.53 [GET] HTTP://192.168.100.19/serverinfo wolf-1 | 23:38:55.937406633 DEBUG | 192.168.100.53 [GET] HTTPS://192.168.100.19/serverinfo wolf-1 | 23:38:55.937960296 DEBUG | 192.168.100.53 [GET] HTTP://192.168.100.19/serverinfo wolf-1 | 23:38:55.944193189 DEBUG | 192.168.100.53 [GET] HTTPS://192.168.100.19/applist wolf-1 | 23:38:57.556874248 DEBUG | 192.168.100.53 [GET] HTTPS://192.168.100.19/appasset wolf-1 | 23:38:57.560352137 DEBUG | 192.168.100.53 [GET] HTTPS://192.168.100.19/appasset wolf-1 | 23:38:57.560487447 DEBUG | 192.168.100.53 [GET] HTTPS://192.168.100.19/appasset wolf-1 | 23:38:57.560685839 DEBUG | 192.168.100.53 [GET] HTTPS://192.168.100.19/appasset wolf-1 | 23:38:57.571484546 DEBUG | 192.168.100.53 [GET] HTTPS://192.168.100.19/appasset wolf-1 | 23:38:57.577791270 DEBUG | 192.168.100.53 [GET] HTTPS://192.168.100.19/appasset wolf-1 | 23:38:57.578389453 DEBUG | 192.168.100.53 [GET] HTTPS://192.168.100.19/appasset wolf-1 | 23:38:57.578559684 DEBUG | 192.168.100.53 [GET] HTTPS://192.168.100.19/appasset wolf-1 | 23:38:57.581937862 DEBUG | 192.168.100.53 [GET] HTTPS://192.168.100.19/appasset wolf-1 | 23:38:57.588025125 DEBUG | 192.168.100.53 [GET] HTTPS://192.168.100.19/appasset wolf-1 | 23:38:58.949216663 DEBUG | 192.168.100.53 [GET] HTTP://192.168.100.19/serverinfo wolf-1 | 23:38:58.956644593 DEBUG | 192.168.100.53 [GET] HTTPS://192.168.100.19/serverinfo wolf-1 | 23:39:00.829276133 DEBUG | 192.168.100.53 [GET] HTTPS://192.168.100.19/launch wolf-1 | 23:39:00.829365553 DEBUG | Host app state folder: /etc/wolf/657390554086948664/Firefox, creating paths wolf-1 | 23:39:00.829621564 DEBUG | [STREAM_SESSION] Create virtual audio sink wolf-1 | 23:39:00.829657915 INFO | RTP server started on port: 48100 wolf-1 | 23:39:00.829689445 DEBUG | [STREAM_SESSION] Create wayland compositor wolf-1 | 23:39:00.829697635 DEBUG | [WAYLAND] Creating wayland display wolf-1 | 23:39:00.829694025 INFO | RTP server started on port: 48200 wolf-1 | 23:39:00.830157707 DEBUG | [PULSE] Created virtual sink: 3 wolf-1 | 23:39:00.839352816 DEBUG | [RTSP] received command OPTIONS wolf-1 | 23:39:00.847608831 DEBUG | [RTSP] received command DESCRIBE wolf-1 | libEGL warning: egl: failed to create dri2 screen wolf-1 | 2024-08-10T23:39:00.849779Z ERROR smithay::backend::egl::ffi: [EGL] 0x3001 (NOT_INITIALIZED) eglInitialize: DRI2: failed to create screen wolf-1 | libEGL warning: egl: failed to create dri2 screen wolf-1 | 2024-08-10T23:39:00.853721Z ERROR smithay::backend::egl::ffi: [EGL] 0x3001 (NOT_INITIALIZED) eglInitialize: DRI2: failed to create screen wolf-1 | 23:39:00.856144006 DEBUG | [RTSP] received command SETUP wolf-1 | libEGL warning: egl: failed to create dri2 screen wolf-1 | 2024-08-10T23:39:00.857671Z ERROR smithay::backend::egl::ffi: [EGL] 0x3001 (NOT_INITIALIZED) eglInitialize: DRI2: failed to create screen wolf-1 | 2024-08-10T23:39:00.857678Z ERROR smithay::backend::egl::ffi: [EGL] 0x3001 (NOT_INITIALIZED) eglInitialize: eglInitialize wolf-1 | thread '<unnamed>' panicked at wayland-display-core/src/comp/mod.rs:189:60: wolf-1 | Failed to create EGLDisplay: InitFailed(NotInitialized) wolf-1 | stack backtrace: wolf-1 | 0: 0x7f2d5517cdd5 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h1e1a1972118942ad wolf-1 | 1: 0x7f2d551a0c3b - core::fmt::write::hc090a2ffd6b28c4a wolf-1 | 2: 0x7f2d5517a16f - std::io::Write::write_fmt::h8898bac6ff039a23 wolf-1 | 3: 0x7f2d5517cbae - std::sys_common::backtrace::print::ha96650907276675e wolf-1 | 4: 0x7f2d5517e019 - std::panicking::default_hook::{{closure}}::h215c2a0a8346e0e0 wolf-1 | 5: 0x7f2d5517dd5d - std::panicking::default_hook::h207342be97478370 wolf-1 | 6: 0x7f2d5517e4b3 - std::panicking::rust_panic_with_hook::hac8bdceee1e4fe2c wolf-1 | 7: 0x7f2d5517e394 - std::panicking::begin_panic_handler::{{closure}}::h00d785e82757ce3c wolf-1 | 8: 0x7f2d5517d299 - std::sys_common::backtrace::__rust_end_short_backtrace::h1628d957bcd06996 wolf-1 | 9: 0x7f2d5517e0c7 - rust_begin_unwind wolf-1 | 10: 0x7f2d54f67193 - core::panicking::panic_fmt::hdc63834ffaaefae5 wolf-1 | 11: 0x7f2d54f67626 - core::result::unwrap_failed::h82b551e0ff2b2176 wolf-1 | 12: 0x7f2d54fd5132 - waylanddisplaycore::comp::init::h4be111288507d6e3 wolf-1 | 13: 0x7f2d5505be9d - std::panicking::try::hcd71468da3d0e1db wolf-1 | 14: 0x7f2d54f84fe6 - std::sys_common::backtrace::__rust_begin_short_backtrace::h92847fbdf0a4066a wolf-1 | 15: 0x7f2d5505c47e - core::ops::function::FnOnce::call_once{{vtable.shim}}::h0f54e8858354cc6a wolf-1 | 16: 0x7f2d55180d7b - std::sys::pal::unix::thread::Thread::new::thread_start::h522bc89a54da820a wolf-1 | 17: 0x7f2d52164a94 - <unknown> wolf-1 | 18: 0x7f2d521f1a34 - __clone wolf-1 | thread '<unnamed>' panicked at /tmp/gst-wayland-display/wayland-display-core/src/lib.rs:87:41: wolf-1 | called `Result::unwrap()` on an `Err` value: RecvError wolf-1 | stack backtrace: wolf-1 | 2024-08-10T23:39:00.859861Z ERROR waylanddisplaycore: Compositor thread panic'ed! err=Any { .. } wolf-1 | 0: 0x7f2d5517cdd5 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h1e1a1972118942ad wolf-1 | 1: 0x7f2d551a0c3b - core::fmt::write::hc090a2ffd6b28c4a wolf-1 | 2: 0x7f2d5517a16f - std::io::Write::write_fmt::h8898bac6ff039a23 wolf-1 | 3: 0x7f2d5517cbae - std::sys_common::backtrace::print::ha96650907276675e wolf-1 | 4: 0x7f2d5517e019 - std::panicking::default_hook::{{closure}}::h215c2a0a8346e0e0 wolf-1 | 5: 0x7f2d5517dd5d - std::panicking::default_hook::h207342be97478370 wolf-1 | 6: 0x7f2d5517e4b3 - std::panicking::rust_panic_with_hook::hac8bdceee1e4fe2c wolf-1 | 7: 0x7f2d5517e394 - std::panicking::begin_panic_handler::{{closure}}::h00d785e82757ce3c wolf-1 | 8: 0x7f2d5517d299 - std::sys_common::backtrace::__rust_end_short_backtrace::h1628d957bcd06996 wolf-1 | 9: 0x7f2d5517e0c7 - rust_begin_unwind wolf-1 | 10: 0x7f2d54f67193 - core::panicking::panic_fmt::hdc63834ffaaefae5 wolf-1 | 11: 0x7f2d54f67626 - core::result::unwrap_failed::h82b551e0ff2b2176 wolf-1 | 12: 0x7f2d54f6f662 - waylanddisplaycore::MaybeRecv<T>::get::h3309cc003de92825 wolf-1 | 13: 0x7f2d54f6eb9a - display_get_devices_len wolf-1 | 23:39:00.864561811 DEBUG | [RTSP] received command SETUP wolf-1 | 14: 0x559b27441cf4 - _ZN4wolf4core15virtual_display22create_wayland_displayERKN5immer5arrayINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS2_13memory_policyINS2_21free_list_heap_policyINS2_8cpp_heapELm1024EEENS2_15refcount_policyENS2_15spinlock_policyENS2_20no_transience_policyELb0ELb1EEEEERKS9_ wolf-1 | at /wolf/src/core/src/platforms/linux/virtual-display/wayland-display.cpp:30:22 wolf-1 | 23:39:00.872850475 DEBUG | [RTSP] received command SETUP wolf-1 | 23:39:00.882083016 DEBUG | [RTSP] received command ANNOUNCE wolf-1 | 23:39:00.882172076 DEBUG | [RTSP] Moonlight requested video format H264 wolf-1 | 23:39:00.882480228 DEBUG | Video session 657390554086948664, waiting for PING... wolf-1 | 23:39:00.882513208 DEBUG | Audio session 657390554086948664, waiting for PING... wolf-1 | 15: 0x559b27244a24 - _ZZZ23setup_sessions_handlersRKN5immer3boxIN5state8AppStateENS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEEEERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt8optionalI11AudioServerEENK3$_2clERKNS0_INS1_13StreamSessionESA_EEENKUlvE_clEv wolf-1 | at /wolf/src/moonlight-server/wolf.cpp:236:29 wolf-1 | 16: 0x7f2d524dcbb4 - <unknown> wolf-1 | 17: 0x7f2d52164a94 - <unknown> wolf-1 | 18: 0x7f2d521f1a34 - __clone wolf-1 | fatal runtime error: failed to initiate panic, error 5 wolf-1 | 23:39:00.890722392 DEBUG | [RTSP] received command PLAY wolf-1 | 23:39:00.891236495 DEBUG | [ENET] connected client: 192.168.100.53:52643 wolf-1 | 23:39:00.893089514 WARN | Received MOUSE_MOVE_REL_PACKET but no mouse device is present wolf-1 exited with code 6 ```
Author
Owner

@ABeltramo commented on GitHub (Aug 11, 2024):

Seems that Wolf is not able to use HW acceleration, have you got a GPU on your system? If you've got one which HW have you got, and how are you running Wolf?

<!-- gh-comment-id:2282507696 --> @ABeltramo commented on GitHub (Aug 11, 2024): Seems that Wolf is not able to use HW acceleration, have you got a GPU on your system? If you've got one which HW have you got, and how are you running Wolf?
Author
Owner

@2Peti commented on GitHub (Aug 11, 2024):

I have an RTX 2060 Super and im trying to run with nvidia container toolkit in docker compose

this is the output of sudo nvidia-container-cli -V

cli-version: 1.16.1
lib-version: 1.16.1
build date: 2024-07-23T14:57+00:00
build revision: 4c2494f16573b585788a42e9c7bee76ecd48c73d
build compiler: x86_64-linux-gnu-gcc-7 7.5.0
build platform: x86_64
build flags: -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DNDEBUG -std=gnu11 -O2 -g -fdata-sections -ffunction-sections -fplan9-extensions -fstack-protector -fno-strict-aliasing -fvisibility=hidden -Wall -Wextra -Wcast-align -Wpointer-arith -Wmissing-prototypes -Wnonnull -Wwrite-strings -Wlogical-op -Wformat=2 -Wmissing-format-attribute -Winit-self -Wshadow -Wstrict-prototypes -Wunreachable-code -Wconversion -Wsign-conversion -Wno-unknown-warning-option -Wno-format-extra-args -Wno-gnu-alignof-expression -Wl,-zrelro -Wl,-znow -Wl,-zdefs -Wl,--gc-sections

nvidia-smi is reporting Driver Version: 535.183.01 and CUDA Version: 12.2

im running Debian 12 with gnome 40 on x11

<!-- gh-comment-id:2282706723 --> @2Peti commented on GitHub (Aug 11, 2024): I have an RTX 2060 Super and im trying to run with nvidia container toolkit in docker compose this is the output of `sudo nvidia-container-cli -V` ``` cli-version: 1.16.1 lib-version: 1.16.1 build date: 2024-07-23T14:57+00:00 build revision: 4c2494f16573b585788a42e9c7bee76ecd48c73d build compiler: x86_64-linux-gnu-gcc-7 7.5.0 build platform: x86_64 build flags: -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DNDEBUG -std=gnu11 -O2 -g -fdata-sections -ffunction-sections -fplan9-extensions -fstack-protector -fno-strict-aliasing -fvisibility=hidden -Wall -Wextra -Wcast-align -Wpointer-arith -Wmissing-prototypes -Wnonnull -Wwrite-strings -Wlogical-op -Wformat=2 -Wmissing-format-attribute -Winit-self -Wshadow -Wstrict-prototypes -Wunreachable-code -Wconversion -Wsign-conversion -Wno-unknown-warning-option -Wno-format-extra-args -Wno-gnu-alignof-expression -Wl,-zrelro -Wl,-znow -Wl,-zdefs -Wl,--gc-sections ``` nvidia-smi is reporting Driver Version: 535.183.01 and CUDA Version: 12.2 im running Debian 12 with gnome 40 on x11
Author
Owner

@ABeltramo commented on GitHub (Aug 11, 2024):

Could it just be the Nvidia env variables? I forgot to add them to the quick start guide; can you try adding:

 -e NVIDIA_VISIBLE_DEVICES=all
 -e NVIDIA_DRIVER_CAPABILITIES=all

to the docker run command?

<!-- gh-comment-id:2282749596 --> @ABeltramo commented on GitHub (Aug 11, 2024): Could it just be the Nvidia env variables? I forgot to add them to the quick start guide; can you try adding: ``` -e NVIDIA_VISIBLE_DEVICES=all -e NVIDIA_DRIVER_CAPABILITIES=all ``` to the `docker run` command?
Author
Owner

@2Peti commented on GitHub (Aug 11, 2024):

i added the enviroment variables to my docker-compose.yaml and now im getting this error:

wolf-1  | [2024-08-11 15:31:24] 
wolf-1  | [2024-08-11 15:31:24] [ /etc/cont-init.d/10-setup_user.sh: executing... ]
wolf-1  | [2024-08-11 15:31:24] **** Configure default user ****
wolf-1  | [2024-08-11 15:31:24] Container running as root. Nothing to do.
wolf-1  | [2024-08-11 15:31:24] DONE
wolf-1  | [2024-08-11 15:31:24] 
wolf-1  | [2024-08-11 15:31:24] [ /etc/cont-init.d/15-setup_devices.sh: executing... ]
wolf-1  | [2024-08-11 15:31:24] **** Configure devices ****
wolf-1  | [2024-08-11 15:31:24] Exec device groups
wolf-1  | [2024-08-11 15:31:24] Adding user 'root' to groups: gow-gid-102,root
wolf-1  | [2024-08-11 15:31:24] DONE
wolf-1  | [2024-08-11 15:31:24] 
wolf-1  | [2024-08-11 15:31:24] [ /etc/cont-init.d/30-nvidia.sh: executing... ]
wolf-1  | [2024-08-11 15:31:24] Nvidia driver detected, assuming it's using the nvidia driver volume
wolf-1  | /sbin/ldconfig.real: /usr/local/lib/liblibgstwaylanddisplay.so.0.3 is not a symbolic link
wolf-1  | 
wolf-1  | [2024-08-11 15:31:24] Creating symlink to nvidia-drm_gbm.so
wolf-1  | '/usr/lib/x86_64-linux-gnu/gbm/nvidia-drm_gbm.so' -> '../libnvidia-allocator.so.1'
wolf-1  | [2024-08-11 15:31:24] Creating json nvidia_icd.json file
wolf-1  | /etc/cont-init.d/30-nvidia.sh: line 71: /etc/vulkan/icd.d/nvidia_icd.json: Read-only file system
wolf-1 exited with code 1
wolf-1  | [2024-08-11 15:31:25] [ /etc/cont-init.d/10-setup_user.sh: executing... ]
wolf-1  | [2024-08-11 15:31:25] **** Configure default user ****
wolf-1  | [2024-08-11 15:31:25] Container running as root. Nothing to do.
wolf-1  | [2024-08-11 15:31:25] DONE
wolf-1  | [2024-08-11 15:31:25] 
wolf-1  | [2024-08-11 15:31:25] [ /etc/cont-init.d/15-setup_devices.sh: executing... ]
wolf-1  | [2024-08-11 15:31:25] **** Configure devices ****
wolf-1  | [2024-08-11 15:31:25] Exec device groups
wolf-1  | [2024-08-11 15:31:25] Adding user 'root' to groups: gow-gid-102,root
wolf-1  | [2024-08-11 15:31:25] DONE
wolf-1  | [2024-08-11 15:31:25] 
wolf-1  | [2024-08-11 15:31:25] [ /etc/cont-init.d/30-nvidia.sh: executing... ]
wolf-1  | [2024-08-11 15:31:25] Nvidia driver detected, assuming it's using the nvidia driver volume
wolf-1  | /sbin/ldconfig.real: /usr/local/lib/liblibgstwaylanddisplay.so.0.3 is not a symbolic link
wolf-1  | 
wolf-1  | [2024-08-11 15:31:25] Creating json nvidia_icd.json file
wolf-1  | /etc/cont-init.d/30-nvidia.sh: line 71: /etc/vulkan/icd.d/nvidia_icd.json: Read-only file system
wolf-1  | [2024-08-11 15:31:25] 
wolf-1  | [2024-08-11 15:31:25] [ /etc/cont-init.d/10-setup_user.sh: executing... ]
wolf-1  | [2024-08-11 15:31:25] **** Configure default user ****
wolf-1  | [2024-08-11 15:31:25] Container running as root. Nothing to do.
wolf-1  | [2024-08-11 15:31:25] DONE
wolf-1  | [2024-08-11 15:31:25] 
wolf-1  | [2024-08-11 15:31:25] [ /etc/cont-init.d/15-setup_devices.sh: executing... ]
wolf-1  | [2024-08-11 15:31:25] **** Configure devices ****
wolf-1  | [2024-08-11 15:31:25] Exec device groups
wolf-1  | [2024-08-11 15:31:25] Adding user 'root' to groups: gow-gid-102,root
wolf-1  | [2024-08-11 15:31:25] DONE
wolf-1  | [2024-08-11 15:31:25] 
wolf-1  | [2024-08-11 15:31:25] [ /etc/cont-init.d/30-nvidia.sh: executing... ]
wolf-1  | [2024-08-11 15:31:25] Nvidia driver detected, assuming it's using the nvidia driver volume
wolf-1  | /sbin/ldconfig.real: /usr/local/lib/liblibgstwaylanddisplay.so.0.3 is not a symbolic link
wolf-1  | 
wolf-1  | [2024-08-11 15:31:25] Creating json nvidia_icd.json file
wolf-1  | /etc/cont-init.d/30-nvidia.sh: line 71: /etc/vulkan/icd.d/nvidia_icd.json: Read-only file system
wolf-1  | [2024-08-11 15:31:26] [ /etc/cont-init.d/10-setup_user.sh: executing... ]
wolf-1  | [2024-08-11 15:31:26] **** Configure default user ****
wolf-1  | [2024-08-11 15:31:26] Container running as root. Nothing to do.
wolf-1  | [2024-08-11 15:31:26] DONE
wolf-1  | [2024-08-11 15:31:26] 
wolf-1  | [2024-08-11 15:31:26] [ /etc/cont-init.d/15-setup_devices.sh: executing... ]
wolf-1  | [2024-08-11 15:31:26] **** Configure devices ****
wolf-1  | [2024-08-11 15:31:26] Exec device groups
wolf-1  | [2024-08-11 15:31:26] Adding user 'root' to groups: gow-gid-102,root
wolf-1  | [2024-08-11 15:31:26] DONE
wolf-1  | [2024-08-11 15:31:26] 
wolf-1  | [2024-08-11 15:31:26] [ /etc/cont-init.d/30-nvidia.sh: executing... ]
wolf-1  | [2024-08-11 15:31:26] Nvidia driver detected, assuming it's using the nvidia driver volume
wolf-1  | /sbin/ldconfig.real: /usr/local/lib/liblibgstwaylanddisplay.so.0.3 is not a symbolic link
wolf-1  | 
wolf-1  | [2024-08-11 15:31:26] Creating json nvidia_icd.json file
wolf-1  | /etc/cont-init.d/30-nvidia.sh: line 71: /etc/vulkan/icd.d/nvidia_icd.json: Read-only file system
wolf-1  | [2024-08-11 15:31:27] 
wolf-1  | [2024-08-11 15:31:27] [ /etc/cont-init.d/10-setup_user.sh: executing... ]
wolf-1  | [2024-08-11 15:31:27] **** Configure default user ****
wolf-1  | [2024-08-11 15:31:27] Container running as root. Nothing to do.
wolf-1  | [2024-08-11 15:31:27] DONE
wolf-1  | [2024-08-11 15:31:27] 
wolf-1  | [2024-08-11 15:31:27] [ /etc/cont-init.d/15-setup_devices.sh: executing... ]
wolf-1  | [2024-08-11 15:31:27] **** Configure devices ****
wolf-1  | [2024-08-11 15:31:27] Exec device groups
wolf-1  | [2024-08-11 15:31:27] Adding user 'root' to groups: gow-gid-102,root
wolf-1  | [2024-08-11 15:31:27] DONE
wolf-1  | [2024-08-11 15:31:27] 
wolf-1  | [2024-08-11 15:31:27] [ /etc/cont-init.d/30-nvidia.sh: executing... ]
wolf-1  | [2024-08-11 15:31:27] Nvidia driver detected, assuming it's using the nvidia driver volume
wolf-1  | /sbin/ldconfig.real: /usr/local/lib/liblibgstwaylanddisplay.so.0.3 is not a symbolic link
wolf-1  | 
wolf-1  | [2024-08-11 15:31:27] Creating json nvidia_icd.json file
wolf-1  | /etc/cont-init.d/30-nvidia.sh: line 71: /etc/vulkan/icd.d/nvidia_icd.json: Read-only file system
wolf-1  | [2024-08-11 15:31:29] 
wolf-1  | [2024-08-11 15:31:29] [ /etc/cont-init.d/10-setup_user.sh: executing... ]
wolf-1  | [2024-08-11 15:31:29] **** Configure default user ****
wolf-1  | [2024-08-11 15:31:29] Container running as root. Nothing to do.
wolf-1  | [2024-08-11 15:31:29] DONE
wolf-1  | [2024-08-11 15:31:29] 
wolf-1  | [2024-08-11 15:31:29] [ /etc/cont-init.d/15-setup_devices.sh: executing... ]
wolf-1  | [2024-08-11 15:31:29] **** Configure devices ****
wolf-1  | [2024-08-11 15:31:29] Exec device groups
wolf-1  | [2024-08-11 15:31:29] Adding user 'root' to groups: gow-gid-102,root
wolf-1  | [2024-08-11 15:31:29] DONE
wolf-1  | [2024-08-11 15:31:29] 
wolf-1  | [2024-08-11 15:31:29] [ /etc/cont-init.d/30-nvidia.sh: executing... ]
wolf-1  | [2024-08-11 15:31:29] Nvidia driver detected, assuming it's using the nvidia driver volume
wolf-1  | /sbin/ldconfig.real: /usr/local/lib/liblibgstwaylanddisplay.so.0.3 is not a symbolic link
wolf-1  | 
wolf-1  | [2024-08-11 15:31:29] Creating json nvidia_icd.json file
wolf-1  | /etc/cont-init.d/30-nvidia.sh: line 71: /etc/vulkan/icd.d/nvidia_icd.json: Read-only file system
wolf-1  | [2024-08-11 15:31:32] 
wolf-1  | [2024-08-11 15:31:32] [ /etc/cont-init.d/10-setup_user.sh: executing... ]
wolf-1  | [2024-08-11 15:31:32] **** Configure default user ****
wolf-1  | [2024-08-11 15:31:32] Container running as root. Nothing to do.
wolf-1  | [2024-08-11 15:31:32] DONE
wolf-1  | [2024-08-11 15:31:32] 
wolf-1  | [2024-08-11 15:31:32] [ /etc/cont-init.d/15-setup_devices.sh: executing... ]
wolf-1  | [2024-08-11 15:31:32] **** Configure devices ****
wolf-1  | [2024-08-11 15:31:32] Exec device groups
wolf-1  | [2024-08-11 15:31:32] Adding user 'root' to groups: gow-gid-102,root
wolf-1  | [2024-08-11 15:31:32] DONE
wolf-1  | [2024-08-11 15:31:32] 
wolf-1  | [2024-08-11 15:31:32] [ /etc/cont-init.d/30-nvidia.sh: executing... ]
wolf-1  | [2024-08-11 15:31:32] Nvidia driver detected, assuming it's using the nvidia driver volume
wolf-1  | /sbin/ldconfig.real: /usr/local/lib/liblibgstwaylanddisplay.so.0.3 is not a symbolic link
wolf-1  | 
wolf-1  | [2024-08-11 15:31:32] Creating json nvidia_icd.json file
wolf-1  | /etc/cont-init.d/30-nvidia.sh: line 71: /etc/vulkan/icd.d/nvidia_icd.json: Read-only file system

EDIT:
this is my docker compose file:

version: "3"
services:
  wolf:
    image: ghcr.io/games-on-whales/wolf:stable
    environment:
      - XDG_RUNTIME_DIR=/tmp/sockets
      - HOST_APPS_STATE_FOLDER=/mnt/3tb/Games/linux/wolf
      - NVIDIA_VISIBLE_DEVICES=all
      - NVIDIA_DRIVER_CAPABILITIES=all
    volumes:
      - /etc/wolf/:/etc/wolf
      - /mnt/3tb/Games/linux/wolf/:/mnt/3tb/Games/linux/wolf:rw
      - /tmp/sockets:/tmp/sockets:rw
      - /var/run/docker.sock:/var/run/docker.sock:rw
      - /dev/:/dev/:rw
      - /run/udev:/run/udev:rw
    device_cgroup_rules:
      - 'c 13:* rmw'
    devices:
      - /dev/dri
      - /dev/uinput
      - /dev/uhid
    runtime: nvidia
    deploy:
      resources:
        reservations:
          devices:
            - capabilities: [gpu]
    network_mode: host
    restart: unless-stopped
<!-- gh-comment-id:2282781658 --> @2Peti commented on GitHub (Aug 11, 2024): i added the enviroment variables to my docker-compose.yaml and now im getting this error: ``` wolf-1 | [2024-08-11 15:31:24] wolf-1 | [2024-08-11 15:31:24] [ /etc/cont-init.d/10-setup_user.sh: executing... ] wolf-1 | [2024-08-11 15:31:24] **** Configure default user **** wolf-1 | [2024-08-11 15:31:24] Container running as root. Nothing to do. wolf-1 | [2024-08-11 15:31:24] DONE wolf-1 | [2024-08-11 15:31:24] wolf-1 | [2024-08-11 15:31:24] [ /etc/cont-init.d/15-setup_devices.sh: executing... ] wolf-1 | [2024-08-11 15:31:24] **** Configure devices **** wolf-1 | [2024-08-11 15:31:24] Exec device groups wolf-1 | [2024-08-11 15:31:24] Adding user 'root' to groups: gow-gid-102,root wolf-1 | [2024-08-11 15:31:24] DONE wolf-1 | [2024-08-11 15:31:24] wolf-1 | [2024-08-11 15:31:24] [ /etc/cont-init.d/30-nvidia.sh: executing... ] wolf-1 | [2024-08-11 15:31:24] Nvidia driver detected, assuming it's using the nvidia driver volume wolf-1 | /sbin/ldconfig.real: /usr/local/lib/liblibgstwaylanddisplay.so.0.3 is not a symbolic link wolf-1 | wolf-1 | [2024-08-11 15:31:24] Creating symlink to nvidia-drm_gbm.so wolf-1 | '/usr/lib/x86_64-linux-gnu/gbm/nvidia-drm_gbm.so' -> '../libnvidia-allocator.so.1' wolf-1 | [2024-08-11 15:31:24] Creating json nvidia_icd.json file wolf-1 | /etc/cont-init.d/30-nvidia.sh: line 71: /etc/vulkan/icd.d/nvidia_icd.json: Read-only file system wolf-1 exited with code 1 wolf-1 | [2024-08-11 15:31:25] [ /etc/cont-init.d/10-setup_user.sh: executing... ] wolf-1 | [2024-08-11 15:31:25] **** Configure default user **** wolf-1 | [2024-08-11 15:31:25] Container running as root. Nothing to do. wolf-1 | [2024-08-11 15:31:25] DONE wolf-1 | [2024-08-11 15:31:25] wolf-1 | [2024-08-11 15:31:25] [ /etc/cont-init.d/15-setup_devices.sh: executing... ] wolf-1 | [2024-08-11 15:31:25] **** Configure devices **** wolf-1 | [2024-08-11 15:31:25] Exec device groups wolf-1 | [2024-08-11 15:31:25] Adding user 'root' to groups: gow-gid-102,root wolf-1 | [2024-08-11 15:31:25] DONE wolf-1 | [2024-08-11 15:31:25] wolf-1 | [2024-08-11 15:31:25] [ /etc/cont-init.d/30-nvidia.sh: executing... ] wolf-1 | [2024-08-11 15:31:25] Nvidia driver detected, assuming it's using the nvidia driver volume wolf-1 | /sbin/ldconfig.real: /usr/local/lib/liblibgstwaylanddisplay.so.0.3 is not a symbolic link wolf-1 | wolf-1 | [2024-08-11 15:31:25] Creating json nvidia_icd.json file wolf-1 | /etc/cont-init.d/30-nvidia.sh: line 71: /etc/vulkan/icd.d/nvidia_icd.json: Read-only file system wolf-1 | [2024-08-11 15:31:25] wolf-1 | [2024-08-11 15:31:25] [ /etc/cont-init.d/10-setup_user.sh: executing... ] wolf-1 | [2024-08-11 15:31:25] **** Configure default user **** wolf-1 | [2024-08-11 15:31:25] Container running as root. Nothing to do. wolf-1 | [2024-08-11 15:31:25] DONE wolf-1 | [2024-08-11 15:31:25] wolf-1 | [2024-08-11 15:31:25] [ /etc/cont-init.d/15-setup_devices.sh: executing... ] wolf-1 | [2024-08-11 15:31:25] **** Configure devices **** wolf-1 | [2024-08-11 15:31:25] Exec device groups wolf-1 | [2024-08-11 15:31:25] Adding user 'root' to groups: gow-gid-102,root wolf-1 | [2024-08-11 15:31:25] DONE wolf-1 | [2024-08-11 15:31:25] wolf-1 | [2024-08-11 15:31:25] [ /etc/cont-init.d/30-nvidia.sh: executing... ] wolf-1 | [2024-08-11 15:31:25] Nvidia driver detected, assuming it's using the nvidia driver volume wolf-1 | /sbin/ldconfig.real: /usr/local/lib/liblibgstwaylanddisplay.so.0.3 is not a symbolic link wolf-1 | wolf-1 | [2024-08-11 15:31:25] Creating json nvidia_icd.json file wolf-1 | /etc/cont-init.d/30-nvidia.sh: line 71: /etc/vulkan/icd.d/nvidia_icd.json: Read-only file system wolf-1 | [2024-08-11 15:31:26] [ /etc/cont-init.d/10-setup_user.sh: executing... ] wolf-1 | [2024-08-11 15:31:26] **** Configure default user **** wolf-1 | [2024-08-11 15:31:26] Container running as root. Nothing to do. wolf-1 | [2024-08-11 15:31:26] DONE wolf-1 | [2024-08-11 15:31:26] wolf-1 | [2024-08-11 15:31:26] [ /etc/cont-init.d/15-setup_devices.sh: executing... ] wolf-1 | [2024-08-11 15:31:26] **** Configure devices **** wolf-1 | [2024-08-11 15:31:26] Exec device groups wolf-1 | [2024-08-11 15:31:26] Adding user 'root' to groups: gow-gid-102,root wolf-1 | [2024-08-11 15:31:26] DONE wolf-1 | [2024-08-11 15:31:26] wolf-1 | [2024-08-11 15:31:26] [ /etc/cont-init.d/30-nvidia.sh: executing... ] wolf-1 | [2024-08-11 15:31:26] Nvidia driver detected, assuming it's using the nvidia driver volume wolf-1 | /sbin/ldconfig.real: /usr/local/lib/liblibgstwaylanddisplay.so.0.3 is not a symbolic link wolf-1 | wolf-1 | [2024-08-11 15:31:26] Creating json nvidia_icd.json file wolf-1 | /etc/cont-init.d/30-nvidia.sh: line 71: /etc/vulkan/icd.d/nvidia_icd.json: Read-only file system wolf-1 | [2024-08-11 15:31:27] wolf-1 | [2024-08-11 15:31:27] [ /etc/cont-init.d/10-setup_user.sh: executing... ] wolf-1 | [2024-08-11 15:31:27] **** Configure default user **** wolf-1 | [2024-08-11 15:31:27] Container running as root. Nothing to do. wolf-1 | [2024-08-11 15:31:27] DONE wolf-1 | [2024-08-11 15:31:27] wolf-1 | [2024-08-11 15:31:27] [ /etc/cont-init.d/15-setup_devices.sh: executing... ] wolf-1 | [2024-08-11 15:31:27] **** Configure devices **** wolf-1 | [2024-08-11 15:31:27] Exec device groups wolf-1 | [2024-08-11 15:31:27] Adding user 'root' to groups: gow-gid-102,root wolf-1 | [2024-08-11 15:31:27] DONE wolf-1 | [2024-08-11 15:31:27] wolf-1 | [2024-08-11 15:31:27] [ /etc/cont-init.d/30-nvidia.sh: executing... ] wolf-1 | [2024-08-11 15:31:27] Nvidia driver detected, assuming it's using the nvidia driver volume wolf-1 | /sbin/ldconfig.real: /usr/local/lib/liblibgstwaylanddisplay.so.0.3 is not a symbolic link wolf-1 | wolf-1 | [2024-08-11 15:31:27] Creating json nvidia_icd.json file wolf-1 | /etc/cont-init.d/30-nvidia.sh: line 71: /etc/vulkan/icd.d/nvidia_icd.json: Read-only file system wolf-1 | [2024-08-11 15:31:29] wolf-1 | [2024-08-11 15:31:29] [ /etc/cont-init.d/10-setup_user.sh: executing... ] wolf-1 | [2024-08-11 15:31:29] **** Configure default user **** wolf-1 | [2024-08-11 15:31:29] Container running as root. Nothing to do. wolf-1 | [2024-08-11 15:31:29] DONE wolf-1 | [2024-08-11 15:31:29] wolf-1 | [2024-08-11 15:31:29] [ /etc/cont-init.d/15-setup_devices.sh: executing... ] wolf-1 | [2024-08-11 15:31:29] **** Configure devices **** wolf-1 | [2024-08-11 15:31:29] Exec device groups wolf-1 | [2024-08-11 15:31:29] Adding user 'root' to groups: gow-gid-102,root wolf-1 | [2024-08-11 15:31:29] DONE wolf-1 | [2024-08-11 15:31:29] wolf-1 | [2024-08-11 15:31:29] [ /etc/cont-init.d/30-nvidia.sh: executing... ] wolf-1 | [2024-08-11 15:31:29] Nvidia driver detected, assuming it's using the nvidia driver volume wolf-1 | /sbin/ldconfig.real: /usr/local/lib/liblibgstwaylanddisplay.so.0.3 is not a symbolic link wolf-1 | wolf-1 | [2024-08-11 15:31:29] Creating json nvidia_icd.json file wolf-1 | /etc/cont-init.d/30-nvidia.sh: line 71: /etc/vulkan/icd.d/nvidia_icd.json: Read-only file system wolf-1 | [2024-08-11 15:31:32] wolf-1 | [2024-08-11 15:31:32] [ /etc/cont-init.d/10-setup_user.sh: executing... ] wolf-1 | [2024-08-11 15:31:32] **** Configure default user **** wolf-1 | [2024-08-11 15:31:32] Container running as root. Nothing to do. wolf-1 | [2024-08-11 15:31:32] DONE wolf-1 | [2024-08-11 15:31:32] wolf-1 | [2024-08-11 15:31:32] [ /etc/cont-init.d/15-setup_devices.sh: executing... ] wolf-1 | [2024-08-11 15:31:32] **** Configure devices **** wolf-1 | [2024-08-11 15:31:32] Exec device groups wolf-1 | [2024-08-11 15:31:32] Adding user 'root' to groups: gow-gid-102,root wolf-1 | [2024-08-11 15:31:32] DONE wolf-1 | [2024-08-11 15:31:32] wolf-1 | [2024-08-11 15:31:32] [ /etc/cont-init.d/30-nvidia.sh: executing... ] wolf-1 | [2024-08-11 15:31:32] Nvidia driver detected, assuming it's using the nvidia driver volume wolf-1 | /sbin/ldconfig.real: /usr/local/lib/liblibgstwaylanddisplay.so.0.3 is not a symbolic link wolf-1 | wolf-1 | [2024-08-11 15:31:32] Creating json nvidia_icd.json file wolf-1 | /etc/cont-init.d/30-nvidia.sh: line 71: /etc/vulkan/icd.d/nvidia_icd.json: Read-only file system ``` EDIT: this is my docker compose file: ``` version: "3" services: wolf: image: ghcr.io/games-on-whales/wolf:stable environment: - XDG_RUNTIME_DIR=/tmp/sockets - HOST_APPS_STATE_FOLDER=/mnt/3tb/Games/linux/wolf - NVIDIA_VISIBLE_DEVICES=all - NVIDIA_DRIVER_CAPABILITIES=all volumes: - /etc/wolf/:/etc/wolf - /mnt/3tb/Games/linux/wolf/:/mnt/3tb/Games/linux/wolf:rw - /tmp/sockets:/tmp/sockets:rw - /var/run/docker.sock:/var/run/docker.sock:rw - /dev/:/dev/:rw - /run/udev:/run/udev:rw device_cgroup_rules: - 'c 13:* rmw' devices: - /dev/dri - /dev/uinput - /dev/uhid runtime: nvidia deploy: resources: reservations: devices: - capabilities: [gpu] network_mode: host restart: unless-stopped ```
Author
Owner

@ABeltramo commented on GitHub (Aug 11, 2024):

I can't reproduce it on my machine, but I've pushed a potential fix for this. You can update (currently building, give it a few minutes) your image simply using

docker pull ghcr.io/games-on-whales/wolf:stable

or

docker compose pull

and restart.

Feel free to re-open if it's not fixed!

<!-- gh-comment-id:2282862454 --> @ABeltramo commented on GitHub (Aug 11, 2024): I can't reproduce it on my machine, but I've pushed a potential fix for this. You can update (currently building, give it a few minutes) your image simply using ``` docker pull ghcr.io/games-on-whales/wolf:stable ``` or ``` docker compose pull ``` and restart. Feel free to re-open if it's not fixed!
Author
Owner

@alibell commented on GitHub (Sep 14, 2024):

Had the same issue.
I far as I understand, having an Intel integrated graphic + an NVIDIA GPU is considered as a multi-gpu configuration, I solved it by specifying the GPU with the WOLF_RENDER_NODE and WOLF_ENCODER_NODE environment variables

<!-- gh-comment-id:2350900791 --> @alibell commented on GitHub (Sep 14, 2024): Had the same issue. I far as I understand, having an Intel integrated graphic + an NVIDIA GPU is considered as a multi-gpu configuration, I solved it by specifying the GPU with the `WOLF_RENDER_NODE` and `WOLF_ENCODER_NODE` environment variables
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#64
No description provided.