-
Notifications
You must be signed in to change notification settings - Fork 204
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
X Error of failed request: GLXBadContext #50
Comments
Hi @huan , great to meet you here! Long time no see :) I had the same issue as you mentioned. My solution is:
# Setup the stable repository and the GPG key
distribution=$(. /etc/os-release;echo $ID$VERSION_ID) \
&& curl -s -L https://nvidia.github.io/nvidia-docker/gpgkey | sudo apt-key add - \
&& curl -s -L https://nvidia.github.io/nvidia-docker/$distribution/nvidia-docker.list | sudo tee /etc/apt/sources.list.d/nvidia-docker.list
# Install the nvidia-docker2
sudo apt-get update
sudo apt-get install -y nvidia-docker2
# Restart the docker service
sudo systemctl restart docker This can save us some time in tuning the extra arguments when executing
Hopefully it helps. Cheers! Ref: |
Thank you very much for proposing a solution! I'll try it out when I got time, appreciate it. |
This works for me, thanks! |
Good Job .. |
@gluckzhang Hi, thanks for your answer but I got the error as following:
Do you know how to solve it? |
Hi @HRHLALALA , I just read your message. It seems that the toolkit failed to mount the NVIDIA-related files/devices. Have you tried |
but still run into error
|
Docker compose version: wechat:
container_name: wechat
image: zixia/wechat
privileged: true
stdin_open: true
ipc: host
environment:
- XMODIFIERS=@im=fcitx
- GTK_IM_MODULE=fcitx
- QT_IM_MODULE=fcitx
- GID=1000
- UID=1000
- DISPLAY
- NVIDIA_DRIVER_CAPABILITIES=all
volumes:
- "./wechat/appdata:/home/user/.wine/drive_c/users/user/Application Data/"
- "./wechat/files:/home/user/WeChat Files/"
- "/tmp/.X11-unix:/tmp/.X11-unix"
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 1
capabilities: [gpu] |
zixia/wechat:2.9.0.114
Maybe it's related to #29
Links
The text was updated successfully, but these errors were encountered: