code-google-com / qmmp

Automatically exported from code.google.com/p/qmmp
0 stars 0 forks source link

QMMP locks up when connecting to Jack 1.9.8 #537

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Launch qmmp
2.Select Jack output plugin
3.Play song [jack running already]

What is the expected output? What do you see instead?
Qmmp should play the song. Instead Qmmp locks up, no sound heard.

What version of the product are you using? On what operating system?
Qmmp-0.5.4, debian sid

Please provide any additional information below.
From terminal, when locked up:

$ qmmp
QMMPStarter: removed invalid socket file
MainWindow: detected wm: KWin
General: plugin loaded - libcovermanager.so
General: plugin loaded - libfileops.so
General: plugin loaded - libhotkey.so
General: plugin loaded - libkdenotify.so
General: plugin loaded - liblyrics.so
General: plugin loaded - libmpris.so
General: plugin loaded - libnotifier.so
General: plugin loaded - libscrobbler.so
General: plugin loaded - libstatusicon.so
General: plugin loaded - libudisks.so
Skin: using :/default
Skin: cannot find region.txt. Transparency disabled
Visual: plugin loaded - libanalyzer.so
Visual: plugin loaded - libprojectm.so
WindowSystem: setting sticky state of window 0x5a005c8 to false.
InputSource: plugin loaded - libhttp.so
InputSource: plugin loaded - libmms.so
InputSource: using file transport
StateHandler: Current state: Buffering; previous state: Stopped
ReplayGain: track: gain=0.000000 dB, peak=0.000000; album: gain=0.000000 dB, 
peak=0.000000
ReplayGain: scale=1.000000
Decoder: plugin loaded - libaac.so
Decoder: plugin loaded - libcdaudio.so
Decoder: plugin loaded - libcue.so
Decoder: plugin loaded - libffmpeg.so
Decoder: plugin loaded - libflac.so
Decoder: plugin loaded - libgme.so
Decoder: plugin loaded - libmad.so
Decoder: plugin loaded - libmodplug.so
Decoder: plugin loaded - libmpc.so
Decoder: plugin loaded - libsndfile.so
Decoder: plugin loaded - libvorbis.so
Decoder: plugin loaded - libwavpack.so
Decoder: plugin loaded - libwildmidi.so
libWildMidi(WM_BufferFile:101): ERROR Unable to stat /etc/timidity/freepats.cfg 
(No such file or directory)
WildMidiHelper: unable to initialize WildMidi library
libWildMidi(WM_BufferFile:101): ERROR Unable to stat /etc/timidity/freepats.cfg 
(No such file or directory)
WildMidiHelper: unable to initialize WildMidi library
QmmpAudioEngine: selected decoder: mad
DecoderMAD: Fixed rate detected
DecoderMAD: Total time: 212790
Effect: plugin loaded - libbs2b.so
Effect: plugin loaded - libcrossfade.so
Effect: plugin loaded - libladspa.so
Effect: plugin loaded - libsrconverter.so
Effect: plugin loaded - libstereo.so
Output: plugin loaded - libalsa.so
Output: plugin loaded - libjack.so
Output: plugin loaded - libnull.so
Output: plugin loaded - liboss.so
Output: plugin loaded - libpulseaudio.so
OutputJACK: configure
Output: [jack] 44100 Hz, 2 ch, s16le
OutputJACK: configure end
ReplayGain: track: gain=0.000000 dB, peak=0.000000; album: gain=0.000000 dB, 
peak=0.000000
ReplayGain: scale=1.000000
StateHandler: Current state: Playing; previous state: Buffering
DecoderMAD: 22518 bytes skipped
===== metadata ======
ARTIST = KISS
TITLE = Cold Gin
ALBUM = Alive
COMMENT = 
GENRE = Rock
YEAR = 
TRACK = 1
== end of metadata ==
DecoderMAD: deleting input_buf

PS: Jack is working fine with other audio players.

Original issue reported on code.google.com by thegarag...@gmail.com on 6 Apr 2012 at 6:34

GoogleCodeExporter commented 9 years ago
Try latest 0.6.0 release.

Original comment by trialuser02 on 30 Jun 2012 at 7:06

GoogleCodeExporter commented 9 years ago

Original comment by trialuser02 on 31 Jan 2013 at 10:19

GoogleCodeExporter commented 9 years ago
Any update on this? I would very much like to use JACK with QMMP.

Original comment by xylem2...@gmail.com on 21 Jun 2014 at 6:46

GoogleCodeExporter commented 9 years ago
Please, test latest version and write about here results.

Original comment by trialuser02 on 21 Jun 2014 at 8:33

GoogleCodeExporter commented 9 years ago
Since I am on Fedora, the latest I can get through the repos is version 0.7.4 
in which this error is produced:

QmmpAudioEngine: selected decoder: mad
DecoderMAD: Xing header detected
DecoderMAD: Total time: 139128
Effect: loaded plugin libbs2b.so
Effect: loaded plugin libcrossfade.so
Effect: loaded plugin libladspa.so
Effect: loaded plugin libsrconverter.so
Effect: loaded plugin libstereo.so
OutputJACK: initialize
ERR: 
/builddir/build/BUILD/qmmp-0.7.4/src/plugins/Output/jack/bio2jack.c::JACK_Error(
939) Cannot lock down 107335194 byte memory area (Cannot allocate memory)
ERR: 
/builddir/build/BUILD/qmmp-0.7.4/src/plugins/Output/jack/bio2jack.c::JACK_Error(
939) Cannot use real-time scheduling (RR/15)(1: Operation not permitted)
ERR: 
/builddir/build/BUILD/qmmp-0.7.4/src/plugins/Output/jack/bio2jack.c::JACK_Error(
939) JackClient::AcquireSelfRealTime error
OutputWriter: [jack] 44100 Hz, 1 ch, s16le
StateHandler: Current state: Buffering; previous state: Stopped
ReplayGain: disabled
StateHandler: Current state: Playing; previous state: Buffering
DecoderMAD: 106496 bytes skipped
===== metadata ======
<song here>
== end of metadata ==
PlayListManager: saving playlists...
DecoderMAD: deleting input_buf

I've tried compiling the latest version by source but it won't compile the JACK 
plugin, even with -DUSE_JACK:BOOL=TRUE

I tried using the ALSA plugin with it set to use JACK but I am unable to play 
anything:

jack_client_new: deprecated
Cannot lock down 107335194 byte memory area (Cannot allocate memory)
OutputALSA: Error setting format: Invalid argument
OutputWriter: unable to initialize output
StateHandler: Current state: FatalError; previous state: Stopped
OutputALSA: setupMixer()
OutputALSA: setupMixer() success
StateHandler: Current state: Stopped; previous state: FatalError

Ugh, this is frustrating! I am missing some dependency for compiling JACK 
support on Fedora?

Original comment by xylem2...@gmail.com on 21 Jun 2014 at 9:27

GoogleCodeExporter commented 9 years ago
Jack plugin requires jack headers. You should install package libjack-devel or 
similar. Unfortunately, I cannot reproduce this bug. I use following command to 
start jack server (under user):
jackd -r  -d alsa -d hw:0

Please, provide me more information about your jack configuration.

Original comment by trialuser02 on 22 Jun 2014 at 8:10

GoogleCodeExporter commented 9 years ago
I have the "jack-audio-connection-kit-devel" package from the Fedora repos 
installed (this is the header files for Jack). And I still can't get Qmmp to 
compile with Jack support. The only way I can get the JACK plugin is from the 
Fedora repos for Qmmp (which contain slightly out dated builds). 

My setup for JACK is this 
method:http://www.trac.jackaudio.org/wiki/WalkThrough/User/PulseOnJack

Original comment by xylem2...@gmail.com on 26 Jun 2014 at 3:19

GoogleCodeExporter commented 9 years ago
You should also install libsamplerate-devel. See full list of build 
dependencies here: http://pkgs.fedoraproject.org/cgit/qmmp.git/tree/qmmp.spec

Original comment by trialuser02 on 26 Jun 2014 at 6:40

GoogleCodeExporter commented 9 years ago
Alright I've gotten back to this and I can't seem to launch Qmmp after getting 
all the required dependencies for Fedora with both Qmmp and Qmmp Plugin Pack. 
Everytime I try to start up Qmmp I get this error:

QMMPStarter: no user interface found

If I could get Qmmp to start I'd be able to report if the JACK plugin is still 
broken.

Original comment by xylem2...@gmail.com on 9 Jul 2014 at 7:15

GoogleCodeExporter commented 9 years ago
Looks like you should  install libxcb-devel and libX11-devel.

Original comment by trialuser02 on 15 Jul 2014 at 11:23