• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting Jellyfin freeze on M1 Mac mini

     
    • 0 Vote(s) - 0 Average

    Jellyfin freeze on M1 Mac mini

    Problems with hanging Jellyfin Server on MacMini M1 Ventura
    Gismo
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2023 Jun
    Reputation: 0
    Country:Germany
    #1
    2023-06-27, 08:51 PM
    Hi, 
    I'm still struggling with an hanging server since I upgraded from a Mac mini 2012 to a Mac mini M1 16gB with Ventura The only way is to kill the server via Activity monitor. 

    I also tried to install a fresh version and add all my files again to the server

    I add the last few hours from my debugging log and I hope you can help me, because it's really frustrating! But I really love the project and I'm really thankful for the really hard work from the dev team.


    Attached Files
    .txt   Log.txt (Size: 127.17 KB / Downloads: 84)
    sevenrats
    Offline

    Community Moderator

    Posts: 17
    Threads: 1
    Joined: 2023 Jun
    Reputation: 1
    #2
    2023-06-27, 09:00 PM
    I don't know all the details, but its not terribly surprising that this doesn't work. Jellyfin needs to be built for this architecture directly, and, I suspect running the x86 ffmpeg through the Rosetta layer is causing this issue, and this is sorta corroborated by the fact that your log ends during a transcode.  If you have a bit of grit, my next step would be to try using Vargol's native builds of ffmpeg, and swapping out the x86 ffmpeg binary with a native built one. https://github.com/Vargol/ffmpeg-apple-arm64-build
    Gismo
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2023 Jun
    Reputation: 0
    Country:Germany
    #3
    2023-06-27, 09:48 PM (This post was last modified: 2023-06-27, 10:01 PM by Gismo. Edited 2 times in total.)
    Hi,
    thanks for the very quick response! I'll give it a try the next days because I'm traveling for business at the moment. I also saw that other logs stopped during other ffprobe things like checking the media files and so on so would make really sense.

    Do you have tips to avoiding issues? Or only compiling it and change it with the x86 version?
    sevenrats
    Offline

    Community Moderator

    Posts: 17
    Threads: 1
    Joined: 2023 Jun
    Reputation: 1
    #4
    2023-08-17, 08:47 PM
    ive since received reports in chat that the entire application is working on apple silicon through rosetta, ffmpeg and all. I can't confirm or deny either way. Maybe specifics about your platform will help get to the bottom of the issue.
    Gismo
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2023 Jun
    Reputation: 0
    Country:Germany
    #5
    2024-01-24, 09:21 AM
    Ok good to know, I have a native ffmpeg binary and it seems that its working better. But I wonder if i should also change ffprobe, because this is also a x86 binary.
    Do you know where i can set the path for it? I would to try a arm binary for that.

    if no specific way to configure the only idea would be to use a system link to the arm binary, but then after every update of the app i have to create a new system link.

    As requested my setup is MacOS 13.6.4, M1 Mini 2020 16GB ram and 256 SSD.
    cashewtree
    Offline

    Junior Member

    Posts: 12
    Threads: 3
    Joined: 2024 Jan
    Reputation: 0
    Country:United States
    #6
    2024-01-24, 09:36 AM
    I launch Jellyfin on my M1 ARM64 using a Properties list file which sets the path.
    The Plist is here: https://github.com/allanpeda/jellyfin-he...yfin.plist

    I also have a monitor that checks site response and restarts it if it hangs. It seems that simply refreshing has kept things working, as the PID is constant.
    https://github.com/allanpeda/jellyfin-he...in-monitor
    Gismo
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2023 Jun
    Reputation: 0
    Country:Germany
    #7
    2024-02-03, 08:01 PM
    This is also a good idea.

    But I think I have the solution.

    Since I replaced the ffmpeg with a arm64 binary and now the ffprobe with a arm64 binary it’s really stable now. No freeze since more than a week. In the past this was not possible. Unfortunately there is no path for ffprobe to edit so I used a system link to link the ffprobe from the application.app to my arm64 binary.

    I hope this can help others till a real arm64 build will released.
    ThijmenDam
    Offline

    Junior Member

    Posts: 2
    Threads: 1
    Joined: 2023 Jul
    Reputation: 0
    #8
    2024-03-27, 04:36 PM
    Facing the same problem, and currently building the custom ffmpeg binary. However, I’m not sure how I can properly replace the binary that is included with Jellyfin server. Would really appreciate some help if you have the time.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #9
    2024-03-27, 04:52 PM (This post was last modified: 2024-03-27, 04:52 PM by TheDreadPirate.)
    You wouldn't need to replace it. You would stop Jellyfin and edit encoder.xml (encoding.xml?) located in ~/.config/jellyfin/ and change the ffmpeg path to the custom ffmpeg.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    gnattu
    Offline

    Team Member

    Posts: 339
    Threads: 0
    Joined: 2024 Feb
    Reputation: 17
    #10
    2024-03-27, 09:18 PM
    Jellyfin 10.9 will be available with native Apple Silicon support. If you are brave enough then you can help test the unstable builds now: https://jellyfin.org/docs/general/testing/server/macos

    Please do note that the first unstable build still requires you to use the web GUI or edit the config file manually to locate the ffmepg binary, because the config file will override the -ffmpeg cli parameter. This is going to be changed in later builds.
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode