ugo-nama-kun / gym_torcs

MIT License
408 stars 163 forks source link

ALSA error when running snakeoil3_gym.py #68

Open wjh601 opened 1 year ago

wjh601 commented 1 year ago

I have installed gym_torcs and opened TORCS server. But the server is closed with error messages after I run

$ python snakeoil3_gym.py

Error message is

$ torcs -vision

Image generation is ON!
Visual Properties Report
------------------------
Compatibility mode, properties unknown.
Waiting for request on port 3101
ALSA lib pcm_dmix.c:1052:(snd_pcm_dmix_open) unable to open slave
AL lib: (EE) ALCplaybackAlsa_open: Could not open playback device 'default': No such file or directory
terminate called after throwing an instance of 'char const*'
/usr/local/bin/torcs: line 53:  4370 Aborted                 (core dumped) $LIBDIR/torcs-bin -l $LOCAL_CONF -L $LIBDIR -D $DATADIR $*

Can I ask for some help with this problem? I am working on the remote server with OS Ubuntu 18.04.4 LTS and A5000 GPU.

red-fox1 commented 1 year ago

turn off the game sound may help