MythFrontend 0.20-fixes for OS X Universal

For those of you who jumped the gun and requested a release-0-20 build, then subsequently upgraded your backends…

MythFrontend-MacOSXUniversal-0.20-fixes-20061001.dmg.bz2

44 Responses to “MythFrontend 0.20-fixes for OS X Universal”

  1. Mik Rose Says:

    Thanks for teh universal build… I was experiencing a protocol 30 / 31 issue with the updates that released for the back end on the 27th. But thank god! u had a universal that was posted 4 hrs ago adn I assume that you used the most resent source.

    Is there a performance hit with using universal as apposed to x86 and PPC. I have both x86 and PPC mac in my home.

    Will you be posting seperate x86 and PPC builds?

    Mik Rose

  2. Rik Says:

    Corrected the 31 / 30 issue and have had no problems. Had to remember to check the MMX enhancement, otherwise I got garbled colors.

    Thanks a ton!!

  3. Ted Mead Says:

    Sorry, I didn’t see this page when I left my last post.

    Nice work Mr. Mead, this works great.

    Thanks much.

    Ted

  4. Matt Says:

    I’ve decided to just produce Universal builds now, rather than three separate. I will probably continue this until I no longer have a PPC Mac. There is a bit more code there (read: uses more disk space), but it shouldn’t really affect performance on either platform.

    If you’re comfortable with the command line and you’d like to get rid of the platform you don’t want, you can do the following:

    find MythFrontend.app -type f -exec file {} \; | grep Mach-O | sed "s/^MythFrontend.app\///" | sed "s/:.*$//" >macho.list

    then to remove the i386 code, run:

    for x in `cat macho.list`; do
    lipo $x -remove i386
    done

    Replace the i386 argument in the lipo command with “ppc” to instead remove the ppc code.

    This could pretty easily be done with a script, too.

  5. Mads Says:

    This new release works great, but is extremely hungry for RAM (on my MacBook Pro):

    PID COMMAND %CPU TIME #TH #PRTS #MREGS RPRVT RSHRD RSIZE VSIZE
    3341 mythfronte 27.7% 0:32.37 9 145 1456 710M+ 21.2M 730M+ 1.17G+

    Any clues?

  6. Steph Says:

    Hmmmm, i cannot connect to the Database server (not found)? Someone has an idea why? I can ping the machine without problems and running a frontend on the backenditself also works. I use the latest 0.20 gentoo ebuild for the backend…

    Thanks!

  7. Steph Says:

    Ok, found it somewhere here: I have to enable remoting in mysql. See here under Remote-Frontend:
    http://wilsonet.com/mythtv/tips.php
    Did not test it yet, but looks promizing…

  8. Fa Yoeu Says:

    There is something funny about the menus. Like in the exit confirmation menu. The text is gone and the buttons seem stretched. This is the MacBook Pro.

  9. Ted Mead Says:

    Fa Yoeu,

    The default Style makes the text in the setup pages and the exit button almost illegible. The style can be changed under the Settings/Appearance options, although reading the available options is impossible! If you can access the backend mythconverg database in MySQL you can directly update the settings table with SQL like:

    update settings set data = ‘Windows’ where value = ‘Style’ and hostname = ‘yourmacmini’;

    where ‘yourmacmini’ is the name stored in the database that identifies your Mac frontend. If you don’t know what that is enter:

    select distinct hostname from settings;

    and all the hostnames are displayed (but only once!).

    When you log in again, you the button text is readible, as are all the values and options under the settings.

    Ted

  10. Joseph Says:

    I’m still having the screwed up playback in pink and green. Not sure of the cause yet.

  11. Matt Says:

    Joseph:

    turn on vector optimized video decoding option in the tv playback setup

  12. Joseph Says:

    That fixed that, but now the aspect options don’t work. My 16×10 screen always has black bars on the sides, no matter the aspect mode.

    No idea why letting QuickTime do the color conversion isn’t working, but that at least narrows down debugging.

  13. Adam Hall Says:

    Tried .20 Universal, runs wonderful! One question -Should MythArchive work out of the box?

    -Adam

  14. Nathan Gallaher Says:

    This version of the frontend seems to hang and then crash for me after ‘Prescaling Theme Images’. About 50% of the time it gets to the main menu screen, but crashes immediately afterward. I’m running a PowerbookG4 with OSX 10.3.9 w 512MB RAM. My other Mac(PPC) toting housemate has the same problem.

  15. Matt Says:

    Nathan:

    I’m still unable to test this since I have a .19-fixes backend. I’m curious if /Library/Logs/Console/<uid>/console.log contains any information that indicates mythtv errors?

  16. Mark King Says:

    I used this version on my Macbook. It connects to mythtv .20 backend beautifully. Thank you very much for the universal binary.

  17. Simon Says:

    First, thanks for doing these builds. It’s what inspired me to buy an Intel Mac mini, knowing there were binaries out there that I could use if I couldn’t get the compile going myself.

    Do you remember what svn revision you built this off? Did you use the latest osx-packager.pl out of the box or did you do some hacking? I’m having trouble trying to do a build of 0-20-fixes myself.

    I am hoping to get a working build then apply patches for corevideo and AC3 passthrough as I have done previously with 0-20-release. The corevideo patch is more important to me as it allows the aspect ratio scaling to work so I can make proper use of my widescreen CRT TV (UK freeview). It’s been working a treat with 0-20-release but I foolishly upgraded the backend linux box to -fixes and now I’m stuck with no scaling!

  18. Matt Says:

    The fixes build I created was from:

    http://svn.mythtv.org/svn/branches/release-0-20-fixes/mythtv

    revision 11371

  19. Simon Says:

    Thanks Matt. Building from that revision and applying the two patches worked a treat. I did have to disable the parallel make option in the latest osx-packager.pl though as it was doing odd things and leaving dead links all over the place.

  20. Intel mac running MythFrontend-MacOSXUniversal-0.20-fixes-20061001.dmg.bz2 Says:

    2006-11-14 19:54:00.239 Using runtime prefix = /Volumes/MythFrontend-MacOSXUniversal-0.20-fixes-20061001/MythFrontend.app/Contents/Resources
    2006-11-14 19:54:00.242 New DB connection, total: 1
    2006-11-14 19:54:00.251 Connected to database ‘mythconverg’ at host: 192.168.1.7
    2006-11-14 19:54:00.254 Total desktop dim: 1440×900, with 1 screen[s].
    2006-11-14 19:54:00.270 Using screen 0, 1440×900 at 0,0
    2006-11-14 19:54:00.409 Current Schema Version: 1146
    2006-11-14 19:54:00.411 Newest Schema Version : 1160
    2006-11-14 19:54:00.411 New DB connection, total: 2
    2006-11-14 19:54:00.422 Connected to database ‘mythconverg’ at host: 192.168.1.7
    2006-11-14 19:54:00.425 Setting Lock for Database Schema upgrade. If you see a long pause here it means the Schema is already locked and is being upgraded by another Myth process.
    2006-11-14 19:54:00.426 New DB connection, total: 3
    2006-11-14 19:54:00.433 Connected to database ‘mythconverg’ at host: 192.168.1.7
    2006-11-14 19:54:00.438 Upgrading to schema version 1147
    2006-11-14 19:54:00.445 DB Error (Performing database upgrade):
    Query was: ALTER TABLE program ADD first TINYINT(1) NOT NULL DEFAULT 0;
    Error was: Driver error was [2/1060]:
    QMYSQL3: Unable to execute query
    Database error was:
    Duplicate column name ‘first’

    new version: 1147
    2006-11-14 19:54:00.445 Database Schema upgrade FAILED, unlocking.
    2006-11-14 19:54:00.447 Couldn’t upgrade database to new schema, exiting.

  21. drivebybiped Says:

    I keep getting a 30/31 protocol error but the version of Myth I’m using is up to date as per the package system we use. PPC system

  22. John Says:

    Hello I tried .20 Universal and it runs smoothly on my MacBook. I do have a question about MythVideo. Is it possible to run external programs like in linux? I tried VLC and Mplayer OS X but couldnt get them to work. I have some HD files mostly in .TS and the default internal player doesnt seem to play this. thanks

  23. John-Paul Says:

    Hello, any chance of a 10.3.9 build? Or failing that, could you post a pointer to your build setup so I could build my own?
    Thanks a lot!

  24. Hussein Jodiyawalla Says:

    Lifesaver. Thanks a lot for sharing this build.

  25. Chris Says:

    Just wanted to add a Thank You for making this available. Works great!

  26. Sarah Says:

    Just wanted to addd my thanks too. Got a new Mac Mini last night, and got it up and running a frontend in no time, thanks to your binary. And I’ve never used a Mac before!

  27. Vijay Says:

    I have a 0.20 backend streaming data to the mac. When I try to replay HD videos, everything seems to work fine, except seeking around. Every time I jump forwards or backwards, the screen just freezes for an inordinate amount of time (e.g. 30 sec). Is this binary intelligently seeking to the appropriate place, or is it actually pulling all of the intermediate data over the network?

  28. High Noonan Says:

    Thanks for the Oct 1 0.20 Universal build.
    I have a question about mtd.
    How the heck do I start it so that I can rip a DVD?

  29. High Noonan Says:

    :/Applications/MythFrontend.app/Contents/MacOS user$ ./mtd
    dyld: Library not loaded: libmyth-0.20.0.dylib
    Referenced from: /Applications/MythFrontend.app/Contents/MacOS/./mtd
    Reason: image not found
    Trace/BPT trap

    I’ve looked high and low both on the hard drive and the Web, but I can not find this libmyth-0.20.0.dylib anywhere.
    Any ideas?

  30. Dan Says:

    Everything seems to be working well, except that I can’t connect to my backend server, running on 192.168.1.100. The output looks like:

    2007-01-28 00:36:16.525 Connecting to backend server: 127.0.0.1:6543 (try 1 of 5)
    2007-01-28 00:36:16.526 Connection timed out.
    You probably should modify the Master Server
    settings in the setup program and set the
    proper IP address.

    I know I need to run mythtvsetup, but I can’t figure out how to do it (can’t find the command, I guess). I’m assuming, since everyone else seems to have it working and there are no directions that I must be missing something easy: someone lend me a hand?

  31. Florian Says:

    Hi,
    I found your blog via google by accident and have to admit that youve a really interesting blog :-)
    Just saved your feed in my reader, have a nice day :)

  32. Nathan Gallaher Says:

    Getting back to my earlier post: No, the console log didn’t help, but hopefully a gdb traceback will help somewhat. I’ve tried compiling the darned thing myself, but I can’t get Qt to build, so I’m stuck. My libstdc++ seems to not agree with Qt… Maybe a panther thing.

    >>> gdb trace + description >>>
    Symptom: Prescaling screens run, and then slow to a crawl at the end of the second prescaling run. Main menu is eventually displayed, but pressing any key will eventually (after much waiting) cause a memory error.

    Program received signal EXC_BAD_ACCESS, Could not access memory.
    0xcc055e14 in QKeyEvent::key() const (this=0×0) at /Users/mmead/osx-packager/.osx-packager/src/qt-mac-free-3.3.6/include/qevent.h:281
    281 /Users/mmead/osx-packager/.osx-packager/src/qt-mac-free-3.3.6/include/qevent.h: No such file or directory.
    in /Users/mmead/osx-packager/.osx-packager/src/qt-mac-free-3.3.6/include/qevent.h
    (gdb) where
    #0 0xcc055e14 in QKeyEvent::key() const (this=0×0) at /Users/mmead/osx-packager/.osx-packager/src/qt-mac-free-3.3.6/include/qevent.h:281
    #1 0xcc0039c4 in MythMainWindowPrivate::TranslateKeyNum(QKeyEvent*) (this=0×11539d0, e=0×0) at mythmainwindow.cpp:188
    #2 0xcc00c774 in MythMainWindow::TranslateKeyPress(QString const&, QKeyEvent*, QStringList&, bool) (this=0×1150a00, context=@0xbfffe9b8, e=0×0, actions=@0xbfffe9bc, allowJumps=true) at mythmainwindow.cpp:707
    #3 0xcc042f60 in MythThemedMenuPrivate::keyPressHandler(QKeyEvent*) (this=0×11ab260, e=0×0) at myththemedmenu.cpp:1744
    #4 0xcc043080 in MythThemedMenu::keyPressEvent(QKeyEvent*) (this=0×11a71e0, e=0×0) at myththemedmenu.cpp:2267
    #5 0xcc005e7c in MythMainWindow::eventFilter(QObject*, QEvent*) (this=0×1150a00, e=0xbfffeee4) at mythmainwindow.cpp:1096
    #6 0xb2079198 in QObject::activate_filters(QEvent*) ()
    #7 0xb2079240 in QObject::event(QEvent*) ()
    #8 0xb20aa1d8 in QWidget::event(QEvent*) ()
    #9 0xcc003dec in MythMainWindow::event(QEvent*) (this=0×11530b0, e=0×0) at mythmainwindow.cpp:496
    #10 0xb20384ec in QApplication::internalNotify(QObject*, QEvent*) ()
    #11 0xb2039948 in QApplication::notify(QObject*, QEvent*) ()
    #12 0xb200bf80 in QApplication::globalEventProcessor(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) ()
    #13 0×95915e50 in DispatchEventToHandlers ()
    #14 0×959160c4 in SendEventToEventTargetInternal ()
    #15 0×9591a544 in SendEventToEventTargetWithOptions ()
    #16 0×9594efec in HandleKeyboardEvent(OpaqueEventRef*, unsigned long) ()
    #17 0×95926ae0 in ToolboxEventDispatcherHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) ()
    #18 0×95915f0c in DispatchEventToHandlers ()
    #19 0×959160c4 in SendEventToEventTargetInternal ()
    #20 0×95928530 in SendEventToEventTarget ()
    #21 0xb2004fb0 in qt_mac_send_event(unsigned, OpaqueEventRef*, OpaqueWindowPtr*) ()
    #22 0xb202bc0c in QEventLoop::processEvents(unsigned) ()
    #23 0xb204a9b0 in QEventLoop::enterLoop() ()
    #24 0xb204a8a4 in QEventLoop::exec() ()
    #25 0×000113f8 in main ()
    #26 0×00006648 in _start ()
    #27 0×0000634c in start ()
    Current language: auto; currently c++

  33. Mark Says:

    Nearly everything seems to work fine here with my Fedora-6 using the ATRPMS build 0.20-151 of the backend. However, I can’t seem to get the frontend to change the aspect ratio.

    Setup:

    MacMini x86, Frontend in window, GUI size for playback, playback size 768 x 432

    The recorded video stream is appearing with black bars on both sides, whatever the ‘W’ aspect-ratio override is set to.

    Any ideas ? Is the aspect-override supposed to work ?

    Cheers,

    Mark

  34. Chris Says:

    Hi,
    I can record livetv but cannot see it after in the osx frontend. If i check the backend with other frontend i can see those files…

    Why?

  35. benton Says:

    Hey there.

    Thanks for your hard work on this port. Unfortunately, I cannot get it to work. When starting the frontend, I get the following error: “Could not find theme: G.A.N.T.”
    =============================================
    /Applications/MythFrontend.app/Contents/Resources/bin/mythfrontend
    2007-04-10 12:17:14.081 Using runtime prefix = /nobackup/fixes/.osx-packager/build
    2007-04-10 12:17:14.326 New DB connection, total: 1
    2007-04-10 12:17:14.419 Connected to database ‘mythconverg’ at host: media
    2007-04-10 12:17:14.459 Total desktop dim: 1024×768, with 1 screen[s].
    2007-04-10 12:17:14.483 Using screen 0, 1024×768 at 0,0
    2007-04-10 12:17:14.521 Current Schema Version: 1160
    2007-04-10 12:17:14.522 mythfrontend version: 0.20.20060828-3 www.mythtv.org
    2007-04-10 12:17:14.524 Enabled verbose msgs: important general
    2007-04-10 12:17:16.299 Could not find theme: G.A.N.T.
    Couldn’t find theme G.A.N.T.
    =============================================

    The themes are present as expected in the mythfrontend application bundle. I also tried creating a symbolic link from the share/mythtv folder inside the application bundle to /usr/share/mythtv and /usr/local/share/mythtv. That way the themes are also available at /usr/share/mythtv/themes and /usr/local/share/mythtv/themes . But the same error is produced every time. Surely others here have encountered and overcome this problem — can anyone help?

    Thanks,
    -b

  36. Matt Says:

    I would start backing up ~/.mythtv and removing it. If that doesn’t fix it I’ve not seen this error before.

  37. Ben Says:

    The app starts just fine on my Intel Mac Mini but when I go to watch ANY recordings the app crashes. The crash report says “EXC_BAD_ACCESS” while running “NuppelDecoder::GetFrame”. No idea what’s going in on since it works just fine on MacBook Pro. Any ideas?

  38. Chris Says:

    Ok .. quick question .. I have a knopmyth back end , and it also runs a front end also. Just configured an osx front end on my macbook pro.

    Every thing looks good .. Had to enable that vector thing. Took a while for me to figure out where it is .. tv setings playback section if anyone is also searching for it.

    everything looks like its working well. Except for captions. Now im part deaf ( so I understand what you were going thru with the hearing issues. But for me its perm. :-( )

    But anyway .. if I watch a show on the front end thats running on the backend machine. I get the captions.

    On the OSX front end I dont.

    The option is not in the menu. and when I hit T I get an osd saying “no captions”

    If I watch the same show recorded on the other front end the captions work.

    Perhaps this is just something I am not setting right ?

    Thanks for any help you can give.
    -Chris

  39. Matt Says:

    Interesting. Once I have a backend in place again, I will examine Mac OS X CC. I have never used it on either my linux backend/frontend or my Mac OS X frontends. At the moment I don’t know of any advice to offer.

  40. mkaz Says:

    I changed routers so my backend IP changed. My frontend is still looking in the old place. How do I reset the IP so it can find the new backend IP. When I start it up it just does nothing.

  41. Eric Says:

    So this front end used to launch on my PPC. but now it just hangs, looking for my backend. (had wrong ip address set) Is there a settings file i can delete to get this thing to run like it did the first time i installed it?

  42. mkaz Says:

    If you go into ~/.mythtv/mysql.txt, you can change the settings for where it connects, etc.

  43. NickJay Says:

    Hi,
    Sorry to ask what might a dumb newbie question, but I would like to use a different theme, Project Greyhem-wide, but unlike the Mythtv Frontend on Linux, I can find no way to add this or make this available on my Mac mini, how could I go about doing that, please ?

    Thanks,
    nick

  44. Matt Says:

    Drop the new theme in :

    /Applications/MythFrontend.app/Contents/Resources/share/mythtv/themes/

Leave a Reply