Is GNOME slowing our phones down and becoming a liability?

To your main question, no. There is a lot of software development required to optimize the Librem 5 with its hardware.

I personally have “Adwaita-dark” and “prefer-dark” applied on my Librem 5 USA for reduced power consumption, among other usability practices.

If you are asking me, both and more:

The closest thing to being able to compare this that I’ve seen was the PinePhone. The PinePhone is also capable of running Phosh. But after I used it for Phosh, decided it was laggy and slow and crashing too much, then my Librem 5 arrived and wasn’t laggy and wasn’t crashing, I stopped using the PinePhone in favor of the Librem 5 because the Librem 5 was so much better.

But later a friend mentioned GloDroid. It was like a hack someone put together to make the PinePhone able to run Android.

It was honestly creepy, like a big slap in the face to Phosh and a reminder of how much money Google has. On the PinePhone, GloDroid made that hardware that was otherwise quite painful seem capable of a smooth, “makes you want to use it” Android experience.

I would be surprised if given sufficient development time whether it might be possible to run that on the Librem 5, too, and then it might have tremendous performance. But even in a world where that might work, would it subtract something from our collective experience to tempt us to just run Android on these things? Maybe it’s better if nobody gets GloDroid running on Librem 5, so that we don’t face that kind of temptation.

4 Likes

Wait until you try SXMo.

3 Likes

From a hardware acceleration perspective, that is really interesting. All of that comes down to the drivers, I guess the managed to find the right version of android and stuff the correct native driver blobs in it?

Interesting.

Sounds like heck of a lot of work and shows where we are at a real defecit.

1 Like

That’s mostly related to the graphics acceleration. I’ve tested the Pinephone with Phosh rather early and in some later stages. It improved drastically when Phosh implemented hardware acceleration. For example pulling down the quick settings panel from the top was a night and day difference. So I’m not surprised that Android feels that responsive already.

The most issues we have now using the GNOME software stack is actually on application level. Many applications still use GTK3 which leads to worse performance overall than with GTK4. Additionally many applications are developed for a desktop PC with pretty solid single-thread performance. However on mobile you end up with multiple low powered cores. So it’s much better if intensive tasks are handled asynchronous to make the GUI responsive during load. Users will feel the difference.

Last piece is that we need to get maximum of performance out of the hardware. So for this you actually want improvements on the GPU driver, support for modern APIs (for example to utilize the new unified GPU renderer of GTK) and improvements on scheduling.

Obviously there would be less issues when the hardware was simply more powerful. There are things a Librem5 can’t do because of lacking performance. But I think for most tasks, it’s totally fine spec-wise. It just needs more optimization.

3 Likes

a postmarketOS user thinks only thing working well on gnome is phosh made by purism.

Screen doesn’t increase temperature as bluetooth/modem/wifi does. I noticed battery is drained quickly when modem/wifi is on. Also using modem / wifi increase temperature which also reduces the battery charge.

Run PostmarketOS on librem 5
check battery life, RAM usage and performance.
Compare with Gnome

How can we boot pureOs without gnome desktop, only phosh?
It is possible and how to boot librem 5 with PostmarketOS from SdCard?

1 Like

Thanks for your answers.

I may not have been clear. I was more about the application level. For example, when I run the terminal and run top, kgx uses 1.5% of CPU to draw the characters to the screen. My HP 712/60 with nextstep 3.3 also uses around 1.5% CPU to redraw the screen. Granted, kgx is way newer, loads a custom font, output is scaled and antialiased, etc, etc., but we are talking here about a multicore GHz+ CPU vs a machine with a 60MHz CPU and 128MB of RAM.

I don’t think the Librem 5 has to be faster, hardware-wise. The software has to get better. I am well aware that Purism is responsible only for a minimal part of what happens on the phone when running pureos but mankind seems to always make the software heavier way faster than it makes hardware faster.

For example… Feeds. Does it need to be so heavy?
Chat goes for a while high CPU usage when a new message comes. What is it doing? Isn’t it just receiving ~150 characters from the modem, writing the result to the DB and displaying the output? I know I am being overly simplistic here, but, I don’t know…

The answer to my questions may never come, and I am not a good enough of a programmer to be able to contribute in any meaningful way. It’s not so much about how fast the UI renders and how much better it could be with hardware acceleration but the fact everything seems to use more CPU and RAM than my sense tells me, and I wonder how much faster the phone would be and longer the battery would last if just booting to desktop and loading a few background services wouldn’t be so resource-demanding.

I may install and boot from my SD something else to compare.

The biggest culprit, in my daily use, is the web. But that’s not GNOME or phosh or Firefox - the web just sucks nowadays.

3 Likes

Which in turn, is dictated by your browsing habits and practices; you have the power to change it.

Ohhhh … you are one of us! :slight_smile:

Okay well yes. As much as I hate to point this out, I have a Windows nt4 installer that is 40 mb in size total! Windows 95/98 are unbelievably snappy on hardware of that era. I need to get some hardware similar to yours to test out the nix environments of that time.

In comparison, I have no idea what has happened in the software world to get the results we are seeing. For example, I have been exploring the Arcan (https://arcan-fe.com/) display server on a test environment and the display server consumed 37 mb and that includes the Durden window manager, entire sound and media subsystem and a whole bunch of other goodies. The PHD level dev did most of the development on a single core Raspberry PI.

I agree with your sentiment. It is embarrassing to have this much power in the palm of my hand and for software to be this slow.

2 Likes

Indeed. It works the other way too. Faster hardware is used as an excuse for crappier software.

However unless someone can find something specific, not much will happen.

As you also imply, I think web browsing is an area where the problem is as much in the specification as it is in the software. If the specification is massively overengineered then it becomes difficult to write a fast, compliant implementation. Even with a fast implementation, you are limited by the web page itself, if the page includes scripts.

1 Like

Hi Frankly,

ho to make the UI black? Howto use adwaita-dark and prefer dark?

TIA

Uwe

1 Like
gsettings set org.gnome.desktop.interface gtk-theme "Adwaita-dark"
gsettings set org.gnome.desktop.interface color-scheme "prefer-dark"

If you are using Crimson, you only need the first line, as you can change the theme in the Settings app.

1 Like

Yes… web scripts.

I often browse the BBC and at some point the ratio between data consumed for visible content vs invisible content was 20:1. I don’t know how it is now.

It’s insane to download (and process!) 10MB of data to get 500KB of images and 5KB of text. Browse some old school page, maybe one of Cameron Kaiser’s project pages, or even Wikipedia. It’s quite refreshing to see immediate reaction between a click and the screen refreshing, even over 2G.

What upsets me the most is all the talk about CO2 emissions and the sort. With all the efficiency improvements we had, if software had remained as efficient as it used to be, we would all be emitting way less CO2 and generating way less trash.

6 Likes

CO2 may be not a theme here as long as “people” drive on the seas with big holiday cruisers and “others” drive with some aircraft carriers day and night across the world :wink:

But really, any energy reducement ist greatly welcome on the L5. My /e/ os android phone runs easily 2 up to 3 days. Therefore may be some room for doing it better on the L5

2 Likes

Thanks, runs fine all in dark

1 Like

I solved this problem by installing NoScript in Firefox.

4 Likes

I think you should put “solved” in quotes.

2 Likes

Wow, he’s really pissed off about no files on the desktop haha. I never missed it myself.

2 Likes

Every piece of saved CO2 is a good piece. And I’m sure the amount of CO2 produced by internet advertisement is huge, too. Compared to the few “high power consumption L5 devices” in the world … I guess you know what I mean. :wink:

I think less power consumption is a requirement to open GNU/Linux phones for a greater amount of people. So here’s always a balance compared to internet ad that can be increased even further if industry wants it.

1 Like