macOSから解析サーバにログインしてVisItを起動するとエラーが出て、動きません。

これを解決するにはどのようにすれば良いでしょうか?

以下のエラーが発生する場合にはXQuartzの設定を行う必要があります。

  libGL error: No matching fbConfigs or visuals found
  libGL error: failed to load driver: swrast
  X Error of failed request:  BadValue (integer parameter out of range for operation)
    Major opcode of failed request:  154 (GLX)
    Minor opcode of failed request:  3 (X_GLXCreateContext)
    Value in failed request:  0x0
    Serial number of failed request:  34
    Current serial number in output stream:  35
  Running: engine_ser2.10.0 -host 127.0.0.1 -port 5600
  libGL error: No matching fbConfigs or visuals found
  libGL error: failed to load driver: swrast
  X Error of failed request:  BadValue (integer parameter out of range for operation)
    Major opcode of failed request:  154 (GLX)
    Minor opcode of failed request:  3 (X_GLXCreateContext)
    Value in failed request:  0x0
    Serial number of failed request:  34
    Current serial number in output stream:  35

この問題の解決方法には以下の二種類があります。

  1. XQuartzのバージョンを2.7.10以降に更新する
  2. ターミナルから以下のコマンドを実行する
      defaults write org.macosforge.xquartz.X11 enable_iglx -bool true
    

(最終更新日 2024年以前)