LoginSignup
0
0

More than 3 years have passed since last update.

MacでSSH Forwardingを使ってOpenAI gymを動かしたときのエラー

Posted at

環境

MacではXQuartzが動いているとする。
LinuxサーバーでOpenAI gymを動かして遊ぼうとする。

問題

pyglet.gl.ContextException: Could not create GL context

みたいなエラーが出て、画面がMacに表示されない

原因

MacのXQuartzでOpenGLが有効化してないかららしい。

解決法

$ defaults write org.macosforge.xquartz.X11 enable_iglx -bool true

を実行。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0