Page 1 of 2

[b41] Linux version won't start.

Posted: Wed Jun 27, 2012 4:38 pm
by ToxicChicken
Linux version won't start.

[CPU] Detected 1 CPUs
ALSA lib conf.c:3314:(snd_config_hooks_call) Cannot open shared library libasound_module_conf_pulse.so
ALSA lib control.c:951:(snd_ctl_open_noupdate) Invalid CTL hw:0
AL lib: alsa.c:797: control open (0): No such file or directory
OpenAL device available: ALSA Software on default (default ALSA Software on default)
OpenAL device available: OSS Software (default ALSA Software on default)
OpenAL device available: Wave File Writer (default ALSA Software on default)
Available video driver: x11
Available video driver: dummy
Error initializing SDL video: No available video device
AL lib: ALc.c:1302: exit() 1 device(s) and 1 context(s) NOT deleted

Re: [b41] Linux version won't start.

Posted: Wed Jun 27, 2012 10:38 pm
by cttw
Hi, I dealt with this and came here looking for this post.

This is my launch script that fixed it, after looking around on forums for the first line of the error message.

Good luck!

-------------------
#!/bin/bash
cd TOME_FOLDER
env LD_PRELOAD=/usr/lib/i386-linux-gnu/alsa-lib/libasound_module_conf_pulse.so ./t-engine
cd -

Re: [b41] Linux version won't start.

Posted: Thu Jun 28, 2012 5:54 am
by Lord Estraven
That doesn't work for me, and shouldn't work for you unless you have a different bug - the problem is that it can't initialize the video display for some reason.

Googling around, it looks to me like someone may have forgotten to compile in X11 support, or messed up things in some way at compile time. I'm guessing the Linux version is cross-compiled on OSX?

Re: [b41] Linux version won't start.

Posted: Thu Jun 28, 2012 7:28 am
by darkgod
Hum no it's compiled on an old debian and it works on my normal linux (thus making it hard to find the problem).

Re: [b41] Linux version won't start.

Posted: Thu Jun 28, 2012 10:16 am
by cttw
I'm sorry to hear it didn't fix it for you. My problem was associated with running 64 bit OS and ToME using 32 bit libraries. I had also installed the library it complains about, but it was already installed. The command for that is:

apt-get install libasound2-plugins:i386

I had the exact same error messages as you, and on solving the problem of the first error message, it just worked.

Re: [b41] Linux version won't start.

Posted: Thu Jun 28, 2012 12:58 pm
by Teber2
cttw's solution works for me. i'm on ubuntu 12.04 64 bits. thanks a lot cttw!

for those who try to run tome on a 64bits distro:

Code: Select all

sudo apt-get install ia32-libs
had this issue earlier too...

Re: [b41] Linux version won't start.

Posted: Thu Jun 28, 2012 6:18 pm
by tiger_eye
cctw's solution works for me too. I'm also using ubuntu 12.04, 64 bits. Thanks a bunch!

Re: [b41] Linux version won't start.

Posted: Fri Jun 29, 2012 2:11 pm
by Burt
cttw wrote:Hi, I dealt with this and came here looking for this post.

This is my launch script that fixed it, after looking around on forums for the first line of the error message.

Good luck!

-------------------
#!/bin/bash
cd TOME_FOLDER
env LD_PRELOAD=/usr/lib/i386-linux-gnu/alsa-lib/libasound_module_conf_pulse.so ./t-engine
cd -
I had this problem too (Using Ubuntu 12.04 32 bits)

The command posted by cttw solved the problem. Thanks a lot!

Re: [b41] Linux version won't start.

Posted: Tue Jul 03, 2012 11:57 pm
by j-rod
I am getting exact same error as the OP, tried installing cctw's line and still no go. Ubuntu 64-bit. This is the first beta I have had an issue with. Anyone else?

**EDIT**

cctw's launch script did the trick!

Re: [b41] Linux version won't start.

Posted: Wed Jul 11, 2012 8:16 pm
by Malakim
Ubuntu 12.04 32
I had the same problem, cctw's starting script helps!
Thank you cctw!

Re: [b41] Linux version won't start.

Posted: Wed Jul 18, 2012 12:39 pm
by jotwebe
Coming back to tome after a hiatus playing dcss for my roguelike needs, I ran into this problem too. cctw's fix helped on my Ubuntu 12.04 64 bit laptop, but it hasn't worked on my Sabayon desktop, which runs b40 just fine.

EDIT: well, trying again, it works on Sabayon, too. Must've had a typo somewhere.

Re: [b41] Linux version won't start.

Posted: Fri Aug 17, 2012 5:03 pm
by tiger_eye
It would be really great if this fix wasn't needed, because it's not at all user friendly if a new player encounters this issue when trying to run on a 64-bit linux system.

Perhaps a pre-built 64-bit linux version would be appropriate?

Re: [b41] Linux version won't start.

Posted: Sun Aug 19, 2012 7:45 pm
by Teber2
tiger_eye wrote:It would be really great if this fix wasn't needed, because it's not at all user friendly if a new player encounters this issue when trying to run on a 64-bit linux system.

Perhaps a pre-built 64-bit linux version would be appropriate?
+1

the not starting under linux issue vanished in b42, thanks for that DG!

Re: [b41] Linux version won't start.

Posted: Tue Aug 21, 2012 7:12 am
by Grahammm
B42 starts OK for me under 64bit Linux (as did all previous betas). But I still see the problem with alsalib and the LD_PRELOAD startup script does not help

Re: [b41] Linux version won't start.

Posted: Fri Oct 12, 2012 4:39 pm
by eliotn
cctw's solution works for me under b42