-
-
Notifications
You must be signed in to change notification settings - Fork 47
Closed
Description
Was installing zwift on a new machine today, backed by the nouveau driver. And it failed to create the window:
$ DEBUG=1 zwift
$ docker run -d --rm --privileged --network bridge --name zwift-netbrain --security-opt label=disable --hostname netbox -e DISPLAY= -e ZWIFT_UID=1000 -e ZWIFT_GID=1000 -e PULSE_SERVER=/run/user/1000/pulse/native -v zwift-netbrain:/home/user/.wine/drive_c/users/user/Documents/Zwift -v /run/user/1000/pulse:/run/user/1000/pulse --env-file /home/netbrain/.config/zwift/config --device=/dev/dri:/dev/dri -e DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus -v /run/user/1000/bus:/run/user/1000/bus docker.io/netbrain/zwift:latest
----
....
01dc:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
01dc:err:winediag:nodrv_CreateWindow L"The explorer process failed to start."
However when adding the environment variable XDG_RUNTIME_DIR, WAYLAND_DISPLAY and mounting the wayland socket it seems to work again.
docker run -it --rm --privileged --network bridge --name zwift-netbrain --security-opt label=disable --hostname netbox -e DISPLAY= -e WAYLAND_DISPLAY=wayland-1 -v /run/user/1000/wayland-1:/run/user/1000/wayland-1 -e ZWIFT_UID=1000 -e ZWIFT_GID=1000 -e PULSE_SERVER=/run/user/1000/pulse/native -v zwift-netbrain:/home/user/.wine/drive_c/users/user/Documents/Zwift -v /run/user/1000/pulse:/run/user/1000/pulse --env-file /home/netbrain/.config/zwift/config --device=/dev/dri:/dev/dri -e DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus -v /run/user/1000/bus:/run/user/1000/bus -e XDG_RUNTIME_DIR=/var/run/user/1000 netbrain/zwift:latest
Can anyone else confirm the same behavior? @sHedC ?
Metadata
Metadata
Assignees
Labels
No labels