Hacker News new | ask | show | jobs
by swiley 1863 days ago
Idk why phosh is so slow on the pinephone. Just about any other (x11 anyway) DE was fast on it even before the updated drivers a few months ago.

I think the other issue though is that on the nokia GTK was still built with software rendering in mind whereas modern graphics toolkits tend to do the "everything has OpenGL and stuff without it can use LLVMPIPE" thing which results in very poor performance on incompatible hardware (along with less than optimal drawing in order to fit the abstraction.)

1 comments

Something I also want to investigate -- CPU is at 100% on 1 core for 5~ seconds when launching anything. Not even waiting for IO, it's mostly user time
There were some shader caching patches mainlined recently to mesa, I think, and some improvements went to gtk4, too.

https://www.phoronix.com/scan.php?page=news_item&px=Mesa-Lim...

Pretty much nothing in phosh (aside of small amount of third party apps since very recently) uses GTK4 yet, and GTK3 did not use mesa at all.