libera/#maemo-leste/ Wednesday, 2022-01-05

Wizzupso /usr/share/X11/xkb/symbols/nokia_vndr/rx-51 definitely seems to contain the russian layouts01:25
Wizzupit doesn't look like we can switch layouts atm on the n900 or d401:42
Wizzup    if (val == GDK_space && (state & GDK_CONTROL_MASK)) should work though hmm01:44
freemangordonYAY! I think I was able to fix the missing fence issue. Unfortunately the fix is in DDX so it will not help WL08:55
freemangordontmlind: ^^^, but I think I can help you with WL fix08:55
Wizzupfreemangordon: great news11:48
Wizzupfreemangordon: this helps with performance right?11:48
freemangordona bit11:59
freemangordonunfortunately doesn;t work on n900 for some reason11:59
freemangordonwill have to investigae11:59
Wizzupuvos: the cpu offline patch is now in -devel12:51
freemangordonugh, it seems omapdrm somehow thinks there is no exclusive fence on the BO14:12
freemangordonbut those are visible in /sys/kernel/debug14:13
Wizzupuvos: hmmm I think I still got a hang14:16
Wizzupuvos: yeah I still get them quite frequently14:20
freemangordonoh14:48
freemangordonpvr driver sets exclusive fence on dma_buf object14:48
freemangordonomapdrm looks for exclusive fence on  drm_gem_object ;)14:49
Wizzupthose are not propagated I guess14:50
freemangordonnot really sure what happens14:51
freemangordonbut dma_buf is part of drm_gem_object structure14:51
freemangordonand pvr driver sees dma_buffer through  dma_buf_get()14:53
freemangordonso it sets fence on it14:53
freemangordonbut it seems drm code does not care if we have dma_buf buffers14:53
freemangordonlemme see if I can hack around that14:54
freemangordonfuck!15:20
freemangordonI think I know it, lets see15:20
Wizzupfreemangordon: :)15:22
freemangordoncompare this https://elixir.bootlin.com/linux/latest/source/drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c#L11415:23
freemangordonand this https://elixir.bootlin.com/linux/latest/source/drivers/gpu/drm/drm_prime.c#L87815:23
freemangordonwe are missing .resv = obj->resv, so gem object and dma_buf are using different resv object15:24
freemangordonso omapdrm cannot see a fence created by pvr15:24
freemangordon(that is the theory)15:24
freemangordonyeah, that makes all the difference15:29
Wizzuptearing as well?15:32
freemangordonI doubt15:33
freemangordonlemme cleanup to be sure it works15:33
freemangordonalso on n90015:33
Wizzupmhm15:33
freemangordonyep, tearing is not fixed15:35
freemangordonbut that's to be expected, it is another story15:35
Wizzupok15:40
freemangordonyep, works on n900 as well :)15:45
Wizzupneat15:46
freemangordontmlind: please test https://pastebin.com/ZeSqrS3F15:47
freemangordonthis should fix WL as well, so you may revert/remove 6dd1aad1d0c4716944098b7b0f2abdd3a26cc0be once and for all15:48
freemangordonugh, I am testing all the time with 860382142f5b4f39ceaf28011c6b802745777bd4 reverted :)15:49
freemangordonhow this even works on d4?15:50
freemangordonok, on n900 now we top 44 fps, with no tearing :)16:01
freemangordonactually 4516:01
Wizzupfreemangordon: that's real sweet16:09
Wizzupdoes it require ddx changes16:09
freemangordonyes16:11
freemangordonlike removing 50 LOC :)16:12
freemangordonBTW I think I can push fps even higher16:12
freemangordonbut that's not really importent now16:13
freemangordonlemme create a correct patch, will send it to you to apply to the kernel16:13
freemangordonthen will push  DDX changes int the repo16:13
Wizzupok great!16:14
Wizzupfreemangordon: also let me know what to revert if any16:15
freemangordonok16:15
freemangordonwell, we already have that reverted16:15
freemangordonbut tmlind still keeps it16:16
Wizzupok16:16
freemangordonthis https://github.com/maemo-leste/droid4-linux/commit/8dee681e0ed7764dda36e4f5a20eb44d19703e6716:16
freemangordonWizzup: wip/n900/maemo-5.15-cleaned-up will boot on d4, right?16:17
Wizzupyeah, make sure you pull latest branch16:18
freemangordonjust pulled16:18
Wizzupok16:18
freemangordonWizzup: https://github.com/maemo-leste/droid4-linux/commit/7708a2ab996360826fa085374ca794cfd034cc4b16:41
freemangordonplease spin a rebuild16:41
freemangordondo we need changelogs or something?16:41
freemangordonugh, somehow I was able to push to openpvrsgx-devgroup :(16:43
Wizzupfreemangordon: I will do16:43
freemangordonthanks16:43
freemangordonhmm, I don;t see my mails on linux-omap16:45
Wizzuprecent ones?16:45
freemangordonmhm16:45
freemangordonI just send that patch for upstreaming16:45
Wizzupfreemangordon: hmmmmm I wonder if I applied the patch from uvos in the kernel build now16:46
freemangordonyou're in cc, do you see it?16:46
Wizzupsince your push missed one commit, maybe I forgot to push it16:46
freemangordonhow's that? I pulled 5 minutes before push16:47
freemangordonand there was no issue16:47
freemangordonah16:47
freemangordonwell, I guess you can pull --rebase16:47
freemangordonand then push16:47
Wizzupbuilding now16:47
WizzupI see '[PATCH] drm: omapdrm: Fix implicit dma_buf fencing' on the ml16:48
freemangordonlemme restart thunderbird16:48
freemangordonor gmail is holding it for some reason16:49
freemangordonI see it in my sent mail, but not in inbox16:49
freemangordonoh, scratch that16:50
freemangordonit was moved by a filter to kind-of unexpected folder :)16:50
freemangordongoing to the store to buy some stuff, will bbl and will fix DDX then16:52
freemangordonold DDX can work fine with this fixed kernel, so no issue16:52
Wizzupok16:54
Wizzupit will take some time for the kernel to build anyway16:54
freemangordonyeah16:54
siceloso on droid 4, the patch for battery to ignore the sensor pins is not in Leste?17:22
sicelois see cpcap-charger battery not inserted, charging disabled17:22
siceloi'm trying on an el cheapo battery i got today. just has + and -17:23
Wizzupsicelo: maybe check the wip/n900/maemo-5.15-cleaned-up branch and confirm17:24
sicelowill do17:34
sicelobut yeah, no battery icon in leste too :-)17:34
bencohoh, so there is a way to ignore that? nice17:34
siceloanyway, i do plan to transplant the controller/sensor module from old battery17:34
freemangordonglmark2 Score: 55/85 (window/fullscreen)18:22
tmlindfreemangordon: great news, will give it a try when i can, might be few days though19:19
tmlindwill update my bionic when the kernel is built though :)19:25
freemangordontmlind: kernel is ready, but the new ddx fails to build(some build-time deps issues)19:29
freemangordonold ddx can work with the new kernel though19:29
freemangordonalso, WL should work fine too19:30
tmlindnice19:44
tmlindnot seein updated kernel yet in devel, is it in experimental only?20:06
Wizzuptmlind: hm it should be -- what did you try?20:09
Wizzuptmlind: you need 'apt dist-upgrade' as the kernel is linux-image-omap now and not linux-image-droid420:09
tmlindok yeah now the new kernel is getting installed thanks20:13
tmlindfingers crossed, this bug has been bugging us for years now :)20:13
Wizzup:)20:14
freemangordonwell, in theory it shall be fixed :)20:14
tmlindack, the black ants are fixed! yeah the tearing is still there20:20
freemangordonblack ants are fixed? this should not fix the black ants :)20:24
freemangordonbut incompletely rendered frames20:25
freemangordonWizzup: uh: "linux-image-omap provides linux-image-droid4 and is present and installed."20:25
freemangordonI guess I shall conflict specific version20:25
Wizzupfreemangordon: right20:37
freemangordonyeah. trying to fix n900 deps atm20:38
freemangordonhmm, n900 does not boot after kernel upgrade20:40
freemangordonWizzup: just gives black screen20:47
Wizzupfreemangordon: I am maybe seeing the same on the drodi320:48
Wizzupbut dinner first, sry20:48
WizzupI will update my n900 in a bit20:48
freemangordonok20:48
freemangordonhmm, 'my' kernel leads to black screen too20:57
freemangordonsomething else must have been broken20:57
freemangordonwell, 'my' kernel is leste one20:58
freemangordonlike I pulled from leste repo20:58
freemangordonyeah, doesn't boot on d4 too21:10
freemangordonweird21:10
Wizzupcould it be the last commit?21:11
freemangordonno21:11
freemangordonI tested it on both devices21:11
Wizzupso what commit breaks it? yours?21:11
freemangordonalso, it doesn't even boot to console21:11
Wizzupthose are the only two extra commits21:11
freemangordonoh, what is this last commit?21:11
Wizzupe0ccaf5ebfbf0f4930951e54c0e45a0a397589a221:12
Wizzup    ARM: OMAP4: PM: work around for CPU1 onlining from OFF/OSWR state on older PPA21:12
freemangordonah21:12
freemangordonyeah, could be21:12
Wizzupit should only affects omap4 hs, so not n90021:12
freemangordonyes21:12
freemangordonbuilding the real 'my' kernel now21:12
freemangordonlemme see21:12
freemangordonmy kernel boots fine21:19
freemangordondrm: omapdrm: Fix implicit dma_buf fencing is on top of it21:20
Wizzupmaybe try latest commit?21:20
WizzupI can't test for a bit still, sry21:20
freemangordonto p[ull latest commit to my tree you mean?21:21
freemangordonthis commit is even not in my tree21:22
freemangordonso it is something else21:22
freemangordonWizzup: seems like backlight is off21:30
Wizzupd4 as well?21:30
freemangordond4 does nto boot at all21:30
Wizzupsre's patch for panel maybe has an effect here21:30
Wizzupbut slider on n900 works to turn it on21:30
Wizzupfor me21:30
Wizzupmaybe we have different panels21:30
freemangordond4 hangs in boot menu21:30
freemangordonwhy we have a20f161298226a368d73af1b1467568ba5d05efa in the repo?21:34
freemangordonWizzup: we don't need that on d4 anymore21:35
freemangordond4 == command mode panels21:35
freemangordonok, going to bisect (21:38
freemangordon:(21:38
Wizzupfreemangordon: bisect seems not necessary, hang on21:48
Wizzupfreemangordon: did any of your own builds not work?21:49
Wizzupmaybe the pi build is just fubar21:49
freemangordonyes, my build of leste tree does not work21:49
Wizzupfreemangordon: so weird, it worked two commits before that22:10
Wizzup69b8e4b31ad501f9e2e71162aedacbdd4da6163c this works for me22:10
freemangordoncould be22:11
Wizzuppretty sure (but work mtg for an hour)22:13
freemangordonok22:13
freemangordonstill bisecting, will let you know what is the result22:13
freemangordon09ba71d877094f020f71dda48020831f39ae54db is the first bad commit22:43
freemangordon"DO NOT COMMIT: make watchdog built in"22:43
freemangordonthis does not make sense22:44
freemangordonI am using my own config22:44
freemangordonWizzup: ba9c85a6643f9fad15018390a3b59280187b7564 is the first bad commit23:46
freemangordon"wip: pick patch from sre on ml"23:46
Wizzupfreemangordon: yeah so that works fine for me23:48
Wizzupfreemangordon: could be diff in our panels23:48
freemangordonhow?23:48
freemangordonI mean: I am not aware of any panel diffs23:48
freemangordonlemme test with that reverted23:48
freemangordonalso, I don;t think this patch is correct23:49
freemangordonwe should not reset the panel during boot23:49
freemangordonyep, with this reverted boots fine23:54
freemangordonWizzup: going to have some sleep, please see what's going on with d4 if you have time23:58
freemangordonwill continue tomorrow23:58

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