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

run DocCreatorDegradator on display-less Linux Server #8

Open
ponzioPJ opened this issue Feb 11, 2020 · 3 comments
Open

run DocCreatorDegradator on display-less Linux Server #8

ponzioPJ opened this issue Feb 11, 2020 · 3 comments

Comments

@ponzioPJ
Copy link

Hi,

I try to run DocCreatorDegradator on display-less Linux Server. How can I do it? The 3D model uses QOpenGLWidget.

@BorisMansencal
Copy link
Contributor

Hi,
Indeed, currently the 3D degradation model does not work on a display-less linux server.

What would be the server configuration you would like to run DocCreatorDegradator on ? Which linux distribution ? Does it have a GPU ?

It seems that we could provide software OpenGL rendering (using OSMesa).
For hardware OpenGL rendering, it seems that we need EGL that currently only runs with Nvidia hardware.

@ponzioPJ
Copy link
Author

Thank you very much.
My server has Nvidia cards. So I use EGL and it works.

@BorisMansencal
Copy link
Contributor

Hi,
I have added OpenGL offscreeen rendering through OSMesa and GLFW in the Distortion3D branch. If you install OSMesa and configure DocCreator cmake with -DBUILD_WITH_OSMESA=ON (see README.md), you should be able to use the 3D degradation model on a display-less linux server.

Let me know how it goes.

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