Live data from Hacker News

May Update: Connection Established

pine64.org

1–10 of 17 posts

Re: May Update: Connection Established

#3
I'm personally very excited about Megapixels (the camera app) being ported to GTK4. With GTK4's graphics acceleration support, I expect that the UI of these phones will get a lot smoother once most of the apps are running on GTK4.

Re: May Update: Connection Established

#4
post #3

I'm personally very excited about Megapixels (the camera app) being ported to GTK4. With GTK4's graphics acceleration support, I expect that the UI of these phones will get a lot smoother once most of the apps are running on GTK4.

What I can't figure out is how Phosh on PinePhone could take 5 seconds just to open a window e.g. to turn wifi on/off, when the Nokia N900, also a GTK-based system and running on more primitive hardware, managed to have a very snappy and responsive UI. Surely this can't be a matter of mere graphics acceleration, there must be a great deal of bloat in all the underlying libraries.

Re: May Update: Connection Established

#5
post #3

I'm personally very excited about Megapixels (the camera app) being ported to GTK4. With GTK4's graphics acceleration support, I expect that the UI of these phones will get a lot smoother once most of the apps are running on GTK4.

What I can't figure out is how Phosh on PinePhone could take 5 seconds just to open a window e.g. to turn wifi on/off, when the Nokia N900, also a GTK-based system and running on more primitive hardware, managed to have a very snappy and responsive UI. Surely this can't be a matter of mere graphics acceleration, there must be a great deal of bloat in all the underlying libraries.

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.)

Re: May Update: Connection Established

#6
post #3

I'm personally very excited about Megapixels (the camera app) being ported to GTK4. With GTK4's graphics acceleration support, I expect that the UI of these phones will get a lot smoother once most of the apps are running on GTK4.

I'm migrating my toy HN app to GTK4 as well, it's not always free performance though, the pp GPU is extremely bad, even worse than the CPU. My app actually was slower on GTK4, although removing rounded corners and shadows as the devs recommended actually made it a lot faster than the GTK3 version.

Re: May Update: Connection Established

#7
post #5

Earlier quoted context omitted.

What I can't figure out is how Phosh on PinePhone could take 5 seconds just to open a window e.g. to turn wifi on/off, when the Nokia N900, also a GTK-based system and running on more primitive hardware, managed to have a very snappy and responsive UI. Surely this can't be a matter of mere graphics acceleration, there must be a great deal of bloat in all the underlying libraries.

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…

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

Re: May Update: Connection Established

#9
post #6
post #3

I'm personally very excited about Megapixels (the camera app) being ported to GTK4. With GTK4's graphics acceleration support, I expect that the UI of these phones will get a lot smoother once most of the apps are running on GTK4.

I'm migrating my toy HN app to GTK4 as well, it's not always free performance though, the pp GPU is extremely bad, even worse than the CPU. My app actually was slower on GTK4, although removing rounded corners and shadows as the devs recommended actually made it a lot faster than the GTK3 version.

Hmm... I wonder if those expensive effects could be cached to a texture atlas to mitigate the performance impact. Hopefully the devs are looking into it!
Post reply on HN