NextPVR Forums

Full Version: NextPVR on M1 Mac?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4
I have an M1 Mac mini and cannot get NextPVR to install and run.  Is there a way to make it work?
Did you install via Rosetta?

Martin
I assumed Rosetta just kicks in when needed. I'm techy, but not a programmer so Github stuff is a little beyond me Smile

How would I install with Rosetta?
Via a Rosetta shell instead of a Terminal shell.

Martin
so before trying that.  I found an article that said that install .net 6.0 which I did, but now it seems that might be my problem.  Now when I try to run it in Rosetta shell I get this:

Failed to load Q, error: dlopen(/usr/local/share/dotnet/host/fxr/6.0.0-preview.2.21154.6/libhostfxr.dylib, 1): no suitable image found.  Did find:
/usr/local/share/dotnet/host/fxr/6.0.0-preview.2.21154.6/libhostfxr.dylib: mach-o, but wrong architecture
/usr/local/share/dotnet/host/fxr/6.0.0-preview.2.21154.6/libhostfxr.dylib: mach-o, but wrong architecture
The library libhostfxr.dylib was found, but loading it from /usr/local/share/dotnet/host/fxr/6.0.0-preview.2.21154.6/libhostfxr.dylib failed
  - Installing .NET Core prerequisites might help resolve this problem.
    https://go.microsoft.com/fwlink/?linkid=2063366



but I have no idea how to uninstall 6.
or is there a way to force NextPVR to run on the earlier .net I also have installed?
I got it uninstalled. Installed 3.1 again. Ran it in a rosetta shell and got the same error as I had originally. It starts to run and then a get a popup saying dotnet quit unexpectedly with a huge crashlog
NextPVR is currently built to use the .net core 3.1 runtime. Microsoft does not currently natively support this runtime on the M1, but from what I've read, this is usuable via Rosetta.

Later this year I will move NextPVR to either .net 5 or 6, the later of which is supposed to be natively supported on the M1.

Quote:I got it uninstalled. Installed 3.1 again. Ran it in a rosetta shell and got the same error as I had originally. It starts to run and then a get a popup saying dotnet quit unexpectedly with a huge crashlog
What output and/or error did you get when you tried this?
it pops up a GUI window that starts with

dotnet quit unexpectedly.

and here's some of the log but it goes on forever after this:

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY

Application Specific Information:
abort() called

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 ??? 0x00007ffe96392ab8 ???
1 libsystem_kernel.dylib 0x00007fff2034c462 __pthread_kill + 10
2 libsystem_c.dylib 0x00007fff202cd720 abort + 120
3 libcoreclr.dylib 0x000000010c547ef9 PROCAbort + 25
4 libcoreclr.dylib 0x000000010c547e42 PROCEndProcess(void*, unsigned int, int) + 226
5 libcoreclr.dylib 0x000000010c74558f SafeExitProcess(unsigned int, int, ShutdownCompleteAction) + 479
6 libcoreclr.dylib 0x000000010c746c65 EEPolicy::HandleFatalError(unsigned int, unsigned long, char16_t const*, _EXCEPTION_POINTERS*, char16_t const*, char16_t const*) + 405
7 libcoreclr.dylib 0x000000010c92d5c3 SystemNative::GenericFailFast(StringObject*, ExceptionObject*, unsigned long, unsigned int, StringObject*) + 579
8 libcoreclr.dylib 0x000000010c92d778 SystemNative::FailFast(StringObject*) + 184
Unfortunately that error doesn't tell me much about what is happening. It's somewhere in the bowels of dotnet.
Pages: 1 2 3 4