Search found 89 matches

by jhoyt
Tue Mar 02, 2021 12:13 am
Forum: OSX
Topic: [Solved] compiling mythtv on Apple M1 silicon
Replies: 25
Views: 1520
United States of America

Re: [Solved] compiling mythtv on Apple M1 silicon

Mac Mini (M1, 2020), Apple M1 - 8GB RAM, just configure and make, clean ccache
918.27s user 127.62s system 97% cpu 17:50.37 total

Macbook Pro (16-inch, 2019) - 2.6 GHz 6-Core Intel Core i7 - 16GB RAM, just configure and make, clean ccache
344.94s user 126.72s system 95% cpu 8:15.33 total
by jhoyt
Sun Feb 28, 2021 11:53 pm
Forum: OSX
Topic: [Solved] compiling mythtv on Apple M1 silicon
Replies: 25
Views: 1520
United States of America

Re: compiling mythtv on Apple M1 silicon

adding the --disable-lirc flag to configure seems to have gotten everything to work. Now to cleanup my work. dmg's posted for v31: https://sourceforge.net/projects/mythtvformacosx/files/v31/macOS%2011.0%20Big%20Sur/ARM64/ for master: https://sourceforge.net/projects/mythtvformacosx/files/v32/macOS%2...
by jhoyt
Sun Feb 28, 2021 6:57 pm
Forum: OSX
Topic: [Solved] compiling mythtv on Apple M1 silicon
Replies: 25
Views: 1520
United States of America

Re: compiling mythtv on Apple M1 silicon

...well it's not codesigning. I now have a script version that does that properly now :)

Looking into configure to see if it needs any special care for mac / arm
by jhoyt
Sun Feb 28, 2021 12:41 am
Forum: OSX
Topic: [Solved] compiling mythtv on Apple M1 silicon
Replies: 25
Views: 1520
United States of America

Re: compiling mythtv on Apple M1 silicon

Here's my configure output: Note the Architecture is aarch64 - maybe something to look into... ------------ Configuring Mythtv ------------ cc_default gcc , sed 's#@@PREFIX@@#/Users/jhoyt/mythtv-31/mythtv/mythtv/external/nv-codec-headers/install#' ffnvcodec.pc.in > ffnvcodec.pc install -m 0755 -d '/...
by jhoyt
Sun Feb 28, 2021 12:37 am
Forum: OSX
Topic: [Solved] compiling mythtv on Apple M1 silicon
Replies: 25
Views: 1520
United States of America

Re: compiling mythtv on Apple M1 silicon

Here's the macOS crash report when running with the --noupnp flag: Process: mythfrontend.real [729] Path: /Users/USER/*/mythfrontend.app/Contents/MacOS/./mythfrontend.real Identifier: org.osx-bundler.mythfrontend Version: 31 (1.0) Code Type: ARM-64 (Native) Parent Process: zsh [68670] Responsible: T...
by jhoyt
Sun Feb 28, 2021 12:33 am
Forum: OSX
Topic: [Solved] compiling mythtv on Apple M1 silicon
Replies: 25
Views: 1520
United States of America

Re: compiling mythtv on Apple M1 silicon

Well, I managed to get qtwebkit to successfully compile, so back to trying to figure out the mythfrontend issues. Here's the backtrace - I'm not sure what I'm looking at. % lldb mythfrontend.real (lldb) target create "mythfrontend.real" Current executable set to '/Users/jhoyt/mythtv-31/mythtv/mythtv...
by jhoyt
Sat Feb 27, 2021 10:44 pm
Forum: OSX
Topic: [Solved] compiling mythtv on Apple M1 silicon
Replies: 25
Views: 1520
United States of America

Re: compiling mythtv on Apple M1 silicon

So I got my hands on an M1 mac mini (the wife was in a good mood). I've managed to get through the py2app issue by using the "--arch=universal" flag (not the "-b" flag like I originally thought). Everything compiles and the application packages up without error - but I now get segfaults when trying ...
by jhoyt
Sat Feb 27, 2021 12:10 pm
Forum: OSX
Topic: [Solved] compiling mythtv on Apple M1 silicon
Replies: 25
Views: 1520
United States of America

Re: compiling mythtv on Apple M1 silicon

@ILMostro - a big thank you for getting us this far. It's been a huge help.

...now to try to talk the wife into why I need a new M1 based computer :)
by jhoyt
Sat Feb 27, 2021 12:51 am
Forum: OSX
Topic: [Solved] compiling mythtv on Apple M1 silicon
Replies: 25
Views: 1520
United States of America

Re: compiling mythtv on Apple M1 silicon

Py2app doesn't look like they've released 0.24. Also, from a quick look at the port file, it doesn't not like there is any special handling for these templates. Possibly upstream needs to fix something. You're right - I just looked at the Portfile and it's quite simple with little special handling....
by jhoyt
Sat Feb 27, 2021 12:15 am
Forum: OSX
Topic: [Solved] compiling mythtv on Apple M1 silicon
Replies: 25
Views: 1520
United States of America

Re: compiling mythtv on Apple M1 silicon

looking into the py2app issue, it looks like they added arm support in v0.22 (and are up to v0.24) https://py2app.readthedocs.io/en/latest/changelog.html#py2app-0-24 . ARM support is also in the git repo https://github.com/ronaldoussoren/py2app/tree/master/py2app/apptemplate/prebuilt Macports is up ...
by jhoyt
Fri Feb 26, 2021 11:26 pm
Forum: OSX
Topic: [Solved] compiling mythtv on Apple M1 silicon
Replies: 25
Views: 1520
United States of America

Re: compiling mythtv on Apple M1 silicon

Wow - that second log file looks promising. You made it through the entire compile and got tripped up in packaging. You were only a couple steps away from generating the .dmg file. You should be able to run the mythfrontend executable from the command line it'll be installed in ~/mythtv-31/31-osx-64...
by jhoyt
Fri Feb 26, 2021 12:10 pm
Forum: OSX
Topic: [Solved] compiling mythtv on Apple M1 silicon
Replies: 25
Views: 1520
United States of America

Re: compiling mythtv on Apple M1 silicon

@ILMostro - also would you mind trying this version of the compile script https://github.com/MythTV/packaging/blob/ccf3e92f37bd0f3e1e7d2f0df915f8d9eb5fa1e8/OSX/build/macports_ansible/compileMythfrontendAnsible.zsh It's an older version (commit ccf3e92) that had a different way of linking in the myth...
by jhoyt
Fri Feb 26, 2021 11:25 am
Forum: OSX
Topic: [Solved] compiling mythtv on Apple M1 silicon
Replies: 25
Views: 1520
United States of America

Re: compiling mythtv on Apple M1 silicon

@ILMostro - a big thank you for helping out! The libcec error is not a big deal. I've actually had constant issues trying to get it to link in the app bundle and have been considering removing it as a required port. It really doesn't buy you much unless you're using HDMI to connect to a TV/monitor. ...
by jhoyt
Thu Feb 25, 2021 6:22 pm
Forum: OSX
Topic: [Solved] compiling mythtv on Apple M1 silicon
Replies: 25
Views: 1520
United States of America

Re: compiling mythtv on Apple M1 silicon

Python being installed first was more of an artifact of copying the install instructions needed for the compile script to work with ansible. Basically, I needed a matching version of python and ansible installed before running the script so that the ansible playbook installs everything else includin...
by jhoyt
Thu Feb 25, 2021 11:43 am
Forum: OSX
Topic: [Solved] compiling mythtv on Apple M1 silicon
Replies: 25
Views: 1520
United States of America

[Solved] compiling mythtv on Apple M1 silicon

Update 2/25: Cleaned up python install Update 2/26: Remove libcec Update 2/28: Point to updated build script Recently there's been discussion of trying to compile mythtv / mythfrontend on Apple's new silicon. Unfortunately, we've found out that qtwebkit is not ready for Apple Silicon, so we'll have ...