-
Notifications
You must be signed in to change notification settings - Fork 437
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No sound on Windows and Linux #588
Comments
Hi @Doxo02, could you give some more details. |
Hi @pseudo-rnd-thoughts, yes I am referring to the human render mode. import gymnasium as gym
import ale_py
env = gym.make('ALE/Breakout-v5', render_mode="human") # remove render_mode in training
obs, info = env.reset()
episode_over = False
env.unwrapped.ale.setBool("sound", True)
while not episode_over:
action = env.action_space.sample()
obs, reward, terminated, truncated, info = env.step(action)
episode_over = terminated or truncated
env.close() |
I'll have a look this weekend on my windows and linux desktop to see if I can replicate the issue. My guess is that SDL2 or Pygame have a problem on those two OSes |
I had a look and I can't understand why it doesn't work. |
I've been trying around for a little bit now and can't seem to be getting any sound output on either Windows or Linux.
I did try it on an old MacBook where it worked but i can't figure out why it won't on other Platforms.
Has anyone else experienced this?
The text was updated successfully, but these errors were encountered: