Search found 98 matches

by jhoyt
Sat Feb 27, 2021 10:44 pm
Forum: OSX
Topic: [Solved] compiling mythtv on Apple M1 silicon
Replies: 25
Views: 2167
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: 2167
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: 2167
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: 2167
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: 2167
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: 2167
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: 2167
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: 2167
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: 2167
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 ...
by jhoyt
Tue Nov 24, 2020 7:31 pm
Forum: OSX
Topic: MythTV 31 - High CPU usage during playback
Replies: 6
Views: 1625
United States of America

Re: MythTV 31 - High CPU usage during playback

So I managed to work through the Big Sur qt and audio issues for v31 and will be uploading the files shortly. My CPU usage for this build is ~35% for OpenGL ~15% for VideoToolBox WARNING - I had to graft the master-prev32 audio updates onto v31 to get it working so there may be some unintended bugs....
by jhoyt
Sun Nov 22, 2020 9:56 pm
Forum: OSX
Topic: MythTV 31 - High CPU usage during playback
Replies: 6
Views: 1625
United States of America

Re: MythTV 31 - High CPU usage during playback

I just posted some new Catalina builds for v31 and v32. These use Xcode 12.2. Testing on my on my Big Sur system (11.0.1), I am only using ~20% of a cpu during playback. I'm optimistic that they'll fix your playback issues since they use the latest SDK. For settings, I am using the "Open GL High Qua...
by jhoyt
Sat Nov 21, 2020 10:17 pm
Forum: OSX
Topic: MythTV 31 - High CPU usage during playback
Replies: 6
Views: 1625
United States of America

Re: MythTV 31 - High CPU usage during playback

Thanks this helps me try to troubleshoot. i haven't tested much since upgrading my main system to Big Sur (upgraded yesterday). In Big Sur Apple upgraded Xcode to 12.2 which is causing a lot of chaos since it's modified a lot of things to be compatible with the new Apple Silicon. I'll post when I ge...
by jhoyt
Sat Nov 21, 2020 8:52 pm
Forum: OSX
Topic: MythTV 31 - High CPU usage during playback
Replies: 6
Views: 1625
United States of America

Re: MythTV 31 - High CPU usage during playback

I think what you discovered is probably the best fix for the time being. Mark had to put in quite a few changes to get video playback in non-low resolution mode working. What version of macOS are you running? What version of the MythFrontend did you grab? I ask because if you're running Catalina - m...
by jhoyt
Tue Oct 27, 2020 10:15 am
Forum: OSX
Topic: Looking for OSX MythTV 31 frontend pre-built binary
Replies: 24
Views: 2139
United States of America

Re: Looking for OSX MythTV 31 frontend pre-built binary

Long story short - I am currently only planning to keep building with High Sierra, Catalina, and eventually Big Sur. I may even deprecate either the Catalina or HS build in the future as I migrate my systems to Big Sur. Although I may decide to spin up another VM... In regards to your question, I su...
by jhoyt
Sun Oct 25, 2020 5:20 pm
Forum: OSX
Topic: Looking for OSX MythTV 31 frontend pre-built binary
Replies: 24
Views: 2139
United States of America

Re: Looking for OSX MythTV 31 frontend pre-built binary

That's a good thought. My backend is running MySQL where as the mythtfrontend is using mariadb (mostly due to mariadb being the most up to date in macports when I started earlier in the year). Unfortunately - I can't get the error to repeat. In the future when I make new builds I'll certainly run wi...