phosh 0.13.0 is out 🚀 :
gitlab.gnome.org/World/Phosh/p

Improved call handling when shell is locked, lockscreen notifications, high contrast theme support and much more. Check the release notes.

#phosh #librem5 #purism #gnomeonmobile #gnome #linux

@agx Sounds great, thank you for your work! I'm using phosh on a Pinephone via Manjaro. I really like it so far, but a most obvious issue to me is that the UI (including scrolling) behaves very slowly. Is this due to the Pinephone hardware (and faster on the Librem) or do you see possibilities to apply further optimization/hardware accleration or similar?

@letterus @agx Most of apps you're likely to run under phosh (and also phosh itself) is still based on GTK3, and GTK3 is purely software rendered - PinePhone's slow memory bandwidth is a huge bottleneck there. It is noticeably snappier on the Librem 5 since its RAM is significantly faster.

One thing to check is whether arm64 optimizations are enabled in pixman build used by your distro, there is a patch that's not merged upstream that can make it a bit faster overall.

@dos @agx Thank you. Pure software rendering explains a lot of the behaviour I‘m seeing. 😉 So that would change with GTK4?

@letterus @agx Possibly. GTK4's GPU rendering isn't well optimized for mobile platforms, but it already got pretty usable in GTK 4.2. There will still be some work needed in order to keep slow GPU-rendered clients from making the whole compositor slow (like github.com/swaywm/wlroots/issu), so there's no single silver bullet, but we'll get there eventually ;)

@dos @agx Thank you for your explanation! Keep up the good work!

@letterus @agx One more thing: a possible feature that could be added to phoc to make platforms like PinePhone faster even with software rendering is to render everything in smaller resolution and then upscale while displaying. This will of course make everything blurry or pixelated, but should make it very snappy even with underpowered hardware.

@dos @letterus @agx But that would only happen during animation and once there’s no movement it would go back to full resolution, right?

@js @letterus @agx Nope. It would be kinda like changing your screen's resolution to a lower value.

@dos @letterus @agx That would be extremely terrible as text becomes illegible. I would much rather see something like dynamic reposition as it is in modern video games.

@js @letterus @agx Reasonably sized text on 360x720 at 5" is hardly illegible. Just run any XWayland app where such scaling happens already and see for yourself.

Nevertheless, the compositor has no contextual knowledge on what's being displayed. Every client would have to implement that by themselves.

Follow

@dos @letterus @agx It’s very much illegible and if there’s no movement, there is also no reason to downscale. The compositor is very aware of how many FPS it is able to draw and adjust accordingly?

@js @letterus @agx How many FPS the compositor can draw is irrelevant. How would you distinguish between a wl_shm backed surface that legitimately updates ten times per second and a client that struggles to render and ends up with 10 FPS?

@js @letterus @agx BTW. The first iPhone had a screen with resolution even lower than that (320x480) and with comparable DPI.

Sign in to participate in the conversation
Mastodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!