-
-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Zwift crashing at startup with "GameMode ERROR: Could not connect to bus:" #154
Comments
EDIT: nevermind. seems I linked to old code, xdg-screensaver has been replaced by gamemode. Maybe caused by the screensaver inhibitor?
Could you try to run the container interactively and change the Basically if you run
And then simply change the You will also have to add vim, or your favorite editor in the container, so execute and finally edit the Hope this helps. |
You could also just try removing |
I can only suspect that gamemode has some dbus integration that isn't working on your system, try removing the DBUS_SESSION_BUS_ADDRESS environment variables as mentioned. |
hey @netbrain . Thanks for the quick reply. I tried removing |
Maybe try to remove gamemode altogether? |
@netbrain I did try to remove gamemode and re-build the image with the
When I run the container ( I need to check what's up inside the container. I'll f/up here if I have more useful info. |
Just change the contents of the container interactively, no need to build. See my steps here |
Ah! Actually, if I run I tried with and without commenting out the relevant line in I wonder if the container in daemon mode dies just because
However, it looks like dbus is not working in general though, not just for
Might be something on my end. |
FWIW: I tried starting a dbus session inside the container, before running @netbrain many thanks for the help troubleshooting this. Do feel free to close the issue if you think it's not relevant (apologies for the noise, in case). |
@perrin4869 any idea what could be causing this issue? is it a one-off or is this an actual issue other can experience? |
sounds like
inside |
hey @perrin4869 .
On the host, I start dbus with systemd (both system and user sessions) and it seems to be working ok. I can access (read/write) the socket However, I can't connect from the There's no dbus (host) daemon crash before/while/after the docker container is running. |
Out of curiosity, could you try from podman? I personally don't use |
@perrin4869 I did a couple of tests with podman
Hurray! I tested dbus manually ( However,
The failure mode this time is different:
Sounds good. If connectivity is available, the (host) daemon should ack a ping:
Is GameMode the only component affected by lack of connectivity with the host? It's weird that this issue only manifests with docker though. I still wonder if there's something messed up with my host.
I'm not familiar with gamemode, but yeah. It'd be nice if the lack of dbus access would be handled gracefully. |
I second this. 👍😅 |
I never ran |
oh, just looking into @netbrain I think updating to the latest |
Checklist
DEBUG=1 zwift
)Describe the issue
When running a container (
latest
tag), Zwift will crash after briefly displaying a window with its logo. The process fails with the following error:Distribution Details
Runtime
CONTAINER_TOOL=docker
WINE_EXPERIMENTAL_WAYLAND=1
.echo $XAUTHORITY
returns/run/user/1000/.mutter-Xwaylandauth.4IZNS2
.Debug log
The following output has been generated by running
zwift
withDEBUG=1
:Reproduction steps
.local/bin/zwift
, with a config similar to the one described in NixOS zwift.nix configuration with home-manager #38CONTAINER_TOOL=docker WINE_EXPERIMENTAL_WAYLAND=1 .local/bin/zwift
The text was updated successfully, but these errors were encountered: