View previous topic :: View next topic |
Author |
Message |
keenblade Veteran
Joined: 03 Oct 2004 Posts: 1087
|
Posted: Wed Mar 19, 2008 8:42 pm Post subject: [solved] games-fps/tremulous-1.1.0-r1 always crashes |
|
|
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 |
|
|
GODhack Guru
Joined: 26 Jan 2008 Posts: 389 Location: Lithuania
|
|
Back to top |
|
|
keenblade Veteran
Joined: 03 Oct 2004 Posts: 1087
|
Posted: Wed Mar 19, 2008 11:18 pm Post subject: |
|
|
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 |
|
|
GODhack Guru
Joined: 26 Jan 2008 Posts: 389 Location: Lithuania
|
Posted: Thu Mar 20, 2008 12:12 am Post subject: |
|
|
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 |
|
|
GODhack Guru
Joined: 26 Jan 2008 Posts: 389 Location: Lithuania
|
|
Back to top |
|
|
keenblade Veteran
Joined: 03 Oct 2004 Posts: 1087
|
Posted: Thu Mar 20, 2008 12:25 am Post subject: |
|
|
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 |
|
|
keenblade Veteran
Joined: 03 Oct 2004 Posts: 1087
|
Posted: Thu Mar 20, 2008 4:00 am Post subject: |
|
|
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
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 |
|
|
|