나의일 관련/Linux
MAC XQuartz GLX 오류 해결 기록
천연사이다
2019. 1. 22. 22:17
MAC XQuartz 를 이용하여 OpenGL 라이브러리 사용 시 오류가 발생하면
터미널을 열어서 [해결방법]을 실행 후 다시 ssh 연결
[해결 방법]
$ defaults write org.macosforge.xquartz.X11 enable_iglx -bool true
[오류 내용]
Gdk-ERROR **: The program '<PROGRAM>' received an X Window System error.
This probably reflects a bug in the program.
The error was '<SOME_ERROR>'.
(Details: serial <AA> error_code <B> request_code <CC> minor_code <D>)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)