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

failed to create symbolic (nvidia) #179

Closed
Gylfkxjyjdll opened this issue Jul 16, 2024 · 3 comments
Closed

failed to create symbolic (nvidia) #179

Gylfkxjyjdll opened this issue Jul 16, 2024 · 3 comments

Comments

@Gylfkxjyjdll
Copy link

Gylfkxjyjdll commented Jul 16, 2024

I installed GoW with the quickstart: https://games-on-whales.github.io/wolf/stable/user/quickstart.html

Everything worked so far, but asap i start up gow, I receive this error:

wolf-1  | [2024-07-16 16:11:35] [nvidia] Add Vulkan ICD
wolf-1  | [2024-07-16 16:11:35] [nvidia] Add EGL external platform
wolf-1  | [2024-07-16 16:11:35] [nvidia] Add egl-vendor
wolf-1  | [2024-07-16 16:11:35] [nvidia] Add gbm backend
wolf-1  | [2024-07-16 16:11:35] Nvidia driver detected, assuming it's using the nvidia driver volume
wolf-1  | /sbin/ldconfig.real: /usr/local/lib/liblibgstwaylanddisplay.so.0.2 is not a symbolic link
wolf-1  | 
wolf-1  | [2024-07-16 16:11:35] Creating symlink to nvidia-drm_gbm.so
wolf-1  | ln: failed to create symbolic link '/usr/lib/x86_64-linux-gnu/gbm/nvidia-drm_gbm.so': File exists

Hardware:
Nvidia 4060rtx with Debian 12 headless with Dummystick

@ABeltramo
Copy link
Member

wolf-1 | [2024-07-16 16:11:35] Creating symlink to nvidia-drm_gbm.so
wolf-1 | ln: failed to create symbolic link '/usr/lib/x86_64-linux-gnu/gbm/nvidia-drm_gbm.so': File exists`

The error here indicates that the driver files are already there; this is most likely because you've set the nvidia Docker runtime to be the default, so it'll mount those libraries from the host.
Unfortunately, the Nvidia container runtime toolkit is not yet able to add all the required libraries (there's a separate PR and upstream work going on)..

In the meantime, you have to avoid using the Nvidia runtime; can you try using --runtime=runc? I'll have to check what's the exact sintax, I'm on my phone right now.

ABeltramo added a commit to games-on-whales/wolf that referenced this issue Jul 16, 2024
Also, rebuild Wolf image in order to bring games-on-whales/gow#179
@ABeltramo
Copy link
Member

I've pushed a fix for this weird behaviour, you can check it out by updating Wolf using

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

and try running it again. Feel free to re-open if it doesn't work for you.

@Gylfkxjyjdll
Copy link
Author

Works. Thanks!

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