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

Firefox + VirtualGL + TurboVNC inside of a nvidia-docker-container #2

Open
Brm-Bremen opened this issue Nov 3, 2017 · 1 comment
Open

Comments

@Brm-Bremen
Copy link

Hey,

i am working on a project somewhat similar.
I need to have a Webbrowser running inside of a docker-container that is accessible through VNC.
For it to not be superslow i think i need GL and the way to do that seems to be VirtualGL. I have installed a supported Nvidia-GPU in my system and installed nvidia-docker. "nvidia-smi" shows that the GPU is recognized by the container.

Unfortunately i wasn't yet able to virtualGL that working. VirtualGL always tells me:"Xlib: Extension "GLX" is mission on display ":0". Error: couldn't´t get a RGB, Double-buffered visual".
I think the problem lies somewhere in my config of either the Nvidia-driver or VirtualGL.

After looking into it i realized i don't even have a xorg.conf file. What should i write in there?

Someone wrote i should first check if the 3d-display works at all with this command: "/opt/VirtualGL/bin/glxinfo -display :0 -c". But it just can't see a display :0. Starting a VNCserver on :o it can obviously see that but that does not support GL as the point of this project is getting it in there.

I hope you can help me out a little or point me in the right direction.
It seems that there is not much information about this on the Internet.

Best Regards

Joscha Knobloch

@pigiuz
Copy link
Contributor

pigiuz commented Nov 3, 2017

Hi Joscha,
it's weird that you don't have a xorg.conf as it's created and saved to disk by the setup script https://github.com/plumbee/nvidia-hw-accelerated-box/blob/master/root_setup.sh#L14
However, I never tried this setup on AWS G2 instances not on physical boxes so the setup might differ a bit.

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