Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] games-fps/tremulous-1.1.0-r1 always crashes
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
keenblade
Veteran
Veteran


Joined: 03 Oct 2004
Posts: 1087

PostPosted: Wed Mar 19, 2008 8:42 pm    Post subject: [solved] games-fps/tremulous-1.1.0-r1 always crashes Reply with quote

I believe this is due to the sdl audio sound handling. Because if sound is disabled, then no crash occurs. I also emerged tremulous with openal useflag, but it still crashes. Because it can't open /dev/sound/dsp and fall back to sdl. When the game starts, everything works (sounds, graphics, gameplay). Then within 10 minutes it always crashes with the following output.
Code:

------ Initializing Sound ------
open /dev/[sound/]dsp: No such file or directory
Failed to open OpenAL device.
Initializing SDL audio driver...
SDL audio driver is "alsa".
SDL_AudioSpec:
  Format:   AUDIO_S16LSB
  Freq:     22050
  Samples:  470
  Channels: 2
Starting SDL audio callback...
SDL audio initialized.
----- Sound Info -----
    1 stereo
16384 samples
   16 samplebits
    1 submission_chunk
22050 speed
0x13592f0 dma buffer
No background file.
----------------------
Sound intialization successful.
--------------------------------
Sound memory manager started
Loading vm file vm/ui.qvm...
...which has vmMagic VM_MAGIC_VER2
Loading 1075 jump table targets
Architecture doesn't have a bytecode compiler, using interpreter
ui loaded in 5790560 bytes on the hunk
...
Received signal 11, exiting...
----- CL_Shutdown -----
Closing SDL audio device...
SDL audio device shut down.
RE_Shutdown( 1 )
-----------------------
Shutdown tty console



notice the error :
open /dev/[sound/]dsp: No such file or directory
If I symlink /dev/dsp to /dev/sound/dsp ,then it gives permission errors or something like this; 'there is no space left on the device'.
How can I make openal work while avoding sdl.
I use ~amd64 and every other similar or different games work fine.

Please help, this game is incredibly fun.
_________________
Anyway it's all the same at the end...
Need help to get it working: "x-fi surround 5.1"


Last edited by keenblade on Thu Mar 20, 2008 4:05 am; edited 2 times in total
Back to top
View user's profile Send private message
GODhack
Guru
Guru


Joined: 26 Jan 2008
Posts: 389
Location: Lithuania

PostPosted: Wed Mar 19, 2008 11:01 pm    Post subject: Reply with quote

Get 1.1.0 here:
http://tremulous.net/files/
_________________
http://www.youtube.com/watch?v=4jtmOZaIvS0
Back to top
View user's profile Send private message
keenblade
Veteran
Veteran


Joined: 03 Oct 2004
Posts: 1087

PostPosted: Wed Mar 19, 2008 11:18 pm    Post subject: Reply with quote

GODhack wrote:
Get 1.1.0 here:
http://tremulous.net/files/

It is already that version:
Code:

ls -l /usr/portage/distfiles/tremulous*
-rw-rw-r-- 1 root portage 105821907 Mar 31  2006 /usr/portage/distfiles/tremulous-1.1.0.zip

_________________
Anyway it's all the same at the end...
Need help to get it working: "x-fi surround 5.1"
Back to top
View user's profile Send private message
GODhack
Guru
Guru


Joined: 26 Jan 2008
Posts: 389
Location: Lithuania

PostPosted: Thu Mar 20, 2008 12:12 am    Post subject: Reply with quote

If I symlink /dev/dsp to /dev/sound/dsp ,then it gives permission errors or something like this; 'there is no space left on the device'.
So try to symlink and set correct permissions.

Or maybe try aoss.
_________________
http://www.youtube.com/watch?v=4jtmOZaIvS0
Back to top
View user's profile Send private message
GODhack
Guru
Guru


Joined: 26 Jan 2008
Posts: 389
Location: Lithuania

PostPosted: Thu Mar 20, 2008 12:13 am    Post subject: Reply with quote

Code:

lrwxrwxrwx 1 root root             9 2008-03-19 16:01 dsp -> sound/dsp

_________________
http://www.youtube.com/watch?v=4jtmOZaIvS0
Back to top
View user's profile Send private message
keenblade
Veteran
Veteran


Joined: 03 Oct 2004
Posts: 1087

PostPosted: Thu Mar 20, 2008 12:25 am    Post subject: Reply with quote

the error "open /dev/[sound/]dsp: No such file or directory" is gone after I did :
Code:

cp /usr/portage/media-libs/openal/files/openalrc ~/.openalrc

Now openal works but the game still crashes.
All my googling efforts founded graphic related but not sound related problems. Since without sound it works fine, I don't get whats going on.
_________________
Anyway it's all the same at the end...
Need help to get it working: "x-fi surround 5.1"
Back to top
View user's profile Send private message
keenblade
Veteran
Veteran


Joined: 03 Oct 2004
Posts: 1087

PostPosted: Thu Mar 20, 2008 4:00 am    Post subject: Reply with quote

All it was due to buggy interpreter because of the bug fo arch not set. Thus forcing to use interpreter;
Code:

Architecture doesn't have a bytecode compiler, using interpreter

The fix for me is to put
Code:

ARCH=x86_64

just above the src_unpack()
It is not a good fix but works. It was mentioned on the gentoo bugzilla.
It seems they couldn't find a good solution or don't have time to do.
GODhack, thanks for answering.

Edit: Tremulous still crashes, but not that frequently. So I consider it solved.
_________________
Anyway it's all the same at the end...
Need help to get it working: "x-fi surround 5.1"
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum