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

OpenGL error on nvidia #45

Closed
zemu-unile opened this issue Nov 29, 2023 · 1 comment
Closed

OpenGL error on nvidia #45

zemu-unile opened this issue Nov 29, 2023 · 1 comment

Comments

@zemu-unile
Copy link

Zwift did not open after running the zwift script. The container was properly running.

When manually starting Zwift inside the container, there was the following error:

libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
X Error of failed request: GLXBadContext

Changing VGA_DEVICE_FLAG="--gpus all" to VGA_DEVICE_FLAG="--device nvidia.com/gpu=all" did fix the issue for me. I suspect there were some changes in the nvidia-container-toolit. This fix might require generating a CDI specification as shown here https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/1.14.3/cdi-support.html.

nvidia-container-toolkit: 1.14.3
podman: 4.7.2

@netbrain
Copy link
Owner

netbrain commented Dec 5, 2023

might have been related to #44

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