Ask me anything!

Have a question you always wanted to ask Moonchild but never did? Now's your chance!
From 2026-03-08 to 2026-03-15 I'll be open to any question by the community, after which I'll provide answers.

Go here to participate: https://forum.palemoon.org/viewtopic.php?f=66&t=33222

[Linux] Possibly loss of performance under XLibre?

Discussions about the development and maturation of the platform code (UXP).
Warning: may contain highly-technical topics.

Moderators: trava90, athenian200

vannilla
Moon Magic practitioner
Moon Magic practitioner
Posts: 2536
Joined: 2018-05-05, 13:29

[Linux] Possibly loss of performance under XLibre?

Post by vannilla » 2026-02-18, 12:27

I recently switched from the X.org X11 server to the XLibre server and I feel like UXP-based applications perform worse, most notably when scrolling but some user interface details also seem to be slower.
I'm using the official GTK3 version and the built-in widgets like the file picker do not seem to be affected.
Games are unaffected even if 3D and other GUI applications I have installed seems fine too, apparently.
I'm on Gentoo Linux and I tried to recompile Cairo and GTK just in case, but it had no effect.

Is there a way I can measure the platform and see if there's actually something going on or if it's just my imagination? UXP is not really your average program and it can't quite be tracked with a naive approach.

User avatar
Moonchild
Project founder
Project founder
Posts: 38957
Joined: 2011-08-28, 17:27
Location: Sweden

Re: [Linux] Possibly loss of performance under XLibre?

Post by Moonchild » 2026-02-18, 15:11

vannilla wrote:
2026-02-18, 12:27
Is there a way I can measure the platform
You can try some of the browser benchmarks out there that actually test graphical things, like motionmark or canvasmark.

Something you can try is disabling XRender gfx.xrender.enabled and see if that makes a difference. if that fixes the problem then X11Libre likely needs to work on their XRender compatibility/performance.
"There is no point in arguing with an idiot, because then you're both idiots." - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
andyprough
Board Warrior
Board Warrior
Posts: 1300
Joined: 2020-05-31, 04:33

Re: [Linux] Possibly loss of performance under XLibre?

Post by andyprough » 2026-02-18, 16:30

vannilla wrote:
2026-02-18, 12:27
I recently switched from the X.org X11 server to the XLibre server and I feel like UXP-based applications perform worse, most notably when scrolling but some user interface details also seem to be slower.
I'm using the official GTK3 version and the built-in widgets like the file picker do not seem to be affected.
Games are unaffected even if 3D and other GUI applications I have installed seems fine too, apparently.
I'm on Gentoo Linux and I tried to recompile Cairo and GTK just in case, but it had no effect.

Is there a way I can measure the platform and see if there's actually something going on or if it's just my imagination? UXP is not really your average program and it can't quite be tracked with a naive approach.
I just installed xlibre on a computer running MX Linux 25 (basically Debian 13 plus a few additional packages) and I don't see any slowness in scrolling on Pale Moon 34.0.1 with GTK3 that I installed from a .deb from Veit Kannegieser's contributed builds: http://www.palemoon.org/contributed-builds.shtml

I used the Debian xlibre repo from here: https://github.com/xlibre-deb/debian

Scrolling seems to be normal speed, everything looks normal, and there's no glitches or screen tearing so far. I'm using the XFCE desktop, on a computer with Intel Arc integrated graphics.

Let me know if there were particular sites you were having trouble with, I'll try them on this install. Or if you find some browser benchmark test you want to try, like @Moonchild said.

vannilla
Moon Magic practitioner
Moon Magic practitioner
Posts: 2536
Joined: 2018-05-05, 13:29

Re: [Linux] Possibly loss of performance under XLibre?

Post by vannilla » 2026-02-18, 16:47

After disabling XRender as suggested by Moonchild affected applications feel more snappy. Scrolling sometimes has a few hiccups when rapidly navigating large pages and lists, but it generally feels more smooth than it was until now.
I'll try using the programs (Pale Moon and Epyrus) like this for a few days and then switch XRender on again to see what happens.
That's not a proper test, I know, but given it's something about XRender it's the best I can do before I submit a bug report to the XLibre developers.
andyprough wrote:
2026-02-18, 16:30
and I don't see any slowness in scrolling
It wasn't really slow scrolling but rather "choppy" scrolling, like there was some lag between movements. I could've lived with it, but it was very noticeable especially compared to scrolling after setting glx.xrender.enabled to false. Operating on tabs sometimes was "choppy" too and it's fine after changing the setting.

User avatar
andyprough
Board Warrior
Board Warrior
Posts: 1300
Joined: 2020-05-31, 04:33

Re: [Linux] Possibly loss of performance under XLibre?

Post by andyprough » 2026-02-18, 16:52

vannilla wrote:
2026-02-18, 16:47
It wasn't really slow scrolling but rather "choppy" scrolling, like there was some lag between movements. I could've lived with it, but it was very noticeable especially compared to scrolling after setting glx.xrender.enabled to false. Operating on tabs sometimes was "choppy" too and it's fine after changing the setting.
Yeah, I've got nothing, no choppiness or anything to remark on at all so far. Just seems like regular Xorg on this system.

User avatar
mr tribute
Lunatic
Lunatic
Posts: 376
Joined: 2016-03-19, 23:24

Re: [Linux] Possibly loss of performance under XLibre?

Post by mr tribute » 2026-02-19, 20:53

andyprough wrote:
2026-02-18, 16:30
vannilla wrote:
2026-02-18, 12:27
I recently switched from the X.org X11 server to the XLibre server and I feel like UXP-based applications perform worse, most notably when scrolling but some user interface details also seem to be slower.
I'm using the official GTK3 version and the built-in widgets like the file picker do not seem to be affected.
Games are unaffected even if 3D and other GUI applications I have installed seems fine too, apparently.
I'm on Gentoo Linux and I tried to recompile Cairo and GTK just in case, but it had no effect.

Is there a way I can measure the platform and see if there's actually something going on or if it's just my imagination? UXP is not really your average program and it can't quite be tracked with a naive approach.
I just installed xlibre on a computer running MX Linux 25 (basically Debian 13 plus a few additional packages) and I don't see any slowness in scrolling on Pale Moon 34.0.1 with GTK3 that I installed from a .deb from Veit Kannegieser's contributed builds: http://www.palemoon.org/contributed-builds.shtml

I used the Debian xlibre repo from here: https://github.com/xlibre-deb/debian

Scrolling seems to be normal speed, everything looks normal, and there's no glitches or screen tearing so far. I'm using the XFCE desktop, on a computer with Intel Arc integrated graphics.

Let me know if there were particular sites you were having trouble with, I'll try them on this install. Or if you find some browser benchmark test you want to try, like @Moonchild said.
Was there a reason you wanted to install Xlibre or were you just curious and wanted to test it?
I'm happy Xlibre exists, but since I'm also using Debian Stable I see no reason to switch to it before Debian Forky (14).

vannilla
Moon Magic practitioner
Moon Magic practitioner
Posts: 2536
Joined: 2018-05-05, 13:29

Re: [Linux] Possibly loss of performance under XLibre?

Post by vannilla » 2026-02-19, 22:29

mr tribute wrote:
2026-02-19, 20:53
Was there a reason you wanted to install Xlibre or were you just curious and wanted to test it?
I'm happy Xlibre exists, but since I'm also using Debian Stable I see no reason to switch to it before Debian Forky (14).
Some events happened at the end of January and I became aware of them a week or so ago.
I will keep it short and any discussion should happen in the off-topic board (it might interest some people, probably): the people behind X.org are actively hostile towards users.

User avatar
andyprough
Board Warrior
Board Warrior
Posts: 1300
Joined: 2020-05-31, 04:33

Re: [Linux] Possibly loss of performance under XLibre?

Post by andyprough » 2026-02-19, 23:07

mr tribute wrote:
2026-02-19, 20:53
Was there a reason you wanted to install Xlibre or were you just curious and wanted to test it?
I'm happy Xlibre exists, but since I'm also using Debian Stable I see no reason to switch to it before Debian Forky (14).
I was just trying it in response to @vannilla's question in this thread, see if I could offer some helpful feedback. Honestly, I haven't even noticed xlibre is there since I installed it a couple days ago - I'll probably just stick with it if it's going to be the future of Xorg anyway and it runs without any issues on MX.

User avatar
frostknight
Keeps coming back
Keeps coming back
Posts: 918
Joined: 2022-08-10, 02:25

Re: [Linux] Possibly loss of performance under XLibre?

Post by frostknight » 2026-02-20, 08:21

I installed xlibre on my gaming laptop and no issues.

Ultimately, if I have to choose between wayland and xlibre, I will choose the latter for damn sure.
Freedom is never more than one generation away from extinction. Feelings are not facts
If you wish to be humbled, try to exalt yourself long term If you wish to be exalted, try to humble yourself long term
Favourite operating systems: Hyperbola Devuan OpenBSD
Say NO to Fascism and Corporatism as much as possible!
Also, Peace Be With us All!