[PlanetCCRMA] pd-gui doesn't appear

jan hendrik brueggemeier jan@pingfm.org
Tue Feb 8 13:25:01 2005


hm,

after an dist-upgrade it least stopped misbehaving restarting whole
machine, but i could not find a hint in /var/log/messages

but i noticed that i might be missing some depending libs:

i can find following files on my hd:
/usr/bin/pd

ls -la /usr/lib/pd/bin:
drwxr-xr-x  2 root root   4096  8. Feb 21:56 .
drwxr-xr-x  8 root root   4096  3. Feb 20:06 ..
-rwxr-xr-x  1 root root  15656 29. Dez 21:52 pd-gui
-rw-r--r--  1 root root 111681 29. Dez 21:52 pd.tk
-rwxr-xr-x  1 root root   4968 29. Dez 21:52 pd-watchd

ldd /usr/bin/pd
linux-gate.so.1 =>  (0xffffe000)
libasound.so.2 => /usr/lib/libasound.so.2 (0x4267d000)
librt.so.1 => /lib/tls/librt.so.1 (0x42620000)
libjack.so.0 => /usr/lib/libjack.so.0 (0x4239c000)
libdl.so.2 => /lib/libdl.so.2 (0x41b02000)
libm.so.6 => /lib/tls/libm.so.6 (0x41add000)
libpthread.so.0 => /lib/tls/libpthread.so.0 (0x41bf3000)
libc.so.6 => /lib/tls/libc.so.6 (0x419b1000)
/lib/ld-linux.so.2 (0x41998000)


but it should rather look like this:

$ ldd /usr/bin/pd
        libtk8.3.so.1 => /usr/lib/libtk8.3.so.1 (0x40023000)
        libtcl8.3.so.1 => /usr/lib/libtcl8.3.so.1 (0x400d6000)
        libdl.so.2 => /lib/libdl.so.2 (0x4015a000)
        libm.so.6 => /lib/libm.so.6 (0x4015d000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x4017e000)
        libasound.so.2 => /usr/lib/libasound.so.2 (0x401cd000)
        libjack-0.44.0.so.0 => /usr/lib/libjack-0.44.0.so.0 (0x4024e000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40257000)
        libc.so.6 => /lib/libc.so.6 (0x40311000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)


so i am at least missing the dependencies of tcl and X11 ..

to install pd on my machine i used that rpm provided by ccrma.

would it be better


> Date: Sun, 6 Feb 2005 22:39:59 +0100 (MET)
> From: jan hendrik brueggemeier <jan@pingfm.org>
> cc: PlanetCCRMA@ccrma.Stanford.EDU
> Subject: Re: [PlanetCCRMA] pd-gui doesn't appear
>
> hi,
>
> i noticed that i havn't had set the hostname of my machine. so i did set
> it, cause i had vague impression that this may be part of the problem.
>
> situation now is that starting pd causes a reboot (!) of my machine.
> i tried it 3 time in a row and everytime my machine crashed and restarted.
>
> any advice for me?
>
> jan
>
> On Sun, 6 Feb 2005, Fernando Lopez-Lezcano wrote:
>
> > On Sat, 2005-02-05 at 04:53, jan hendrik brueggemeier wrote:
> > > hi there,
> > >
> > > i am running ccrma on FC3.
> > >
> > > no matter if i start pd in cmdline as user or as root with suffix like
> > > (-rt -alsa) or with out. no gui appears, but a process seems to be
> > > running:
> > >
> > >  5832 pts/3    S      0:00  |       \_ -bash
> > >  5864 pts/3    S+     0:00  |           \_ pd -rt -alsa
> > >  5865 pts/3    S+     0:00  |               \_ /usr/lib/pd/bin/pd-gui 5400
> > >  5866 pts/3    S+     0:00  |               \_ /usr/lib/pd/bin/pd-watchdog
> > >
> > > or
> > >
> > >  5939 pts/3    S+     0:00  |   \_ pd
> > >  5940 pts/3    S+     0:00  |       \_ /usr/lib/pd/bin/pd-gui 5400
> > >
> > >
> > > no gui accurs.
> > >
> > > any hints for me?
> >
> > Hmmm, not really. I tried both on my fc3 laptop and it pops up the gui.
> > I wonder what could be happening. Maybe you can strace it to see if it
> > is hanging in some system call? ("strace pd", that will generate tons of
> > output...)
> >
> > -- Fernando
>
>
> --__--__--
>
> Message: 3
> Date: Sun, 6 Feb 2005 17:33:50 -0500
> From: "Jon B" <epxcv1y02@sneakemail.com>
> To: planetccrma@ccrma.Stanford.EDU
> Subject: [PlanetCCRMA] Midisport 1x1
>
> I tried to follow these directions:
> http://ccrma.stanford.edu/planetccrma/software/usbmidi.html
> But they seem to be out of date?
>
> I get:
>
> [root@localhost ~]# apt-get install hotplug hotplug-gtk
> Reading Package Lists... Done
> Building Dependency Tree... Done
> hotplug is already the newest version.
> Package hotplug-gtk has no available version, but exists in the database.
> This typically means that the package was mentioned in a dependency and
> never uploaded, has been obsoleted or is not available with the contents
> of sources.list
> However the following packages replace it:
>   hotplug
> E: Package hotplug-gtk has no installation candidate
>
> and
>
> [root@localhost ~]# apt-get install ezusbmidi
> Reading Package Lists... Done
> Building Dependency Tree... Done
> E: Couldn't find package ezusbmidi
>
> I tried to add module by hand:
>
> modprobe snd-usb-midi
> FATAL: Module snd_usb_midi not found.
>
> When I plug it in, no lights light up, and it doesn't show up in cat
> /proc/asound/card
>
> Jon
>
>
> --__--__--
>
> Message: 4
> Date: Mon, 07 Feb 2005 00:45:16 +0100
> From: Andre Almeida <almeida@ircam.fr>
> To: Jon B <epxcv1y02@sneakemail.com>
> Cc: planetccrma@ccrma.Stanford.EDU
> Subject: Re: [PlanetCCRMA] Midisport 1x1
>
> I downloaded the redhat 9 rpm from
>
>  >http://ccrma.stanford.edu/planetccrma/mirror/redhat/linux/planetccrma/9/en/os/noarch/ezusbmidi-2002_11_17-1.noarch.rpm
>
> and installed it via rpm -Uvh:
>
>  >rpm -Uvh ezusbmidi-2002_11_17-1.noarch.rpm
>
> The package doesn't seem to be in the Fedora repositories...
>
> It works but I have to unplug it when I reboot, otherwise alsa doesn't
> start and blocks the boot process.
>
> Andre
>
>
>
> Jon B wrote:
>
> >I tried to follow these directions:
> >http://ccrma.stanford.edu/planetccrma/software/usbmidi.html
> >But they seem to be out of date?
> >
> >I get:
> >
> >[root@localhost ~]# apt-get install hotplug hotplug-gtk
> >Reading Package Lists... Done
> >Building Dependency Tree... Done
> >hotplug is already the newest version.
> >Package hotplug-gtk has no available version, but exists in the database.
> >This typically means that the package was mentioned in a dependency and
> >never uploaded, has been obsoleted or is not available with the contents
> >of sources.list
> >However the following packages replace it:
> >  hotplug
> >E: Package hotplug-gtk has no installation candidate
> >
> >and
> >
> >[root@localhost ~]# apt-get install ezusbmidi
> >Reading Package Lists... Done
> >Building Dependency Tree... Done
> >E: Couldn't find package ezusbmidi
> >
> >I tried to add module by hand:
> >
> >modprobe snd-usb-midi
> >FATAL: Module snd_usb_midi not found.
> >
> >When I plug it in, no lights light up, and it doesn't show up in cat
> >/proc/asound/card
> >
> >Jon
> >
> >_______________________________________________
> >PlanetCCRMA mailing list
> >PlanetCCRMA@ccrma.stanford.edu
> >http://ccrma-mail.stanford.edu/mailman/listinfo/planetccrma
> >
> >
> >
> >
>
>
> --__--__--
>
> Message: 5
> Date: Sun, 6 Feb 2005 20:58:10 -0500
> From: "Jon B" <epxcv1y02@sneakemail.com>
> To: planetccrma@ccrma.Stanford.EDU
> Subject: [PlanetCCRMA] Re: Midisport 1x1
>
> Ok.  The lights do their thing now, and it says it's registering some
> things when I plug it in, but it doesn't show up under
> proc/asound/devices or cards
>
> I have no problems booting up with it still plugged in.
>
> Feb  6 19:13:55 localhost kernel: usb 3-1: new full speed USB device
> using uhci_hcd and address 4
> Feb  6 19:13:55 localhost kernel: ALSA
> /usr/src/rpm/BUILD/alsa-driver-1.0.8/acore/init.c:107: cannot find the
> slot for index 1 (range 0-1)
> Feb  6 19:13:55 localhost kernel: ALSA
> /usr/src/rpm/BUILD/alsa-driver-1.0.8/usb/usbaudio.c:3071: cannot
> create card instance 0
> Feb  6 19:13:55 localhost kernel: snd-usb-audio: probe of 3-1:1.0
> failed with error -5
> Feb  6 19:13:55 localhost kernel: midi: probe of 3-1:1.0 failed with error -5
> Feb  6 19:13:55 localhost kernel: ALSA
> /usr/src/rpm/BUILD/alsa-driver-1.0.8/acore/init.c:107: cannot find the
> slot for index 1 (range 0-1)
> Feb  6 19:13:55 localhost kernel: ALSA
> /usr/src/rpm/BUILD/alsa-driver-1.0.8/usb/usbaudio.c:3071: cannot
> create card instance 0
> Feb  6 19:13:55 localhost kernel: snd-usb-audio: probe of 3-1:1.1
> failed with error -5
> Feb  6 19:13:55 localhost kernel: usb-midi: Found MIDISTREAMING on dev
> 0763:1110, iface 1
> Feb  6 19:13:55 localhost kernel: usb-midi: Found MIDIStreaming device
> corresponding to Release 1.00 of spec.
> Feb  6 19:13:55 localhost kernel: usb-midi: Found IN Jack 0x01 EMBEDDED
> Feb  6 19:13:55 localhost kernel: usb-midi: Found IN Jack 0x02 EXTERNAL
> Feb  6 19:13:55 localhost kernel: usb-midi: Found OUT Jack 0x03 EMBEDDED, 1 pins
> Feb  6 19:13:55 localhost kernel: usb-midi: Found OUT Jack 0x04 EXTERNAL, 1 pins
> Feb  6 19:13:55 localhost kernel: string descriptor 0 found (length = 4)
> Feb  6 19:13:55 localhost kernel: usb-midi: langid(0) 0x0409
> Feb  6 19:13:55 localhost kernel: usb-midi: langid(match) 0x0409
> Feb  6 19:13:55 localhost kernel: usb-midi: fetchString(2)
> Feb  6 19:13:55 localhost kernel: usb-midi: fetchString = 13
> Feb  6 19:13:55 localhost kernel: usbmidi: found [ Midisport 1x1 ]
> (0x0763:0x1110), attached:
> Feb  6 19:13:55 localhost kernel: usbmidi: /dev/midi00: in (ep:81 cid:
> 0 bufsiz:64) out (ep:01 cid: 0 bufsiz:64)
> - Hide quoted text -
>
>
> On Mon, 07 Feb 2005 00:45:16 +0100, Andre Almeida almeida-at-ircam.fr
> |planet ccrma| <...> wrote:
> > I downloaded the redhat 9 rpm from
> >
> >  >http://ccrma.stanford.edu/planetccrma/mirror/redhat/linux/planetccrma/9/en/os/noarch/ezusbmidi-2002_11_17-1.noarch.rpm
> >
> > and installed it via rpm -Uvh:
> >
> >  >rpm -Uvh ezusbmidi-2002_11_17-1.noarch.rpm
> >
> > The package doesn't seem to be in the Fedora repositories...
> >
> > It works but I have to unplug it when I reboot, otherwise alsa doesn't
> > start and blocks the boot process.
> >
> > Andre
> >
> >
>
>
> --__--__--
>
> Message: 6
> Date: Sun, 06 Feb 2005 21:00:54 -0500
> From: "William M. Quarles" <walrus@bellsouth.net>
> To: Fernando Lopez-Lezcano <nando@ccrma.Stanford.EDU>
> CC: planetccrma@ccrma.Stanford.EDU
> Subject: Re: [PlanetCCRMA] Fedora Core 2 and 3 support
>
> Fernando Lopez-Lezcano wrote:
> <snip>
> >
> > I think the latest 2.6.x kernels are working quite well. There are two
> > "branches" currently, one the standard 2.6.10 kernel (with the stuff
> > that enables you to use jack as a normal user) and the more experimental
> > ones that use the latest Ingo's realtime preempt patches[*]. The later
> > is not so stable, in the sense that some people have problems booting
> > into it. If it works in your hardware then it is very good in terms of
> > latency performance, I'd say better than 2.4.x.
>
> How does latency compare between the former and 2.4?
>
> <snip>
> >On Sun, 2005-02-06 at 10:42, William M. Quarles wrote:
>  >
> >>On another note, is it possible to put a separate Planet CCRMA
> >>announcements is in the pipeline?
> >
> > I don't understand... announcements about what is in the pipeline? A
> > separate announcements list? Could you be more specific?
> >
>
> You have put out a lot of messages on the list with the subjects
> starting with words like "updates:," "updated:," "new section:," and the
> infamous "redhat 7.3/8.0 support."  These are the kinds of messages that
> I think should be put on a separate list.  There is a lot of traffic on
> the list, and I hardly read it except when I'm having a problem.  I have
> this mailing list automatically sorted into a separate folder so that
> the traffic doesn't interfere with my normal e-mail reading (although my
> spam level is still higher :-) but luckily double-filtered).  Due to the
> traffic it is difficult to pick out announcements from you.
>
> The Red Hat lists face the same difficulty but to a much greater degree,
> so they have a separate low-traffic announcements list for The Fedora
> Project, where they tell of new releases, updated packages, security
> alerts, ends of life, etc.
> <http://www.redhat.com/mailman/listinfo/fedora-announce-list>  I was
> just thinking that something like that might be helpful to this list.
>
> I probably wouldn't want to see every package that you build for Fedora
> Core 3 show up in a separate e-mail message, but maybe a message when
> you have completed your build of Planet CCRMA for it, any new packages
> that get added to the repository, subsequent updates (so that we know
> when to run apt_get), and removal of distributions from the repository
> (e.g. RHL 7.3).  Such a mailing list I would not sort out for reading
> when needed, but rather I would have it right with my regular e-mail so
> that I would know what was up in real time (which is what I do for for
> my Fedora announcements list, too).  I hope that clears things up.
>
> Peace,
> William
>
>
> --__--__--
>
> Message: 7
> Subject: Re: [PlanetCCRMA] Re: Midisport 1x1
> From: Fernando Lopez-Lezcano <nando@ccrma.Stanford.EDU>
> To: Jon B <epxcv1y02@sneakemail.com>
> Cc: planetccrma@ccrma.Stanford.EDU
> Organization:
> Date: 06 Feb 2005 18:38:24 -0800
>
> On Sun, 2005-02-06 at 17:58, Jon B wrote:
> > Ok.  The lights do their thing now, and it says it's registering some
> > things when I plug it in, but it doesn't show up under
> > proc/asound/devices or cards
> >
> > I have no problems booting up with it still plugged in.
> >
> > Feb  6 19:13:55 localhost kernel: usb 3-1: new full speed USB device
> > using uhci_hcd and address 4
> > Feb  6 19:13:55 localhost kernel: ALSA
> > /usr/src/rpm/BUILD/alsa-driver-1.0.8/acore/init.c:107: cannot find the
> > slot for index 1 (range 0-1)
> > Feb  6 19:13:55 localhost kernel: ALSA
> > /usr/src/rpm/BUILD/alsa-driver-1.0.8/usb/usbaudio.c:3071: cannot
> > create card instance 0
> > Feb  6 19:13:55 localhost kernel: snd-usb-audio: probe of 3-1:1.0
> > failed with error -5
> > Feb  6 19:13:55 localhost kernel: midi: probe of 3-1:1.0 failed with error -5
> > Feb  6 19:13:55 localhost kernel: ALSA
> > /usr/src/rpm/BUILD/alsa-driver-1.0.8/acore/init.c:107: cannot find the
> > slot for index 1 (range 0-1)
> > Feb  6 19:13:55 localhost kernel: ALSA
> > /usr/src/rpm/BUILD/alsa-driver-1.0.8/usb/usbaudio.c:3071: cannot
> > create card instance 0
> > Feb  6 19:13:55 localhost kernel: snd-usb-audio: probe of 3-1:1.1
> > failed with error -5
> > Feb  6 19:13:55 localhost kernel: usb-midi: Found MIDISTREAMING on dev
> > 0763:1110, iface 1
> > Feb  6 19:13:55 localhost kernel: usb-midi: Found MIDIStreaming device
> > corresponding to Release 1.00 of spec.
> > Feb  6 19:13:55 localhost kernel: usb-midi: Found IN Jack 0x01 EMBEDDED
> > Feb  6 19:13:55 localhost kernel: usb-midi: Found IN Jack 0x02 EXTERNAL
> > Feb  6 19:13:55 localhost kernel: usb-midi: Found OUT Jack 0x03 EMBEDDED, 1 pins
> > Feb  6 19:13:55 localhost kernel: usb-midi: Found OUT Jack 0x04 EXTERNAL, 1 pins
> > Feb  6 19:13:55 localhost kernel: string descriptor 0 found (length = 4)
> > Feb  6 19:13:55 localhost kernel: usb-midi: langid(0) 0x0409
> > Feb  6 19:13:55 localhost kernel: usb-midi: langid(match) 0x0409
> > Feb  6 19:13:55 localhost kernel: usb-midi: fetchString(2)
> > Feb  6 19:13:55 localhost kernel: usb-midi: fetchString = 13
> > Feb  6 19:13:55 localhost kernel: usbmidi: found [ Midisport 1x1 ]
> > (0x0763:0x1110), attached:
> > Feb  6 19:13:55 localhost kernel: usbmidi: /dev/midi00: in (ep:81 cid:
> > 0 bufsiz:64) out (ep:01 cid: 0 bufsiz:64)
>
> usb-midi (the oss module) is being loaded instead of snd-usb-audio (the
> alsa module). Blacklist usb-midi by adding these lines to
> /etc/hotplug/blacklist:
>
> audio
> usb-midi
>
> -- Fernando
>
>
>
> --__--__--
>
> Message: 8
> Date: Mon, 07 Feb 2005 10:57:50 +0800
> From: mjnoble <not8ohm@iinet.net.au>
> To: planet ccrma <planetccrma@ccrma.Stanford.EDU>
> Subject: Re: [PlanetCCRMA] Fedora Core 2 and 3 support
>
> hi,
>
> have to say that Fernando you must be one of the busiest and most
> dedicated chaps in the net-audio world, and if you don't find the time
> to service this request, what with building, testing and maintaining
> packages for no less than 4 RH/FC versions, as well as answering support
> emails, performing your academic duties and heaven forbid, having a
> personal and/or social life, I for one will more than understand...
>
> William, one suggestion I would have is to do a search or sort by name
> within your email program for only those messages by Fernando, as he is
> the only sender making announcements.  This greatly reduces the number
> of emails you have to scan to find the announcements.. works for me anyway.
>
> -michael
>
>
> > I probably wouldn't want to see every package that you build for
> > Fedora Core 3 show up in a separate e-mail message, but maybe a
> > message when you have completed your build of Planet CCRMA for it, any
> > new packages that get added to the repository, subsequent updates (so
> > that we know when to run apt_get), and removal of distributions from
> > the repository (e.g. RHL 7.3).  Such a mailing list I would not sort
> > out for reading when needed, but rather I would have it right with my
> > regular e-mail so that I would know what was up in real time (which is
> > what I do for for my Fedora announcements list, too).  I hope that
> > clears things up.
> >
> > Peace,
> > William
>
>
>
> --__--__--
>
> Message: 9
> From: Peter Baumgartner <peter@bssmusic.de>
> Organization: bssmusic
> To: planetccrma@ccrma.Stanford.EDU
> Subject: Re: [PlanetCCRMA] pd-gui doesn't appear
> Date: Mon, 7 Feb 2005 09:40:41 +0100
>
> Am Sonntag 06 Februar 2005 22:39 schrieb jan hendrik brueggemeier:
> > hi,
> >
> > i noticed that i havn't had set the hostname of my machine. so i did set
> > it, cause i had vague impression that this may be part of the problem.
> >
> > situation now is that starting pd causes a reboot (!) of my machine.
> > i tried it 3 time in a row and everytime my machine crashed and restarted.
> >
> > any advice for me?
>
> Have You tried to boot in Runlevel 3 and then "gdm" or "kdm" as root? That
> should install the .Xauthority, IIRC, maybe Fernando knows more?
>
> >
> > jan
> [...]
>
> Peter
>
>
> --__--__--
>
> Message: 10
> Date: Mon, 7 Feb 2005 12:38:04 +0000
> From: krsrtn <k.gebbert@gmail.com>
> Reply-To: krsrtn <k.gebbert@gmail.com>
> To: planetccrma@ccrma.Stanford.EDU
> Subject: [PlanetCCRMA] FC3 Alsa seq Midi problem
>
> hello,
>
> I have problems starting aconnect/jack-midi since I swapped from debian to FC3.
> The error message told me that there is no such folder or file like /dev/seq.
> what do i have to do to activate midi?
>
> cheers,
>
> karstn
>
>
> --__--__--
>
> Message: 11
> Date: Mon, 7 Feb 2005 10:21:12 -0500
> From: "Jon B" <epxcv1y02@sneakemail.com>
> To: planetccrma@ccrma.Stanford.EDU
> Subject: [PlanetCCRMA] Re: Midisport 1x1
>
> It still doesn't show up in proc/asound/cards:
>
> Feb  6 21:57:53 localhost kernel: usb 3-1: new full speed USB device
> using uhci_hcd and address 4
> Feb  6 21:57:53 localhost kernel: ALSA
> /usr/src/rpm/BUILD/alsa-driver-1.0.8/acore/init.c:107: cannot find the
> slot for index 1 (range 0-1)
> Feb  6 21:57:53 localhost kernel: ALSA
> /usr/src/rpm/BUILD/alsa-driver-1.0.8/usb/usbaudio.c:3071: cannot
> create card instance 0
> Feb  6 21:57:53 localhost kernel: snd-usb-audio: probe of 3-1:1.0
> failed with error -5
> Feb  6 21:57:53 localhost kernel: ALSA
> /usr/src/rpm/BUILD/alsa-driver-1.0.8/acore/init.c:107: cannot find the
> slot for index 1 (range 0-1)
> Feb  6 21:57:53 localhost kernel: ALSA
> /usr/src/rpm/BUILD/alsa-driver-1.0.8/usb/usbaudio.c:3071: cannot
> create card instance 0
> Feb  6 21:57:53 localhost kernel: snd-usb-audio: probe of 3-1:1.1
> failed with error -5
>
> > usb-midi (the oss module) is being loaded instead of snd-usb-audio (the
> > alsa module). Blacklist usb-midi by adding these lines to
> > /etc/hotplug/blacklist:
> >
> > audio
> > usb-midi
> >
> > -- Fernando
>
>
> --__--__--
>
> Message: 12
> Reply-To: <rbd@cs.cmu.edu>
> From: "Roger B. Dannenberg" <rbd@cs.cmu.edu>
> To: <planetccrma@ccrma.Stanford.EDU>
> Date: Mon, 7 Feb 2005 10:34:07 -0500
> Subject: [PlanetCCRMA] RE: midi permissions
>
> There is a nice MIDI API and some associated test programs in the PortMidi
> library you can use to test your MIDI setup.
> (http://www.cs.cmu.edu/~music/portmusic).  -Roger
>
>
>
>
>
> --__--__--
>
> _______________________________________________
> PlanetCCRMA mailing list
> PlanetCCRMA@ccrma.stanford.edu
> http://ccrma-mail.stanford.edu/mailman/listinfo/planetccrma
>
>
> End of PlanetCCRMA Digest
>