Skip to content
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

Could not initialize SDL video: #17

Open
Throne-myworld opened this issue Nov 22, 2021 · 1 comment
Open

Could not initialize SDL video: #17

Throne-myworld opened this issue Nov 22, 2021 · 1 comment

Comments

@Throne-myworld
Copy link

I tried to run it on linux(the wsl) but things turned to be complex:
Traceback (most recent call last):
File "arnold.py", line 24, in
parse_game_args(remaining + ['--dump_path', dump_path])
File "/mnt/d/yuan/Arnold-master/src/args.py", line 114, in parse_game_args
module.main(parser, args)
File "/mnt/d/yuan/Arnold-master/src/doom/scenarios/defend_the_center.py", line 90, in main
evaluate_defend_the_center(game, network, params)
File "/mnt/d/yuan/Arnold-master/src/doom/scenarios/defend_the_center.py", line 107, in evaluate_defend_the_center
game.start(map_id=map_id, episode_time=params.episode_time, log_events=True)
File "/mnt/d/yuan/Arnold-master/src/doom/game.py", line 491, in start
self.game.init()
vizdoom.vizdoom.ViZDoomErrorException: Could not initialize SDL video:
No available video device

@ishwarinalgirkar
Copy link

Your WSL does not have its graphics enabled, you will have to allow your wsl to export display to windows and install an x server on windows

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants