Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 557264 - media-sound/timidity++-2.14.0-r2: midi daemon chews up lots of CPU and doesn't generate any sound
Summary: media-sound/timidity++-2.14.0-r2: midi daemon chews up lots of CPU and doesn'...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-11 00:09 UTC by Raymond Jennings
Modified: 2017-04-26 21:09 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (einfo.txt,5.63 KB, text/plain)
2015-08-11 00:14 UTC, Raymond Jennings
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Raymond Jennings 2015-08-11 00:09:39 UTC
I ran rpgmaker2000 and ran a bgm...and nothing came out.  it used to work.

Curious, I also checked top, and noticed that both timidity and its pulseaudio spawn were chewing up loads of CPU.

I ran an strace on them and saw some surprisingly spammy results.

I also ran timidity on its own for a midi file, and it played fine and didn't chew up gobs of CPU.


Reproducible: Always

Actual Results:  
cpu burnage and no sound

Expected Results:  
music

I tried enabling SND_VIRMIDI but all that did was kill my regular sound when the default output device got replaced.
Comment 1 Raymond Jennings 2015-08-11 00:14:07 UTC
Timestamped strace logs during the test.  They were too big to attach:

http://speedy.sh/zjg6q/pulse.log.xz
http://speedy.sh/ubjmF/timidity.log.xz
Comment 2 Raymond Jennings 2015-08-11 00:14:37 UTC
Created attachment 408762 [details]
emerge --info
Comment 3 Raymond Jennings 2015-08-15 04:25:44 UTC
I got it working again after disabling pulseaudio system wide (except for skype).

I confirmed that it worked, and that timidity had an open fd to the sound card.
Comment 4 Alex Xu (Hello71) 2015-08-16 14:13:35 UTC
timidity command line?
Comment 5 Raymond Jennings 2015-08-16 15:33:41 UTC
/etc/init.d/timidity start
Comment 6 Raymond Jennings 2015-09-06 00:05:44 UTC
I should probably also mention that pulseaudio was involved the first time.

Killing it off my system completely fixed timidity so it could be a bug in pulseaudio instead of timidity.

Not my area of expertise though so I can't really be sure.
Comment 7 Raymond Jennings 2017-04-26 21:09:57 UTC
Old version