Bug 5648 - Brain Tank boss is impassable because of consistent crashing
Status: RESOLVED DUPLICATE of bug 5683
Alias: None
Product: Psychonauts
Classification: Unclassified
Component: everything
Version: unspecified
Hardware: PC Linux
: P3 blocker
Assignee: Ryan C. Gordon
QA Contact: Ryan C. Gordon
URL:
Depends on:
Blocks:
 
Reported: 2012-06-09 23:34 EDT by Matt
Modified: 2012-06-21 01:18:25 EDT
3 users (show)

See Also:



Description Matt 2012-06-09 23:34:13 EDT
I've attempted the Brain Tank battle 5 times, but every time it keeps crashing. Sometimes it crashes on the tank phase, other times on the 2nd phase. This is the output from the most recent crash:

1: WARNING: Attempted to run a table emitter that was still running.  Will not be re-run.	(string)
2: BrainTankMuzzleBlast	(string)
3: ni.effects.ConfusionMuzzleFX	(string)
* Stack Trace
1: run                       (line   -1, file '(none)) (field)
2: runThenPool               (line   -1, file '(none)) (field)
3: (null)                    (line   -1, file '(none)) ()
[xcb] Unknown request in queue while dequeuing
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
Psychonauts: ../../src/xcb_io.c:178: dequeue_pending_request: Assertion `!xcb_xlib_unknown_req_in_deq' failed.
Aborted (core dumped)


This particular crash happened in the middle of the 2nd phase.
Comment 1 Matt 2012-06-09 23:51:55 EDT
Note that I believe this is distinct from bug #5634. It does not appear to be an audio issue, and the workaround of disabling hardware acceleration of audio does not work.
Comment 2 Andrew 2012-06-10 08:46:44 EDT
I managed to pass the boss after about 5 crashes so it is passable if you are lucky enough. Not an enjoyable experience.
Comment 3 John Nelson 2012-06-12 17:55:15 EDT
(In reply to comment #1)
> Note that I believe this is distinct from bug #5634. It does not appear to be
> an audio issue, and the workaround of disabling hardware acceleration of audio
> does not work.

Try modifying your AudioSettings.ini file as follows:

HardwareAccel=false
UseEAX=false
PacketSize=100
Comment 4 Matt 2012-06-13 20:47:38 EDT
That didn't work. I eventually ended up just running the Windows version through WINE 1.4 on Linux. Not only was it nearly crash free (3 crashes in the entire game as opposed to 8 in the same boss fight), I also had 60 fps on max graphics instead of 20 - 30 fps. (wat)

I HIGHLY recommend that Linux users simply do this. It will save a lot of headaches. Older versions of WINE may work as well, but I can't guarantee it. See my comment on the "framerate is 50% of what it is on Windows" bug for getting it to work in WINE.
Comment 5 Ryan C. Gordon 2012-06-20 11:49:14 EDT
(I'm adding this comment to many bugs that this fix might apply to...sorry if you see it multiple times or it doesn't _actually_ fix your issue.)

Here is a new test build, please try it and report back. It's a 2.1 megabyte
download, so you don't have to redownload the whole game again.

This is meant to fix crash bugs mostly. We still have rendering issues, etc to sort out. If this didn't fix your issue, please report it on this bug. If there are still other unrelated issues, please file a new bug or add yourself to the CC list of one of the other bugs. Here's the open bug list if you want to check for others with the same problem:

    https://bugzilla.icculus.org/buglist.cgi?query_format=specific&bug_status=__open__&product=Psychonauts

Steam users: you'll get this through Steam shortly.

Linux users, download this...

  http://treefort.icculus.org/psychonauts/psychonauts-linux-0.3-patch.tar.bz2

...and unpack it. Overwrite Psychonauts and libSDL-1.2.so.0 with it. This works with either of the first two builds from HumbleBundle.com.

Mac users that aren't using Steam, download this...

  http://treefort.icculus.org/psychonauts/psychonauts-mac-0.3-patch.tar.bz2

...double click it, and run the patcher program it produces.

We'll do a more formal build once we get some feedback.

--ryan.
Comment 6 kasparov1 2012-06-20 13:03:33 EDT
Looks like the patch fixes it.

Defeated the tank and the lungfish, no crashes
Comment 7 Ryan C. Gordon 2012-06-21 01:18:25 EDT
Consolidating bugs...

--ryan.

*** This bug has been marked as a duplicate of bug 5683 ***