libera/#maemo-leste/ Monday, 2021-11-29

Wizzuphm00:00
WizzupI am not sure, I don't think the usual files exists00:00
Wizzupexist*00:00
uvossomething like qmicli -d /dev/cdc-wdm1 --device-open-qmi --uim-get-card-status00:01
Wizzupyeah there is no /dev/cdc* anything00:01
uvosok00:01
uvoswell at least its there00:01
Wizzuphttps://news.ycombinator.com/item?id=2937310600:01
Wizzupnobody mentions the droid 4 even00:01
WizzupI don't have a HN account but it would be worth mentioning https://leste.maemo.org/Motorola_Droid_4 at least00:02
uvoshow many other well supported devices have dts in mainline even :P00:02
Wizzupmhm00:03
uvosmaybe it also goes unmentioned because this strange guy Wizzup owns all of them :P00:05
uvosbtw did you ask around wrt recycleing?00:05
uvosanyhow00:06
* uvos zzzz00:06
Wizzupyes tony did00:08
Wizzupuvos: http://index-of.es/Magazines/Android%20Hacker's%20Handbook.pdf search for ANDROID_RAM_CONSOLE00:16
Wizzupseems to suggest solana should work00:17
Wizzupor maybe just bad luck00:18
Wizzuphm:00:46
WizzupBroken xserver-xorg-video-omap:armhf Depends on sgx-ddk-um-libs:armhf < none @un H > Considering sgx-ddk-um-ti443x:armhf -2 as a solution to xserver-xorg-video-omap:armhf 0 Holding Back xserver-xorg-video-omap:armhf rather than change sgx-ddk-um-libs:armhf00:46
Wizzupah;00:46
WizzupBroken sgx-ddk-um-ti443x:armhf Conflicts on libegl1-sgx-omap4:armhf < 1.9.0.8.1.3-1+2m7.4 @ii mK > Considering libegl1-sgx-omap4:armhf -1 as a solution to sgx-ddk-um-ti443x:armhf -2 Holding Back sgx-ddk-um-ti443x:armhf rather than change libegl1-sgx-omap4:armhf00:46
Wizzupuvos: freemangordon: parazyd: jfyi I've been experimenting in -experimental with upgrade path01:50
WizzupI'm mostly there01:51
WizzupIt now wants to pull mesa, sgx-ddk stuff, but it doesn't want to remove the pvr-omap4 stuff yet, but I think I can fix with parazyd tomorrow01:51
Wizzupif only the CI wasn't this slow I'd be able to sleep already ;D01:52
WizzupI think we can also change the package priority from optional to standard or important01:55
Wizzupyes... :-)02:16
Wizzuphttps://dpaste.com/EJJWPTYXW02:16
WizzupPriority: was the solution02:16
Wizzupthis is just 'apt dist-upgrade'02:17
* Wizzup apt dist-upgraded his droid3 to powervr ddk 1.17 and linux 5.15 :) 02:33
Wizzupno resets to far as well, fingers crossed02:38
* Wizzup zzz02:43
siceloWizzup: i wrote on HN. check, and suggest edits if necessary07:28
sicelohttps://news.ycombinator.com/item?id=2937700107:28
sicelothat looks like a nice Android book! thanks for linking07:36
uvosWizzup: not sure what im supposed to see in that book11:40
uvosWizzup: yeah many android phones have ramconsole enabled11:40
uvosbut that dosent realy tell us anything about what moto chose to do/ configure on the xt86011:40
uvosWizzup: mind if i combine rtcom-eventlogger-plugins and rtcom-eventlogger ?11:41
uvoseventlogger cant really be used without its plugins11:41
uvosand its easier to have it in one repo11:41
mighty17[m]uvos tmlind using the droid4 pm script on tab2 i get the following status `d=2021-11-29|t=12:58:16|i=OFF:0,RET:0|p=-442|c=16|b=none` i had to change https://github.com/maemo-leste/droid4-pm/blob/master/scripts/openrc/droid4-pm#L160 to current_avg as max170xx_battery doesnt have power_avg11:42
mighty17[m]how do i check if pm is working11:44
uvosits not11:44
uvoson omap4 i would really recommend omapconf11:44
uvosso i=OFF:0,RET:0 means that your device dosent hit any idle states11:45
uvosb=none suggests nothing is blocking idle states11:45
uvosthes 2 together suggest the script aint working right really11:45
uvoscheck_clkctrl() in the script probubly dosent work right11:46
uvosthere are several versions of rwmem11:46
uvosthat behave differently11:46
uvospobbly you have something the script dosent expect11:46
uvosbut omapconf can tell you in way more detail what is going on11:46
uvosalso the device is using 1.6W of power11:47
uvosthats absolutly terrible11:48
uvoslike the d4 uses that while _loaded_11:48
mighty17[m]uvos: its 443011:48
mighty17[m]uvos: its -ve11:49
Wizzupuvos: not sure @ rtcom, lemme wake up11:49
mighty17[m]oh my bad, c=16 means 1.6W?11:49
uvosno11:49
uvosyour current_avg is 400mA11:50
uvos@3.7 ish volts presumably11:50
uvosso 1.6W11:50
mighty17[m]thats the issue, it is -ve somehow???11:51
mighty17[m]not connected to any charger/usb11:51
uvosyour shunt might be wired up backwards11:51
uvosi dont think the sign is important11:51
uvosbesides the problem isent your device reporting to mutch power usage11:52
uvosits not ideling11:52
mighty17[m]both, its using a lot of power and its not idleing :(11:53
mighty17[m]uvos: i've gotten cases where its positive as well, but that not the point ig11:53
mighty17[m]I'll build omapconf and check thanks for the lead11:54
Wizzupuvos: btw if he changes power_avg to current_avg he should get it in W already11:55
mighty17[m]Wizzup: well i do not have power_avg :v11:56
uvosWizzup: ? you have that backwards11:56
uvosand yes his pmic dosent support it11:56
mighty17[m]https://paste.debian.net/1221216/11:56
Wizzupuvos: right11:56
Wizzupsicelo: ty12:09
Wizzupfreemangordon: uvos: parazyd: I think it's time to try to figure out the components thing for our repos12:27
WizzupI'm adding droid3 now, and I am not sure if we -really- want a droid3 component12:27
Wizzuplike I am not sure if we really want a bionic component as well (even though we have it)12:27
bencohI guess it's nice, but I wonder how many users we would have for those12:28
bencoh(not much I suppose?)12:28
bencohnot many*12:29
Wizzupwell the point is mostly that I don't think we need the separate components12:31
Wizzupor if we do have them, we will also want some shared component(s)12:31
parazydWe should have a component for every device IMO.12:31
Wizzuplike - where do the powervr packages go, now that they work for the n900,droid3,droid4,bionic and potentially more12:31
Wizzupcan't be mapphone12:31
Wizzupso then what? powervr?12:31
parazydAnd then have common components that can be shared between devices.12:31
Wizzupand how do those make it to the apt.sources12:31
parazydWizzup: I'd just rework the entire repos12:32
parazydJust inform users to change it manually. It's not a big deal.12:32
parazydAnd it's a one-time-thing.12:33
parazydOtherwise we'll be constrained by providing some seamless update and hacking sources.list12:33
WizzupI don't think we really have a way to reach out users mostly12:33
parazydSo in the end we won't be satisfied with the result12:33
Wizzupwell, yes, or we just move for example powervr to main component12:33
uvosWizzup: we want a hierachy12:33
Wizzupand then we don't need to change anything12:33
uvosso a device componant we want for sure12:34
parazydmain -> omap -> mapphone -> droid412:34
parazydmain -> omap -> n90012:34
parazydetc.12:34
Wizzuppowervr isn't even omap specific12:34
uvosWizzup: yes it is12:34
WizzupI don't think so, we  can easily add another arch from the ddk there12:35
Wizzupthere is at least some exynos12:35
Wizzupif we put that in main now, we don't need to make these changes either12:35
uvosno12:35
uvosthe um ddk needs to be the exact version used in the soc12:35
uvosit checks everything about the km module12:35
Wizzupthe n900 was never supposed to be on this version12:35
Wizzupuvos: so, we can just add more to sgx-ddk-um ?12:35
uvosmore blobs?12:36
uvossure12:36
Wizzupfor other tarets12:36
uvossure but that dosent change that these blob packages are omap specific12:36
Wizzupthe *files* currently in the package, yes12:36
uvosi think something like this:12:36
Wizzupbut that won't have to stay that way12:36
Wizzupand then we would have to change the component again12:36
uvosleste->soc_family->soc->(optional device family)->device makes the most sense12:37
uvosi think12:37
uvosWizzup: i not sure what you mean12:37
uvosWizzup: if we add some other pvr soc, you need to add new blobs and the repo needs to build another pacakge for this soc no?12:38
uvosthen that new soc pvr package can go into the soc componant12:38
uvosim not sure where the problem is12:38
Wizzupuvos: I am saying that (1) sgx-ddk-um can be used for things other than omap if we add more blob files (2) if we put in leste/main we don't need to f*ck around for n900 and other devices, manually having users change the components12:39
Wizzupso the problem is (2)12:39
uvoshow would you have multiple versions of the same libs in the same package?12:39
uvosi dont follow12:40
uvosor do you want to have omap3-ddk-um and omap4-ddk-um and whatever-ddk-um packages in main?12:40
Wizzuphttps://github.com/maemo-leste/sgx-ddk-um/blob/master/debian/control12:41
uvosWizzup: yeah so that works ok for the blobs12:41
Wizzupsee sgx-ddk-um-$arch there? I think we can just add more, potentially non0-omap ones12:41
Wizzupok12:42
uvosbut it falls apart if its something that lots of stuff depends on, yeah you could have lots of "provides some virtual package" but really thats way more of a mess than haveing a sane tree of componants12:42
Wizzupcan we put a package in multiple components? I guess not12:42
Wizzupbtw I think the hierarchy is great idea12:43
WizzupI am just thinking about how to make this work here and now without requiring people to mess around too much12:43
Wizzupfor beowulf+1 we already decided we would rework it12:43
Wizzup(and we can decide on that structure now, too)12:43
uvos[12:27] <Wizzup> I'm adding droid3 now, and I am not sure if we -really- want a droid3 component12:44
uvosnot sure what this is about then12:44
WizzupI changed my mind about it12:44
uvosok12:44
Wizzup:)12:44
Wizzupso it's ok to put sgx-ddk-um in leste component?12:48
Wizzupand also the xf86-video-omap one12:48
uvosyeah sure as a temporary soultion12:48
Wizzupand then maybe we draft up a ticket on the components on the github issue tracker12:48
uvosWizzup: any idea why this https://github.com/maemo-leste/sphone/blob/75920a12fc1d13cd537ed7bed6797eac2a7f2775/src/gui/gtk-gui-thread-view.c#L67 is called with wierd parameters?13:20
uvossignal is connected here https://github.com/maemo-leste/sphone/blob/75920a12fc1d13cd537ed7bed6797eac2a7f2775/src/gui/gtk-gui-thread-view.c#L14713:21
uvosprints:13:21
uvoser https://github.com/maemo-leste/sphone/blob/b058f0c5bd658e24aef4efe8d6e3f13dcb9af163/src/gui/gtk-gui-thread-view.c#L14913:23
uvosprints sphone: adding window 0x5598200e15f0, text_view 0x5598200e87d013:24
uvossphone: removeing widget 0x5598200e15f0, data 0x5598201c25c013:24
uvosno sure why data isent passed13:24
Wizzupwill check in a few hrs14:14
uvosok14:18
uvosin the mean time sphone now has a commtest module, its a communications backend that mocks calles and sutch14:19
uvosany sms you send to anyone it will echo back at you. if you call someone it will pick up after a time and then call you back once you hangup etc14:20
uvosany sms you send to anyone it will echo back at you. if you call someone it will pick up after a time and then call you back once you hangup etc14:20
bencohfun14:22
sicelocall you from? :-/14:22
bencohsicelo: *x-files theme*14:23
* sicelo doesn't know x-files, besides the name14:23
bencohoh, nevermind then, I was just joking :)14:24
uvossicelo: nowhere the point is just that sphone goes though the motions of getting a call, like ringing, setting up audio routing, negotating machine state with mce, loging the event to rtcom-eventlogger, asking evoltion who the hell this is who is calling, and so on14:26
uvoswithout constanly haveing to call yourself :P14:26
sicelook14:31
freemangordonuvos: did you see Xorg logs of DDK 1.9 Wizzup provided?16:56
freemangordonit does triple-buffering ;)16:56
uvosyeah i see16:59
freemangordonso, I guess I shall teach MESA (pvr dri?) to request 3 buffers16:59
uvossure17:00
Wizzupuvos: still want me to look at the code you linked?17:00
uvosWizzup: yeah sure17:00
uvosWizzup: i must not undersand something about gtk17:00
uvoseven though i just went a different option17:01
uvosid like to know whats wront with that17:01
Wizzupis this relevant? https://stackoverflow.com/questions/52362012/callback-function-for-delete-event-signal-passes-incorrect-values-of-variables17:02
uvosWizzup: no the signature of the signal is correct ofc17:03
uvosthe pointer data points to is just trash17:04
uvosits not allocated on the heap17:04
Wizzupand it should be text-view?17:05
uvosit should be whatever i pass as user data yeah17:05
uvosmakes no difference if you pass NULL there17:05
uvosthe data pointer is still trash no NULL then17:05
uvosvalgrind dosent complain about anything17:05
uvos(untill you dereferance data ofc)17:05
uvosso its not general heap corruption either17:05
Wizzupcould it be that it's on the stack only?17:06
uvosnone of this is on the stack17:07
Wizzupwell the pointer is but the value is not yeah17:07
uvosyeah ofc17:07
Wizzupsorry, don't really know from looking at this17:08
uvosok17:08
Wizzupshould the gdkevent be a pointer?17:08
Wizzupyes17:09
Wizzupuvos: ^17:09
Wizzupthat's the problem17:09
Wizzupmake that GdkEvent* event17:09
uvosyeah17:09
uvosok yeah17:09
Wizzup:)17:09
uvosthx :)17:10
Wizzupnp17:10
uvosgtk somehow type checking signals would be nice apearantly :P17:11
Wizzupwe should just all switch to rust ;-)17:11
uvoshehe17:11
WizzupI can't over how smooth maep is on the d3 too17:13
uvosyeah17:14
uvosits acceptable now17:15
uvoswould be nice if someone could fix the search :)17:15
Wizzuphehe17:19
uvosWizzup: btw would be neat if you could check how the example ui behavies with sphone events atm.18:00
uvosWizzup: you can make sphone create some events using by placing this file as something.ini into ~/.sphone18:01
uvos[Modules]18:01
uvosModules=rtconf-libprofile;test;route-pulseaudio;playback-gstreamer;sphone-mce;comm-ofono;manager;external-exec;contacts-evolution;comm-error-gtk;contacts-ui-exec;store-rtcom;commtest18:01
uvosand then call/message someone using the commtest backend18:01
Wizzupok, I'd like to do it after we have 5.15 for -devel and droid3 stuff in -devel, and I did a bit of TP stuff...18:03
Wizzupso maybe not tonight18:03
uvosWizzup: no rush18:03
uvosbtw18:04
uvoswhat happend to cloudgps?18:05
Wizzupalso, if you could help, I would appreciate it if you can find the modem gpio setup or the i2c setup in the stock-dts.bin for x860, but I fear it might be non trivial18:05
Wizzuphm, what about it?18:05
uvosi apears to be missing in repo18:05
Wizzupreally? hm18:05
uvosyeah i dont have it installed i cant apt install cloudgps and its not in ham either18:06
uvos(i had to remove it for the ddk upgrade)18:06
Wizzupit looks like it's not in the repo18:06
WizzupI'll look at that in a bit18:07
Wizzupbtw now you can apt dist-upgrade and it should just work18:07
Wizzupin case you missed that18:07
uvosyeah i did read taht18:07
Wizzupok18:07
uvosbut i had allready upgraded all devices manually18:07
uvosi can take a look at the dtb sure18:08
uvosthat stuff is not in the dtb tho18:08
uvosits in the gpiomap or what its called18:08
Wizzupah, right18:09
Wizzupyou emailed me that script18:10
Wizzupuvos: cloudgps is avail in repos now18:28
freemangordonuvos: implementing 3-buffering was a matter of implementing  SwapLimitValidate and calling DRI2SwapLimit19:13
freemangordonFPS increase to 53, which is sill not ok, but better than 4019:14
freemangordonI am going to push that, but please, have a look when you have some time19:14
bencoh3-buffering gives beter fps?19:14
freemangordonsure19:14
bencohbetter*19:14
freemangordonthat's the point of it19:14
bencohis that because otherwise it waits for the frame to be pushed to screen before starting to render another one?19:15
freemangordonyes19:15
bencohso basically we have a buffer for display and another one for rendering?19:16
freemangordonone to display, one waiting for vsync and one for rendering19:17
bencohvsync from gpu you mean?19:17
freemangordonvsync as 'vertical blank' I mean :)19:17
freemangordonor 'vertical blanking period'19:18
bencohyeah but ...19:18
freemangordonhmm?19:18
bencohvertical blanking sync should be the "display" sync19:18
bencohhence me asking if the one you referred to was from gpu19:18
freemangordonyes, 'display' sync19:19
freemangordonGPU has no idea of 'vsync'19:19
freemangordonbencoh: if we want tear-free, then we cannot render on the front buffer, obviously19:19
freemangordonin the same time, when back buffer is ready to be displayed, we wait for vblank19:20
freemangordonthe time we wait for vblank, is 'wasted' GPU time, as there is not free buffer GPU can render on19:21
freemangordonthus the 3rd buffer19:21
freemangordonthough I was hoping to hit at least 60fps, but seems there is some issue in omapdrm with page flips19:22
freemangordonit should not take 6 ms to queue a flip19:22
freemangordontmlind_: ^^^ any idea?19:22
uvosthat only happens when the render time is greater than the display vblank period ofc19:23
freemangordonyeah19:23
uvosbtw can we drop to double buffering when vblank_mode is 0?19:23
uvosie no vsync?19:23
freemangordonnot sure19:24
uvosok its not a big deal19:24
rulehdoes it even react to vblank_mode ?19:24
uvosbut some games might want this19:24
uvosruleh: we control the bit that would have to react19:25
freemangordonplease, whoever might have an idea:19:26
freemangordonhttps://github.com/maemo-leste/xf86-video-omap/commit/8e94994eea24e6797e495d47c9ac8ec699608c0a19:26
freemangordonmaybe fps is low because I don't implement that correctly19:26
rulehI mean at least es2gears didn't seem to care what vblank_mode was set to. I would have expected it to stay at 60 with vblank_mode=119:27
uvosvblank_mode=119:28
uvosis tripple bufferein iirc19:28
uvosyou want mode=219:28
uvos(speaking of gallium3d drivers here)19:28
rulehit still goes to 75 with it set to 219:29
uvoson what19:29
ruleh(same as 0 and 1)19:29
uvosit works fine on radionsi19:29
rulehpvr on droid419:29
uvosyeah sure its not implemented there19:30
uvosit dosent do anything19:30
rulehah ok19:30
uvosbtw i 75fps looks like its less than the d4s maximum refresh rate19:31
uvosthat seams to be about 8019:31
uvos(d4 is really wierd what this is concerned it dosent have a refresh rate as sutch)19:32
rulehon another droid running arch I get >12019:32
uvosyeah thats about normal for wayland19:33
rulehon xorg :)19:33
uvosno composing?19:33
rulehnone19:33
uvosright19:34
uvoscomposing causes an extra copy19:34
uvosyou can suspend it in hildon with ctrl shift n btw19:34
rulehes2gears without composing on leste goes to 145 :D19:35
freemangordonruleh: ddk 1.9?19:36
ruleh1.1719:36
uvosno way19:36
uvosddk1.9 manages 30fps on a good day :P19:36
uvoswith no composing19:36
uvosWizzup: or freemangordon can we build this for experiamental then: https://github.com/maemo-leste/xf86-video-omap/tree/maemo/beowulf-experimental19:38
uvosi dont fancy building it on d419:38
freemangordonok19:38
freemangordonplease, do changelog and tag19:39
freemangordonttyl19:39
Wizzupuvos: I'll do it after dinner19:39
uvosWizzup: thank you :)19:39
rulehis there a way to limit the fps of hildo-desktop?19:40
uvosnot atm19:40
uvosbut yeah19:40
uvoswe should add19:40
Wizzupwhy would we want to, just curious?19:40
uvosWizzup: battery life ofc19:41
uvosesp. on more powerfull hardware19:41
Wizzupright19:41
WizzupI mean if the gpu is clocked high all the time when it's active, does it matter?19:41
uvosno need to spin up 32cores and 4 gpus on some wizbang 2022 soc to render hildon at 500fps19:42
uvosyeah19:42
uvosWizzup: no on our current hardware it dosent matter mutch since pm is broken while the display is on19:44
uvosofc the cpu gets to sleep a bit more if you limit it lower19:44
uvosbut thats not the point19:44
uvosalso the pinephone also exists19:44
Wizzupright19:44
Wizzupand a lot more hw to come :p19:44
freemangordonI think it doesn't make sense19:45
freemangordonas h-d is vsync-ed either ways19:45
uvossure it dose. even with vsync19:45
uvosyou can have 240hz pannels these days19:45
freemangordonwell, yeah19:46
uvosreally you want the user to be able to choose 120, 60 or even 30 fps caps19:46
uvosdepending on his prioritys19:46
rulehis the fps counter of CLUTTER_SHOW_FPS always accurate?19:49
freemangordonshould be19:50
uvosits at least wrong in the sense that sometimes pushing the frame to the pannel fails on d419:51
uvoswhich is something you can see as stuttering thats absent on bionic for instance.19:51
rulehhmm... it shows up to 80fps when scrolling but it certainly doesn't feel like 8019:53
freemangordonon d4 with ddk 1.17?19:55
rulehyeah19:55
freemangordonhmm, how's that possible?19:55
freemangordonI can't get anything above 40 (with double-buffering)19:55
rulehI think it is something in xf86-video-omap19:56
freemangordonyou use the one in experimental?19:56
rulehno19:56
freemangordonah19:56
rulehwell kinda19:56
freemangordondon't understand19:56
rulehI use af94325a24bc3a3f4f8ba89ff9cbbf2cd39d6652 with some patches19:57
uvos*** FPS: 91 ***19:57
uvosi get 9119:57
uvos(just checked)19:57
uvosso hmm19:57
uvosi AM on regular experiamental19:57
freemangordonhmm, hmmm19:57
uvosnot sure why that is impossible freemangordon19:57
uvosif it renders in less than frametime19:57
freemangordonsure, but here it renders 2 times slower19:58
uvosfreemangordon: oh if i scrol to a hildon home screen with lots of icons19:58
uvosit drops abrouply to 4019:58
uvosthis seams to check out19:58
freemangordonmy desktop is empty19:58
uvoshmm19:58
uvosthats wierd19:58
freemangordonyeah19:58
freemangordonwhat I am missing?19:58
uvoswhat do you get with es2gears showing?19:59
freemangordonin h-d?20:00
uvosto eliminate differences in hildon home20:00
uvosyeah20:00
uvosrun es2gears in forground20:00
freemangordonsec, to disable 3-buffer20:00
uvosand record hildon fps20:00
freemangordonhmm, wait20:02
freemangordonI am hittin 66 now20:02
freemangordonwith 3-buffer that is20:02
freemangordonuvos: how do you start h-d?20:02
uvosabout the same here with stock20:02
uvosfreemangordon: for this expierament just hildon-desktop in ssh20:03
freemangordonok20:03
freemangordonhmm, just hit 83 fps20:03
freemangordonthis is crazy :(20:03
freemangordon268 frames in 5.0 seconds = 53.461 FPS20:04
rulehmeanwhile I get max 39fps with xorg-video-omap 0.5.0+2m7.4 when desktop scrolling20:04
uvosruleh: empty desktop?20:04
rulehyeah20:04
uvoshave any windows open?20:05
rulehgears is happy at 69 though20:05
uvosif i have gears open i get max 40 fps on desktop20:05
uvosthat makes sense ofc20:05
uvosgpu is busy20:05
freemangordonI get 53 fith 3-buffer20:05
freemangordonlemme disable it20:05
rulehthe 39 is when nothing else is running20:05
uvoswierd20:05
freemangordonyes20:06
rulehinterestingly gears makes hildon fps jump up to 4320:06
uvosso i get 90 on empty desktop 40 on full desktop of with gears or firefox-esr open, gears showing makes it 60 fps in hildon and 70 in gears own counter20:07
uvoss/of/or20:07
freemangordonhmm, seems this fps I get is with driver from -experimentl20:08
freemangordonI mean - I just upgraded20:08
freemangordonbut not with the one I complie here20:08
uvosoptimiziation flags different?20:09
freemangordonin ddx?20:09
freemangordonhow's that supposed to matter?20:09
uvosin mesa, but really mesa should be doing no work20:09
uvosfreemangordon: no idea grasping at straws20:09
freemangordonyeah20:09
uvosis your device using the same ti-ddk-um  commit?20:10
uvos-next vs latest stable ddk release?20:10
freemangordonhmm, I just restarted Xorg and fps dropped to 4020:11
freemangordonwth?20:11
uvoshmm should scrolling on hildon-desktop not also depend on how often xorg desicdes to update input events20:13
freemangordonsure20:13
uvosso a better test would be to change transition.ini20:14
uvosto make some animation take really long20:14
uvosand base fps off of the20:14
uvosanimation20:14
uvos[launcher_in]20:16
uvosduration = 250020:16
uvos*** FPS: 55 ***20:17
freemangordonwith 3-buffer fps is 5320:17
freemangordonhmm, I am doing something wrong20:18
freemangordonbut don't understand what20:18
freemangordonuvos: with 2-buffer fps is ~3020:19
rulehhmm restarting xorg disconnects wifi. is it supposed to do that?20:20
uvosfreemangordon: wait a minute20:20
freemangordonruleh: no20:20
rulehis there a way to find out why it's doing that?20:22
rulehhmm it didn't do it this time, maybe I messed something up before20:23
uvoshm ok20:24
uvoswasent it20:24
uvos(i had a powervr.ini)20:24
freemangordonoh20:25
freemangordonme too20:25
freemangordondidn;t chage anything20:25
uvosyeah same here20:26
freemangordonbut I'll reboot, just in case20:26
uvosreally no idea why yours underperformes20:26
freemangordonwhat is weird is that it was hitting 83 fps20:26
freemangordonuntil I restarted Xorg20:26
uvosbut i have to second ruleh here in that it dosent look like 80fps20:26
freemangordonI would say omapdrm misbehaves20:27
uvosyou can also clearly see tearing btw20:27
freemangordonmhm20:28
freemangordonwhich is impossible in theory :D20:28
rulehyeah it tears quite a bit20:28
freemangordonWizzup: is it safe to dist-upgrade n900?20:41
Wizzupfreemangordon: no20:55
freemangordonok20:55
Wizzupfreemangordon: well, wait, on what repos20:55
freemangordonexperimental :)20:55
Wizzupif you have your own kernel and u-boot it should be mostly20:55
freemangordonok20:55
Wizzup(if I dist upgrade mine it will break since it will downgrade droid4-linux on my n900 and make it not boot)20:55
Wizzupyou should be ok20:55
freemangordonok20:56
Wizzupuvos: shall I build it now?20:57
uvosWizzup: not sure anymore20:57
uvosWizzup: its behavior dosent add up20:58
freemangordonhmm, it seems something is tottaly wring in DDX in regards to page flip21:00
freemangordon*wrong21:00
freemangordonenabling 3-buffer on n900 increased fps to 25, from 2121:01
freemangordonhmm, maybe tearing is because I invalidate framebuffer too often21:16
rulehdo you mean with drmmode_flush_scanout?21:19
freemangordonmhm21:20
rulehI removed all those calls and it still tears21:21
freemangordonon d4?21:21
rulehyeah21:21
freemangordonbut, it does not update without that whn no compositing21:21
rulehalso reverted " use drmModeDirtyFB instead of drmModePageFlip to flush scanout changes" and added dirtyfb to the block handler or whatever that was called21:22
freemangordonhow that helps?21:22
rulehit makes the display update correctly but doesn't fix the tearing21:23
freemangordonwhy drmModeDirtyFB is not ok?21:23
rulehsince I called it from OMAPBlockHandler i felt that I didn't need it somewhere else21:24
rulehIt also seemed a bit more reliable there in case dri2 is disabled21:25
freemangordonhmm21:25
rulehI think modesetting also calls it from a similar place21:27

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