No sound

Bug #311833 reported by jhansonxi
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
allegro4.2 (Ubuntu)
Fix Released
Low
Unassigned
overgod (Debian)
New
Unknown
overgod (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: overgod

Overgod uses Allegro. In Hardy it needs liballegro4.2-plugin-jack installed and jackd running in order to get sounds. In Intrepid I can't get sounds working but I haven't performed any PulseAudio configuring yet so that may be the problem. Overgod is version 1.0-1ubuntu2 on both Hardy and Intrepid.

WORKAROUND:
If the app in questions gives this error:
"ALSA lib rawmidi_hw.c:233:(snd_rawmidi_hw_open) open /dev/snd/midiC0D0 failed: No such file or directory"
then try this:
`sudo modprobe snd_virmidi`
then go to your /dev/snd directory and create a symlink from one of your midiCXDX files to midiC0D0
For me: `cd /dev/snd && sudo ln -s midiC2D0 midiC0D0`

Changed in overgod (Debian):
status: Unknown → New
Revision history for this message
Marius Gedminas (mgedmin) wrote :

This looks like a duplicate of bug 445945: every Allegro-using app is broken on Ubuntu, since Allegro 4.2 is not compatible with PulseAudio.

Revision history for this message
Reynaldo Matos Hortensi (lasanhadeberinjela) wrote :

I think it isn't a duplicate of bug 445945
Daniel Hollocher wrote in bug 445945 discussion: "yeah, I got that too, but it is a different bug. Can you open a new bug report? The error initializing sound is about the sound card not being supported at all. I think the other error is about not getting MIDI support. I tried to google it, but couldn't find anything."
So it isn't a duplicate.

Revision history for this message
Daniel Hollocher (chogydan) wrote :

Using the advice here: http://www.bigbluecup.com/yabb/index.php?topic=29886.70;wap2
I was able to get sound working in overgod. Not exactly sure what did it, if I really needed to sudo modprobe snd_virmidi or what. But I did see the midi devices, etc, setup a symlink, and it worked! I will check what a fresh boot looks like, I just wanted to get the link posted.

Revision history for this message
Daniel Hollocher (chogydan) wrote :
Revision history for this message
Daniel Hollocher (chogydan) wrote :

ok, I confirmed. Maybe this is a udev bug, maybe linux.

description: updated
Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

Is this bug still present? Is this still deemed a possible bug in liballegro4.2?

Changed in allegro4.2 (Ubuntu):
status: New → Incomplete
importance: Undecided → Low
Revision history for this message
Daniel Hollocher (chogydan) wrote :

Im on natty, and sound seems to be working, even though the error message is still present

Changed in allegro4.2 (Ubuntu):
status: Incomplete → Fix Released
Changed in overgod (Ubuntu):
status: New → Fix Released
Revision history for this message
jhansonxi (jhansonxi) wrote :

Bug is still present in 10.04 (Lucid Lynx). The snd_virmidi workaround doesn't work.

Revision history for this message
Daniel Hollocher (chogydan) wrote :

I doubt a bug fix like this will be backported. You may have to use a later version of Ubuntu

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.