Microsoft surface laptop 7 an arm processor problems installing SAB [Snapdragon X Elite / Plus]

Report & discuss bugs found in SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
japie1213
Newbie
Newbie
Posts: 10
Joined: June 23rd, 2024, 10:49 pm

Re: Microsoft surface laptop 7 an arm processor problems installing SAB [Snapdragon X Elite / Plus]

Post by japie1213 »

Good morning Sander,

I downloaded from github the windows installer file but my antivitus program Windows Defender delete the program after downloading and tells me this it is a severe trojen called Trojan:Script/Wacatac.B!ml
I could shut down my virusprogram but i find that to risky,
again thank you very much for your help. regards
User avatar
sander
Release Testers
Release Testers
Posts: 9061
Joined: January 22nd, 2008, 2:22 pm

Re: Microsoft surface laptop 7 an arm processor problems installing SAB [Snapdragon X Elite / Plus]

Post by sander »

Ah, I see.

Someone else confirmed the logging says my patch is working: https://github.com/sabnzbd/sabnzbd/issu ... 2187483881

And my patch just got accepted in SABnzbd, so it will be in the next version of SABnzbd. You could wait for that.

Thanks for reporting and providing info.
japie1213
Newbie
Newbie
Posts: 10
Joined: June 23rd, 2024, 10:49 pm

Re: Microsoft surface laptop 7 an arm processor problems installing SAB [Snapdragon X Elite / Plus]

Post by japie1213 »

Thanks for your help.
with kind regards
Jan
talynone
Newbie
Newbie
Posts: 4
Joined: June 27th, 2024, 3:06 am

Re: Microsoft surface laptop 7 an arm processor problems installing SAB [Snapdragon X Elite / Plus]

Post by talynone »

Thanks for this. I have the Lenovo Slim 7x Snapdragon.

Since the heavy processing happens with par2 and uncompressing files here's a few ways to further improve performance on ARM by using ARM native builds of some support apps SABNzbd uses.

-------

Replace Par2.exe with ARM native build.

By default on Windows SABnzbd uses multipar instead of par2 command line. So first, turn off multipar by:

Under Settings->Special, uncheck "enable_multipar" and press the "Save Changes" button at the bottom.

Then download the ARM64 native par2 from:

github dot com /animetosho/par2cmdline-turbo/releases (can't post links)

Latest is "par2cmdline-turbo-v1.1.1-win-arm64.7z" as of this post. Uncompress the par2.exe in this file to the \SABnzbd\win\par2\x64 folder, replacing the existing par2.exe

------

Replace 7zip with ARM native build. Download the "64-bit Windows arm64" from here the official website:

Install 7zip and from the install folder copy the file "7z.exe" to the "\SABnzbd\win\7zip" folder. Delete/backup the old 7za.exe and rename the copied 7z.exe to 7za.exe.

----------

Unrar, I couldn't find a Windows ARM native build of unrar, but if some developer wants to take it on I found the source code for it here:

github dot com /pmachapman/unrar (can't post links)
User avatar
sander
Release Testers
Release Testers
Posts: 9061
Joined: January 22nd, 2008, 2:22 pm

Re: Microsoft surface laptop 7 an arm processor problems installing SAB [Snapdragon X Elite / Plus]

Post by sander »

Good points. Can you please file them (as separate items: par2 resp 7zip) on https://github.com/sabnzbd/sabnzbd/issues ?

For reference: direct link to 7zip for ARM64: https://www.7-zip.org/download.html (ie https://www.7-zip.org/a/7z2407-arm64.exe ) . EDIT: does that contain the 7z CLI-only, non-GUI version ( win\7zip\7za.exe )


Or, even bettter, if you can & want: a pull request on https://github.com/sabnzbd/sabnzbd/pulls ... but you need progamming & git knowledge for that. We would logic in SABnzbd to find out it's on Windows on ARM (and then use the native ARM par2 and 7zip), so maybe a bridge too far for you?
talynone
Newbie
Newbie
Posts: 4
Joined: June 27th, 2024, 3:06 am

Re: Microsoft surface laptop 7 an arm processor problems installing SAB [Snapdragon X Elite / Plus]

Post by talynone »

Doing a pull request is bit bridge too far for me.

But I did create two feature requests:

Issue 2896 and 2897

And yes, 7z.exe from 7zip is the command line version, just have to rename it to 7za.exe and put it in the right SABNzbd folder.
talynone
Newbie
Newbie
Posts: 4
Joined: June 27th, 2024, 3:06 am

Re: Microsoft surface laptop 7 an arm processor problems installing SAB [Snapdragon X Elite / Plus]

Post by talynone »

Just did a bit more research 7z.exe may also require the 7z.dll copied over to function properly, but it seemed to work without me needing to copy that support file.

More info:

sourceforge dot net /p/sevenzip/discussion/45797/thread/93b0c65f6b/
User avatar
sander
Release Testers
Release Testers
Posts: 9061
Joined: January 22nd, 2008, 2:22 pm

Re: Microsoft surface laptop 7 an arm processor problems installing SAB [Snapdragon X Elite / Plus]

Post by sander »

Thanks
talynone wrote: June 27th, 2024, 12:11 pm Just did a bit more research 7z.exe may also require the 7z.dll copied over to function properly, but it seemed to work without me needing to copy that support file.

More info:

sourceforge dot net /p/sevenzip/discussion/45797/thread/93b0c65f6b/
Better to put it in the github issue; more developers there.
talynone
Newbie
Newbie
Posts: 4
Joined: June 27th, 2024, 3:06 am

Re: Microsoft surface laptop 7 an arm processor problems installing SAB [Snapdragon X Elite / Plus]

Post by talynone »

Will do, I also found the 7za ARM64 version from

7-zip dot org /a/7z2407-extra.7z (when extracted ARM64 .exe is located in \arm64 folder)

Though looking at the issue replies the devs aren't interested in including the ARM64 binaries.
Post Reply