Problem with performous i386 jaunty package

Bug #367708 reported by Alejandro Romero Herrera
16
This bug affects 1 person
Affects Status Importance Assigned to Milestone
performous (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

I wanna play Performous on my PC but it crashes.
The hardware/software configuration is the following :
 - processor intel atom
 - RAM : 1 GHz
 - using compiz
 - ubuntu 9.04 jaunty

The problem is the following :
I can launch correctly Performous software
The sound in the main menu page doesn't function
The menu function correctly
When I type 'P' practice mode is launching and Performous reconize the voice
When I type 'Q' or 'C', it is functionning well

/!\ BUT WHEN I type 'S', it crashes : black screen and processus is "at rest" (futex_wait).
It's impossible to end the process by CTRL+C or "System Monitor / end the process"
I have to kill the process.

The log is the following :
libjack.so.0: cannot open shared object file: No such file or directory
get fences failed: -1
param: 6, val: 0
>>> Playing with alsa
-!- alsa::hw_config::set: snd_pcm_hw_params_set_access failed: Invalid argument
>>> Playing with pa19
>>> Not scanning: /home/vivien/.ultrastar/songs/ (no such directory)
>>> Not scanning: /usr/local/share/games/ultrastar/songs/ (no such directory)
>>> Not scanning: /usr/local/share/ultrastar/songs/ (no such directory)
>>> Scanning /usr/share/games/ultrastar/songs/
  /usr/share/games/ultrastar/songs/Tryo - Toi et moi/ >>> Recording from alsa
1 songs loaded
>>> Not scanning: /usr/share/ultrastar/songs/ (no such directory)
-!- alsa::hw_config::set: snd_pcm_hw_params_set_access failed: Invalid argument
>>> Recording from gst
Input #0, ogg, from '/usr/share/games/performous/themes/lima/menu.ogg':
  Duration: 00:02:06.04, start: 0.000000, bitrate: 112 kb/s
    Stream #0.0: Audio: vorbis, 44100 Hz, stereo, s16, 112 kb/s
Resampling audio from 2 channel(s) at 44100Hz to 2 channels at 48000Hz
Empty audio frame
Exception from playback callback: accessing 'front()' on empty container
Exception from playback callback: accessing 'front()' on empty container
Exception from playback callback: accessing 'front()' on empty container
Exception from playback callback: accessing 'front()' on empty container
Exception from playback callback: accessing 'front()' on empty container
Exception from playback callback: accessing 'front()' on empty container
Exception from playback callback: accessing 'front()' on empty container
...

and so on...

Thanks for your reply to my problem.

Best Regards.

Revision history for this message
Alejandro Romero Herrera (alromh87) wrote :

I post some stuf at performous forum

2009-04-26 13:04
Hi im having the same problem with xubuntu i386, and trying to fix it, I have it running at ubuntu amd64. I am making some test to find whats going on.
 ...

2009-04-26 20:05
I compiled the 1545 SVN version and worked fine you could try this or i have created a .deb package (since i will be nething it) that you can try, but I have to warn you that i didn't specified the dependencies nor followed the naming conditions, its just the performous binary created with checkinstall so you can test if it works.

I hope this helps.

http://www.mediafire.com/?mdtquh5logn

2009-04-26 21:45
Ok I have done some test and think its a problem with the i386 package, I have tested the same hardware qith different of jaunty
works on Kubuntu amd64
works on Ubuntu amd64
don't work on xubuntu i386

And don now what your using ubuntu or ubuntu netbook remix but it is i386 too

I was going to see we should post a bug but found that you already have
https://answers.launchpad.net/ubuntu/+source/performous/+question/68767

Revision history for this message
Alejandro Romero Herrera (alromh87) wrote :

I post some stuf at performous forum

2009-04-26 13:04
Hi im having the same problem with xubuntu i386, and trying to fix it, I have it running at ubuntu amd64. I am making some test to find whats going on.
 ...

2009-04-26 20:05
I compiled the 1545 SVN version and worked fine you could try this or i have created a .deb package (since i will be nething it) that you can try, but I have to warn you that i didn't specified the dependencies nor followed the naming conditions, its just the performous binary created with checkinstall so you can test if it works.

I hope this helps.

http://www.mediafire.com/?mdtquh5logn

2009-04-26 21:45
Ok I have done some test and think its a problem with the i386 package, I have tested the same hardware with different of jaunty
works on Kubuntu amd64
works on Ubuntu amd64
don't work on xubuntu i386

And don now what your using ubuntu or ubuntu netbook remix but it is i386 too

I was going to see we should post a bug but found that you already have
https://answers.launchpad.net/ubuntu/+source/performous/+question/68767

Revision history for this message
lordadi (lordadib) wrote :

I too am having the same problem with performous in the repos. The sound will not work in the practice and i cannot use the start at all. If I press 's' it just hangs forever. When I tried to install the deb from the performous guys, I got an error saying that there was an unmet dependancy: libavcodec51. Trying to install the deb from the performous guys via CLI, I get:

dpkg: dependency problems prevent configuration of performous:
 performous depends on libsdl-image1.2; however:
  Package libsdl-image1.2 is not installed.
 performous depends on libboost-serialization1.34.1; however:
  Package libboost-serialization1.34.1 is not installed.
 performous depends on libavcodec51; however:
  Package libavcodec51 is not installed.
 performous depends on libmagick++10; however:
  Package libmagick++10 is not installed.
dpkg: error processing performous (--install):
 dependency problems - leaving unconfigured
Processing triggers for menu ...
Processing triggers for man-db ...
Errors were encountered while processing:
 performous

Hope this helps someone in figuring out the problem.

Revision history for this message
lordadi (lordadib) wrote :

*I am also running Jaunty. Performous worked flawlessly in Intrepid.

Revision history for this message
Alejandro Romero Herrera (alromh87) wrote :

@lordadi
Hi, you should try installing from the repos and then install the package provided(worked for me) or compile from svn.

Compiled from svn 1545
http://www.mediafire.com/?mdtquh5logn

Revision history for this message
lordadi (lordadib) wrote :

@Alejandro

Thanks for that binary, the install worked. However, Performous now complains about my sound card!

This is what a commadline invocation got me:

Warning: audio decoding too slow (buffer underrun):
Warning: audio decoding too slow (buffer underrun):
Warning: audio decoding too slow (buffer underrun):
Warning: audio decoding too slow (buffer underrun):
Warning: audio decoding too slow (buffer underrun):
Warning: audio decoding too slow (buffer underrun):
Warning: audio decoding too slow (buffer underrun):
Warning: audio decoding too slow (buffer underrun):
Warning: audio decoding too slow (buffer underrun):
Warning: audio decoding too slow (buffer underrun):
Warning: audio decoding too slow (buffer underrun):
Warning: audio decoding too slow (buffer underrun):
Warning: audio decoding too slow (buffer underrun):
Warning: audio decoding too slow (buffer underrun):
Warning: audio decoding too slow (buffer underrun):
Warning: audio decoding too slow (buffer underrun):
Warning: audio decoding too slow (buffer underrun):
Warning: audio decoding too slow (buffer underrun):
Warning: audio decoding too slow (buffer underrun):
Warning: audio decoding too slow (buffer underrun):
Warning: audio decoding too slow (buffer underrun):
Warning: audio decoding too slow (buffer underrun):
Warning: audio decoding too slow (buffer underrun):
Warning: audio decoding too slow (buffer underrun):
Warning: audio decoding too slow (buffer underrun):
Warning: audio decoding too slow (buffer underrun):
Warning: audio decoding too slow (buffer underrun):
Warning: audio decoding too slow (buffer underrun):
^Crrun):
Warning: audio decoding too slow (buffer underrun):
Warning: audio decoding too slow (buffer underrun):
Warning: audio decoding too slow (buffer underrun):
Terminating, please wait... (or kill the process)
Warning: audio decoding too slow (buffer underrun):
Warning: audio decoding too slow (buffer underrun):
Warning: audio decoding too slow (buffer underrun):
FFMPEG crashed at some point, decoding /usr/local/share/games/performous/themes/default/menu.ogg
Please restart Performous to avoid resource leaks and program crashes!
FFMPEG crashed at some point, decoding /usr/share/games/ultrastar/songs/libre/Thor - Free Software Song/Thor - Free Software Song.ogg
Please restart Performous to avoid resource leaks and program crashes!
FFMPEG crashed at some point, decoding /usr/share/games/ultrastar/songs/libre/Thor - Free Software Song/Thor - Free Software Song.ogg
Please restart Performous to avoid resource leaks and program crashes!
Terminated.

As you can see, I had to kill the game with ^C. Any help in resolving this matter will be greatly appreciated.

Thanks,

lordadi.

Revision history for this message
nicehawk1@hotmail.com (nicehawk1) wrote :

Thanks for your answer and for creating a .deb package.
Performous function quite better and I can access to the karaoke mode. It plays the sound without problem.

However, starting performous by the console and I notice the sames complains about my sound card than lordadi :
"Warning: audio decoding too slow (buffer underrun)"
And it mentions too :
"FFMPEG crashed at some point, decoding /usr/local/share/games/performous/themes/default/menu.ogg
Please restart Performous to avoid resource leaks and program crashes!
Number of joystick: 0

[NULL @ 0x91a5a90]Invalid and inefficient vfw-avi packed B frames detected
[swscaler @ 0x917baf0]No accelerated colorspace conversion found.
[mpeg4 @ 0x91a5a90]Invalid and inefficient vfw-avi packed B frames detected
[mp3 @ 0x8df4e30]mdb:479, lastbuf:0"

In an other hand, I notice the following functionment :
When I play with the Practice mode, Performous detecte the notes, when I'm singing.
But when I'm in the Playig mode, the soung is running but it seems to don't detect the voice. In fact, at the end of the karaoke it mentions "No singer".

Thanks,

nicehawk

Revision history for this message
lordadi (lordadib) wrote :

@nicehawk

I have managed to get the game working to a reasonable extent (the playback works but I haven't yet tested the "singing" part). I did what the page at http://performous.org/develop.html, suggested which was to install a whole bunch of libs for sound (the page mentions that it is not necessary and that only necessary ones should be installed, but I didn't know what was necessary). The command provided was:

sudo apt-get install subversion cmake build-essential help2man libgl1-mesa-dev libsdl1.2-dev libcairo2-dev librsvg2-dev libboost-thread-dev libboost-serialization-dev libboost-program-options-dev libboost-regex-dev libboost-filesystem-dev libavcodec-dev libavformat-dev libswscale-dev libmagick++9-dev libsamplerate0-dev libxml++2.6-dev libasound2-dev libjack-dev libpulse-dev libportaudio-dev libgstreamer0.10-dev

After all the extra 200 MB on your disk are used up, you can try the deb that you installed or checkout version 1547 from the SVN and build that. Either way, it should perform better than now so here's hoping!

Revision history for this message
ubunturox (ubuntu-rox) wrote :

I had the same problem as the original poster - seems like theres no audio output framework installed.

This solved it for me:

sudo apt-get install ultrastar-ng-gstreamer

Revision history for this message
Anders Sjöström (anders-sjostrom) wrote :

@ubunturox

I also had the same problem as the OP. Installing ultrastar-ng-gstreamer solves the problem for me too.

Thanks!

Revision history for this message
Lasse Kärkkäinen (tronic+mb48) wrote :

This bug has been fixed in performous 0.3.2.

Revision history for this message
Lasse Kärkkäinen (tronic+mb48) wrote :

For the record: it is a bug in FFMPEG, causing it to crash in 32 bit asm code. Performous now has a workaround that avoids the crash.

Changed in performous (Ubuntu):
status: New → Fix Released
status: Fix Released → Incomplete
Revision history for this message
Lasse Kärkkäinen (tronic+mb48) wrote :

I just noticed that there are possibly three separate bugs in this bug report. Two of them have been fixed, but I need more information on this:

/!\ BUT WHEN I type 'S', it crashes : black screen and processus is "at rest" (futex_wait).
It's impossible to end the process by CTRL+C or "System Monitor / end the process"
I have to kill the process.

Does it still happen with 0.3.2?

Revision history for this message
Alejandro Romero Herrera (alromh87) wrote :

...but I need more information on this:

/!\ BUT WHEN I type 'S...

Fixed compiling from svn

Revision history for this message
Alejandro Romero Herrera (alromh87) wrote :

sorry now git

Changed in performous (Ubuntu):
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.