openal and alsa and amd64 gentoo... oh my!
Death Wire
deathwire at austin2600.org
Sat Feb 4 15:15:00 EST 2006
So I've decided I want to get my mic working in ut2004 again. It used
to work just fine back when I was running x86 gentoo, but now I'm
running amd64 gentoo and it's messed up
so my .openalrc file looks like this:
(define devices '(alsa))
(define alsa-out-device "hw:1,0")
(define alsa-in-device "default")
I have no idea where the manual is for the openalrc file... doing a
search on http://openal.org finds no results.... anyways
When I have my mic usb mic plugged in and it's "default" and my
motherboard sound chip is "hw:1,0", ut2004 crashes like this:
[deathwire at localhost ~] ut2004
Exporting ONS-Adara.....Successful!
Exporting ONS-IslandHop.....Successful!
Exporting ONS-Tricky.....Successful!
Exporting ONS-Urban.....Successful!
Signal: SIGSEGV [segmentation fault]
Aborting.
Crash information will be saved to your logfile.
So then I decided to look at my logs:
[deathwire at localhost ~] cat ~/.ut2004/System/*.log
Log: Log file open, Sat Feb 4 13:54:47 2006
Init: Name subsystem initialized
Init: Version: 3369 (128.29)
Init: Compiled: Dec 14 2005 17:11:00
Init: Command line:
Init: (This is Linux64 patch version 3369.2)
Init: Character set: Unicode
Init: Base directory: /opt/ut2004/System/
Init: Ini:UT2004.ini UserIni:User.ini
Init: Build label: UT2004 Build UT2004_Build_[2005-11-23_16.22]
Init: Object subsystem initialized
Log: Initializing OpenGLDrv...
Log: binding libGL.so.1
Log: Game class is 'GameInfo'
Log: Bringing Level Entry.myLevel up for play (0) appSeconds: 3.780777...
ScriptLog: GameInfo::InitGame : bEnableStatLogging False
Log: Browse:
NvidiaLogo.ut2?Name=DeathWire?Class=Engine.Pawn?Character=Skakruk?team=255?Sex=M
Log: Collecting garbage
Log: Purging garbage
Log: Garbage: objects: 33865->33862; refs: 350159
Log: Game class is 'CinematicGame'
Log: Bringing Level NvidiaLogo.myLevel up for play (0) appSeconds: 5.644812...
ScriptLog: GameInfo::InitGame : bEnableStatLogging False
Log: Created and initialized a new SDL viewport.
Log: Exporting ONS-Adara.....Successful!
Warning: Missing Cubemap Cubemap AW-Cubes.Cubes.MesaEnv2
Log: Exporting ONS-IslandHop.....Successful!
Log: Exporting ONS-Tricky.....Successful!
Log: Exporting ONS-Urban.....Successful!
Log:
Developer Backtrace:
Log: [ 1] ./ut2004-bin [0xb29bad]
Log: [ 2] /lib/libpthread.so.0 [0x2aaaaacd1127]
Log: [ 3] /lib/libc.so.6 [0x2aaaab451810]
Log: [ 4]
/usr/lib/libasound.so(__snd_pcm_hw_params_get_buffer_size+0x21)
[0x2aaaaf52edd1]
Log: [ 5] ./openal.so(set_write_alsa+0x1ae) [0x2aaaaf346d4e]
Log: [ 6] ./openal.so(set_write_audiodevice+0x64) [0x2aaaaf345684]
Log: [ 7] ./openal.so(_alcDeviceSet+0x2c) [0x2aaaaf34a35c]
Log: [ 8] ./openal.so [0x2aaaaf34937a]
Log: [ 9] ./openal.so(alcMakeContextCurrent+0x87) [0x2aaaaf3481c7]
Log: [10] ./ut2004-bin(_ZN17UALAudioSubsystem4InitEv+0x234) [0xd48a34]
Log: [11] ./ut2004-bin(_ZN7UEngine9InitAudioEv+0xd5) [0x663d25]
Log: [12] ./ut2004-bin(_ZN11UGameEngine4InitEv+0xeb3) [0x67e363]
Log: [13] ./ut2004-bin [0x533c14]
Log: [14] ./ut2004-bin(main+0x30f8) [0x52eef8]
Log: [15] /lib/libc.so.6(__libc_start_main+0xb0) [0x2aaaab43ed00]
Log: [16] ./ut2004-bin(strcat+0xaa) [0x52bc2a]
Log: Unreal Call Stack: alcMakeContextCurrent <-
UALAudioSubsystem::Init <- UEngine::InitAudio <- UGameEngine::Init <-
InitEngine
Exit: Exiting.
Log: FileManager: Reading 0 GByte 42 MByte 675 KByte 873 Bytes from HD
took 0.100821 seconds (0.100821 reading, 0.000000 seeking).
Log: FileManager: 0.000000 seconds spent with misc. duties
Uninitialized: Name subsystem shut down
Uninitialized: Allocation checking disabled
Uninitialized: Log file closed, Sat Feb 4 13:54:53 2006
Anyone have any ideas what's wrong with it?
I don't feel like pulling out gdb and a dissasembler just yet.
Thanks,
Jacob
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
More information about the ut2004
mailing list