Pale Moon x86-64 AVX/AVX2

For contributed third party builds not necessarily configured like the main product.
e.g. AVX builds, SSE builds, Pandora builds.
User avatar
Nuck-TH
Fanatic
Fanatic
Posts: 116
Joined: 2020-03-02, 16:04

Re: Pale Moon x86-64 AVX/AVX2

Unread post by Nuck-TH » 2022-05-12, 17:20

Version 31.0.0 is out, now on contributed builds FTP.
Also, from this point onward this builds will be able to self-update.

User avatar
R3n_001
Apollo supporter
Apollo supporter
Posts: 43
Joined: 2019-05-25, 20:39
Contact:

Re: Pale Moon x86-64 AVX/AVX2

Unread post by R3n_001 » 2022-05-12, 20:20

Nuck-TH wrote:
2022-05-12, 17:20
Version 31.0.0 is out, now on contributed builds FTP.
FTP server kinda wack, only loads when using Pale Moon.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 32921
Joined: 2011-08-28, 17:27
Location: Tranås, SE
Contact:

Re: Pale Moon x86-64 AVX/AVX2

Unread post by Moonchild » 2022-05-12, 21:58

R3n_001 wrote:
2022-05-12, 20:20
FTP server kinda wack, only loads when using Pale Moon.
Are you sure your other browser still supports the ftp protocol? Because they've been axing that.
"The best revenge is to not be like the person who wronged you." -- Marcus Aurelius
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb

User avatar
R3n_001
Apollo supporter
Apollo supporter
Posts: 43
Joined: 2019-05-25, 20:39
Contact:

Re: Pale Moon x86-64 AVX/AVX2

Unread post by R3n_001 » 2022-05-12, 22:03

Moonchild wrote:
2022-05-12, 21:58
R3n_001 wrote:
2022-05-12, 20:20
FTP server kinda wack, only loads when using Pale Moon.
Are you sure your other browser still supports the ftp protocol? Because they've been axing that.
I still mainly use Waterfox Classic, I also still have a old copy of Waterfox G3 sitting around, and I tried that too. Both didn't work.

User avatar
andyprough
Lunatic
Lunatic
Posts: 361
Joined: 2020-05-31, 04:33

Re: Pale Moon x86-64 AVX/AVX2

Unread post by andyprough » 2022-05-12, 22:17

R3n_001 wrote:
2022-05-12, 22:03
I still mainly use Waterfox Classic, I also still have a old copy of Waterfox G3 sitting around, and I tried that too. Both didn't work.
Seamonkey downloads these files.
Self-compiled Pale Moon on Libre-antiX GNU/Linux respin, 32-bit and 64-bit, and on Hyperbola GNU/Linux 64-bit

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 32921
Joined: 2011-08-28, 17:27
Location: Tranås, SE
Contact:

Re: Pale Moon x86-64 AVX/AVX2

Unread post by Moonchild » 2022-05-12, 23:52

Check your firewall settings. By the looks of it (from the FTP server log) you're unable to create data connections after successfully opening a control connection.
"The best revenge is to not be like the person who wronged you." -- Marcus Aurelius
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb

User avatar
back2themoon
Moon Magic practitioner
Moon Magic practitioner
Posts: 2101
Joined: 2012-08-19, 20:32

Re: Pale Moon x86-64 AVX/AVX2

Unread post by back2themoon » 2022-05-13, 08:53

Nuck-TH wrote:
2022-05-12, 17:20
Also, from this point onward this builds will be able to self-update.
Perhaps you need to edit the notes about self-update ability on the first post?

User avatar
R3n_001
Apollo supporter
Apollo supporter
Posts: 43
Joined: 2019-05-25, 20:39
Contact:

Re: Pale Moon x86-64 AVX/AVX2

Unread post by R3n_001 » 2022-05-13, 22:10

Moonchild wrote:
2022-05-12, 23:52
Check your firewall settings. By the looks of it (from the FTP server log) you're unable to create data connections after successfully opening a control connection.
I checked them, apparently I had a rule that blocked communication on any port over 2000. At first I didn't know why since I had an ask rule that covered those, but then I remembered that at one point I had weird connections being made to weird IPs over higher ports like that by gecko/goana based browsers (even Interlink), and I didn't and still don't know why.

Here's one of the them that happened in the past when win-raid used to be a Xobor forum. https://winraid.level1techs.com/t/somet ... ened/39773

User avatar
leothetechguy
Apollo supporter
Apollo supporter
Posts: 48
Joined: 2020-12-10, 18:46

Re: Pale Moon x86-64 AVX/AVX2

Unread post by leothetechguy » 2022-05-15, 17:34

I would love to try this out, but I'm using linux. I've heard the build system is complicated, so it probably doesn't support cross-compilation, but is anybody with a computer running a Linux distro or virtual machine interested in compiling this?

User avatar
Nuck-TH
Fanatic
Fanatic
Posts: 116
Joined: 2020-03-02, 16:04

Re: Pale Moon x86-64 AVX/AVX2

Unread post by Nuck-TH » 2022-05-15, 18:10

I will try when i get bored enough and some free time. Maybe someday this week.

User avatar
Nuck-TH
Fanatic
Fanatic
Posts: 116
Joined: 2020-03-02, 16:04

Re: Pale Moon x86-64 AVX/AVX2

Unread post by Nuck-TH » 2022-06-08, 18:56

31.1 version is live and should roll through (auto) self-update if you are on 31.0. Contributed builds FTP.
Sorry for delay about linux builds - i'm currently looking into making them, so maybe in couple of days i will accomplish them.

User avatar
jobbautista9
Astronaut
Astronaut
Posts: 570
Joined: 2020-11-03, 06:47
Location: Philippines
Contact:

Re: Pale Moon x86-64 AVX/AVX2

Unread post by jobbautista9 » 2022-06-09, 02:09

A folder in the "archive" directory of your ftp is named wrong btw. It should be 31.0.0, not 31.1.0.
mima

Developer of Ambassador in Window Menu, BrowserTickTock, CacheSwitch, Chrome Navigator, Cite4Wiki, Clickity Touch 'n Push, ColorPili, EditDatContent, EditDatTitle, Esrever, Go Menu, User Agent Status, Website Navigation Bar, and Yet Another about:config Helper.

My PGP public key (My copy on rw.rs)

Touhou avatar by ならきゃっと.

User avatar
Nuck-TH
Fanatic
Fanatic
Posts: 116
Joined: 2020-03-02, 16:04

Re: Pale Moon x86-64 AVX/AVX2

Unread post by Nuck-TH » 2022-06-10, 17:52

jobbautista9 wrote:
2022-06-09, 02:09
A folder in the "archive" directory of your ftp is named wrong btw. It should be 31.0.0, not 31.1.0.
Fixed.
---
I finally came to doing Linux builds on CentOS 7 and GCC9.
.mozconfig is following:

Code: Select all

# Set GTK Version to 2 or 3
_GTK_VERSION=2

# Set AVX version empty or 2
_AVX_VERSION=

# Application and target
export MOZ_PKG_SPECIAL=avx"$_AVX_VERSION"_gtk"$_GTK_VERSION"
mk_add_options MOZ_OBJDIR=../build/obj-pm-x64-$MOZ_PKG_SPECIAL-release
ac_add_options --enable-application=palemoon

# Build options
mk_add_options MOZ_MAKE_FLAGS="-j6"
ac_add_options --enable-optimize="-O2 -mavx$_AVX_VERSION -w"
ac_add_options --enable-default-toolkit=cairo-gtk$_GTK_VERSION

ac_add_options --enable-official-branding
ac_add_options --enable-update-channel=release
ac_add_options --enable-updater

ac_add_options --disable-precompiled-startupcache

ac_add_options --enable-jemalloc
ac_add_options --enable-strip

ac_add_options --enable-devtools
ac_add_options --enable-av1
ac_add_options --enable-phoenix-extensions

ac_add_options --disable-gamepad
ac_add_options --disable-tests
ac_add_options --disable-debug
ac_add_options --disable-necko-wifi

ac_add_options --disable-eme
ac_add_options --disable-webrtc

ac_add_options --with-pthreads

# Please see https://www.palemoon.org/redist.shtml for restrictions when using the official branding.
export MC_OFFICIAL=1
export MOZILLA_OFFICIAL=1

ac_add_options --x-libraries=/usr/lib64
Both GTK2 and 3 are done as GCC builds faster than MSVC.
Fair WARNING: I have no full-fledged linux installation, so this builds are "tested" to the extent that they run on build system. Please use them with caution until at least handful of users report them stable enough.
They are built with updater enabled, so if all goes well, they will be able to self-update when next release is built by me.
Get them at linux subdir.
---
I know that first post is outdated, i will update it someday, but not now.

User avatar
Nuck-TH
Fanatic
Fanatic
Posts: 116
Joined: 2020-03-02, 16:04

Re: Pale Moon x86-64 AVX/AVX2

Unread post by Nuck-TH » 2022-06-11, 17:59

First post is updated.
Also, it's strangely quiet about linux build, even through there was some interest in them. I want to know if they work in real systems and if everything(to a at least easily testable degree) in them works as it should.

User avatar
jobbautista9
Astronaut
Astronaut
Posts: 570
Joined: 2020-11-03, 06:47
Location: Philippines
Contact:

Re: Pale Moon x86-64 AVX/AVX2

Unread post by jobbautista9 » 2022-06-12, 02:18

I just tried the AVX2 GTK3 build in my Devuan testing box, and it runs fine in my current profile. YouTube, Facebook, Twitter, Mastodon, and old reddit works as expected, and the garbage collector also works well. Seems a bit faster than the mainline build, though I'm not sure whether that's due to 31.1.0's performance improvements or placebo.

I'd like to use this build as my daily driver, but I have to build my own nowadays since making Pale Moon support sndio requires me to disable ALSA... But I was able to get AVX2 support to my personal build thanks to your mozconfig! :thumbup:
mima

Developer of Ambassador in Window Menu, BrowserTickTock, CacheSwitch, Chrome Navigator, Cite4Wiki, Clickity Touch 'n Push, ColorPili, EditDatContent, EditDatTitle, Esrever, Go Menu, User Agent Status, Website Navigation Bar, and Yet Another about:config Helper.

My PGP public key (My copy on rw.rs)

Touhou avatar by ならきゃっと.

User avatar
leothetechguy
Apollo supporter
Apollo supporter
Posts: 48
Joined: 2020-12-10, 18:46

Re: Pale Moon x86-64 AVX/AVX2

Unread post by leothetechguy » 2022-06-13, 14:32

I forgot to login to the forum so i didn't get a Notification, but I don't have access to my linux pc at the moment anyway. Will test and report back.

User avatar
Nuck-TH
Fanatic
Fanatic
Posts: 116
Joined: 2020-03-02, 16:04

Re: Pale Moon x86-64 AVX/AVX2

Unread post by Nuck-TH » 2022-07-09, 11:47

Version 31.1.1 builds are pushed to ftp and auto-update.

User avatar
andyprough
Lunatic
Lunatic
Posts: 361
Joined: 2020-05-31, 04:33

Re: Pale Moon x86-64 AVX/AVX2

Unread post by andyprough » 2022-07-09, 14:28

Nuck-TH wrote:
2022-06-11, 17:59
Also, it's strangely quiet about linux build, even through there was some interest in them. I want to know if they work in real systems and if everything(to a at least easily testable degree) in them works as it should.
I've been trying it on my antiX Linux computer. I'm not sure where to expect to see improvements, although I notice that live streaming video seems smoother and less taxing on the CPU. I don't see any difference between the AVX and the AVX2 builds so far. Are there websites where we should be testing the builds in order to see the difference? I've been reading that any processes using video transcoding should be impacted.
Self-compiled Pale Moon on Libre-antiX GNU/Linux respin, 32-bit and 64-bit, and on Hyperbola GNU/Linux 64-bit

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 32921
Joined: 2011-08-28, 17:27
Location: Tranås, SE
Contact:

Re: Pale Moon x86-64 AVX/AVX2

Unread post by Moonchild » 2022-07-09, 19:38

andyprough wrote:
2022-07-09, 14:28
I don't see any difference between the AVX and the AVX2 builds so far.
That's actually a good thing ;-)
Honestly though, the differences between the mainline ones and the AVX/AVX2 builds should not be expected to be earth-shatteringly big. Just a bit smoother in some areas or with lower CPU usage for the same complex tasks because of AVX sets being able to handle certain tasks a bit more efficiently than using SSE2. It seems to be exactly what you experiences so that is what you'll get out of it.
Do note that some code paths are selected at runtime irrespective of build configuration to use the available instruction sets of modern CPUs as some hot paths are hand-crafted for taking advantage of it.
"The best revenge is to not be like the person who wronged you." -- Marcus Aurelius
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb

User avatar
Eduardo Lucas
Moonbather
Moonbather
Posts: 57
Joined: 2021-07-08, 13:08
Location: São Paulo, Brazil

Re: Pale Moon x86-64 AVX/AVX2

Unread post by Eduardo Lucas » 2022-07-10, 19:48

andyprough wrote:
2022-07-09, 14:28
Nuck-TH wrote:
2022-06-11, 17:59
Also, it's strangely quiet about linux build, even through there was some interest in them. I want to know if they work in real systems and if everything(to a at least easily testable degree) in them works as it should.
I've been trying it on my antiX Linux computer. I'm not sure where to expect to see improvements, although I notice that live streaming video seems smoother and less taxing on the CPU. I don't see any difference between the AVX and the AVX2 builds so far. Are there websites where we should be testing the builds in order to see the difference? I've been reading that any processes using video transcoding should be impacted.
While i do perceive some very significant differences between SSE2 vs AVX2 64 bit builds, i do think the official build is quite fast. I actually think the difference between using AVX2 builds will show up in low-power system on chips. In my Ryzen 5 3500u we will be talking about + 2-6W in high power spikes in the SSE2 build (this is a head-measured approximation :D ), and this likely leads to more throttling and therefore less performance, particularly in its integrated graphics, not to mention my power (CPU+GPU) ceiling is aroung 26W, so AVX2 helps a lot on this. But on full-blown desktop or workstation monsters like i7, desktop ryzen, xeon or threadripper, this will likely be way less noticeable.

Post Reply