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

[pyglet requires an X server with GLX] #384

Closed
raopku opened this issue Oct 20, 2016 · 6 comments
Closed

[pyglet requires an X server with GLX] #384

raopku opened this issue Oct 20, 2016 · 6 comments

Comments

@raopku
Copy link

raopku commented Oct 20, 2016

install exactly according to the instructions in github
but raise the problem [pyglet requires an X server with GLX]

i see many people have the same problem , but none of the solution is suitable.

can you give some solutions?

@tlbtlbtlb
Copy link
Contributor

What operating system are you using? Which solutions have you tried, and how did they fail?

@tlbtlbtlb
Copy link
Contributor

Closed, but please reopen if you have more details.

@LinZichuan
Copy link

Hello @tlbtlbtlb , I met this problem too. I use Ubuntu 14.04 LTS. And I create a fake display use xvfb-run -s "-screen 0 1400x900x24" bash, however when I use env.render() it come out with an error. (pyglet.gl.glx_info.GLXInfoException: pyglet requires an X server with GLX)
I don't know how to fix up it.

@DavidSanwald
Copy link

DavidSanwald commented Nov 22, 2016

@LinZichuan
Most probably you're problems will be solved if you install your NVIDIA drivers witth the --no-opengl-files option and CUDA with the --no-opengl-libs option. pemami4911's comment on #366 finally pointed me into this direction. This solved it for me.
I used Ubuntu 16.04 but I think it'll work on 14.04 also. Just in case I wrote down what worked out for me step by step here.

@aseembits93
Copy link

@DavidSanwald Even I'm having the same issue. but reinstalling nvidia drivers is not an option for me as I don't have sudo access to the server. Is there any other solution to the problem?

@shubhamjain0594
Copy link

@DavidSanwald same problem as @aseembits93 . Can't reinstall nvidia-drivers. Is there any other way?

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

6 participants