libera/#maemo-leste/ Wednesday, 2023-01-25

Wizzupuvos: https://github.com/maemo-leste/sphone/pull/401:54
freemangordonsicelo: https://github.com/maemo-leste/libicd-network-ofono/blob/master/src/link.c#L125 :)08:05
rafael2kmorning08:05
freemangordonmorning!08:05
rafael2kWizzup, could you spin a Maemo-Leste Chimaera with harbour-pinhole in order piggz can more easily test our stack?08:06
rafael2kдоброе утро!08:06
freemangordonдобро утро08:07
rafael2k🤘08:08
rafael2kI built a kernel with latest ov5640 upstream, and now the system with power on correctly the ov564008:08
rafael2kso the system is kind of ready for testing camera app on the PP, all in the repo08:09
rafael2kand it is cool to play with the autofocus!08:10
rafael2khttps://leste.maemo.org/PinePhone#How_to_take_a_picture08:13
rafael2kwhile not in pinhole yet, we can trigger the autofocus tru v4lctl08:13
rafael2kbtw, support for the PPP is almost in good shape too08:14
rafael2kWe'll need need some wiring up of control from libcamera, but the crew there is helping getting the needed controls wired up08:14
rafael2kthe PPP has indeed a proper ISP08:15
rafael2kwhich is well supported by libcamera, through a specific pipeline configure (in the PP we just use the simple pipeline)08:16
rafael2kbtw, I read a about "eMMC Installation" "Warning, this no longer works in latest images since boot.txt was removed. Please update this section."08:19
rafael2kcan we just add in our u-boot package (copyed directly from our debian dir) a nice boot.txt sample, with commented our example how to multiboot and so on (I multiboot with Mobian on the eMMC)?08:20
rafael2kat the same time, default u-boot for SD and a sample u-boot boot.txt for eMMC, and a "mkboot.sh" or something that runs  mkimage -A arm -O linux -T script -C none -a 0 -e 0 -d boot.txt boot.scr08:21
rafael2kin the end. we could also ship with set already made an image for SD installation and another for eMMC08:22
freemangordonsicelo: apn/username/password not being set issue should be fixed, please upgrade and confirm11:23
freemangordonthe only remaining issue that's known to me is "always ask for password" tick not being obeyed11:23
Wizzuprafael2k: for pinephone?11:30
Wizzup(an image?)11:30
WizzupI can do it in 4-5 hrs11:30
Wizzupfreemangordon: I haven't figured out yet how to tell tp-ring not to do anon calls12:21
Wizzupthere is a tp interface for it, but voicecalls from sfos does not seem to use it at all12:21
Wizzupmaybe there is a tp ring config option that I missed or something12:21
Wizzupfreemangordon: I asked in #sailfish12:34
Wizzupsorry, #sailfishos12:34
sicelogreat idea12:37
Wizzuphm, I think I might have figured it out12:38
Wizzupno, probably not, this needs to be addressed in voicecall-manager I think12:43
freemangordonWizzup: where is #sailfishos ?12:58
Wizzupoftc12:58
freemangordonbencoh: did you manage to build ff?13:04
* freemangordon is tempted to post a video with chromium playing YT video as a reply to https://bugzilla.mozilla.org/show_bug.cgi?id=181201613:07
freemangordonon the same 'low-end'13:07
sicelolooks like it's fast getting to the WONTFIX state13:22
Wizzupfreemangordon: that won't help I think13:23
uvosyeah looks like they are just fine with perf colapsing by 10 :(13:27
uvos*10x13:27
bencohfreemangordon: I haven't tried since yesterday's failure yet13:50
freemangordonuvos: yeah :(13:57
bencohfreemangordon: "We believe it might be related to the $subject" we already know that it's not gl-related, right?13:58
Wizzupstill they must fix gles13:59
bencohyup13:59
bencohagreed13:59
bencohhmm so, regarding building ff, what should we try? add some swap, or add memory to the VM?14:00
Wizzupbencoh: do you need more ram?14:07
bencohI dunno, but killed gcc/g++ usually means that, lemme check dmesg14:07
Wizzupmaybe reduce the parallel jobs14:08
WizzupI can add a bit more ram too, but the system is at 26G/30G14:08
Wizzup(the host)14:08
WizzupI extended the ram of the build machines to accomodate our webengine14:08
bencohcc1plus invoked oom-killer:14:09
bencohah, I see14:09
bencohlet's try ....14:09
Wizzupbencoh: so I can add mor ram and reduce what we have on the build machines, just lmk14:12
bencohlet's see first if it works14:12
Wizzupok14:13
* uvos laughs having 80gb to compile android14:58
Guest224when I reading this channel log I found: 2023-01-22_14:46 <freemangordon> unfortunately it is normal. various reasons, one of the it runs from SD card. The other one is that Leste runs on 24 bpp while fremantle runs on 16bpp15:12
Guest224Why Leste run at 24 bpp, what mobile screen show more than 18 bpp? And many times real analog world color accurasity is less than 16 bpp.15:14
Guest224is there way to switch to 16 bpp to speed up screen handling?15:15
Guest224I mean screen analog world...not real physical world :)15:16
Guest224ofcourse..fastest screen handling is what screen wants in low level..any information what N900, Droid4 or Pinephone wants?15:20
Guest224if 16 color (4 bpp) grayscale speeds up then, it's enough for me :most of time :)15:27
sicelo did it help?15:28
uvosGuest224: the main thing is that 16bit color support is broken in lots of places on linux15:31
uvosGuest224: also modern pannels that have true color depth in excess of 18 bit are absoulty not uncommon anymore15:32
uvosGuest224: ofc me mainly focus on old and low end phones atm but still15:32
Guest224uvos: ok...in another though, all supported Leste devices support external display, what they can put there is another question :)15:36
Guest224putting N900 to CRT-TV would be nice ;D15:37
bencohiirc external display is already somewhat supported on leste/droid4, but there is no UI integration yet15:38
bencohregarding n900 I dunno if it's supported in current kernel versions15:38
uvosi think on n900 someone reported it broken15:39
uvoson mapphones it works fine15:39
uvosjust xrandr set the outptu15:39
uvost15:39
bencohuvos: does hildon handle two screens properly, or is it mirror-only?15:39
uvosthe n900 implementation is also pretty wierd15:39
uvossince its not a real crtc15:39
uvosbencoh: no you have to configure there to be only one display15:40
uvosie mirror or deactivate the internal pannel15:40
bencohah, sad15:40
Guest224hmm..deactive internal panel actually sounds good if get more screen resolutions to external display.15:41
uvossure d4 can drive 1080p and performance is fine at this size too15:42
bencohd4 can even drive 1080p+internal panel15:42
bencohjust not side-by-side, only one above the other15:42
uvoswell the hw can do side-by-side too15:42
bencoh(unless that changed in the past few years)15:43
bencohuvos: last time I tried (years ago) it didn't work and reported something exceeding some limitation15:43
bencohbut top/bottom screens worked15:43
siceloGuest224: yes tv-out is working in mainline15:44
bencohI think side-by-side means having an overall surface of more than 2048x2048 (1920+960)15:44
uvosbencoh: hmm i think it worked for me before, but thats with i3 so maybe its texure size15:44
uvoswich i3 dosent need15:44
uvosbut hildon would15:44
bencohI used wmii15:44
bencoh(back then)15:44
Guest224is disk-images at /images/pinephone/20230122/ chimaera? or is there only devel chimaera?16:01
Guest224is hildon-connectivity-mobile included in images yet?16:05
bencohLLVM ERROR: out of memory16:08
bencohAllocation failed16:08
bencohWizzup: with -j116:08
bencoh(real    109m13.943s)16:08
Wizzupbencoh: ok nwill fi16:17
Wizzupok will fix later today16:17
bencoh:)16:18
bencohwe could also add swap as fmg suggested16:18
bencohlooks like the error occurs during the last stages16:18
Wizzupno swap pls :p16:35
bencohokay :)16:46
* freemangordon still wonders what is wrong with swap :p16:47
uvosin general swap has gotten mutch less usefull16:54
uvosdue to the relatvie speed of io/ram/cpu16:54
uvosbut yeah, if it wont work otherwise, why not swap16:55
freemangordonwell, swap is the only thing that allows me to compile mesa on d417:10
bencohthe crossbuilder works with mesa btw17:12
rafael2kWizzup, for pinephone, an .img chimaera to distribute17:20
rafael2kI plan this week to have front camera enabled17:50
Wizzuprafael2k: ok, I will try, I have some things I need to care of first, but I will try to build another img17:51
rafael2kno rush then, lemme finish the kernel for chimaera then18:00
rafael2ksupport for both cameras better than just one18:00
rafael2k:P18:00
Wizzupsomething came up today, I might not have a lot more time today18:01
rafael2kCan I just use that one you made?18:02
rafael2kpeople can just apt-get update/upgrade18:02
Wizzupsure, that can work18:02
rafael2k(I mean, distribute)18:02
rafael2kCould you remind me the link of it?18:02
Wizzupit's on maedevu images18:06
Wizzupsorry, back later18:06
rafael2kI wonder if this could help in order to have an USSD UI: https://github.com/mhogomchungu/ussd-gui18:50
siceloUSSD should be handled by the phone application imo18:54
Wizzuprafael2k: what protocol does this talk over18:55
rafael2kAT18:55
Wizzuphmm18:56
WizzupI am not sure if ofono likes it if others are reading its fd18:56
Wizzupmaybe it's fine18:56
rafael2kwe need to read from ofono18:56
bencohI played with libgammu for a while with my razr :)18:56
rafael2kno no, we'll need to convert18:56
rafael2kthe point is that all the UUSD use cases are there, this saves time18:56
rafael2kread/write from/to ofono18:57
Wizzupok18:57
rafael2kI dunno, may be uvos can have an idea what would be best18:57
Wizzupbest regarding what?18:58
bencohcompletely unrelated, but wondering ... are we supposed to handle wifi networks (ssid) with multiple bssid well?19:00
Wizzupno idea tbh19:00
bencohI dunno if that's the reason I'm having troubles here, but I suspect it is19:00
bencohI dunno how to debug that though19:01
bencohicd(?) has a tendancy to clear wpa_supplicant's config if I set it through wpa_cli19:01
siceloyes, expected :p19:01
siceloat least i think it is19:02
Wizzupwhat does ssid with multiple bssid's mean19:02
bencohyeah, probably :> but still, how are we supposed to debug?19:02
Wizzupthat you have several APs with the same ap name?19:02
bencohWizzup: exactly19:02
Wizzupthis should just work, we don't pin the bssid in the config19:02
Wizzupso it will just pick whichever wpa supplicant prefers19:02
WizzupI think19:02
rafael2kWizzup, best with regards to have USSD at some point integrated, even if not so beautiful (not many people use, but those who use, really need it)19:03
bencohit remained connected for about an hour or so, and suddenly disconnected, and I wasn't able to reconnect since then, even after reboot19:03
bencohgonna try removing the network and adding it from scratch19:03
Wizzupbencoh: that is weird, if you file a bug I can take a look at the code later19:03
bencohalso wpa_supplicant seems slightly wonky, at some pointed it showed in scan_results a wifi network discovered this morning in the bus19:04
Wizzupit should remove expired entries eventually19:04
bencohyeah, it removed it, but it popped back in at some point, for some reason19:05
bencohokay, so it just connected properly after removing the network from the connections list19:06
Wizzupweird, I don't -think- we store bssid, but again, will have to check19:06
bencohdo you want me to check that?19:06
Wizzupsure, if you want to19:06
WizzupI have some personal things occupying me tonight so I won't be able to do much19:06
bencohhttps://github.com/maemo-leste/libicd-network-wpasupplicant ?19:07
Wizzupyes19:07
bencohthanks :)19:07
siceloone thing that we do, which we probably shouldn't, is saving IP addresses in gconf for gprs (and possibly wifi?)19:09
WizzupI think we just use it as ipc19:10
Wizzupto pass it on to the next module19:10
Wizzupit's not a 'config' that much in that sense19:10
siceloah, ok19:10
bencohapparently we include the mac_addr in the BssInfo at some point, not sure if it's stored or not yet19:12
bencohbut supposedly we don't use mac_addr to match discovered networks against the configured networks19:13
Wizzupbtw, later I found that sailfish has some glib or qt bindings to wpasupplicant, found it three/four years later of course19:16
bencoh:)19:17
Wizzupbencoh: ram increased from 4GB to 14GB20:05
Wizzuprafael2k: starting a new arm-sdk now20:09
Wizzupfor pp20:09
Wizzupthe image I mean20:09
bencohWizzup: thanks a lot21:30
bencohlet's see :)21:30
freemangordonbencoh: please, when building, make sure there are debug symbols created. For some reason we don;t have sane dbgsym in debian repos http://debug.mirrors.debian.org/debian-debug/pool/main/f/firefox-esr/firefox-esr-dbgsym_102.7.0esr-1~deb11u1_armhf.deb23:02

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