Not logged inGosu Forums
Forum back to Help Search Register Login
Up Topic Gosu / Gosu Exchange / AL lib: (EE) alc_cleanup: 1 device not closed
- - By kodywilson Date 2021-04-26 18:55
Hi Gosu Community!

I've been working through various tutorials on Gosu and Ruby, hoping to learn enough to build an RPG and while completing the Ruby Tutorial here:, everything works as expected on my Mac, no error messages and the game runs just fine.

However, on Ubuntu, the game runs fine, but I get this message when I close the game:

AL lib: (EE) alc_cleanup: 1 device not closed

Any thoughts on what I can do to resolve? My Internet sleuthing hasn't turned up much yet... :)

I'm using Ubuntu 20.10. Gem installs no problem and the game runs fine, I just get the above message when closing the game...
✔ ~/code/ruby/gaming/gosu/learn_gosu/ruby_tutorial_01 [dev L|✚ 1]
11:49 $ lsb_release -a
No LSB modules are available.
Distributor ID:  Ubuntu
Description:  Ubuntu 20.10
Release:  20.10
Codename:  groovy

Thank you for this cool software, really enjoying learning more and hoping to build some cool stuff!

Have a good one,

Parent - - By jlnr (dev) Date 2021-04-27 22:09
Hey Kody, glad to hear you're enjoying Gosu.

The OpenAL implementation on Linux seems to be pretty verbose in genereal. Maybe there's a way Gosu could finalize everything at the right time to avoid this message, but when I tried doing so with at_exit callbacks, it didn't quite work. I haven't invested more time afterwards because any game that is packaged for final release will run without a terminal attached, so only developers will see this.

Annoying as it is, I recommend ignoring it for now.
Parent - By kodywilson Date 2021-04-27 23:15
Right on, thank you so much for letting me know I can safely ignore it.

I'm having a blast and my 10 year old daughter is interested in helping program some games too, which is really awesome! Thanks again and have a good one.
Up Topic Gosu / Gosu Exchange / AL lib: (EE) alc_cleanup: 1 device not closed

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill