YuvalNirkin/face_swap

QOpenGLContext create causes segmentation fault on linux

chrischen opened this issue · 1 comments

Line 122 of face_swap_image.cpp:

        QOpenGLContext openGLContext;
        openGLContext.setFormat(surfaceFormat);
        openGLContext.create();

openGLContext.create() segmentation fault on Linux - Ubuntu 16.04.

Make sure that it is possible to get a valid OpenGL context on your system.
If you are running on a server then it might not be available.