fsleyes-The error was 'GLXBadCurrentWindow'

這幾天想要用fsleyes來看mri影像,fsleyes打開的那瞬間卻馬上消失並且出現以下錯誤:

The program 'fsleyes' received an X Window System error.
This probably reflects a bug in the program.
The error was 'GLXBadCurrentWindow'.
  (Details: serial 6740 error_code 159 request_code 149 minor_code 5)
  (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.)

找了很多天確認是否是OpenGL的問題,也安裝了很多有的沒有的packages
最後在fsleyes官網發現打開Xlaunch的時候一定要deselect Native OpenGL 
真的要注意看 = ="


Running WSL GUI Apps on Windows 10

留言