Hey, Mike.
Get a cup of coffee or tea -- this is going to be long. ;-)
Sorry it's taken me some time to get back to you. I pretty much spent the
entire day yesterday trying to understand ALSA in order to switch to that
from OSS to see if that was part of the issue, and also because OSS is now
consider deprecated. I've gotten ALSA working about 90% -- the exception
being MIDI in KDE (MIDI works at the command line just fine).
I'm using an old ISA AWE64 sound card and I had to go learn how to
initialize it using the isapnputils and other specific utilities in order to
get MIDI working.
I'm glad I did it, and I'm sure it's not a waste of time, but it seems to
make no difference in terms of the current Vega Strike issues.
> Also, what kind of sound hardware do you have and which drivers are you
> using(OSS or ALSA)?
I had been using OSS. The rest of what you see below is what it looks like
when using ALSA drivers. I'm going to send a second report with the OSS
drivers for the sake of consistency. [It isn't fair of me to keep changing
what I'm doing like this -- I know that can be overwhelming.]
On Monday 07 March 2005 12:44 am, Mike Furr wrote:
> Okay, its crashing in openAL(the sound lib). Try configuring
> vegastrike to run without sound:
>
> $ cd ~/.vegastrike.4.x
> $ vssetup
Okay, now there's an interesting issue with the above: ~/.vegastrike.4.x
has no configuration file within it. I ran 'vssetup', chose No Sound, No
Music, and saved. ~/.vegastrike.4.x still has no configuration file in it
afterwards. 'vssetup' is saving it's config in ~/.vegastrike instead.
To verify, I moved ~/.vegastrike to ~/vegastrike.old and ran 'vssetup',
which just quits:
[EMAIL PROTECTED]:~/.vegastrike.4.x$ vssetup
Unable to read from setup.config
[EMAIL PROTECTED]:~/.vegastrike.4.x$
As a matter of fact, ~/.vegastrike.4.x doesn't seem to contain any files at
all -- just sub-directories. This is a problem, because that is where
vegastrike is looking for it's configuration files:
------------------------------------------------------------------------------
[EMAIL PROTECTED]:~/Desktop$ gdb vegastrike.dbg
...
(gdb) run
...
Using .vegastrike.4.x as the home directory
...
CONFIGFILE - No config found in
home : /home/sipper/.vegastrike.4.x/vegastrike.config
...
open /dev/[sound/]dsp: Device or resource busy
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1226120512 (LWP 5686)]
0xb67dbcf0 in Arts::EnumDef::~EnumDef () from /usr/lib/libmcop.so.1
(gdb) bt
#0 0xb67dbcf0 in Arts::EnumDef::~EnumDef () from /usr/lib/libmcop.so.1
#1 0xb67d13b7 in std::vector<Arts::EnumDef, std::allocator<Arts::EnumDef>
>::_M_insert_aux
() from /usr/lib/libmcop.so.1
#2 0xb67c6cdc in Arts::readTypeSeq<Arts::EnumDef> ()
from /usr/lib/libmcop.so.1
#3 0xb678675e in Arts::ModuleDef::readType () from /usr/lib/libmcop.so.1
#4 0xb67864bc in Arts::ModuleDef::ModuleDef () from /usr/lib/libmcop.so.1
#5 0xb67ae645 in Arts::IDLFileReg::startup () from /usr/lib/libmcop.so.1
#6 0xb67b4343 in Arts::StartupManager::startup () from /usr/lib/libmcop.so.1
#7 0xb6799ff4 in Arts::Dispatcher::Dispatcher () from /usr/lib/libmcop.so.1
#8 0xb6d25c95 in arts_backend_init () from /usr/lib/libartscbackend.so.0
#9 0xb796b756 in arts_init () from /usr/lib/libartsc.so.0
#10 0xb7ef1c89 in SDL_FreeWAV () from /usr/lib/libSDL-1.2.so.0
#11 0xb7eedb33 in SDL_AudioInit () from /usr/lib/libSDL-1.2.so.0
#12 0xb7eec98b in SDL_InitSubSystem () from /usr/lib/libSDL-1.2.so.0
#13 0xb7eeca07 in SDL_Init () from /usr/lib/libSDL-1.2.so.0
#14 0x0863b8d3 in winsys_init (argc=0xbfffed30, argv=0xbffff8d4,
window_title=0x8771844 "Vega Strike", icon_title=0x877183b "vega.ico") at
winsys.cpp:282
#15 0x08624c07 in GFXInit (argc=1, argv=0xbffff8d4) at gl_init.cpp:271
#16 0x082554d9 in GameUniverse::Init (this=0x9d3a470, argc=1, argv=0xbffff8d4,
galaxy=0x9692eb4 "milky_way.xml") at universe.cpp:70
#17 0x082557df in GameUniverse (this=0x9d3a470, argc=1, argv=0xbffff8d4,
galaxy=0x9692eb4 "milky_way.xml") at universe.cpp:85
#18 0x082727f4 in main (argc=1, argv=0xbffff8d4) at basic_string.h:103
(gdb)
------------------------------------------------------------------------------
The above looks the same even if I disable the sound system from within KDE
in the Control Center. Note that this is still clearly having problems with
the audio, and when it can't find a configuration file.
So -- next I tried copying the vegastrike.config file to ~/.vegastrike.4.x/
to see what would happen, and ran it again. Sadly, it still segfaults.
------------------------------------------------------------------------------
[EMAIL PROTECTED]:~/Desktop$ gdb vegastrike.dbg
...
(gdb) run
Starting program: /home/sipper/Desktop/vegastrike.dbg
[Thread debugging using libthread_db enabled]
[New Thread -1226120512 (LWP 5908)]
Vega Strike
See http://www.gnu.org/copyleft/gpl.html for license details.
GOT SUBDIR ARG =
Found data in /usr/share/games/vegastrike
Using /usr/share/games/vegastrike as data directory
Using .vegastrike.4.x as the home directory
Found MODDIR = /usr/share/games/vegastrike/mods
USING HOMEDIR : /home/sipper/.vegastrike.4.x As the home directory
CONFIGFILE - Found a config file in home directory,
using : /home/sipper/.vegastrike.4.x/vegastrike.config
DATADIR - No datadir specified in config file,
using ; /usr/share/games/vegastrike
SIMULATION_ATOM: 0.07
MISSION_NAME is empty using : explore_universe.mission
running import sys
print sys.path
sys.path =
[r"/usr/share/games/vegastrike/modules/builtin/",r"/usr/share/games/vegastrike/modules/",r"/usr/share/games/vegastrike/bases/"]
['/usr/lib/python23.zip', '/usr/lib/python2.3',
'/usr/lib/python2.3/plat-linux2', '/usr/lib/python2.3/lib-tk',
'/usr/lib/python2.3/lib-dynload', '/usr/local/lib/python2.3/site-packages',
'/usr/lib/python2.3/site-packages',
'/usr/lib/python2.3/site-packages/Numeric',
'/usr/lib/python2.3/site-packages/PIL',
'/usr/lib/python2.3/site-packages/gtk-2.0',
'/usr/lib/python2.3/site-packages/wx-2.5.3-gtk2-unicode',
'/usr/lib/site-python']
testing VS randomrunning import sys
print sys.path
['/usr/share/games/vegastrike/modules/builtin/',
'/usr/share/games/vegastrike/modules/', '/usr/share/games/vegastrike/bases/']
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1226120512 (LWP 5908)]
0xb67dbcf0 in Arts::EnumDef::~EnumDef () from /usr/lib/libmcop.so.1
(gdb) bt
#0 0xb67dbcf0 in Arts::EnumDef::~EnumDef () from /usr/lib/libmcop.so.1
#1 0xb67d13b7 in std::vector<Arts::EnumDef, std::allocator<Arts::EnumDef>
>::_M_insert_aux
() from /usr/lib/libmcop.so.1
#2 0xb67c6cdc in Arts::readTypeSeq<Arts::EnumDef> ()
from /usr/lib/libmcop.so.1
#3 0xb678675e in Arts::ModuleDef::readType () from /usr/lib/libmcop.so.1
#4 0xb67864bc in Arts::ModuleDef::ModuleDef () from /usr/lib/libmcop.so.1
#5 0xb67ae645 in Arts::IDLFileReg::startup () from /usr/lib/libmcop.so.1
#6 0xb67b4343 in Arts::StartupManager::startup () from /usr/lib/libmcop.so.1
#7 0xb6799ff4 in Arts::Dispatcher::Dispatcher () from /usr/lib/libmcop.so.1
#8 0xb6d25c95 in arts_backend_init () from /usr/lib/libartscbackend.so.0
#9 0xb796b756 in arts_init () from /usr/lib/libartsc.so.0
#10 0xb7ef1c89 in SDL_FreeWAV () from /usr/lib/libSDL-1.2.so.0
#11 0xb7eedb33 in SDL_AudioInit () from /usr/lib/libSDL-1.2.so.0
#12 0xb7eec98b in SDL_InitSubSystem () from /usr/lib/libSDL-1.2.so.0
#13 0xb7eeca07 in SDL_Init () from /usr/lib/libSDL-1.2.so.0
#14 0x0863b8d3 in winsys_init (argc=0xbfffed30, argv=0xbffff8d4,
window_title=0x8771844 "Vega Strike", icon_title=0x877183b "vega.ico") at
winsys.cpp:282
#15 0x08624c07 in GFXInit (argc=1, argv=0xbffff8d4) at gl_init.cpp:271
#16 0x082554d9 in GameUniverse::Init (this=0x9d32a28, argc=1, argv=0xbffff8d4,
galaxy=0x968ddb4 "milky_way.xml") at universe.cpp:70
#17 0x082557df in GameUniverse (this=0x9d32a28, argc=1, argv=0xbffff8d4,
galaxy=0x968ddb4 "milky_way.xml") at universe.cpp:85
#18 0x082727f4 in main (argc=1, argv=0xbffff8d4) at basic_string.h:103
(gdb)
------------------------------------------------------------------------------
So if you look above, it is now finding the configuration file in
~/.vegastrike.4.x/, but it is still generating a segmentation fault, which is
now complaining about aRts. Since this is generally something found mostly in
KDE, I tried running Vega Strike from within Window Maker instead, and got
exactly the same output above that I was getting from within KDE.
Anyway -- next I'm going to do the same tests again from 2.6.11-ck1 with
OSS drivers and send what that looks like.
Thanks again for your help, Mike.
- Chris
--
Chris Knadle
[EMAIL PROTECTED]
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]