YuvalNirkin / face_swap

End-to-end, automatic face swapping pipeline
GNU General Public License v3.0
827 stars 203 forks source link

QOpenGLContext create causes segmentation fault on linux #20

Closed chrischen closed 6 years ago

chrischen commented 6 years ago

Line 122 of face_swap_image.cpp:

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

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

YuvalNirkin commented 6 years ago

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.