Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Total hard lockup when running rosegarden
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
Higgaion
n00b
n00b


Joined: 01 Dec 2005
Posts: 43
Location: Oklahoma

PostPosted: Sun Feb 05, 2006 9:46 pm    Post subject: Total hard lockup when running rosegarden Reply with quote

I mean were talking an absolutely unresponsive lockup. :cry: I tried ssh from another gentoo machine on my lan and no dice. totaly dead. This has happened to me twice recently, and i noticed that i was running rosegarden both times. The first time i played with rosegarden for a while and went to bed. the next morning the machine was totaly jammed. This time i just opened rosegarden and when i hit the open file button BOOM. dead.
My only lead is a similar death earlier in my gentoo experience with SEQ24. the program compiled and opened just fine, but then when i pushed play... same story, hardlock. this happened like three times and i says to myself... "must be something in the kernel" (basically because i figured it would take something deeply important to the os to cause such a vile crash ) I had this configuration under alsa sound:
Code:

───────────────────────────────────────────────────────────────────┐ │
  │ │            <M> Advanced Linux Sound Architecture                    │ │
  │ │            <M>   Sequencer support                                  │ │
  │ │            < >     Sequencer dummy client                           │ │
  │ │            <M>   OSS Mixer API                                      │ │
  │ │            <M>   OSS PCM (digital audio) API                        │ │
  │ │            [ ]   OSS Sequencer API                                  │ │
  │ │            <M>   RTC Timer support                                  │ │
  │ │            [*]     Use RTC as default sequencer timer               │ │


i unchecked this box:
Code:
  │ │            []     Use RTC as default sequencer timer               │ │

on a whim ( mainly because RTC sounds demanding ? ), recompiled, and SEQ24 has worked pretty well since. so this is the kernel that is now giving me so much troubble. all versions of all relevant packages are the latest from portage, except i've got alsa-lib1.0.11_rc3, and alsa-headers1.0.11_rc3 as recomended by the alsa-users list to get two descreet stereo inputs in jack from my emu10k1. so those are masked packages. other than that it's all been deemed stable. my kernel is 2.6.14-gentoo-r5

Code:
# cat /etc/portage/package.keywords
x11-base/x11-drm ~x86
media-sound/ardour
x11-misc/smeg
media-libs/dssi
media-libs/liblo
media-libs/fluidsynth-dssi
media-sound/seq24
media-sound/alsa-headers ~x86
media-libs/alsa-lib ~x86



please help. i could live without rosegarden, i suppose, if that is really the problem, but i want to know why my system is unstable.
_________________
Psalm 9:16
Back to top
View user's profile Send private message
Higgaion
n00b
n00b


Joined: 01 Dec 2005
Posts: 43
Location: Oklahoma

PostPosted: Tue Feb 07, 2006 3:06 am    Post subject: Reply with quote

*bump*
_________________
Psalm 9:16
Back to top
View user's profile Send private message
Higgaion
n00b
n00b


Joined: 01 Dec 2005
Posts: 43
Location: Oklahoma

PostPosted: Wed Feb 08, 2006 1:03 am    Post subject: Reply with quote

maybe it has something to do with running rosegarden under Gnome? has anyome else had problems there?
_________________
Psalm 9:16
Back to top
View user's profile Send private message
norb
n00b
n00b


Joined: 22 Feb 2003
Posts: 28
Location: Cambridge, UK

PostPosted: Sat Feb 25, 2006 6:28 pm    Post subject: Reply with quote

Hi,

Not a very useful reply but I thought i'd let you know you are not alone. I just had the same problem. After booting up into Gnome and running Rosegarden the machine locks up at the 'Clean studio data...' (or similar) stage of the splash screen.
In the past I've managed to get Rosegarden running quite happily so I suspect something having gone wrong after an update (of it or some other package). It's quite surprising that it can lock the machine up, I didn't realise that really happened anymore - perhaps it's a kernel/module thing in that case?
Sorry this is a bit vague, if I get anywhere with working it out I'll post back.

Cheers,
-Nige
Back to top
View user's profile Send private message
Higgaion
n00b
n00b


Joined: 01 Dec 2005
Posts: 43
Location: Oklahoma

PostPosted: Sun Feb 26, 2006 1:16 am    Post subject: Reply with quote

Nige, have you tried the latest muse in portage? it's pretty stable. no score view, though...
_________________
Psalm 9:16
Back to top
View user's profile Send private message
norb
n00b
n00b


Joined: 22 Feb 2003
Posts: 28
Location: Cambridge, UK

PostPosted: Fri Apr 28, 2006 1:53 pm    Post subject: Reply with quote

Argh, this is driving me mad!

I still haven't managed to get it working. However, I might have tracked the problem down a little closer to the source (MIDI Input).
I spotted that Rosegarden works when started as root. MIDI output works fine but no MIDI input.
The Manage MIDI Devices dialog shows the following:

Quote:
Play devices:
General MIDI Device 16:0 MPU-401 MIDI 0-0 (duplex)
MIDI output system device No connection

Record devices:
MIDI hardware input device 16:0 MPU-401 MIDI 0-0 (duplex)
MIDI input system device No connection


Neither of the record devices have the check box indicating 'current' checked.
As soon as I click on the 'Current' check box for the 'MIDI hardware input device' the machine locks up totally.
Museseq seems to have the same problem.

Are there any lightweight packages which would help to diagnose the problem further? Preferrably something that runs from the command line.

I have a C-Media CM8738 sound card.

If anyone knows anything about this I'd greatly appreciate the help.

Cheers,
-Nige
Back to top
View user's profile Send private message
Higgaion
n00b
n00b


Joined: 01 Dec 2005
Posts: 43
Location: Oklahoma

PostPosted: Fri Apr 28, 2006 4:17 pm    Post subject: Reply with quote

Well if you just want to do some midi diagnosics, try amidi.
i believe it's in the alsa-utils package. amidi -l will list your midi ins and outs.
_________________
Psalm 9:16
Back to top
View user's profile Send private message
norb
n00b
n00b


Joined: 22 Feb 2003
Posts: 28
Location: Cambridge, UK

PostPosted: Sat Apr 29, 2006 12:29 am    Post subject: Reply with quote

Cool, thanks. That led me to thinking about how I could simplify the problem by removing Rosegarden (etc).
The Alsa Wiki has info about MIDI and mentions aconnect.
Basically, I followed their examples and installed vkeybd (virtual midi keyboard) and fluidsynth (virtual synth).

Initally, aconnect shows the following as input and output MIDI ports:
Code:
nige@sully ~ $ aconnect -i -o
client 0: 'System' [type=kernel]
    0 'Timer           '
    1 'Announce        '
client 14: 'Midi Through' [type=kernel]
    0 'Midi Through Port-0'
client 16: 'MPU-401 MIDI 0-0' [type=kernel]
    0 'MPU-401 MIDI 0-0'


After starting vkeybd and fluidsynth:
Code:
nige@sully ~ $ aconnect -i -o
client 0: 'System' [type=kernel]
    0 'Timer           '
    1 'Announce        '
client 14: 'Midi Through' [type=kernel]

    0 'Midi Through Port-0'
client 16: 'MPU-401 MIDI 0-0' [type=kernel]
    0 'MPU-401 MIDI 0-0'
client 128: 'Virtual Keyboard' [type=user]
    0 'Virtual Keyboard'
client 129: 'FLUID Synth (7495)' [type=user]
    0 'Synth input port (7495:0)'


Hooking together the keyboard and fluidsynth works (after loading a soundfont into fluidsynth). Playing notes on the virtual keyboard makes audio from the sound card:
Code:
nige@sully ~ $ aconnect 128:0 129:0


Disconnect fluidsynth and vkeybd and connect vkeybd to the MIDI port (with a hardware synth attached). Playing notes on the virtual keyboard makes noises from the external synth:
Code:
nige@sully ~ $ aconnect -d 128:0 129:0
nige@sully ~ $ aconnect 128:0 16:0


Trying to connect the MIDI port (with external keyboard attached) to fluidsynth causes the system lock up:
Code:
nige@sully ~ $ aconnect 16:0 129:0


An even simpler way to get the system to lock up is to use aseqdump, this can be done straight after boot up without having to start X or anything:
Code:
nige@sully ~ $ aseqdump -p 16:0


I presume that the system locking up means it's a kernel thing (in either a module or the main kernel).
Does anyone know of a way to get more information out from the kernel before it locks up to help pinpoint the problem?

Cheers,
-Nige
Back to top
View user's profile Send private message
Higgaion
n00b
n00b


Joined: 01 Dec 2005
Posts: 43
Location: Oklahoma

PostPosted: Sat Apr 29, 2006 9:10 pm    Post subject: Reply with quote

I had some problems with seq24, midi in, and my RTC options in the kernel. I believe the culprit was the "use RTC as default timer" option.
so if you've got that checked, try recompiling without it. if that doesn't help, or even if it does, join the linux-audio-user mailing list! that's where a swell group of LA enthusiasts will argue about your problems and maybe even solve them ;)
_________________
Psalm 9:16
Back to top
View user's profile Send private message
gimpel
Advocate
Advocate


Joined: 15 Oct 2004
Posts: 2720
Location: Munich, Bavaria

PostPosted: Sat Apr 29, 2006 10:55 pm    Post subject: Reply with quote

wow.. i'm not allone.. rosegarden locks up my box too while starting up - no matter if i use alsa or jackd. and i never have been able to trace it as the kernel doesn't even react on sysrq+t/s/u/b whatever..

all hail MusE :P
_________________
http://proaudio.tuxfamily.org/wiki - pro-audio software overlay
Back to top
View user's profile Send private message
norb
n00b
n00b


Joined: 22 Feb 2003
Posts: 28
Location: Cambridge, UK

PostPosted: Wed Jun 28, 2006 2:50 pm    Post subject: Reply with quote

Hi all,

I just thought I'd give an update on my situation in case it helps others in the future.
I posted to Linux-Audio-User (http://www.music.columbia.edu/pipermail/linux-audio-user/2006-May/035274.html)
and finally Alsa-Devel (http://sourceforge.net/mailarchive/message.php?msg_id=17776961) where Takashi Iwai replied with a patch to fix my problem.
I believe he will fix the problem in future versions of the driver.

Hope this helps,
-Nige
Back to top
View user's profile Send private message
GWilliam
Guru
Guru


Joined: 29 Dec 2005
Posts: 350

PostPosted: Mon Mar 30, 2009 6:55 am    Post subject: Reply with quote

#NULL

Last edited by GWilliam on Sun Jul 25, 2010 4:18 pm; edited 1 time in total
Back to top
View user's profile Send private message
GWilliam
Guru
Guru


Joined: 29 Dec 2005
Posts: 350

PostPosted: Sun Apr 12, 2009 8:10 pm    Post subject: Reply with quote

#NULL

Last edited by GWilliam on Sun Jul 25, 2010 4:18 pm; edited 1 time in total
Back to top
View user's profile Send private message
Clad in Sky
l33t
l33t


Joined: 04 May 2007
Posts: 888
Location: Germany

PostPosted: Mon Apr 13, 2009 6:56 am    Post subject: Reply with quote

Nothing really, but I thought I'd just report that for me rosegarden works well in Gnome.
I don't use midi in, though. I'm mainly interested in the score view and printing function.
Midi Out works, however using timidity.

Hope this helps a bit.
_________________
Kali Ma
Now it's autumn of the aeons
Dance with your sword
Now it's time for the harvest
Back to top
View user's profile Send private message
GWilliam
Guru
Guru


Joined: 29 Dec 2005
Posts: 350

PostPosted: Mon Apr 13, 2009 9:40 pm    Post subject: Reply with quote

#NULL

Last edited by GWilliam on Sun Jul 25, 2010 4:18 pm; edited 1 time in total
Back to top
View user's profile Send private message
GWilliam
Guru
Guru


Joined: 29 Dec 2005
Posts: 350

PostPosted: Sun Nov 29, 2009 3:37 am    Post subject: Reply with quote

#NULL

Last edited by GWilliam on Sun Jul 25, 2010 4:40 pm; edited 1 time in total
Back to top
View user's profile Send private message
Clad in Sky
l33t
l33t


Joined: 04 May 2007
Posts: 888
Location: Germany

PostPosted: Sun Nov 29, 2009 9:34 am    Post subject: Reply with quote

Uh...sorry.

Onboard sound using the snd_hda_intel driver.
_________________
Kali Ma
Now it's autumn of the aeons
Dance with your sword
Now it's time for the harvest
Back to top
View user's profile Send private message
GWilliam
Guru
Guru


Joined: 29 Dec 2005
Posts: 350

PostPosted: Sun Dec 13, 2009 1:48 am    Post subject: Reply with quote

#NULL

Last edited by GWilliam on Sun Jul 25, 2010 4:18 pm; edited 1 time in total
Back to top
View user's profile Send private message
GWilliam
Guru
Guru


Joined: 29 Dec 2005
Posts: 350

PostPosted: Tue Dec 29, 2009 11:23 pm    Post subject: Reply with quote

#NULL

Last edited by GWilliam on Sun Jul 25, 2010 4:18 pm; edited 1 time in total
Back to top
View user's profile Send private message
GWilliam
Guru
Guru


Joined: 29 Dec 2005
Posts: 350

PostPosted: Fri May 14, 2010 1:32 am    Post subject: Reply with quote

#NULL

Last edited by GWilliam on Sun Jul 25, 2010 4:18 pm; edited 1 time in total
Back to top
View user's profile Send private message
GWilliam
Guru
Guru


Joined: 29 Dec 2005
Posts: 350

PostPosted: Sun Jun 20, 2010 6:26 am    Post subject: Reply with quote

#NULL

Last edited by GWilliam on Sun Jul 25, 2010 4:18 pm; edited 1 time in total
Back to top
View user's profile Send private message
gimpel
Advocate
Advocate


Joined: 15 Oct 2004
Posts: 2720
Location: Munich, Bavaria

PostPosted: Mon Jun 21, 2010 9:03 am    Post subject: Reply with quote

Seems it's taking them years to understand that this is a rosegarden bug, not ALSA (at least no other application exhibits that behaviour)

http://www.mail-archive.com/rosegarden-devel@lists.sourceforge.net/msg14769.html
_________________
http://proaudio.tuxfamily.org/wiki - pro-audio software overlay
Back to top
View user's profile Send private message
GWilliam
Guru
Guru


Joined: 29 Dec 2005
Posts: 350

PostPosted: Tue Jun 22, 2010 2:01 am    Post subject: Reply with quote

#NULL
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum