Skip to content
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

[HELP (Not Launching/ Crashing)] Error - Error can't run zwift, check variables! #185

Open
5 tasks done
cotsy1 opened this issue Jan 7, 2025 · 1 comment
Open
5 tasks done

Comments

@cotsy1
Copy link

cotsy1 commented Jan 7, 2025

Checklist

  • I have given details of my install including Distribution, Wayland/ XOrg, Parameters Used, echo $XAUTHORITY, etc.
  • I have provided logs showing any errors, if available (use DEBUG=1 zwift)
  • I have filled out the issue template to the best of my ability.
  • This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
  • This issue is not a duplicate issue of previous issue.

Describe the issue

I have tried following the steps to install but I am getting the following error:

You are running latest zwift.sh 👏
latest: Pulling from netbrain/zwift
Digest: sha256:e1260aa308e962d753354d47ba178eb37129603d753dcaaa759face16df04997
Status: Image is up to date for netbrain/zwift:latest
docker.io/netbrain/zwift:latest
docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error running hook #0: error running hook: exit status 1, stdout: , stderr: Auto-detected mode as 'legacy'
nvidia-container-cli: initialization error: load library failed: libnvidia-ml.so.1: cannot open shared object file: no such file or directory: unknown.
Error - Error can't run zwift, check variables!

My Docker appears to be working


Hello from Docker!
This message shows that your installation appears to be working correctly.

To generate this message, Docker took the following steps:
 1. The Docker client contacted the Docker daemon.
 2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
	(amd64)
 3. The Docker daemon created a new container from that image which runs the
	executable that produces the output you are currently reading.
 4. The Docker daemon streamed that output to the Docker client, which sent it
	to your terminal.

To try something more ambitious, you can run an Ubuntu container with:
 $ docker run -it ubuntu bash

Share images, automate workflows, and more with a free Docker ID:
 https://hub.docker.com/

For more examples and ideas, visit:
 https://docs.docker.com/get-started/

And I have the Nvidia toolkit installed

~$ sudo apt-get install -y nvidia-container-toolkit
Reading package lists... Done
Building dependency tree  	 
Reading state information... Done
nvidia-container-toolkit is already the newest version (1.17.3-1).
0 to upgrade, 0 to newly install, 0 to remove and 1 not to upgrade.

Any help would be greatly appreciated and sorry it it's already asked or the wrong place to ask. I am new with user Docker image.

Distribution Details

HV Envy laptop with NVIDIA 535 driver installed.
Zorin OS 16.3
X11

Reproduction steps

This will install zwift.sh into /usr/local/bin
Press enter to continue
callum@callum-HP-ENVY-Laptop-13-aq1xxx:~$ zwift
You are running latest zwift.sh 👏
latest: Pulling from netbrain/zwift
Digest: sha256:e1260aa308e962d753354d47ba178eb37129603d753dcaaa759face16df04997
Status: Image is up to date for netbrain/zwift:latest
docker.io/netbrain/zwift:latest
docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error running hook #0: error running hook: exit status 1, stdout: , stderr: Auto-detected mode as 'legacy'
nvidia-container-cli: initialization error: load library failed: libnvidia-ml.so.1: cannot open shared object file: no such file or directory: unknown.
Error - Error can't run zwift, check variables!
@netbrain
Copy link
Owner

netbrain commented Jan 7, 2025

From the error message it's seems to be an issue either with your Nvidia drivers (less likely) or the Nvidia container toolkit (more likely).

Try running nvidia-smi within a container to see if it even detects the Nvidia card (lookup previous issues for guidance on this) and if so see if you can run glxgears within a container (also search issues for details on this)

Good luck 🤞

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants