Tuesday, 2020-10-27

Mister_Magistermal: could you help me with fixing ui performance and/or getting surfaceflinger rendering?08:21
T42Udbdwpqcc was added by: Udbdwpqcc11:08
T42<adampigg> mal: i think that macro idea works well, much neater code and now no warnings11:57
T42<adampigg> mister_magister: yottagram binary should be prefixed with harbour-12:07
Mister_Magisterno it should not12:08
Mister_Magistergive me one readon12:08
T42<adampigg> it doesnt play well with the heuristics in taskswitcher12:10
T42<adampigg> your music app does, its good to be consistent12:10
Mister_Magistermusic app is the only app out of 7 that is in store, thats why it has harbour-12:11
Mister_Magisterotherwise there's no reason12:11
Mister_Magisteri hate this harbour- prefix as its stupid12:14
T42<adampigg> well, for a start it quickly identifies user intended apps from system apps12:17
Mister_Magisterdesktop linux has no problems with that12:18
Mister_Magisteryou can always make PR ;)12:20
T42<adampigg> i may...u have to try actively to make it not have a harbour prefix tho when creating a new app12:21
Mister_Magisterlike i said, i don't really care about harbour prefix as i hate it12:22
Mister_Magisteri never had any issue with not having harbour- so maybe problem is in your taskswitcher12:25
T42<adampigg> well, that can certainly be argued, but its tricky to identify all running apps and their icons without getting false results13:06
Mister_Magistershouldn't you like… switch windows instead of apps13:08
T42<adampigg> lipstick doesnt have an api to get windows afaik13:11
T42<adampigg> but yes, that would be ideal13:11
T42<edp_17> All apps should be consistent, otherwise there will be nothing else but chaos. I thought the 'harbour' prefix for community apps was a requirement rather than an advice. I think this example clearly shows the main problem of doing developments without projects and project management. Each developers has own view of it and this way real13:12
T42ly hard to make something that is consistent.13:12
T42<adampigg> +113:15
Mister_Magister@edp_17 harbour- is requirement for harbour, you are  missunderstanding13:34
Mister_Magisterits not requirement for community apps13:34
T42<edp_17> What's the difference (community app vs harbour)?13:39
Mister_Magisterdifference is if you want to put your app into harbour or not13:41
T42<edp_17> What is harbour? Is it Jolla store?13:44
T42<adampigg> yes, so, for official store, app needs prefixed13:45
T42<adampigg> no such requirement for openrepos, but still, consistency13:46
T42<edp_17> I think doesn't matter if a community app goes into harbour/openrepos or not, all should follow the same standards. Only that way the apps and developers can rely on the others. If an app is not official Jolla app, that should have the same prefix. This is not question of harbour, openrepos or hosted on my own server point of view, thi13:53
T42s is a question of consistency point of view. We can break this harbour prefix IF it is agreed and accepted by all developers. Otherwise we are only cowboys aimlessly running around and shooting in the dark. 😜13:53
Mister_Magister@edp_17 and i don't think so13:56
Mister_Magistersailfishos is linux, linux has no requirements to add stupid harbour- prefix because someone at jolla had that whim13:56
T42<edp_17> I think this is a problem on the Linux side too. If something is not right we should keep doing it just because we have been doing that for decades. πŸ˜‚13:58
Mister_Magisteri don't think its a problem14:23
T42<adampigg> Will be if u ever want it in harbour ;)14:23
T42<edp_17> +1πŸ˜‚14:36
Mister_Magister@adampigg only one of my apps is in harbour and it has harbour- prefix14:58
Mister_Magisterrest of apps don't need it14:58
T42<edp_17> If you add the audio and video call functions into your Yottagram, you can name the app any like you want. πŸ˜‰15:57
T42<edp_17> (Unless it starts with harbour- πŸ˜…) πŸ˜‡15:58
T42<edp_17> *Until15:58
T42<sayanthtezro> Is tgere any gsi available?16:20
T42<sayanthtezro> I need to install sailfish os on my redmi note 7 pro16:21
Mister_Magister@edp_17 audio is more likely16:26
Mister_Magister@edp_17 can you… build rpm packages?16:45
malMister_Magister: so what UI issue do you have?17:03
Mister_Magistermal: https://pbs.twimg.com/media/ElKyElgXgAAKMDO?format=jpg&name=4096x4096 poor performance17:03
Mister_Magisterwhen i change govenor to ondemand or switch to big cores only its better, still lagging  but thats not solution17:04
malwhich device?17:04
Mister_MagisterZenfone 5z17:04
malwhat do you have in compositor config?17:04
Mister_Magistersnapdragon 845, hybris 16 (i need 17)17:04
Mister_Magisteronly standard hwc thingy17:04
malshow it17:04
Mister_Magisteri tried buffer and the other one but it only made it worse17:05
Mister_Magistermal: https://github.com/VerdandiTeam/droid-config-5z/blob/master/sparse/var/lib/environment/compositor/droid-hal-device.conf17:05
malwhich android base?17:06
Mister_Magisteri mentioned hybris 16 :)17:06
malah, missed that17:06
malwhich values did you try for QPA_HWC_IDLE_TIME17:07
Mister_Magisteri don't really remember17:08
Mister_Magisteri can try now if you want17:08
T42<Mattia990> Latest libhybris on which version of Android is based?17:08
T42<Mattia990> Oreo?17:08
Mister_Magister16 @mattia99017:08
malMister_Magister: are graphics otherwise ok?17:09
T42<Mattia990> Android 16 lol, no it's Oreo I think17:09
Mister_Magisteryeah they're fine but i want to speed it up :)17:09
Mister_Magister@mattia990 hybris 16, android 7 = 14 so 16 = 917:09
T42<Mattia990> Oh yeah, you are right17:10
malMister_Magister: is there noticeable lag when swiping for example? is the transition otherwise normal meaning no frames shown at wrong times17:10
Mister_Magisteryeah, when scrolling for example it just stutters for no reason17:10
maldoes QPA_HWC_SYNC_BEFORE_SET have any effect17:11
Mister_Magistershould i set it to 1?17:11
Mister_Magisteramount of red bars is around same but yeah it seems a lot smoother (i've switched govenor back to schedutil too"17:14
Mister_Magisterit's not ideal though, got any more tips?17:15
Mister_Magisteras there are still, smaller, stutters17:15
Mister_Magisterbut it is better for sure, lot better17:16
malrandom small stutters happen almost on all devices17:20
Mister_Magisteryeah i want to optimize it as much as i can17:20
Mister_Magisterjust asking if you have other, undocummented tips :)17:21
malyou could try increasing QPA_HWC_IDLE_TIME a bit, default is 5, don't increase too much17:22
malalso try QPA_HWC_BUFFER_COUNT=317:24
Mister_MagisterQPA_HWC_IDLE_TIME=10 seems to have effect17:25
Mister_Magisterit is now stable around 60fps and red bards are lot smaller and rare17:26
Mister_Magisterwhen im doing nothing they're almost gone17:26
Mister_Magistermal: 10 is not too much?17:27
Mister_Magistersame settings seem to help a lot in my other device too!17:28
Mister_MagisterQPA_HWC_BUFFER_COUNT=3 seem to make it worse17:30
malMister_Magister: at 60 fps there is about 16 ms time for each frame so you can see what is the best value17:34
Mister_Magister16 is best value?17:34
malMister_Magister: just to be sure try QPA_HWC_BUFFER_COUNT=3 without QPA_HWC_SYNC_BEFORE_SET for reference17:35
malno 16 might be too much17:35
Mister_Magisteri tried it ealier and there was no diff / it was worse :/17:35
malyou have to leave enough time for other parts17:35
malso go with QPA_HWC_IDLE_TIME=10 and QPA_HWC_SYNC_BEFORE_SET=117:35
Mister_Magisteri'm now trying different values on other phone17:36
Mister_Magisterthis one is harder17:36
Mister_Magistermal: since we're talking what is status of 3.4 on obs and hybris 17?17:36
Mister_Magisterhttps://build.merproject.org/package/show/nemo:testing:hw:asus:5z/nemo-qml-plugin-systemsettings# kinda want my settings17:36
malthose env vars are in hwcomposer plugin, not very well documented though17:37
mal3.4 is coming, there has been some issues getting it there, hopefully it will be fixed soon17:37
Mister_Magisteryeah hwc plugin is quite weird17:37
Mister_Magisteri wish i'll see someday performance of sfos on huawei p8lite using surfaceflinger renderer17:38
Mister_Magisterthat thing beat jolla phone even, so smooth17:38
Mister_Magisterseems for my other device 10 is too much17:40
malwhich android base is that p8lite?17:40
Mister_Magisteroh it never went past getting ui17:41
malwhat was the issue with that?17:41
Mister_Magistermal: adding 32bit support in graphics driver in kernel17:41
malis it related to 64-bit?17:41
malso soon you can try aarch64 sfos on that17:41
Mister_Magisteras if i would bother17:42
malwhy not?17:42
Mister_Magisteri alreay got too many ports. don't wanna go back to burnout17:42
Mister_Magisterand ports is not only thing i have17:42
Mister_Magisternot to mention noone will use it17:42
Mister_Magisternot even me17:42
Mister_Magistermal: currently i need hybris 17 on 5z to get ofono play with rild17:43
malI should try to fix some last issues on my aarch64 based port17:44
malwhat is in hybris-17 that helps with ofono?17:44
Mister_Magistermal: using hybris 17 i can use newer vendor that doesn't send data registration status over proprietary signals from different service17:44
*** monich_ is now known as monich17:45
maloh, ok17:45
* Mister_Magister hopefully, that is17:45
Mister_Magisternot to mention i gotta finish multiple camera patch17:48
Mister_Magisterthanks mal <317:50
lbtPSA: services will be down for a bit - replacing a failed drive - back soon19:37

Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!