[mythtv-users] Re: MythTV & Jack

Mark Knecht markknecht at gmail.com
Wed Sep 14 18:08:20 UTC 2005


On 9/14/05, Paul Andreassen <paulx at andreassen.com.au> wrote:
> On Wed, 14 Sep 2005 01:17 pm, Mark Knecht wrote:
> > > Can't really help you other than to say there's some JACK-support code
> > > in Myth.
> > >
> > > ./configure --help
> > >
> > > shows
> > >
> > >   --disable-audio-jack     disable JACK audio support
> > >
> > > (JACK support is autodetected, but you can explicitly disable it if you
> > > like.)  As for how to get it working, I can't tell you.
> > >
> > > Mike
> >
> > Thanks Mike,
> >    I've seen that, and AFAICT Jack support is supposed to be enabled,
> > but even with Jack working on this machine it never finds it and keeps
> > trying to use OSS which it says doesn't work but other apps find OK:
> >
> > mark at lightning ~ $ mythfrontend
> > 2005-09-13 20:15:01.231 New DB connection, total: 1
> > Total desktop width=1280, height=1024, numscreens=1
> > 2005-09-13 20:15:01.314 Using screen 0, 1280x1024 at 0,0
> > 2005-09-13 20:15:01.343 mythfrontend version: 0.18.1.20050510-1
> > www.mythtv.org 2005-09-13 20:15:01.343 Enabled verbose msgs : important
> > general
> > 2005-09-13 20:15:02.091 Switching to square mode (blue)
> > mythtv: could not connect to socket
> > mythtv: No such file or directory
> > lirc_init failed for mythtv, see preceding messages
> > 2005-09-13 20:15:03.137 Registering Internal as a media playback plugin.
> > 2005-09-13 20:15:12.943 New DB connection, total: 2
> > 2005-09-13 20:15:13.248 Connecting to backend server:
> > 192.168.1.55:6543 (try 1 o f 5)
> > 2005-09-13 20:15:13.256 Using protocol version 15
> > 2005-09-13 20:15:18.036 Changing from None to None
> > 2005-09-13 20:15:21.110 All Programs
> > 2005-09-13 20:15:26.209 New DB connection, total: 3
> > 2005-09-13 20:15:26.790 Disable DPMS
> > 2005-09-13 20:15:27.993 No useable audio output driver found.
> > 2005-09-13 20:15:27.993 Don't disable OSS support unless you're not
> > running on L inux.
> 
> This means you HAVE to compile in OSS support if you are using Linux.  So
> enable OSS and Jack if you want to use it.
> 
> > 2005-09-13 20:15:46.907 Changing from None to WatchingPreRecorded
> > 2005-09-13 20:15:46.907 Decoder not alive, and trying to play..
> > 2005-09-13 20:15:46.911 Changing from None to None
> > mark at lightning ~ $
> 
> To get the configure script to work you need the development libraries.  On
> Debian you need 'libjack0.80.0-0' and 'jackd'
> ( http://www.gossamer-threads.com/lists/mythtv/dev/108824 )

This small thread is interesting. The only libjack that showed up in
portage is this one that's not installed:

lightning ~ # eix libjack
* media-libs/libjackasyn
     Available versions:  0.10
     Installed:           no
     Homepage:            http://gige.xdv.org/soft/libjackasyn
     Description:         An application/library for connecting OSS
apps to Jackit.


Found 1 matches
lightning ~ #

Possibly this is not needed but it certainly reads right. Maybe the
ebuild doesn't pull in what it needs, or maybe it has somethign to do
with not compiling in OSS support in mythfrontend on this machine. I
think I'll try that next. (See mythtv flags below)

> 
> It appears that you can put Jack Port Names in the audio setting
> (where /dev/dsp is).

Thanks. I tried it but it didn't work. At no point in the usage
process (i.e. - when I start Jack or when I start trying to use media
within Jack) does Myth ever identify itself to the system as a Jack
device. It never shows up in the list of devices the Jack server can
see and therefore never shows any ports for routing the audio.

mythfrontend --help gives no clues as to enabling Jack from the
command line. Many Jack apps require something like

alsaplayer -o jack

so that it knows you want to use Jack vs. Alsa.
> 
> I've never used Jack but can tell you when I set 'artsd' to use ALSA, there
> are no sound conflicts on my system.

Did you put 'artsd' where /dev/dsp was? 

Just for the record, according to the ebuild Myth is built with Jack
support. Possibly there's a problem with the ebuild that should be
looked into. I might go there next:

lightning ~ # emerge -pv mythtv

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] media-tv/mythtv-0.18.1-r1  +alsa (-altivec) -arts
-debug -dvb +frontendonly +jack -joystick -lcd +lirc (-mmx) -nvidia
+opengl -oss -unichrome +vorbis 0 kB

Total size of downloads: 0 kB
lightning ~ #

Thanks,
Mark


More information about the mythtv-users mailing list