Bug 5547 - Game crashes on Basic Braining
Status: RESOLVED DUPLICATE of bug 5543
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-02 05:58 EDT by Fly
Modified: 2012-06-20 23:39:41 EDT
2 users (show)

See Also:



Description Fly 2012-06-02 05:58:06 EDT
Whenever I tell the coach I'm ready to do basic braining, the game crashes. Until then every thing seems to work just fine except for the game running in a 800x600 window and not recognizing dual screens.

Running Linux Mint 12
04:00.0 VGA compatible controller: nVidia Corporation G94 [GeForce 9600 GT] (rev a1)
Dual screens, running the game in windowed mode

$ arecord -L | grep "^hw" -A 1 | grep [a-z]
hw:CARD=CMI8738,DEV=0
    C-Media CMI8738, C-Media PCI DAC/ADC
hw:CARD=CMI8738,DEV=2
    C-Media CMI8738, C-Media PCI IEC958
hw:CARD=Intel,DEV=0
    HDA Intel, ALC889A Analog
hw:CARD=Intel,DEV=1
    HDA Intel, ALC889A Digital
hw:CARD=Intel,DEV=2
    HDA Intel, ALC889A Analog
hw:CARD=Device,DEV=0
    Avnera Audio Device, USB Audio


This is the last output:

Game: Engine Cutscene progression: CS Script moving from state ___EZScene to state CleanupCS___EZScene, resultant state CleanupCS___EZScene.  Time: 591.9716186523438.
* Stack Trace
1: setState                  (line   -1, file '(none)) (field)
2: (null)                    (line   -1, file '(none)) ()
WARN: (none(-1) SetEntityFlag ca.CAKCCutscenes: argument 3 is nil (not a number)
Game: Engine proccing end action table
Game: Engine starting proc action table 592.00537109375
Game: Engine done proc action table592.0682373046875
Game: Engine done proccing end action table
Game: Engine Ending EZ cutscene CAKC1Coach1stTime (currCSName ___EZScene)
Game: Engine RESTORE SECONDARY TARGET
Game: Engine SET SECONDARY TARGET nil
Game: Engine Saved[CA]: bCAKC1Coach1stTimePlayed = 1
Game: Engine Cutscene progression: CS Script moving from state CleanupCS___EZScene to state nil, resultant state nil.  Time: 592.1010131835938.
* Stack Trace
1: setState                  (line   -1, file '(none)) (field)
2: endCutscene               (line   -1, file '(none)) (field)
3: (null)                    (line   -1, file '(none)) ()
ERROR: Can't load a null sound.
PSYCHONAUTS UNIX FILENAME: corrected 'WorkResource/cutscenes/prerendered/caio.bik' to 'WorkResource/cutscenes/prerendered/CAIO.bik'
PSYCHONAUTS UNIX FILENAME: corrected 'WorkResource/cutscenes/prerendered/caio.bik' to 'WorkResource/cutscenes/prerendered/CAIO.bik'
PSYCHONAUTS UNIX FILENAME: corrected 'WorkResource/cutscenes/prerendered/caio.bik' to 'WorkResource/cutscenes/prerendered/CAIO.bik'
Floating point exception
Comment 1 RĂ¼diger 2012-06-02 15:55:56 EDT
I have the same issue: Ubuntu 12.04 with G96 [GeForce 9500 GT] and nvidia driver 295.49-0ubuntu0.1
Comment 2 RĂ¼diger 2012-06-02 16:43:13 EDT
This seems to be a duplicate of https://bugzilla.icculus.org/show_bug.cgi?id=5523#c4

The workaround provided by Yamagi Burmeister works for me.
Comment 3 Ryan C. Gordon 2012-06-03 05:48:15 EDT
(I'm adding this comment to several bugs here...sorry if you see it multiple times.)

There were some memory corruption bugs in the initial Humble Bundle build, which we believe have been tracked down and fixed now. Most of the crashes are probably due to these.

Those getting Floating Point Exception crashes during cutscenes: that was my fault, I screwed up something hooking up the Bink audio output code. This is also fixed, I think.

Here is a test build, please try it and report back. It's a 2.1 megabyte download: just untar it and overwrite the two files in your game installation.

This build also has joystick support and working FSAA (if the game is way slower for you, you can turn off FSAA in the options menu).

There are still some bugs, but this should be MUCH more playable.

Download it here:

   http://treefort.icculus.org/psychonauts/psychonuts-linux-test-06032012.tar.bz2

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

--ryan.
Comment 4 Fly 2012-06-04 02:21:47 EDT
(In reply to comment #3)
> (I'm adding this comment to several bugs here...sorry if you see it multiple
> times.)
> --ryan.

Thank you so much! Nice to see a fix for this so soon! I haven't tried it yet. but I will at first opportunity!
Comment 5 Daniel Wallace 2012-06-06 13:24:00 EDT
I cannot go and test if the patch worked, because as soon as I load up the game, Raz starts running up and to the left, and in the menu, if I try to move the mouse selection is always moving upward
Comment 6 Ryan C. Gordon 2012-06-06 23:04:26 EDT
(In reply to comment #5)
> I cannot go and test if the patch worked, because as soon as I load up the
> game, Raz starts running up and to the left, and in the menu, if I try to move
> the mouse selection is always moving upward

Xbox controller plugged in?

--ryan.
Comment 7 Daniel Wallace 2012-06-10 01:05:17 EDT
(In reply to comment #6)
> (In reply to comment #5)
> > I cannot go and test if the patch worked, because as soon as I load up the
> > game, Raz starts running up and to the left, and in the menu, if I try to move
> > the mouse selection is always moving upward
> 
> Xbox controller plugged in?
> 
> --ryan.

I did not have one plugged in, but I did figure out that blacklisting joydev or modprobe -r joydev fixed my problem, so for some reason that was being loaded at boot

updated version fixes floating point error for me, only problems that remain are audio and not being able to see the images from the projectors
Comment 8 Ryan C. Gordon 2012-06-20 11:49:24 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 9 Ryan C. Gordon 2012-06-20 23:39:41 EDT
Consolidating duplicate bugs...

--ryan.

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