libera/#maemo-leste/ Tuesday, 2023-09-19

maxwelldi am always using custom xorg.conf for the lapdock.00:02
maxwelldnot sure there can be a better way.00:02
maxwelldi remove it when i restart and want just to use d4. then i copy it and restart if i want to use the lapdock.00:02
sicelomaxwelld: no need. i just built sphone without the forced rotation. https://pasteboard.co/NsDBRG9PAJKa.png00:13
maxwelldi think my issue is different. without the xorg.conf xorg is able to run x on d4. but it is not able to run x on motorola lapdock00:21
maxwelldso i use my custom xorg.conf00:21
maxwelldbut i have to do that manually every time. but i am ok with that probably?00:21
siceloarno11, and finally ... i've tested the calls on N900 with Leste. this is super awesome really :-)00:58
freemangordontmlind: do you have any idea where to look for usleep_range() latency? I enabled ftrace function tracer but don't know how to analyze the results. BTW, it turned out we have the same issue on d4.07:35
tmlindfreemangordon: ok, sorry not sure what might be broken at this point, will try to find my old notes on timer tests so maybe it can be narrowed down a bit07:37
tmlindseems short usleep_range() can take much longer than specified?07:38
freemangordonon average 400us07:38
freemangordonaccording to cyclictest07:38
freemangordonsetting pm_qos_resume_latency_us makes no difference07:39
freemangordonincreasing the priority however does07:39
freemangordoncyclictest   -p 80 -m -i 100 results in 40us average07:40
freemangordonon d407:40
freemangordonso maybe it is just a matter of scheduler priority, dunno07:43
tmlindsounds like if priority affects it08:10
freemangordonmhm08:10
freemangordonbut calling   cpu_latency_qos_add_request() does nothing08:10
freemangordonOTOH, returning -EAGAIN from pwm_ir_suspend seems to make things better08:11
freemangordonso I am starting to think this is idle related, like CPU enter too deep idle state which needs lots of time to resume from08:12
freemangordon*enetrs08:12
freemangordonargh08:12
freemangordon*enters08:12
tmlindok possible08:17
arno11sicelo: cool :)09:01
tmlindseems like reloading the d4 modem modules including phy-mapphone-mdm6600 every two weeks works around the modem weirdness, uptime again close to 23 days, this still the old v6.1 based kernel09:29
tmlindso maybe some modem firmware bug triggering some bug on linux09:29
Wizzuptmlind: nice digging10:01
WizzupI wonder if this is also the case for turning it in offline mode or not10:01
tmlindnot sure what goes wrong, but i've had uptimes past two weeks by doing modem reload10:27
Wizzupok10:28
WizzupI do sometimes put my d4 into offline mode, which is why I asked10:29
Wizzupthis doesn't unload the modules but I suppose it puts the modem in some other mode at least10:29
tmlindah ok yeah no idea if offline mode is enough to avoid the issue10:29
tmlindi've noticed that the qmi data connection at some point can run out of connection id's so maybe that's related10:30
Wizzuphmm10:31
arno11sicelo: callerId and landscape mode work very well with your patches :)12:19
arno11gprs0 issue is also solved :) thx12:19
siceloarno11: yay! good to know12:33
Wizzupsicelo: any prs you want me to look at?12:35
siceloWizzup: https://github.com/maemo-leste/libicd-network-ofono/pull/1  and https://github.com/maemo-leste/libicd-network-ipv4/pull/712:36
sicelothose fix the gprs issue that arno was referring to just now12:36
Wizzupok12:37
Wizzupi'm planning to take a holiday for ~7 days or so (from work), so I will have more time for these things12:39
Wizzuplet me look at these now12:39
Wizzupfor iproute2, do we not need the netmask at all?12:39
Wizzupisn't that passed by icd2 itself?12:39
Wizzupdoesn't look like it is12:40
sicelowe do. it's in $subnet12:40
Wizzupoh, right.12:42
Wizzupty for pointing that out12:43
Wizzupsicelo: do we want to explicitly depend on iproute2?12:44
sicelothat might be good, yes12:44
sicelobut something already depends on it ... not sure what. i didn't have to install it manually12:44
sicelomaybe something in devuan12:44
sicelobut yeah, explicitly depending on it might be useful, in case that 'mysterious thing' disappears or changes :-)12:45
sicelothe sphone patch for callerId is at https://paste.debian.net/plain/129245612:49
Wizzupok, let me fix up debian/control12:51
Wizzupsicelo: what is the typo being fixed?13:38
Wizzuphere https://github.com/maemo-leste/libicd-network-ofono/pull/1/files13:38
siceloeasier to see it from this view, https://github.com/maemo-leste/libicd-network-ofono/pull/1/commits/944850b6444feb511dc97652d9987af994fb8ecc13:41
siceloi made it a separate commit in case it turns out unnecessary. looks to me like the decision to use dns[0] or dns[1] was meant to be made depending on availability or non-availability of dns[1], not dns[0]13:43
Wizzupty13:45
Wizzupgood eye!13:46
WizzupI'll get this going now.13:46
arno11Wizzup: sicelo: i finally successfully built a pcsx-rearmed package for Leste and neon optimized :) it works full speed + sound on N900 :D17:37
arno11should work on D4 with far better rendering with few modifs17:42
Wizzupgreat17:47
Wizzupwhat modifs?17:47
arno11for example the key mapping is maybe different17:48
arno11(hardcoded)17:48
arno11and maybe we should use different cflags for optimization17:49
arno11and for better rendering it is just a question of settings17:50
arno11(opengl rendering with scalex2 + filters for example)17:51
arno11but when you see how it runs on n900, could be awesome on D4 really17:52
arno11pcsx burns 'only' 300mA with pulseaudio on n90017:55
Wizzupright, ideally we'd have one build for all devices, but maybe some config files17:58
Wizzupin any case, cool17:59
Wizzup!17:59
arno11yes cool :) i think i just need to check few things about d4 and update config file18:00
arno11anyway maybe it works well with n900 optimization18:02
arno11i'll update my repo and then maybe you can try on your D4 ?18:03
Wizzupsounds good, I'll need some rom to try it on, I haven't done much with the ps recently :D18:04
arno11ok, and btw the HLE bios integrated in the emu works well18:06
arno11so you just need a .bin game ;)18:07
bencoharno11: assuming you can use fremantle on n900, you might want to benchmark pcsx-rearmed there and compare18:16
arno11yes :) with no real benchmark, it already seems similar in term of perf18:17
arno11definitely better in term of power cons.18:18
arno11and really don't know why18:18
arno11on leste cpu usage is around 50-60% @25 fps in Gran Turismo for example18:23
arno11brb testing with fremantle18:24
arno11surprisingly it works better on leste @ the same freq (850MHz): similar cpu usage at around 25 fps but smoother on leste with better sound18:58
arno11of course with hildon compo deactivated19:00

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