Farama-Foundation / Arcade-Learning-Environment

The Arcade Learning Environment (ALE) -- a platform for AI research.
GNU General Public License v2.0
2.1k stars 416 forks source link

Render window size too large and cannot be closed #500

Open moonmoondog opened 8 months ago

moonmoondog commented 8 months ago
import gym
env = gym.make('ALE/Assault-v5', render_mode='human')
state, info = env.reset()
for i in range(50): env.step(1)
env.reset()
env.close()

When the code above get executed, the rendering is normal. However, the popped up window has a much larger resolution than my screen and cannot be resized. In addition to that, after rendering, reset() and close() are called as suggested by the document. But the popped up window would not close similar to the following issue. https://github.com/Farama-Foundation/Arcade-Learning-Environment/issues/499 IPython platform needs to be closed to get rid of the window.

I have: ale-py 0.8.1 gym 0.26.2 IPython 8.16.1 OS Arch Linux

ale_rendering