libera/#maemo-leste/ Wednesday, 2021-12-01

uvosthe bug why hildon scrolling is Y2038 bug :P00:12
uvos*why hildon scrolling is terrible00:12
uvosin the launcher00:12
uvosit takes the time of the last 3 events adds them together and shoves that into a time_t  and then devides00:13
uvosto get the mean time00:13
uvosthat dident even work in 201000:14
lelIMbackK opened a pull request: https://github.com/maemo-leste/hildon-desktop/pull/17 (fix time overflow bug in tidy-finger-scroll)00:25
uvosnvm @201500:35
uvosit broke Fri May 15 02:09:25 2015 UTC00:35
Wizzupuvos: which scrolling is this?01:00
uvosWizzup: all scrolling in h-d01:02
uvosmost notably the launcher01:02
uvosbut also tasknav etc01:03
Wizzupuvos: oh...01:04
Wizzupthat would be a great catch01:04
Wizzupuvos: so it gets much more smooth this way?01:04
uvosno, the bug is, in the launcher etc, scolling and lifiting your finger is supposed to cause it to continue scrolling untill it coasts to a stop.01:05
uvoswhat happens in reality is it stops immidiatly01:05
Wizzupah01:05
uvosthis pr fixes that01:05
WizzupI've asked fmg to look, I think he's our h-d person01:06
Wizzupmeanwhile I need to figure out again why dist-upgrade doesn't work for me on experimental01:06
Wizzup*sigh*01:06
WizzupI think I'll do that tomorrow01:06
Wizzupgood catch01:09
Wizzupthat's a funny one for the news post01:09
_inkyuvos: >but, but we like our strange, rare, near obsolete nokia/motorola devices01:29
_inkyme too, but those don't attract people and therefore developers.01:29
Wizzupuvos: I guess this helps icm your signal map https://github.com/STS-Dev-Team/kernel_kexec_modules/blob/2.6.35-solana/arch/arm/mach-omap2/board-mapphone-modem.c#L8102:10
tmlind_fyi, for folks interested in nokia n810 mainline kernel support, looks like there is now a git tree with pending patches:05:56
tmlind_https://github.com/relghuar/linux-stable-nokia-tablets/commits/n810-5.1505:57
sicelonice tmlind_ :-)07:47
sicelo_inky: you're actually correct. mentioning those devices in most rooms nowadays elicits zero response07:48
freemangordontmlind_: we need someone to help with omapdrm08:09
freemangordonor with drm in general08:10
freemangordonI don;t know where the issue is, but according to specs drmModePageFlip should return immediately08:11
freemangordon6ms is not my understanding of "immediate"08:11
freemangordongiven that 'flush' time on d4 seems to be 12.5 ms, this delay limits max FPS to 5408:13
freemangordonwhich is exactly what we see with 3-buffer08:13
freemangordonand it is even worse on n90008:13
freemangordonnot to say that the tearing we see is a sign to a more general issue08:15
freemangordon*sign of08:15
freemangordonSo, either framedone irq comes too early(so we request another flush while the previous on is still in progress), or flushing to panel should be done in a different way08:24
tmlind_freemangordon: is this also with d4 hdmi?08:32
freemangordontearing?08:40
freemangordonhave to test it08:40
freemangordonwill do, later on08:41
freemangordonWizzup: BTW, is there tearing with ddk 1.9?08:41
freemangordon(sorry if you have already answered, I forgot)08:41
freemangordontmlind_: yes, there is tearing08:53
freemangordonyou imply that GPU is still rendering?08:54
tmlind_no just wondering if this might be limited to command mode lcd only08:59
freemangordondoesn't seem to be09:00
tmlind_ok09:00
freemangordonI am curious what Wizzup will report re ddk1.9, given he still keeps it09:00
freemangordonhmm, wait09:01
* freemangordon checks something09:01
freemangordonflase alarm09:03
siceloiirc he said there is tearing in ddk 1.9 too09:06
freemangordon:(09:10
freemangordonso, unfortunately the issue is in omapdrm, not in pvr driver or ddx09:10
freemangordonat least that's my understanding09:11
tmlindfreemangordon: so how much slower is the flip on n900 then?09:24
sicelohttps://libera.irclog.whitequark.org/maemo-leste/2021-11-30#31284618;09:32
uvosfreemangordon: added a comment to https://github.com/maemo-leste/hildon-desktop/pull/1710:04
mighty17[m]uvos: compiled omapconf, what cmd do you need?11:32
Wizzupfreemangordon: yes, 1.9 has tearing in portrait11:33
mighty17[m]<mighty17[m]> "uvos: compiled omapconf, what..." <- went thru the whole wiki, too much info :/11:47
mighty17[m]https://paste.debian.net/1221489/ i suppose this?11:49
freemangordonuvos: thanks!11:55
freemangordonuvos: I am fine with the commit. Either you or Wizzup, please add this description to the commit message before merge11:57
WizzupI'll do it11:59
freemangordonthanks11:59
freemangordontmlind: I think it takes 6-8 ms there as well, but don;t have time to check now (RL work pressure :) ). Will check later on.12:00
lelIMbackK synchronize a pull request: https://github.com/maemo-leste/hildon-desktop/pull/17 (fix time overflow bug in tidy-finger-scroll)12:01
uvosWizzup: i allready did it12:01
uvosmighty17[m]: audio os_idle12:01
uvosmighty17[m]: audit os_idle12:01
Wizzupuvos: I just did it locally and did a changelog12:02
Wizzupbut uh, let me check12:02
Wizzupuvos: ok I'll go with mine since it's the same12:03
Wizzupuvos: btw I ordered 2 droid3 polarcell batteries12:08
Wizzuplet's see if they give me more than the estimated 400mAh on the current battery12:08
uvos400mAh uff12:09
Wizzupupower estimates 1200mAh for the droid4 one so it seems not entirely wrong12:10
Wizzupbtw it looks like various pins not in the gpiomap are in the kernel src I linked last night, right?12:11
uvosWizzup: yes thats true12:15
uvos(also on xt894)12:15
uvosofc those should not be a problem for you to find an compear12:15
Wizzupright12:27
Wizzupnew h-d is in -devel12:27
lelMerlijnWajer closed a pull request: https://github.com/maemo-leste/hildon-desktop/pull/17 (fix time overflow bug in tidy-finger-scroll)12:35
uvostmlind: can you get die_id on the mainline kernel?12:45
uvostmlind: here is a patch for kexecboot to allow correct  handling of xt875: http://uvos.xyz/maserati/patches/0001-Add-detection-for-the-xt875-s-mainline-kernel.patch12:49
tmlinduvos: ok i think we decided not to export die_id years ago after the pentium id fiasco12:53
uvostmlind: ok then on bionic i cant do any better for the rootpassword in kexecboot that this12:53
uvos*than12:53
tmlindwell the busybox there should have reg read capability though12:54
tmlindsee droid4-pm script for that12:54
tmlindbusybox devmem12:55
uvostmlind: mmcblk1p18 is what fastboot partition on mz617?12:59
uvoscdrom?12:59
mighty17[m]<uvos> "mighty17: audit os_idle" <- https://paste.debian.net/1221497/13:01
tmlinduvos: that's cache partition13:04
tmlinduvos: i think that's about the only partition that can be flashed with fastboot on mz617..13:05
tmlindalso mmcblk1p1913:06
tmlindcan be flashed, that's preinstall13:06
uvos uff this sucks13:20
Wizzupuvos: mhm?13:27
uvosWizzup: dident realise that mbm.bin on mz617 is even more resitrictive than even mbm.bin on xt8xx let alone allow-mbmloader-flashing-mbm.bin13:29
Wizzuparg13:30
Wizzupuvos: have you seen a lot of resets?14:33
WizzupI haven't really14:33
Wizzupdroid414:33
uvosyes14:33
Wizzuphmm, I had uptime of ~1.5 days and now ~20hrs14:34
WizzupI rebooted the 1.5 for kernel upgrade14:34
Wizzupbbiab14:34
uvosdident know d4 support was allready in linux 1.514:35
uvosoh 1.5 days14:35
Wizzupmhm14:35
uvosit mostly reboots with smplayer playing something14:35
Wizzupaha, ok14:35
mighty17[m]<mighty17[m]> "https://paste.debian.net/1221497..." <- uvos ^^14:35
uvosmighty17[m]: dss is on device cant idle with that  isent ideling14:38
uvosalso sgx14:38
uvosalso your sysconfig is wrong full_log tells you what exactly in eatch category14:39
mighty17[m]uvos: well so how do i add idle support to it?14:39
mighty17[m]or do i just stop dss ???14:39
uvosomapdrm has perfectly fine support for ideling dss14:40
uvosits just broken on your device for some reason14:40
uvoscould be userspace14:40
mighty17[m]cant debug that?14:40
mighty17[m]and what about sgx?14:40
uvossgx is probubly active becasue the display is active14:41
uvoswell debuging14:41
uvosrun the device  with minimal userspace14:41
uvosjust /bin/bash14:41
uvossee if it idles14:41
uvosyou have to enter dpms with the drm devices there14:42
mighty17[m]uvos: uhh how do i do that :/14:42
uvosthere is no "easy" way to debug any of this14:42
uvosinit=/bin/bash14:42
uvosbut you dont have serial14:42
uvosso really no idea14:43
bencohactually there is, but not with a full-blown maemo14:43
bencohunless you disable everything14:43
mighty17[m]uvos: welp :(14:43
bencohserial on d4 is easy though14:43
uvoshe isent on d414:43
bencohoh, my bad14:43
uvoshes on some samsung tablet14:43
uvosproblem is he cant interact with the device at all without full blown gui userspace14:43
bencohthat'll be hard yeah14:44
uvosno otg not serial and no keyboard14:44
mighty17[m]uvos: at max i have ssh14:44
uvosyeah i mean make yourself a runlevel with just the absolute minimum to connect with ssh14:45
uvosie just load the wifi kernel module and have bash + wpa_supplicant14:45
uvosand ssh and nothing else14:45
mighty17[m]ow thats gonna be a lot of work14:46
mighty17[m]well any other way i can improve my battery life?14:46
uvosmo14:46
uvosno14:46
uvosits not _that_ hard14:46
uvosalso check what drm  output is active in sysfs14:47
mighty17[m]omapdrm?14:47
uvosalso go around sysfs and check the runtime pm states of varoious devices14:47
uvosbut really you need a minimal system14:47
bencohwait, why wifi? don't you have usbnet?14:48
uvosotherwise figureing out what is using what and keeping it active and what is the kernel not implementing pm on some device is going to be nigh impossible14:48
mighty17[m]i do....14:48
uvosoh you do14:48
uvoslast i heard usb dident work14:48
uvoswell use that14:48
mighty17[m]thats why i said ssh14:49
uvosok14:49
mighty17[m]uvos: usb otg14:49
uvoswell minimal system with just usb net14:49
uvosthen14:49
mighty17[m]i have no idea how'd i do that14:49
uvoswell maybe focus on why dss isent ideling first14:50
uvosthat should be possible with full system14:50
uvosthats not enough to get it to idle ofc14:50
uvosbut its a first step14:50
uvosomapdrms outputs arnt in dapm state14:50
uvosso figure out why14:51
mighty17[m]wait wait, lemme understand14:51
uvossome of the stuff that omapconf reports as errors in sysconfig are proububly easy pickings too14:51
mighty17[m]uvos: maybe coz it isnt getting the clk it wants14:51
uvossee full_log14:51
mighty17[m]`/os_idle_uc_audit_summary.txt` ?14:52
uvosno14:52
uvosfull_log14:52
uvosyou have to specify that omapconf shal create it in its cmdline14:52
uvosanyhow on d4 we have 6 errors in omapconf - those are related to off mode not working and some spurtious ones with clock rates14:53
uvosyou have 1214:53
uvosso check out what those 6 extra are and fix em.14:53
mighty17[m]Alright, thanks for the help! I'll try to check those extra 614:54
uvos"[14:51] <mighty17[m]> uvos: maybe coz it isnt getting the clk it wants" i have no idea what you mean by this14:54
uvosbut if somehing isent geting the right clock you should fix that ofc14:55
mighty17[m]uvos: I don't know how to fix that tho! I put the correct value and my display goes crazy, I have to put half the value14:55
uvosanyone else haveing issues with dtschema when building 5.16-rc3?15:33
uvostmlind: maybe15:33
uvossort: -:2: disorder: 2021.0215:34
uvosERROR: dtschema minimum version is v2021.2.115:34
uvosdid try mrproper and git clean15:34
uvosi ended up having to install https://github.com/robherring/dt-schema by hand16:54
uvosthere is a package in arch but its to old - im kindof suprised that the kernel needs really very special outside depends to build now.16:55
uvos*https://github.com/devicetree-org/dt-schema16:58
uvosanyone here have a bit more expierance with debootstrap?23:36
WizzupI think bencoh has some, looking at his lxc setup23:37
uvosi can create a debian rootfs just fine23:38
uvosbut if i try to create a devuan one23:38
uvosi end up with no init23:38

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