dj_lib enabled

Find any bugs in Vega Strike? See if someone has already found it, or report them here!
Post Reply
rigelan
Confed Special Operative
Confed Special Operative
Posts: 291
Joined: Sat Jan 28, 2006 2:58 am
Location: Des Moines, Iowa

dj_lib enabled

Post by rigelan »

I don't think its a bug, but the SVN 11605 has the message

Code: Select all

+++ m/dj_lib.py:117:DJ enabled
Repeated as an error or status message when in space. It doesn't do it in a base.

But it doesn't seem to affect performance or gameplay, so its not a huge issue.
AMD 4800 - NVIDIA 7600 - Slackware Linux 12.2
ace123
Lead Network Developer
Lead Network Developer
Posts: 2560
Joined: Sun Jan 12, 2003 9:13 am
Location: Palo Alto CA
Contact:

Post by ace123 »

Oops... my fault.
Should have commented out that line altogether... it will make logfiles huge.

I didn't realize it was called every frame!
safemode
Developer
Developer
Posts: 2150
Joined: Mon Apr 23, 2007 1:17 am
Location: Pennsylvania
Contact:

Post by safemode »

there is a real bug with either dj* python or the audio C++ source. When music and audio are disabled, i get significant cpu usage from the music thread doing nothing. Just looping around trying to enable audio and failing etc. When music and audio are enabled, i get almost no cpu usage from the audio thread.

enabling and disabling sound and music were done through vssetup. You should be able to recreate this and it's readily noticable on dual core systems where you can monitor individual core cpu usage.

Bascially, i was seeing 40% cpu usage with audio and music disabled, 20% on one core 20% on the other. The one core's usage dropped down to below 10% when music and audio were enabled.
ace123
Lead Network Developer
Lead Network Developer
Posts: 2560
Joined: Sun Jan 12, 2003 9:13 am
Location: Palo Alto CA
Contact:

Post by ace123 »

I thought I saw this error too a long while... but I forgot about it when that infinite loading process didn't include sucking up all the available RAM within minutes.

I don't see why the Music class should do anything at all if sound is disabled.

I guess this needs to be fixed as well as the other loading thread bug.
ace123
Lead Network Developer
Lead Network Developer
Posts: 2560
Joined: Sun Jan 12, 2003 9:13 am
Location: Palo Alto CA
Contact:

Post by ace123 »

Should be fixed.
hellcatv
Developer
Developer
Posts: 3980
Joined: Fri Jan 03, 2003 4:53 am
Location: Stanford, CA
Contact:

Post by hellcatv »

wow you're just mowing through these bugs :-) great job
Vega Strike Lead Developer
http://vegastrike.sourceforge.net/
Post Reply