[GH-ISSUE #107] start container then no display #72

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

Originally created by @lyj0309 on GitHub (Aug 30, 2024).
Original GitHub issue: https://github.com/games-on-whales/wolf/issues/107

when i start a container eg firefox or steam the there is no display in screen, just black

nvidia-smi
Fri Aug 30 16:21:04 2024       
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 550.107.02             Driver Version: 550.107.02     CUDA Version: 12.4     |
|-----------------------------------------+------------------------+----------------------+
| 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 4090 D      Off |   00000000:02:00.0 Off |                  Off |
| 37%   57C    P2             60W /  425W |    7064MiB /  24564MiB |      5%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
|   1  NVIDIA GeForce RTX 4090 D      Off |   00000000:82:00.0 Off |                  Off |
| 33%   55C    P2             67W /  425W |    6277MiB /  24564MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+

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

wolf logs

08:17:11.914621393 INFO  | RTP server started on port: 48200
08:17:11.914628023 INFO  | RTP server started on port: 48100
08:17:12.006325936 WARN  | Nvidia DRM is not loaded with the flag modeset=1 
Please read the docs at https://games-on-whales.github.io/wolf/stable/user/quickstart.html
08:17:12.035325162 INFO  | NVIDIA_DRIVER_VOLUME_NAME not set, assuming nvidia driver toolkit is installed..
1:37:24.335055637     1 0x7f8740000e20 WARN        cudaconvertscale gstcudaconvertscale.c:1396:gst_cuda_base_convert_set_info:<cudaconvertscale7> Can't calculate borders
1:37:24.335195142     1 0x7f8740000e20 WARN           cudaconverter gstcudaconverter.c:2104:gst_cuda_converter_setup:<cudaconverter4> Couldn't compile to cubin, trying ptx
1:37:24.426632118     1 0x7f86f4d5b5e0 WARN                  appsrc gstappsrc.c:2469:gst_app_src_push_internal:<wolf_wayland_source> Dropping old item buffer: 0x7f8708569420, pts 0:00:00.066666664, dts 0:00:00.066666664, dur 0:00:00.016666666, size 3686400, offset none, offset_end none, flags 0x0
08:17:13.777711534 INFO  | [DOCKER] Starting container: /WolfSteam_16920338566807001700
[2024-08-30 09:22:55] 
[2024-08-30 09:22:55] [ /etc/cont-init.d/10-setup_user.sh: executing... ]
[2024-08-30 09:22:55] **** Configure default user ****
[2024-08-30 09:22:55] Container running as root. Nothing to do.
[2024-08-30 09:22:55] DONE
[2024-08-30 09:22:55] 
[2024-08-30 09:22:55] [ /etc/cont-init.d/15-setup_devices.sh: executing... ]
[2024-08-30 09:22:55] **** Configure devices ****
[2024-08-30 09:22:55] Exec device groups
[2024-08-30 09:22:56] Adding user 'root' to groups: gow-gid-107,root
[2024-08-30 09:22:56] DONE
[2024-08-30 09:22:56] 
[2024-08-30 09:22:56] [ /etc/cont-init.d/30-nvidia.sh: executing... ]
[2024-08-30 09:22:56] Nvidia driver detected, assuming it's using the nvidia driver volume
/sbin/ldconfig.real: /usr/local/lib/liblibgstwaylanddisplay.so.0.3 is not a symbolic link

[2024-08-30 09:22:56] 
[2024-08-30 09:22:56] [ /etc/cont-init.d/init-gamescope.sh: executing... ]
[2024-08-30 09:22:56] Launching the container's startup script as user 'root'
Stack trace (most recent call first):
#0  0x000056356aabde26 in shutdown_handler(int) at /wolf/src/moonlight-server/./exceptions/exceptions.h:69:5
#1  0x00007f87aa29331f at /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007f874ea34185 at /lib/x86_64-linux-gnu/libnvidia-eglcore.so.550.107.02
#3  0x00007f87ad2530e0 at /usr/local/lib/liblibgstwaylanddisplay.so.0.3
#4  0x00007f87ad155ce7 at /usr/local/lib/liblibgstwaylanddisplay.so.0.3
#5  0x00007f87ad1a8102 at /usr/local/lib/liblibgstwaylanddisplay.so.0.3
#6  0x00007f87ad1969e7 at /usr/local/lib/liblibgstwaylanddisplay.so.0.3
#7  0x00007f87ad15ab47 at /usr/local/lib/liblibgstwaylanddisplay.so.0.3
#8  0x00007f87ad116ccf at /usr/local/lib/liblibgstwaylanddisplay.so.0.3
#9  0x00007f87ad11aa7d at /usr/local/lib/liblibgstwaylanddisplay.so.0.3
#10 0x00007f87ad31274a at /usr/local/lib/liblibgstwaylanddisplay.so.0.3
#11 0x00007f87aa2eaa93 at /lib/x86_64-linux-gnu/libc.so.6
#12 0x00007f87aa377a33 at /lib/x86_64-linux-gnu/libc.so.6
08:22:57.025274103 INFO  | Gstreamer version: 1.25.0-1
08:22:57.032167178 INFO  | Reading config file from: /etc/wolf/cfg/config.toml
0:00:00.144669361     1 0x55ce85e6c960 WARN               cudanvrtc gstcudanvrtc.cpp:177:gst_cuda_nvrtc_load_library_once: Failed to load 'nvrtcGetCUBINSize', 'nvrtcGetCUBINSize': /usr/local/nvidia/lib/libnvrtc.so: undefined symbol: nvrtcGetCUBINSize
08:22:59.907399265 INFO  | Using H264 encoder: nvcodec
08:22:59.908660590 INFO  | Using HEVC encoder: nvcodec
08:22:59.908995528 INFO  | Using AV1 encoder: nvcodec
08:22:59.937546167 INFO  | RTSP server started on port: 48010
08:22:59.937875952 INFO  | Control server started on port: 47999
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.)
08:22:59.938279884 WARN  | [PULSE] Unable to connect, Access denied
08:22:59.938575069 INFO  | Starting PulseAudio docker container
08:22:59.938592699 INFO  | HTTP server listening on port: 47989 
08:22:59.940873289 WARN  | [DOCKER] Container WolfPulseAudio already present, removing first
08:22:59.941187763 INFO  | HTTPS server listening on port: 47984 
08:23:00.440584795 WARN  | Unable to get mac address of ip address: 100.101.151.4, you can override this by settings the env variables WOLF_INTERNAL_MAC or WOLF_INTERNAL_IP
08:23:00.605836484 WARN  | Unable to get mac address of ip address: 100.101.151.4, you can override this by settings the env variables WOLF_INTERNAL_MAC or WOLF_INTERNAL_IP
08:23:03.794760309 WARN  | Unable to get mac address of ip address: 100.101.151.4, you can override this by settings the env variables WOLF_INTERNAL_MAC or WOLF_INTERNAL_IP
08:23:03.891919760 WARN  | Unable to get mac address of ip address: 100.101.151.4, you can override this by settings the env variables WOLF_INTERNAL_MAC or WOLF_INTERNAL_IP
08:23:06.971596885 WARN  | Unable to get mac address of ip address: 100.101.151.4, you can override this by settings the env variables WOLF_INTERNAL_MAC or WOLF_INTERNAL_IP
08:23:07.083878481 WARN  | Unable to get mac address of ip address: 100.101.151.4, you can override this by settings the env variables WOLF_INTERNAL_MAC or WOLF_INTERNAL_IP
08:23:10.159973575 WARN  | Unable to get mac address of ip address: 100.101.151.4, you can override this by settings the env variables WOLF_INTERNAL_MAC or WOLF_INTERNAL_IP
08:23:10.258621145 WARN  | Unable to get mac address of ip address: 100.101.151.4, you can override this by settings the env variables WOLF_INTERNAL_MAC or WOLF_INTERNAL_IP
08:23:13.341602051 WARN  | Unable to get mac address of ip address: 100.101.151.4, you can override this by settings the env variables WOLF_INTERNAL_MAC or WOLF_INTERNAL_IP
08:23:13.442440591 WARN  | Unable to get mac address of ip address: 100.101.151.4, you can override this by settings the env variables WOLF_INTERNAL_MAC or WOLF_INTERNAL_IP
08:23:15.728240687 INFO  | RTP server started on port: 48100
08:23:15.728267396 INFO  | RTP server started on port: 48200
08:23:15.813228845 WARN  | Nvidia DRM is not loaded with the flag modeset=1 
Please read the docs at https://games-on-whales.github.io/wolf/stable/user/quickstart.html
08:23:15.832500000 INFO  | NVIDIA_DRIVER_VOLUME_NAME not set, assuming nvidia driver toolkit is installed..
0:00:19.466494009     1 0x7fe630000e20 WARN        cudaconvertscale gstcudaconvertscale.c:1396:gst_cuda_base_convert_set_info:<cudaconvertscale3> Can't calculate borders
0:00:19.466651140     1 0x7fe630000e20 WARN           cudaconverter gstcudaconverter.c:2104:gst_cuda_converter_setup:<cudaconverter0> Couldn't compile to cubin, trying ptx
08:23:16.521726577 INFO  | [DOCKER] Starting container: /WolfFirefox_16920338566807001700
0:00:19.624060671     1 0x7fe63401a4f0 WARN                  appsrc gstappsrc.c:2469:gst_app_src_push_internal:<wolf_wayland_source> Dropping old item buffer: 0x7fe648679d00, pts 0:00:00.066666664, dts 0:00:00.066666664, dur 0:00:00.016666666, size 3686400, offset none, offset_end none, flags 0x0

container log

[2024-08-30 09:23:16] 
[2024-08-30 09:23:16] [ /etc/cont-init.d/10-setup_user.sh: executing... ]
[2024-08-30 09:23:16] **** Configure default user ****
[2024-08-30 09:23:16] Setting default user uid=1000(retro) gid=1000(retro)
userdel: ubuntu mail spool (/var/mail/ubuntu) not found
useradd: warning: the home directory /home/retro already exists.
useradd: Not copying any file from skel directory into it.
[2024-08-30 09:23:16] Setting umask to 000
[2024-08-30 09:23:16] Ensure retro home directory is writable
[2024-08-30 09:23:16] Ensure XDG_RUNTIME_DIR is writable
[2024-08-30 09:23:16] DONE
[2024-08-30 09:23:16] 
[2024-08-30 09:23:16] [ /etc/cont-init.d/15-setup_devices.sh: executing... ]
[2024-08-30 09:23:16] **** Configure devices ****
[2024-08-30 09:23:16] Exec device groups
[2024-08-30 09:23:16] Path '/dev/input/*' is not present.
[2024-08-30 09:23:16] Adding user 'retro' to groups: gow-gid-109,video,root
[2024-08-30 09:23:16] DONE
[2024-08-30 09:23:16] 
[2024-08-30 09:23:16] [ /etc/cont-init.d/30-nvidia.sh: executing... ]
[2024-08-30 09:23:16] Nvidia driver detected, assuming it's using the nvidia driver volume
[2024-08-30 09:23:16] Creating symlink to nvidia-drm_gbm.so
'/usr/lib/x86_64-linux-gnu/gbm/nvidia-drm_gbm.so' -> '../libnvidia-allocator.so.1'
[2024-08-30 09:23:16] Creating json 10_nvidia.json file
[2024-08-30 09:23:16] Creating json nvidia_icd.json file
[2024-08-30 09:23:16] 
[2024-08-30 09:23:16] [ /etc/cont-init.d/init-gamescope.sh: executing... ]
[2024-08-30 09:23:16] Launching the container's startup script as user 'retro'
[2024-08-30 09:23:16] [Sway] - Starting: `/usr/bin/firefox`
00:00:00.003 [ERROR] [sway/main.c:62] !!! Proprietary Nvidia drivers are in use !!!
00:00:00.022 [ERROR] [wlr] [EGL] command: eglQueryDmaBufModifiersEXT, error: EGL_BAD_PARAMETER (0x300c), message: "EGL_BAD_PARAMETER error: In eglQueryDmaBufModifiersEXT: Invalid format
"
00:00:00.022 [ERROR] [wlr] [render/egl.c:856] Failed to query dmabuf number of modifiers
00:00:00.022 [ERROR] [wlr] [EGL] command: eglQueryDmaBufModifiersEXT, error: EGL_BAD_PARAMETER (0x300c), message: "EGL_BAD_PARAMETER error: In eglQueryDmaBufModifiersEXT: Invalid format
"
00:00:00.022 [ERROR] [wlr] [render/egl.c:856] Failed to query dmabuf number of modifiers
src/nv_gbm.c:288: GBM-DRV error (nv_gbm_create_device_native): nv_common_gbm_create_device failed (ret=-1)

KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
00:00:00.305 [ERROR] [wlr] [render/allocator/gbm.c:117] gbm_bo_create failed
00:00:00.305 [ERROR] [wlr] [render/swapchain.c:110] Failed to allocate buffer
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
00:00:00.305 [ERROR] [wlr] [render/allocator/gbm.c:117] gbm_bo_create failed
00:00:00.305 [ERROR] [wlr] [render/swapchain.c:110] Failed to allocate buffer
00:00:00.305 [ERROR] [wlr] [types/output/swapchain.c:109] Swapchain for output 'WL-1' failed test
00:00:00.305 [ERROR] [sway/config/output.c:525] Failed to commit output WL-1
00:00:00.331 [ERROR] [sway/config.c:694] Error on line 'workspace main; exec /usr/bin/firefox && killall sway': Can't run this command while there's no outputs connected.
dbus-daemon[130]: [session uid=1000 pid=130] Activating service name='org.freedesktop.systemd1' requested by ':1.0' (uid=1000 pid=139 comm="systemctl --user import-environment DISPLAY WAYLAN" label="docker-default (enforce)")
dbus-daemon[130]: [session uid=1000 pid=130] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
Failed to import environment: Process org.freedesktop.systemd1 exited with status 1
dbus-daemon[130]: [session uid=1000 pid=130] Activating service name='org.a11y.Bus' requested by ':1.3' (uid=1000 pid=136 comm="waybar -b bar-0" label="docker-default (enforce)")
dbus-daemon[130]: [session uid=1000 pid=130] Successfully activated service 'org.a11y.Bus'
[2024-08-30 09:23:17.169] [info] Using configuration file /home/retro/.config/waybar/config.jsonc
dbus-daemon[130]: [session uid=1000 pid=130] Activating service name='org.freedesktop.portal.Desktop' requested by ':1.2' (uid=1000 pid=136 comm="waybar -b bar-0" label="docker-default (enforce)")
dbus-daemon[130]: [session uid=1000 pid=130] Activating service name='org.freedesktop.portal.Documents' requested by ':1.5' (uid=1000 pid=160 comm="/usr/libexec/xdg-desktop-portal" label="docker-default (enforce)")
dbus-daemon[130]: [session uid=1000 pid=130] Activating service name='org.freedesktop.impl.portal.PermissionStore' requested by ':1.6' (uid=1000 pid=166 comm="/usr/libexec/xdg-document-portal" label="docker-default (enforce)")
dbus-daemon[130]: [session uid=1000 pid=130] Successfully activated service 'org.freedesktop.impl.portal.PermissionStore'
dbus-daemon[130]: [session uid=1000 pid=130] Successfully activated service 'org.freedesktop.portal.Documents'
fusermount3: fuse device not found, try 'modprobe fuse' first
error: fuse init failed: Can't mount path /tmp/sockets/doc
dbus-daemon[130]: [session uid=1000 pid=130] Activating service name='org.freedesktop.impl.portal.desktop.gtk' requested by ':1.5' (uid=1000 pid=160 comm="/usr/libexec/xdg-desktop-portal" label="docker-default (enforce)")
dbus-daemon[158]: Activating service name='org.a11y.atspi.Registry' requested by ':1.1' (uid=1000 pid=181 comm="/usr/libexec/xdg-desktop-portal-gtk" label="docker-default (enforce)")

(xdg-desktop-portal-gtk:181): xdg-desktop-portal-gtk-WARNING **: 09:23:17.270: error: Could not connect: No such file or directory

dbus-daemon[158]: Successfully activated service 'org.a11y.atspi.Registry'
SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry
dbus-daemon[130]: [session uid=1000 pid=130] Successfully activated service 'org.freedesktop.impl.portal.desktop.gtk'

(/usr/libexec/xdg-desktop-portal:160): xdg-desktop-portal-WARNING **: 09:23:17.284: Failed to create RealtimeKit proxy: Could not connect: No such file or directory
[W][20759.916071] pw.conf      | [          conf.c: 1031 try_load_conf()] can't load config client.conf: No such file or directory
[E][20759.916081] pw.conf      | [          conf.c: 1060 pw_conf_load_conf_for_context()] can't load config client.conf: No such file or directory

(/usr/libexec/xdg-desktop-portal:160): xdg-desktop-portal-WARNING **: 09:23:17.295: Failed connect to PipeWire: Couldn't create PipeWire context
dbus-daemon[130]: [session uid=1000 pid=130] Successfully activated service 'org.freedesktop.portal.Desktop'
[2024-08-30 09:23:17.303] [info] Using CSS file /home/retro/.config/waybar/style.css
Originally created by @lyj0309 on GitHub (Aug 30, 2024). Original GitHub issue: https://github.com/games-on-whales/wolf/issues/107 when i start a container eg `firefox` or `steam` the there is no display in screen, just black ```sh nvidia-smi Fri Aug 30 16:21:04 2024 +-----------------------------------------------------------------------------------------+ | NVIDIA-SMI 550.107.02 Driver Version: 550.107.02 CUDA Version: 12.4 | |-----------------------------------------+------------------------+----------------------+ | 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 4090 D Off | 00000000:02:00.0 Off | Off | | 37% 57C P2 60W / 425W | 7064MiB / 24564MiB | 5% Default | | | | N/A | +-----------------------------------------+------------------------+----------------------+ | 1 NVIDIA GeForce RTX 4090 D Off | 00000000:82:00.0 Off | Off | | 33% 55C P2 67W / 425W | 6277MiB / 24564MiB | 0% Default | | | | N/A | +-----------------------------------------+------------------------+----------------------+ 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 ``` wolf logs ```sh 08:17:11.914621393 INFO | RTP server started on port: 48200 08:17:11.914628023 INFO | RTP server started on port: 48100 08:17:12.006325936 WARN | Nvidia DRM is not loaded with the flag modeset=1 Please read the docs at https://games-on-whales.github.io/wolf/stable/user/quickstart.html 08:17:12.035325162 INFO | NVIDIA_DRIVER_VOLUME_NAME not set, assuming nvidia driver toolkit is installed.. 1:37:24.335055637 1 0x7f8740000e20 WARN cudaconvertscale gstcudaconvertscale.c:1396:gst_cuda_base_convert_set_info:<cudaconvertscale7> Can't calculate borders 1:37:24.335195142 1 0x7f8740000e20 WARN cudaconverter gstcudaconverter.c:2104:gst_cuda_converter_setup:<cudaconverter4> Couldn't compile to cubin, trying ptx 1:37:24.426632118 1 0x7f86f4d5b5e0 WARN appsrc gstappsrc.c:2469:gst_app_src_push_internal:<wolf_wayland_source> Dropping old item buffer: 0x7f8708569420, pts 0:00:00.066666664, dts 0:00:00.066666664, dur 0:00:00.016666666, size 3686400, offset none, offset_end none, flags 0x0 08:17:13.777711534 INFO | [DOCKER] Starting container: /WolfSteam_16920338566807001700 [2024-08-30 09:22:55] [2024-08-30 09:22:55] [ /etc/cont-init.d/10-setup_user.sh: executing... ] [2024-08-30 09:22:55] **** Configure default user **** [2024-08-30 09:22:55] Container running as root. Nothing to do. [2024-08-30 09:22:55] DONE [2024-08-30 09:22:55] [2024-08-30 09:22:55] [ /etc/cont-init.d/15-setup_devices.sh: executing... ] [2024-08-30 09:22:55] **** Configure devices **** [2024-08-30 09:22:55] Exec device groups [2024-08-30 09:22:56] Adding user 'root' to groups: gow-gid-107,root [2024-08-30 09:22:56] DONE [2024-08-30 09:22:56] [2024-08-30 09:22:56] [ /etc/cont-init.d/30-nvidia.sh: executing... ] [2024-08-30 09:22:56] Nvidia driver detected, assuming it's using the nvidia driver volume /sbin/ldconfig.real: /usr/local/lib/liblibgstwaylanddisplay.so.0.3 is not a symbolic link [2024-08-30 09:22:56] [2024-08-30 09:22:56] [ /etc/cont-init.d/init-gamescope.sh: executing... ] [2024-08-30 09:22:56] Launching the container's startup script as user 'root' Stack trace (most recent call first): #0 0x000056356aabde26 in shutdown_handler(int) at /wolf/src/moonlight-server/./exceptions/exceptions.h:69:5 #1 0x00007f87aa29331f at /lib/x86_64-linux-gnu/libc.so.6 #2 0x00007f874ea34185 at /lib/x86_64-linux-gnu/libnvidia-eglcore.so.550.107.02 #3 0x00007f87ad2530e0 at /usr/local/lib/liblibgstwaylanddisplay.so.0.3 #4 0x00007f87ad155ce7 at /usr/local/lib/liblibgstwaylanddisplay.so.0.3 #5 0x00007f87ad1a8102 at /usr/local/lib/liblibgstwaylanddisplay.so.0.3 #6 0x00007f87ad1969e7 at /usr/local/lib/liblibgstwaylanddisplay.so.0.3 #7 0x00007f87ad15ab47 at /usr/local/lib/liblibgstwaylanddisplay.so.0.3 #8 0x00007f87ad116ccf at /usr/local/lib/liblibgstwaylanddisplay.so.0.3 #9 0x00007f87ad11aa7d at /usr/local/lib/liblibgstwaylanddisplay.so.0.3 #10 0x00007f87ad31274a at /usr/local/lib/liblibgstwaylanddisplay.so.0.3 #11 0x00007f87aa2eaa93 at /lib/x86_64-linux-gnu/libc.so.6 #12 0x00007f87aa377a33 at /lib/x86_64-linux-gnu/libc.so.6 08:22:57.025274103 INFO | Gstreamer version: 1.25.0-1 08:22:57.032167178 INFO | Reading config file from: /etc/wolf/cfg/config.toml 0:00:00.144669361 1 0x55ce85e6c960 WARN cudanvrtc gstcudanvrtc.cpp:177:gst_cuda_nvrtc_load_library_once: Failed to load 'nvrtcGetCUBINSize', 'nvrtcGetCUBINSize': /usr/local/nvidia/lib/libnvrtc.so: undefined symbol: nvrtcGetCUBINSize 08:22:59.907399265 INFO | Using H264 encoder: nvcodec 08:22:59.908660590 INFO | Using HEVC encoder: nvcodec 08:22:59.908995528 INFO | Using AV1 encoder: nvcodec 08:22:59.937546167 INFO | RTSP server started on port: 48010 08:22:59.937875952 INFO | Control server started on port: 47999 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.) 08:22:59.938279884 WARN | [PULSE] Unable to connect, Access denied 08:22:59.938575069 INFO | Starting PulseAudio docker container 08:22:59.938592699 INFO | HTTP server listening on port: 47989 08:22:59.940873289 WARN | [DOCKER] Container WolfPulseAudio already present, removing first 08:22:59.941187763 INFO | HTTPS server listening on port: 47984 08:23:00.440584795 WARN | Unable to get mac address of ip address: 100.101.151.4, you can override this by settings the env variables WOLF_INTERNAL_MAC or WOLF_INTERNAL_IP 08:23:00.605836484 WARN | Unable to get mac address of ip address: 100.101.151.4, you can override this by settings the env variables WOLF_INTERNAL_MAC or WOLF_INTERNAL_IP 08:23:03.794760309 WARN | Unable to get mac address of ip address: 100.101.151.4, you can override this by settings the env variables WOLF_INTERNAL_MAC or WOLF_INTERNAL_IP 08:23:03.891919760 WARN | Unable to get mac address of ip address: 100.101.151.4, you can override this by settings the env variables WOLF_INTERNAL_MAC or WOLF_INTERNAL_IP 08:23:06.971596885 WARN | Unable to get mac address of ip address: 100.101.151.4, you can override this by settings the env variables WOLF_INTERNAL_MAC or WOLF_INTERNAL_IP 08:23:07.083878481 WARN | Unable to get mac address of ip address: 100.101.151.4, you can override this by settings the env variables WOLF_INTERNAL_MAC or WOLF_INTERNAL_IP 08:23:10.159973575 WARN | Unable to get mac address of ip address: 100.101.151.4, you can override this by settings the env variables WOLF_INTERNAL_MAC or WOLF_INTERNAL_IP 08:23:10.258621145 WARN | Unable to get mac address of ip address: 100.101.151.4, you can override this by settings the env variables WOLF_INTERNAL_MAC or WOLF_INTERNAL_IP 08:23:13.341602051 WARN | Unable to get mac address of ip address: 100.101.151.4, you can override this by settings the env variables WOLF_INTERNAL_MAC or WOLF_INTERNAL_IP 08:23:13.442440591 WARN | Unable to get mac address of ip address: 100.101.151.4, you can override this by settings the env variables WOLF_INTERNAL_MAC or WOLF_INTERNAL_IP 08:23:15.728240687 INFO | RTP server started on port: 48100 08:23:15.728267396 INFO | RTP server started on port: 48200 08:23:15.813228845 WARN | Nvidia DRM is not loaded with the flag modeset=1 Please read the docs at https://games-on-whales.github.io/wolf/stable/user/quickstart.html 08:23:15.832500000 INFO | NVIDIA_DRIVER_VOLUME_NAME not set, assuming nvidia driver toolkit is installed.. 0:00:19.466494009 1 0x7fe630000e20 WARN cudaconvertscale gstcudaconvertscale.c:1396:gst_cuda_base_convert_set_info:<cudaconvertscale3> Can't calculate borders 0:00:19.466651140 1 0x7fe630000e20 WARN cudaconverter gstcudaconverter.c:2104:gst_cuda_converter_setup:<cudaconverter0> Couldn't compile to cubin, trying ptx 08:23:16.521726577 INFO | [DOCKER] Starting container: /WolfFirefox_16920338566807001700 0:00:19.624060671 1 0x7fe63401a4f0 WARN appsrc gstappsrc.c:2469:gst_app_src_push_internal:<wolf_wayland_source> Dropping old item buffer: 0x7fe648679d00, pts 0:00:00.066666664, dts 0:00:00.066666664, dur 0:00:00.016666666, size 3686400, offset none, offset_end none, flags 0x0 ``` container log ```sh [2024-08-30 09:23:16] [2024-08-30 09:23:16] [ /etc/cont-init.d/10-setup_user.sh: executing... ] [2024-08-30 09:23:16] **** Configure default user **** [2024-08-30 09:23:16] Setting default user uid=1000(retro) gid=1000(retro) userdel: ubuntu mail spool (/var/mail/ubuntu) not found useradd: warning: the home directory /home/retro already exists. useradd: Not copying any file from skel directory into it. [2024-08-30 09:23:16] Setting umask to 000 [2024-08-30 09:23:16] Ensure retro home directory is writable [2024-08-30 09:23:16] Ensure XDG_RUNTIME_DIR is writable [2024-08-30 09:23:16] DONE [2024-08-30 09:23:16] [2024-08-30 09:23:16] [ /etc/cont-init.d/15-setup_devices.sh: executing... ] [2024-08-30 09:23:16] **** Configure devices **** [2024-08-30 09:23:16] Exec device groups [2024-08-30 09:23:16] Path '/dev/input/*' is not present. [2024-08-30 09:23:16] Adding user 'retro' to groups: gow-gid-109,video,root [2024-08-30 09:23:16] DONE [2024-08-30 09:23:16] [2024-08-30 09:23:16] [ /etc/cont-init.d/30-nvidia.sh: executing... ] [2024-08-30 09:23:16] Nvidia driver detected, assuming it's using the nvidia driver volume [2024-08-30 09:23:16] Creating symlink to nvidia-drm_gbm.so '/usr/lib/x86_64-linux-gnu/gbm/nvidia-drm_gbm.so' -> '../libnvidia-allocator.so.1' [2024-08-30 09:23:16] Creating json 10_nvidia.json file [2024-08-30 09:23:16] Creating json nvidia_icd.json file [2024-08-30 09:23:16] [2024-08-30 09:23:16] [ /etc/cont-init.d/init-gamescope.sh: executing... ] [2024-08-30 09:23:16] Launching the container's startup script as user 'retro' [2024-08-30 09:23:16] [Sway] - Starting: `/usr/bin/firefox` 00:00:00.003 [ERROR] [sway/main.c:62] !!! Proprietary Nvidia drivers are in use !!! 00:00:00.022 [ERROR] [wlr] [EGL] command: eglQueryDmaBufModifiersEXT, error: EGL_BAD_PARAMETER (0x300c), message: "EGL_BAD_PARAMETER error: In eglQueryDmaBufModifiersEXT: Invalid format " 00:00:00.022 [ERROR] [wlr] [render/egl.c:856] Failed to query dmabuf number of modifiers 00:00:00.022 [ERROR] [wlr] [EGL] command: eglQueryDmaBufModifiersEXT, error: EGL_BAD_PARAMETER (0x300c), message: "EGL_BAD_PARAMETER error: In eglQueryDmaBufModifiersEXT: Invalid format " 00:00:00.022 [ERROR] [wlr] [render/egl.c:856] Failed to query dmabuf number of modifiers src/nv_gbm.c:288: GBM-DRV error (nv_gbm_create_device_native): nv_common_gbm_create_device failed (ret=-1) KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied 00:00:00.305 [ERROR] [wlr] [render/allocator/gbm.c:117] gbm_bo_create failed 00:00:00.305 [ERROR] [wlr] [render/swapchain.c:110] Failed to allocate buffer KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied 00:00:00.305 [ERROR] [wlr] [render/allocator/gbm.c:117] gbm_bo_create failed 00:00:00.305 [ERROR] [wlr] [render/swapchain.c:110] Failed to allocate buffer 00:00:00.305 [ERROR] [wlr] [types/output/swapchain.c:109] Swapchain for output 'WL-1' failed test 00:00:00.305 [ERROR] [sway/config/output.c:525] Failed to commit output WL-1 00:00:00.331 [ERROR] [sway/config.c:694] Error on line 'workspace main; exec /usr/bin/firefox && killall sway': Can't run this command while there's no outputs connected. dbus-daemon[130]: [session uid=1000 pid=130] Activating service name='org.freedesktop.systemd1' requested by ':1.0' (uid=1000 pid=139 comm="systemctl --user import-environment DISPLAY WAYLAN" label="docker-default (enforce)") dbus-daemon[130]: [session uid=1000 pid=130] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1 Failed to import environment: Process org.freedesktop.systemd1 exited with status 1 dbus-daemon[130]: [session uid=1000 pid=130] Activating service name='org.a11y.Bus' requested by ':1.3' (uid=1000 pid=136 comm="waybar -b bar-0" label="docker-default (enforce)") dbus-daemon[130]: [session uid=1000 pid=130] Successfully activated service 'org.a11y.Bus' [2024-08-30 09:23:17.169] [info] Using configuration file /home/retro/.config/waybar/config.jsonc dbus-daemon[130]: [session uid=1000 pid=130] Activating service name='org.freedesktop.portal.Desktop' requested by ':1.2' (uid=1000 pid=136 comm="waybar -b bar-0" label="docker-default (enforce)") dbus-daemon[130]: [session uid=1000 pid=130] Activating service name='org.freedesktop.portal.Documents' requested by ':1.5' (uid=1000 pid=160 comm="/usr/libexec/xdg-desktop-portal" label="docker-default (enforce)") dbus-daemon[130]: [session uid=1000 pid=130] Activating service name='org.freedesktop.impl.portal.PermissionStore' requested by ':1.6' (uid=1000 pid=166 comm="/usr/libexec/xdg-document-portal" label="docker-default (enforce)") dbus-daemon[130]: [session uid=1000 pid=130] Successfully activated service 'org.freedesktop.impl.portal.PermissionStore' dbus-daemon[130]: [session uid=1000 pid=130] Successfully activated service 'org.freedesktop.portal.Documents' fusermount3: fuse device not found, try 'modprobe fuse' first error: fuse init failed: Can't mount path /tmp/sockets/doc dbus-daemon[130]: [session uid=1000 pid=130] Activating service name='org.freedesktop.impl.portal.desktop.gtk' requested by ':1.5' (uid=1000 pid=160 comm="/usr/libexec/xdg-desktop-portal" label="docker-default (enforce)") dbus-daemon[158]: Activating service name='org.a11y.atspi.Registry' requested by ':1.1' (uid=1000 pid=181 comm="/usr/libexec/xdg-desktop-portal-gtk" label="docker-default (enforce)") (xdg-desktop-portal-gtk:181): xdg-desktop-portal-gtk-WARNING **: 09:23:17.270: error: Could not connect: No such file or directory dbus-daemon[158]: Successfully activated service 'org.a11y.atspi.Registry' SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry dbus-daemon[130]: [session uid=1000 pid=130] Successfully activated service 'org.freedesktop.impl.portal.desktop.gtk' (/usr/libexec/xdg-desktop-portal:160): xdg-desktop-portal-WARNING **: 09:23:17.284: Failed to create RealtimeKit proxy: Could not connect: No such file or directory [W][20759.916071] pw.conf | [ conf.c: 1031 try_load_conf()] can't load config client.conf: No such file or directory [E][20759.916081] pw.conf | [ conf.c: 1060 pw_conf_load_conf_for_context()] can't load config client.conf: No such file or directory (/usr/libexec/xdg-desktop-portal:160): xdg-desktop-portal-WARNING **: 09:23:17.295: Failed connect to PipeWire: Couldn't create PipeWire context dbus-daemon[130]: [session uid=1000 pid=130] Successfully activated service 'org.freedesktop.portal.Desktop' [2024-08-30 09:23:17.303] [info] Using CSS file /home/retro/.config/waybar/style.css ```
Author
Owner

@salty2011 commented on GitHub (Aug 30, 2024):

Hi @lyj0309

Taking a look at the logs, you do not have the nvidia drm module loaded.

08:17:11.914621393 INFO  | RTP server started on port: 48200
08:17:11.914628023 INFO  | RTP server started on port: 48100
08:17:12.006325936 WARN  | Nvidia DRM is not loaded with the flag modeset=1 

On the quickstart guide I noticed the instructions for the container toolkit don't mention the steps below but they are still needed (will get that updated) https://games-on-whales.github.io/wolf/stable/user/quickstart.html

image

Also while looking at the logs I also noticed these errors

fusermount3: fuse device not found, try 'modprobe fuse' first
error: fuse init failed: Can't mount path /tmp/sockets/doc

there are few things mounted from the host into the Wolf container, you may also want to check the docker containers are running as a user that has permissions to /tmp/sockets

    environment:
      - XDG_RUNTIME_DIR=/tmp/sockets
    volumes:
      - /tmp/sockets:/tmp/sockets:rw
<!-- gh-comment-id:2320728335 --> @salty2011 commented on GitHub (Aug 30, 2024): Hi @lyj0309 Taking a look at the logs, you do not have the nvidia drm module loaded. ``` 08:17:11.914621393 INFO | RTP server started on port: 48200 08:17:11.914628023 INFO | RTP server started on port: 48100 08:17:12.006325936 WARN | Nvidia DRM is not loaded with the flag modeset=1 ``` On the quickstart guide I noticed the instructions for the container toolkit don't mention the steps below but they are still needed (will get that updated) https://games-on-whales.github.io/wolf/stable/user/quickstart.html ![image](https://github.com/user-attachments/assets/374c0e94-274f-4cce-aeda-dc11cf6a4d74) Also while looking at the logs I also noticed these errors ``` fusermount3: fuse device not found, try 'modprobe fuse' first error: fuse init failed: Can't mount path /tmp/sockets/doc ``` there are few things mounted from the host into the Wolf container, you may also want to check the docker containers are running as a user that has permissions to /tmp/sockets ``` environment: - XDG_RUNTIME_DIR=/tmp/sockets volumes: - /tmp/sockets:/tmp/sockets:rw ```
Author
Owner

@lyj0309 commented on GitHub (Sep 2, 2024):

after install nvidia drm, it works, thanks.

<!-- gh-comment-id:2323714061 --> @lyj0309 commented on GitHub (Sep 2, 2024): after install nvidia drm, it works, thanks.
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#72
No description provided.