Add win-arm64 build, update FFmpeg to 6.1.2 #702

Open
KeatonTheBot wants to merge 4 commits from KeatonTheBot/ffmpeg-win-arm64 into master
KeatonTheBot commented 2025-02-22 07:39:48 +00:00 (Migrated from github.com)

As stated in the title, win-arm64 (Windows 11 ARM) has been added to the workflows, so these builds should automatically compile for this PR and all other releases going forward.

Also updated the FFmpeg runtimes from 5.0.3 to 6.1.2. macOS (x64/arm64) is currently excluded from the update until a proper cross-compiling environment can be set up for these architectures.

Windows 11 ARM users, please test the win-arm64 build for any issues.

As stated in the title, win-arm64 (Windows 11 ARM) has been added to the workflows, so these builds should automatically compile for this PR and all other releases going forward. Also updated the FFmpeg runtimes from 5.0.3 to 6.1.2. macOS (x64/arm64) is _currently_ excluded from the update until a proper cross-compiling environment can be set up for these architectures. Windows 11 ARM users, please test the win-arm64 build for any issues.
github-actions[bot] commented 2025-02-22 07:48:44 +00:00 (Migrated from github.com)
Download the artifacts for this pull request: * [ryujinx-Release-1.2.0+57e5b6b-linux_arm64](https://nightly.link/Ryubing/Ryujinx/actions/artifacts/2748458592.zip) * [ryujinx-Release-1.2.0+57e5b6b-linux_arm64-AppImage](https://nightly.link/Ryubing/Ryujinx/actions/artifacts/2748458778.zip) * [ryujinx-Release-1.2.0+57e5b6b-macos_universal](https://nightly.link/Ryubing/Ryujinx/actions/artifacts/2748469197.zip) * [ryujinx-Release-1.2.0+57e5b6b-linux_x64](https://nightly.link/Ryubing/Ryujinx/actions/artifacts/2748469348.zip) * [ryujinx-Release-1.2.0+57e5b6b-linux_x64-AppImage](https://nightly.link/Ryubing/Ryujinx/actions/artifacts/2748469633.zip) * [ryujinx-Release-1.2.0+57e5b6b-win_arm64](https://nightly.link/Ryubing/Ryujinx/actions/artifacts/2748487732.zip) * [ryujinx-Release-1.2.0+57e5b6b-win_x64](https://nightly.link/Ryubing/Ryujinx/actions/artifacts/2748491820.zip) <details><summary>Only for Developers</summary> * [ryujinx-Debug-1.2.0+57e5b6b-linux_arm64](https://nightly.link/Ryubing/Ryujinx/actions/artifacts/2748459970.zip) * [ryujinx-Debug-1.2.0+57e5b6b-linux_arm64-AppImage](https://nightly.link/Ryubing/Ryujinx/actions/artifacts/2748460309.zip) * [ryujinx-Debug-1.2.0+57e5b6b-macos_universal](https://nightly.link/Ryubing/Ryujinx/actions/artifacts/2748469627.zip) * [ryujinx-Debug-1.2.0+57e5b6b-linux_x64](https://nightly.link/Ryubing/Ryujinx/actions/artifacts/2748471756.zip) * [ryujinx-Debug-1.2.0+57e5b6b-linux_x64-AppImage](https://nightly.link/Ryubing/Ryujinx/actions/artifacts/2748471981.zip) * [ryujinx-Debug-1.2.0+57e5b6b-win_arm64](https://nightly.link/Ryubing/Ryujinx/actions/artifacts/2748491299.zip) * [ryujinx-Debug-1.2.0+57e5b6b-win_x64](https://nightly.link/Ryubing/Ryujinx/actions/artifacts/2748496075.zip) </details>
dmorazasanchez commented 2025-02-23 14:46:26 +00:00 (Migrated from github.com)

It crashes on my X Elite Surface Laptop 7.
Ryujinx_1.2.0+19e7354_2025-02-23_15-41-53.log

This fork worksm but the performance is limited with most games.
https://github.com/Otozinclus/Ryujinx/tree/FFmpeg-for-Windows-Arm

It crashes on my X Elite Surface Laptop 7. [Ryujinx_1.2.0+19e7354_2025-02-23_15-41-53.log](https://github.com/user-attachments/files/18931212/Ryujinx_1.2.0%2B19e7354_2025-02-23_15-41-53.log) This fork worksm but the performance is limited with most games. https://github.com/Otozinclus/Ryujinx/tree/FFmpeg-for-Windows-Arm
KeatonTheBot commented 2025-02-23 15:44:18 +00:00 (Migrated from github.com)

It crashes on my X Elite Surface Laptop 7. Ryujinx_1.2.0+19e7354_2025-02-23_15-41-53.log

This fork worksm but the performance is limited with most games. https://github.com/Otozinclus/Ryujinx/tree/FFmpeg-for-Windows-Arm

Will you compile an updated build with that fork and see if it still works? It doesn't seem to be an FFmpeg issue, but those are effectively the only differences I see.

> It crashes on my X Elite Surface Laptop 7. [Ryujinx_1.2.0+19e7354_2025-02-23_15-41-53.log](https://github.com/user-attachments/files/18931212/Ryujinx_1.2.0%2B19e7354_2025-02-23_15-41-53.log) > > This fork worksm but the performance is limited with most games. https://github.com/Otozinclus/Ryujinx/tree/FFmpeg-for-Windows-Arm Will you compile an updated build with that fork and see if it still works? It doesn't seem to be an FFmpeg issue, but those are effectively the only differences I see.
dmorazasanchez commented 2025-02-23 16:29:33 +00:00 (Migrated from github.com)

It crashes on my X Elite Surface Laptop 7. Ryujinx_1.2.0+19e7354_2025-02-23_15-41-53.log
This fork worksm but the performance is limited with most games. https://github.com/Otozinclus/Ryujinx/tree/FFmpeg-for-Windows-Arm

Will you compile an updated build with that fork and see if it still works? It doesn't seem to be an FFmpeg issue, but those are effectively the only differences I see.

Help me do that.
I compiledOtozinclus's fork with the help of ChatGPT and Visual Studio. But how could I get the updated version files?

> > It crashes on my X Elite Surface Laptop 7. [Ryujinx_1.2.0+19e7354_2025-02-23_15-41-53.log](https://github.com/user-attachments/files/18931212/Ryujinx_1.2.0%2B19e7354_2025-02-23_15-41-53.log) > > This fork worksm but the performance is limited with most games. https://github.com/Otozinclus/Ryujinx/tree/FFmpeg-for-Windows-Arm > > Will you compile an updated build with that fork and see if it still works? It doesn't seem to be an FFmpeg issue, but those are effectively the only differences I see. Help me do that. I compiledOtozinclus's fork with the help of ChatGPT and Visual Studio. But how could I get the updated version files?
lexcyn commented 2025-02-23 17:26:20 +00:00 (Migrated from github.com)

It crashes on my X Elite Surface Laptop 7. Ryujinx_1.2.0+19e7354_2025-02-23_15-41-53.log
This fork worksm but the performance is limited with most games. https://github.com/Otozinclus/Ryujinx/tree/FFmpeg-for-Windows-Arm

Will you compile an updated build with that fork and see if it still works? It doesn't seem to be an FFmpeg issue, but those are effectively the only differences I see.

I compiled the build and it launches. Tested out Zelda and it froze at some point but the game did launch

> > It crashes on my X Elite Surface Laptop 7. [Ryujinx_1.2.0+19e7354_2025-02-23_15-41-53.log](https://github.com/user-attachments/files/18931212/Ryujinx_1.2.0%2B19e7354_2025-02-23_15-41-53.log) > > This fork worksm but the performance is limited with most games. https://github.com/Otozinclus/Ryujinx/tree/FFmpeg-for-Windows-Arm > > Will you compile an updated build with that fork and see if it still works? It doesn't seem to be an FFmpeg issue, but those are effectively the only differences I see. I compiled the build and it launches. Tested out Zelda and it froze at some point but the game did launch
KeatonTheBot commented 2025-02-24 06:54:12 +00:00 (Migrated from github.com)

@dmorazasanchez @lexcyn Just pushed a new update. I was able to test this on a VM, and it launched successfully. Let me know if it does for you guys. I had to disable trimming to get this to work, so the executable is much larger.

@dmorazasanchez @lexcyn Just pushed a new update. I was able to test this on a VM, and it launched successfully. Let me know if it does for you guys. I had to disable trimming to get this to work, so the executable is much larger.
dmorazasanchez commented 2025-02-24 08:09:22 +00:00 (Migrated from github.com)

@dmorazasanchez @lexcyn Just pushed a new update. I was able to test this on a VM, and it launched successfully. Let me know if it does for you guys. I had to disable trimming to get this to work, so the executable is much larger.

It works :D
Games launch. Let's see if Qualcomm blesses us with some good drivers for Snapdragon X Elite. 31.0.82.0 works best with Switch emulation. 31.0.91.0 broke it.

> @dmorazasanchez @lexcyn Just pushed a new update. I was able to test this on a VM, and it launched successfully. Let me know if it does for you guys. I had to disable trimming to get this to work, so the executable is much larger. It works :D Games launch. Let's see if Qualcomm blesses us with some good drivers for Snapdragon X Elite. 31.0.82.0 works best with Switch emulation. 31.0.91.0 broke it.
Otozinclus commented 2025-02-24 12:10:46 +00:00 (Migrated from github.com)

Can confirm the build and FFmpeg both work

Can confirm the build and FFmpeg both work
This pull request can be merged automatically.
You are not authorized to merge this pull request.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin KeatonTheBot/ffmpeg-win-arm64:KeatonTheBot/ffmpeg-win-arm64
git checkout KeatonTheBot/ffmpeg-win-arm64
Sign in to join this conversation.
No description provided.