Home of the jammr Community
Hi, I installed the jammr-client .deb package on my Debian system, but when I run jammr, I only get the following messages:
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side ALSA lib pcm_dmix.c:961:(snd_pcm_dmix_open) The dmix plugin supports only playback stream Cannot connect to server socket err = File o directory non esistente Cannot connect to server request channel jack server is not running or cannot be started
Offline
No, JACK is not required. The reason you see the message is because jammr uses the PortAudio cross-platform audio library. PortAudio will try various sound systems (ALSA, JACK, etc) and it's normal for some of them to fail.
The jammr window should open with a login or audio setup dialog box.
Please send the contents of the log file (if it exists):
~/.local/share/jammr/jammr/log.txt
It would also be helpful to see a stack trace. You can use gstack(1) to get a stack trace:
$ sudo apt-get install gdb qtbase5-dbg libogg-dbg libvorbis-dbg portaudio19-dbg libportmidi-dbg
$ jammr &
…wait until you feel the program hangs…
$ gstack $(pgrep jammr)
Thanks,
Stefan
Offline
Thanks! I'm attaching my log.txt (though it doesn't look very helpful I guess). I also tried following your instructions to get a stack trace but with the following problems:
There are no packages in Debian for libportmidi-dbg and portaudio19-dbg (I've installed all other packages you mentioned)
There is no gstack in Debian, so I used pstack instead
Here is the output:
pstack $(pgrep jammr) 19728: jammr (No symbols found) crawl: Input/output error Error tracing through process 19728 0xb60871c1: ????
Attachments:
log.txt (4.2 KB)
Offline
BTW your package is meant for Ubuntu systems, and I'm on a Debian system, I suspect maybe there are some unfulfilled dependencies (which are installed by default on Ubuntu and not in Debian); for example, I don't have KDE or other QT applications installed, so I suspect I could miss some essential (lib)qt packages. I'm attaching the list of qt packages I've on my system, maybe you can spot some obvious missing packages?
Thanks a lot!
Attachments:
qt-installed.txt (4.8 KB)
Offline
Cri
BTW your package is meant for Ubuntu systems, and I'm on a Debian system, I suspect maybe there are some unfulfilled dependencies (which are installed by default on Ubuntu and not in Debian); for example, I don't have KDE or other QT applications installed, so I suspect I could miss some essential (lib)qt packages. I'm attaching the list of qt packages I've on my system, maybe you can spot some obvious missing packages?Thanks a lot!
Offline
It seems gdb (pstack) couldn't cope with the stripped /usr/bin/jammr binary, so the stack trace is empty.
I will send you a link to a non-stripped version of the same binary. That should make pstack work.
If all else fails you could try building jammr from source:
https://github.com/stefanha/wahjam/releases/tag/jammr-1.2.4
# apt-get install -y language-pack-en build-essential dh-make
# apt-get install -y qt5-default libogg-dev libvorbis-dev portaudio19-dev libportmidi-dev
# cd jammr
# dpkg-buildpackage -us -uc
Offline
stefanha
It seems gdb (pstack) couldn't cope with the stripped /usr/bin/jammr binary, so the stack trace is empty.I will send you a link to a non-stripped version of the same binary. That should make pstack work.
'linux-gate.so.1': opening object file: No such file or directory Could not open object file.
stefanha
If all else fails you could try building jammr from source
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
Offline
Critry ubuntu studio lts on usb with unetbootin all as live cd. no installation required. i often connect with this software. See there dependencies and judge about transfer in debian. ubuntu uses to be a debian based too.
I'm still convinced that I miss some software component,
Edited adi (April 12, 2015 12:44:43)
Offline
Hi Cri,
Let's drop pstack(1). You might be able to get better results with gdb(1):
$ gdb /usr/bin/jammr
(gdb) r
…wait until it hangs and then press Ctrl+C in the terminal…
(gdb) thread apply all bt
This will print a stack trace for all threads.
Regarding sound device requirements, there are no error messages indicating this. The ALSA warnings you posted are probably harmless.
Stefan
Offline
Thank you very much for your instructions! I'm attaching the output of gdb (I recorded it in a script(1) session, hope it's OK)
This was done running my locally compiled jammr binary (see next message for the test with the non-stripped binary you sent me)
Attachments:
jammr_locally_compiled.txt (9.1 KB)
Offline