LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 04-18-2005, 09:42 PM   #1
jgams
Member
 
Registered: Nov 2004
Location: Victoria, BC
Distribution: Slackware 10.2 , Ubuntu 5.04
Posts: 45

Rep: Reputation: 15
issues setting up rosegarden/JACK/ALSA


lspci:
Code:
0000:00:0d.0 Multimedia audio controller: Creative Labs SB Audigy (rev 03)
0000:00:0d.1 Input device controller: Creative Labs SB Audigy MIDI/Game port (rev 03)
0000:00:0d.2 FireWire (IEEE 1394): Creative Labs SB Audigy FireWire Port
alsamixer:
Card: Sound Blaster Audigy
Chip: SigmaTel STAC9721/23

Ubuntu ver.???(set up for mp3/dvd/etc compatability, fully upgraded via synaptic package manager)
2.6.10-5-386

alright, now the problems...
i used the synaptic package manager to install rosegarden. it seems to have gotten all the little bits it needs like kdelibs etc, and now i'm trying to get it to work (i've been searching the forums all day trying to find solutions but i seem to keep finding more and more problems)

lets start with the program its self:
Code:
 $ rosegarden
kbuildsycoca running...
rosegarden: main: Showing startup logo
jgams@motherfucker:~ $ rosegarden (sequence manager): getSequencerPlugins - getting plugin information
PluginFactory::instance(ladspa): creating new LADSPAPluginFactory
[/home/jgams/.ladspa] [/usr/local/lib/ladspa] [/usr/lib/ladspa]
rosegarden (sequence manager): got 50000 pieces of plugin data at GUI side
Profiler : id = querying plugins - elapsed = 50ms CPU,  0.603597000R real
rosegarden: RosegardenGUIDoc::syncDevices - waiting for Sequencer to come up
rosegarden (sequencer): SequencerMmapper : setting size of /tmp/kde-jgams//rosegarden_sequencer_timing_block to 91012
rosegarden (sequencer): SequencerMmapper : mmap size : 91012 at 0xb64a1000
rosegarden (sequencer): SequencerMmapper::init()
rosegarden (sequencer): Registering with DCOP server
Rosegarden 1.0 - AlsaDriver - alsa-lib version 1.0.8

JackDriver::initialiseAudio - JACK server not running
ALSA lib seq_hw.c:446:(snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory
rosegarden: RosegardenGUIDoc::syncDevices - waiting for Sequencer to come up
rosegarden: RosegardenGUIDoc::syncDevices - waiting for Sequencer to come up
....(repeat nine million times)....

Code:
rosegarden: RosegardenGUIDoc::syncDevices - waiting for Sequencer to come up
rosegarden: couldn't kill any sequencer processes
rosegarden: RosegardenGUIApp::slotSequencerExited Sequencer exited
rosegarden: RosegardenGUIApp::slotSequencerExited Sequencer exited
rosegarden: RosegardenGUIApp::queryExit
at this point two identical pop-ups appear telling me:
"The Rosegarden sequencer could not be started, so sound and recording will be unavailable for this session.
For assistance with correct audio and MIDI configuration, go to http://rosegardenmusic.com."

i click "OK" and rosegarden comes up with the same crap repeating in the terminal and the same two error messages.

i close rosegarden and it spews a bunch more crap into the terminal ending with
Code:
ICE default IO error handler doing an exit(), pid = 17425, errno = 0
then hangs long enough for me to do the dishes, smoke one of the 100's i got from the corner store then opened before i realized they weren't king size, and, of course, type this little segment.

i see the problem with JACK but i decided to follow the directions of the pop-ups before looking into it.

the FAQ site says:
2.3. Rosegarden is crashing at startup

Try running up the sequencer by itself first to see if it's a problem with that or the main part of the program. Run:

$ rosegardensequencer

And you should get a few lines of output finishing with:

RosegardenSequencer - started OK

If the sequencer starts up OK, try to start the main application with the command line switch "--nosequencer". If that fails, see next question on how to obtain a stack trace, which you should provide as part of any bug report you submit.

Code:
 $ rosegardensequencer
kbuildsycoca running...
rosegarden (sequencer): SequencerMmapper : setting size of /tmp/kde-jgams//rosegarden_sequencer_timing_block to 91012
rosegarden (sequencer): SequencerMmapper : mmap size : 91012 at 0xb64a1000
rosegarden (sequencer): SequencerMmapper::init()
rosegarden (sequencer): Registering with DCOP server
Rosegarden 1.0 - AlsaDriver - alsa-lib version 1.0.8

JackDriver::initialiseAudio - JACK server not running
ALSA lib seq_hw.c:446:(snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory
same crap as before just less failures. i don't really feel like submitting a stack trace, sooo...

JACK. i got qjackctl via the SPM
Code:
 $ qjackctl
Warning: no locale found: /usr/share/locale/qjackctl_en_CA.qm
and error message stating
"Could not open ALSA sequencer as a client.
MIDI patchbay will be not available."
with the option of "Cancel"

looked around, tried this:
Code:
$ sudo jackd -R -dalsa -dhw:0 -r48000 -p1024 -n2
Password:
jackd 0.99.0
Copyright 2001-2003 Paul Davis and others.
jackd comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details

loading driver ..
apparent rate = 48000
creating alsa driver ... hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit
control device hw:0
configuring for 48000Hz, period = 1024 frames, buffer = 2 periods
Couldn't open hw:0 for 32bit samples trying 24bit instead
Couldn't open hw:0 for 24bit samples trying 16bit instead
Couldn't open hw:0 for 32bit samples trying 24bit instead
Couldn't open hw:0 for 24bit samples trying 16bit instead
here it hangs as well...

i tried a few other things but i can't remember what they were. perhaps i should submit that stack trace.

if anybody can help i'd really appreciate it.
thanks

jgams

Last edited by jgams; 04-19-2005 at 04:09 PM.
 
Old 04-18-2005, 10:35 PM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 51
i have just regular sb live and not audigy but i still might be able to help to a certain extent
show us output from
lsmod

is your sound stuff compiled in or modules ?? once i tried it compiled sound into the kernel and it broke the sequencer for some reason

and
ls -l /dev/snd/seq

just as another aside and this might be one of those purely subjective things
i found "muse" alot easier to use that rosegarden and muse plays nice with sudo where rosegarden does not

i notice when you sharted jack by hand you used sudo

is that the way you are aproaching this or have you done the kernel patching thing or kernel packages from soundslack or whatever?
 
Old 04-18-2005, 10:51 PM   #3
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,223

Rep: Reputation: 86
Try to load this module:
modprobe snd-seq-midi
 
Old 04-19-2005, 11:44 AM   #4
jgams
Member
 
Registered: Nov 2004
Location: Victoria, BC
Distribution: Slackware 10.2 , Ubuntu 5.04
Posts: 45

Original Poster
Rep: Reputation: 15
foo_bar_foo
Code:
$ lsmod
Module                  Size  Used by
proc_intf               4100  0
cpufreq_powersave       1920  0
cpufreq_userspace       4572  0
cpufreq_ondemand        6172  0
freq_table              4100  0
video                  16260  0
battery                10244  0
container               4608  0
button                  6800  0
pcc_acpi               11264  0
sony_acpi               6280  0
ac                      4996  0
ipv6                  229504  8
af_packet              20744  2
ohci1394               31876  0
ieee1394              100408  1 ohci1394
emu10k1_gp              3840  0
gameport                4608  1 emu10k1_gp
snd_emu10k1            81668  2
snd_rawmidi            22944  1 snd_emu10k1
snd_seq_device          8332  2 snd_emu10k1,snd_rawmidi
snd_ac97_codec         64608  1 snd_emu10k1
snd_pcm_oss            47652  1
snd_mixer_oss          16768  2 snd_pcm_oss
snd_pcm                84872  3 snd_emu10k1,snd_ac97_codec,snd_pcm_oss
snd_timer              23300  1 snd_pcm
snd_page_alloc          9604  2 snd_emu10k1,snd_pcm
snd_util_mem            4608  1 snd_emu10k1
snd_hwdep               9220  1 snd_emu10k1
snd                    50276  9 snd_emu10k1,snd_rawmidi,snd_seq_device,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_hwdep
soundcore               9824  3 snd
tulip                  46112  0
i2c_viapro              7436  0
i2c_core               21264  1 i2c_viapro
uhci_hcd               30224  0
usbcore               107384  2 uhci_hcd
pci_hotplug            30512  0
via_agp                 9216  1
agpgart                31784  1 via_agp
floppy                 54864  0
pcspkr                  3816  0
rtc                    12216  0
md                     43856  0
dm_mod                 53116  1
capability              5000  0
commoncap               7808  1 capability
parport_pc             34372  1
lp                     10792  0
parport                33480  2 parport_pc,lp
ide_cd                 38532  0
tsdev                   7488  0
cdrom                  36508  1 ide_cd
evdev                   9088  0
mousedev               11160  1
psmouse                19336  0
reiserfs              225616  2
ext3                  120968  0
jbd                    54168  1 ext3
ide_generic             1664  0
ide_disk               18176  4
via82cxxx              12956  1
ide_core              118988  4 ide_cd,ide_generic,ide_disk,via82cxxx
unix                   26164  678
thermal                13576  0
processor              22708  1 thermal
fan                     4612  0
fbcon                  34048  0
font                    8448  1 fbcon
bitblit                 5120  1 fbcon
vesafb                  6948  0
cfbcopyarea             3968  1 vesafb
cfbimgblt               3072  1 vesafb
cfbfillrect             3584  1 vesafb
i believe everything is in modules considering i didn't have to compile anything... it's hard to say though because i used Ubuntu's synaptic package manager for everything and i'm still pretty new to this distro.
Code:
$ ls -l /dev/snd/seq
ls: /dev/snd/seq: No such file or directory
thanks - i'll look into muse.

since root is disabled as a default by ubuntu i used sudo to start jack because the post i pulled the suggestion from said i would need to be root to do the necessary configuration.
i'm not too sure what soundslack is...

Linux.tar.gz
Code:
$ modprobe snd-seq-midi
FATAL: Error inserting snd_seq (/lib/modules/2.6.10-5-386/kernel/sound/core/seq/snd-seq.ko): Operation not permitted
WARNING: Error running install command for snd_seq
WARNING: Error inserting snd_seq_midi_event (/lib/modules/2.6.10-5-386/kernel/sound/core/seq/snd-seq-midi-event.ko): Operation not permitted
FATAL: Error inserting snd_seq_midi (/lib/modules/2.6.10-5-386/kernel/sound/core/seq/snd-seq-midi.ko): Operation not permitted
thanks for the input.
 
Old 04-19-2005, 01:25 PM   #5
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 51
hmmmmmmmm

i'm goint to assume this system is using udev ? yes

wherever the file is that loads modules at boot for udev to create device nodes

load the sounddrivers like this in this order

soundcore
snd
snd-emu10k1
snd-mixer-oss
snd-seq-oss
snd-pcm-oss
snd-seq-midi
snd-mpu401-uart

that should load all the junk and make you a sequencer
this is what my lsmod looks like for reference

snd_mpu401_uart 6784 0
snd_pcm_oss 50344 0
snd_seq_midi 6816 0
snd_emu10k1_synth 7296 0
snd_emux_synth 36352 1 snd_emu10k1_synth
snd_seq_virmidi 6272 1 snd_emux_synth
snd_seq_midi_emul 7424 1 snd_emux_synth
snd_seq_oss 33024 0
snd_seq_midi_event 6784 3 snd_seq_midi,snd_seq_virmidi,snd_seq_oss
snd_seq 53008 8 snd_seq_midi,snd_emux_synth,snd_seq_virmidi,snd_seq_midi_emul,snd_seq_oss,snd_seq_midi_event
snd_mixer_oss 17792 1 snd_pcm_oss
snd_emu10k1 94856 1 snd_emu10k1_synth
snd_rawmidi 21284 4 snd_mpu401_uart,snd_seq_midi,snd_seq_virmidi,snd_emu10k1
snd_pcm 88836 2 snd_pcm_oss,snd_emu10k1
snd_timer 23044 2 snd_seq,snd_pcm
snd_seq_device 6792 7 snd_seq_midi,snd_emu10k1_synth,snd_emux_synth,snd_seq_oss,snd_seq,snd_emu10k1,snd_rawmidi
snd_ac97_codec 66308 1 snd_emu10k1
snd_page_alloc 9096 2 snd_emu10k1,snd_pcm
snd_util_mem 3584 2 snd_emux_synth,snd_emu10k1
snd_hwdep 7428 2 snd_emux_synth,snd_emu10k1
snd 47844 17 snd_mpu401_uart,snd_pcm_oss,snd_seq_midi,snd_emux_synth,snd_seq_virmidi,snd_seq_oss,snd_seq_midi_eve nt,snd_seq,snd_mixer_oss,snd_emu10k1,snd_rawmidi,snd_pcm,snd_timer,snd_seq_device,snd_ac97_codec,snd _util_mem,snd_hwdep
soundcore 7904 1 snd

it might help to have the /etc/modprobe.conf stuff in place -- not sure

alias char-major-14-* soundcore
# this is the alsa section
alias char-major-116 snd
alias snd-card-0 snd-emu10k1
alias sound-slot-0 snd-card-0
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-midi
alias sound-service-0-12 snd-pcm-oss

yea sudo works fine
basically everything you run that connects to jack start also as sudo
i always do
sudo qjackctl
then start jack then
sudo ladccad --no-ipv6
then
sudo muse / sudo ardour / sudo tkeca.tcl or whatever i want to use

post back if you can't get midi or keyboard going or whatever
 
Old 04-19-2005, 11:22 PM   #6
jgams
Member
 
Registered: Nov 2004
Location: Victoria, BC
Distribution: Slackware 10.2 , Ubuntu 5.04
Posts: 45

Original Poster
Rep: Reputation: 15
foo_bar_foo

thanks for the help, but i'm not quite sure what to do with the information you've given me...
i am looking into it, however, specifics would be a great help.
jgams
 
Old 04-20-2005, 12:42 AM   #7
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 51
Quote:
Originally posted by jgams
foo_bar_foo

specifics would be a great help.
sorry it's imposible for me to know all the millios of variations of Linux systems so i avoid particulars
(try this)
with an editor put this in /etc/modules
Code:
soundcore
snd
snd-emu10k1
snd-mixer-oss
snd-seq-oss
snd-pcm-oss
snd-seq-midi
snd-mpu401-uart
and this in /etc/modprobe.conf
Code:
alias char-major-14-* soundcore
# this is the alsa section
alias char-major-116 snd
alias snd-card-0 snd-emu10k1
alias sound-slot-0 snd-card-0
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-midi
alias sound-service-0-12 snd-pcm-oss

then reboot and see if it don't work better
 
Old 04-20-2005, 01:42 AM   #8
jgams
Member
 
Registered: Nov 2004
Location: Victoria, BC
Distribution: Slackware 10.2 , Ubuntu 5.04
Posts: 45

Original Poster
Rep: Reputation: 15
sorry, i feel like a bit of a dolt asking you to spell it out... but now i know because hey, IT WORKED!
thanks so much for your help. i was starting to get a little discouraged there.

thanks again for all your time!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Rosegarden, jack, qjackctl error: "can't connect to server as client" deep_inda_jungl Mandriva 3 02-20-2007 11:45 PM
Slack 10, kernel 2.6.7, SB Live Value+ALSA, causing rosegarden headaches SocialEngineer Linux - Software 11 04-14-2005 01:32 PM
ALSA doesn't like Rosegarden?? oudent Linux - Software 0 07-01-2004 11:53 AM
Jack and rosegarden "automation" js72 Fedora 0 03-22-2004 05:26 AM
JACK doesn't detect ALSA disciple061 Linux - Software 0 07-31-2003 07:52 PM


All times are GMT -5. The time now is 05:58 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration