Music doesn't play correctly in pingus

Bug #575319 reported by Jordy van Heeswijk
40
This bug affects 9 people
Affects Status Importance Assigned to Milestone
Pingus
Fix Released
Undecided
Unassigned
0.7.2
Fix Released
Undecided
Unassigned
0.7.3
Fix Released
Undecided
Unassigned
0.7.3.5
Fix Released
Undecided
Unassigned
pingus (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: pingus

The music in this game doesn't play correctly. It's as if part of the instruments or tracks are muted.
I've had this problem before in earlier versions (before 9.10) of Ubuntu. It worked correctly in 9.10. Now, in Ubuntu 10.04 (x64) this problem has been reintroduced.

Some more data:
Ubuntu release: Ubuntu 10.04 x64
Package version of pingus: 0.7.2-4ubuild1
Motherboard: Asus P5B. I use onboard audio (analog stereo duplex)

CVE References

Revision history for this message
Shadow Mage (x-shadow-mage-x) wrote :

I am also experiencing this issue. Worked in Ubuntu 9.10, not working in 10.04, both 64-bit.

$ lspci | grep Audio
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)

Revision history for this message
Jordy van Heeswijk (jordyvh) wrote :

I'll also provide the info that Shadow Magic provided:

$ lspci | grep -i audio
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 02)
01:00.1 Audio device: ATI Technologies Inc HD48x0 audio

Revision history for this message
Goomby (fabricocat) wrote :

I seem to be having the same problem. I'm using a 32-bit system, it used to work in 9.10. Here's hoping a fix get's released. :)

Revision history for this message
Mauricio Luciano (mauricio-luciano) wrote :

Same problem in my pingus.

Ubuntu Lucid Lynx 32-bit
Pingus 0.7.2-4
Multimedia audio controller: Silicon Integrated Systems [SiS] AC'97 Sound Controller

Revision history for this message
ignoble (8-launchpad-10-wech-spamgourmet-com) wrote :

Same problem like all the others. It worked before (and cost me a lot of lifetime...), but now it doesn't anymore.

- Ubuntu 10.04 LTS amd64
- pingus 0.7.2-4ubuild1
- Motherboard: Asrock N68C-S
- $ lspci | grep Audio
00:05.0 Audio device: nVidia Corporation MCP61 High Definition Audio (rev a2)

Revision history for this message
Jordy van Heeswijk (jordyvh) wrote :

Problem still exists in Ubuntu 10.10 x86

Revision history for this message
Jordy van Heeswijk (jordyvh) wrote :

Extra info:
When I browse to the folder /usr/share/games/pingus/data/music and play the files in Totem for example, they play fine.
However, when I start the game, parts of the music are missing.

Revision history for this message
izogi (iizogii) wrote :

A person over here has reported they worked around the problem by converting all the IT music files to ogg vorbis files, and replacing the IT files in the data directory. http://ubuntuforums.org/showthread.php?t=1505674

I'm not a Ubuntu user, but I'm seeing the same problem occur in Debian with pingus version 0.7.3 for which the packaging is probably very similar. Interestingly it occurs on my 32 bit laptop, but not the amd64 desktop (for the same 0.7.3 version). I haven't confirmed that all dependencies are the same version, but I did make sure I had all the latest ones installed on my laptop, to no effect. (Unfortunately the desktop PC is in a shipping crate, so I can't check it right now.)

I thought it might be something to do with my laptop's mono/stereo not working properly, such as if everything meant for one side was not being played. I ruled this out once I found some stereo headphones, and confirmed that the half of the notes that do play are coming through alternate sides, so it's not the left side or the right side being blocked out.

I downloaded the pingus source tar.gz for 0.7.3 and recompiled it, and am seeing exactly the same problem when built from the upstream source, so it's probably an upstream issue, unless it's to do with one of the libraries like libsdl-mixer or anything similar. I was meaning to check the pingus-devel mailing list, but their archive's offline right now for some reason.

Revision history for this message
Gabriel Rota (gabriel-rota) wrote :

Can you test the package in my ppa to verify if problem exist in ubuntu 10.10 https://launchpad.net/~gabriel-rota/+archive/ppa
I have 00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03) on 10.04 and now on 10.10 64 bit and no problem.

Revision history for this message
Jordy van Heeswijk (jordyvh) wrote :

I added your repository to my sources list and performed an update, but I don't notice any difference in Pingus.

Revision history for this message
Gabriel Rota (gabriel-rota) wrote :

Hi, thanks for interest, the repository contains following versions

Maverick ( ubuntu 10.10 )
pingus 0.7.3.4-1~ppa3 Gabriel Rota (2011-02-28)

Lucid ( ubuntu 10.04)
pingus 0.7.3.4-1~ppa2 Gabriel Rota (2011-02-09)

If you have another version of ubuntu write here and I build Pingus for it.

For you convenience I report the command to add repository and update pingus
sudo add-apt-repository ppa:gabriel-rota/ppa
sudo apt-get update
sudo apt-get install pingus

Revision history for this message
Jordy van Heeswijk (jordyvh) wrote :

I'm using Maverick here, and Pingus was indeed updated to 0.7.3.4-1~ppa3 when I added your PPA to my sources list.

Also another package was installed:
libboost-signals1.42.0 (1.42.0-3ubuntu1).

Revision history for this message
Gabriel Rota (gabriel-rota) wrote :

and music work or not ?

Revision history for this message
Gabriel Rota (gabriel-rota) wrote :

If don't work you can try to install libsdl1.2debian-pulseaudio ?

sudo aptitude install libsdl1.2debian-pulseaudio

Revision history for this message
Jordy van Heeswijk (jordyvh) wrote :

No, as I said in comment #10 the music still doesn't work correctly after I installed your PPA.
The package libsdl1.2debian-pulseaudio was already installed on my system.

Revision history for this message
Gabriel Rota (gabriel-rota) wrote :

Now I've understood the bug and affect me too.
I think it is a bug in sdl because gstreamer read the .it files normally.
In the next day I try to understand something.
The first workaround is convert all data/music/*.it in ogg and give the .it extension for avoid changes in the code.
Maybe it is also the final (maintaining. ogg and changing the code) because is the fastest to my knowledge of sdl.
What do you think? Can go?

Revision history for this message
Jordy van Heeswijk (jordyvh) wrote :

IMHO the conversion to OGG should only be used as a work-around, since it makes the music files unnecessarily large (doesn't it?).
I also think it would be a good idea to report this bug to the SDL developers if it is really caused by SDL. Do you know where to do that?
Then after that bug is fixed it's probably best to restore the IT files.

A point worth mentioning is that those IT files play fine in an external player. Any ideas why that could be so?

Changed in pingus (Ubuntu):
status: New → Confirmed
Revision history for this message
Gabriel Rota (gabriel-rota) wrote :

After successfull test of conversion *.it to *.xm by milkytracker I propose to convert all it files to xm.
This is better then ogg for size and modification and don't denaturate type of file (remain a tracker file).

Revision history for this message
Gabriel Rota (gabriel-rota) wrote :

https://bugs.launchpad.net/ubuntu/+source/libmikmod/+bug/194916
The issue is caused by "CVE-2007-6720.patch" Debian patch for libmikmod2.

Revision history for this message
Gabriel Rota (gabriel-rota) wrote :

libmikmod2 fixed in oneiric
backported on maverick in my ppa
ask me if necessary backport in other versions of Ubuntu backports
https://launchpad.net/~gabriel-rota/+archive/ppa

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

Other bug subscribers

Remote bug watches

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