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

Wizzupfreemangordon: uvos: we have chimaera-testing/devel/experimental now I think00:58
freemangordongl qtwebbrorser works on d4 now :)08:24
sicelofmg to the rescue :-)08:29
freemangordonunfortunately chromium still does not08:30
freemangordonhmm, actually it does08:37
freemangordonit crashed the GPU, but still08:39
Wizzupfreemangordon: so we need qtwebengine fork? got a patch?11:07
freemangordonthe fix for gl is in mesa11:13
freemangordonbut we still need webglengine fork because of QPA plugin11:13
freemangordon*qtwebengine11:14
Wizzupok11:15
Wizzupgreat work as always :)11:15
freemangordon:)11:41
WizzupI will try to build it later today from salsa, if you share a patch11:45
freemangordona patch for maemo plugin?11:45
freemangordonI still don't have one11:45
freemangordonbut I guess it is as simple as adding "maemo" along "xcb"11:46
Wizzupyeah I figure11:46
Wizzupthe other patch is for mesa then?11:46
freemangordonyes11:46
freemangordonbut still not ready11:46
Wizzupcheck11:47
freemangordonok, setting FlushBehaviour=2 fixes chromium crashing GPU, however it is too slow to be useful12:33
WizzupI remember we saw this before someewhere12:35
freemangordonyeah, glamor ;)12:37
Wizzupright12:37
freemangordonWizzup: what the? https://github.com/maemo-leste-upstream-forks/mesa/compare/21.2.5+pvr6...21.2.5+pvr712:48
freemangordonoh, you took the one from -stable for chimaera :(12:50
freemangordonWizzup: mesa is ready13:48
freemangordonwe just need qtwebengine now13:48
norayris there a hope that if i download a chimaera image with 6 kernel, droid3 will work better with that? (sorry sorry sorry i feel guilty each time i mention it, just i love the device so much, much more than d4, that i don't understand the design of)14:04
norayrmaybe i can provide access to uvos for testing it. i can create a tor hidden service and make my home machine sshable from within tor network. i do that to connect to my machines that are behind the nat.14:05
norayrand it is a pity we weren't able to keep rafael2k, since i was not able to explain you what is necessary to improve pp state. and he did, after he appeared, pp state improved very much. it is still in bad state though.14:07
sicelonorayr: even though droid 3 has half the ram of droid 4?14:11
norayryes, the ram i don't care that much. i care about the look. (:14:24
norayralso, on performance: yesterday i was trying to pay for parking with droid4. that meant entering some website, etc. so on d4 qt browser after login was not able to parse the page. i tried firefox, but it was not able to show the page because it is heavy. and it was slow and not responsive - not usable at all.14:25
norayrluckily i also had pinephone with me and ff on pinephone was much better, i was able to pay for the parking and not get fined.14:25
norayrour main dev device is d4, which limits our community size very much. it cannot be more than number of people who have d4. and that number is very low. if you search right now for d4 on ebay or amazon, you'll find nothing.14:26
norayrpinephone is possible to buy. and jolla published a statistics where they say, half of sailfish os installations are on pinephone!14:27
norayrbtw, also on d4. after upgrade to chimaera i think typing of colon symbol by pressing 'ok' and ':' is no more possible. same with semicolon.14:29
norayrso i cannot type those symbols from hardware keyboard.14:29
sicelooh, that sucks14:32
* sicelo is still on beowulf14:32
Wizzupfreemangordon: ah, did I take wrong branch?14:59
Wizzupnorayr: no, droid3 will get better but nothing changed atm, I hope tmlind might have some ideas14:59
freemangordonnorayr: install chromium15:05
freemangordonmake sure to disable GPU acceleration though15:06
norayrwill do!15:06
norayrnot sure how btw.15:06
norayrbut will read.15:06
freemangordonin settings search for "hardware"15:07
freemangordonre firefox - recent ff upgrade in debian made it useless on d415:11
freemangordonmaybe file a bug to upstream15:11
norayreh, i think they don't care about old devices. we need to use gemini, that's why i packaged lagrange gemini browser.15:14
norayrand btw it is a unique build of lagrange.15:14
norayrthe author created his own set of controls based on sdl. he draws with sdl.15:15
freemangordonnever heard of :)15:15
freemangordonstill, chromium is very fast on d415:15
norayrand he has desktop interface and mobile interface. mobile he builds for ios and android.15:15
norayrand in linuxes if you find builds - those are desktop.15:15
norayri made a unique build - mobile interface for linuxp15:15
norayrfor linux.15:15
freemangordondo we have that in the repo?15:15
norayryes, gemini is something between gopher and http, very simple not extensible protocol.15:16
norayryes we have. (:15:16
freemangordonah15:16
norayrhttps://gemini.circumlunar.space/15:16
freemangordonI thought it is a browser :)15:16
norayrit is! but it opens gopher:// and gemini:// links.15:17
norayri need to make video though, it crashes sometimes. and send to the upstream. i have the latest source code. the mobile interface is not well tested on linux, i guess only i built it like that.15:18
sicelogemini is not a solution, unfortunately15:20
freemangordonheh, it opened http:// in chromium :D15:21
buZzthat whole 'modem disappears when you connect USB' is getting kinda annoying17:50
buZz:(17:50
buZzmaybe i should just run kernel 5.x again17:50
siceloor n900 :p17:55
WizzupbuZz: 'when you connect usb'? what are you doing?18:04
buZzWizzup: charging18:04
buZzits some bug that was introduced on 6.x rollout, that USB modem disconnects from device when 'a usb device' is detected18:04
buZz-somehow- 6.x sees random chargers as usb devices already, gives the 'PC Suite' popup, after which the modem disappeared from USB bus18:05
buZzsomething with the usbgadget drivers loading/unloading, i bet18:05
buZzadding a usbcondom on the cable seems to prevent it from happening, but even chargers that on 5.x never appeared as usb device , on 6.x do18:06
buZz(not a real usb device, i guess the resistors on datapins just confuse the d4 a bit)18:07
buZz(OR its my usb connection being derpy)18:07
buZzeither way, on 5.x it never happened18:07
WizzupI don't see this18:08
buZzmaybe try on a laptop's usb port? the 'PC suite' popup causes kernel messages like your earlier bug report18:09
buZzlol wtf, dmesg now shows the rndis loading and unloading every ~0.2 seconds on having USB charger connected :D18:11
buZzmaybe i should just remove rndis and see if it solves anything18:11
freemangordonweird18:11
buZzcant find that earlier bug report, dangit18:14
freemangordonhmm...18:15
freemangordondoes that happen with every charger?18:15
buZzno, as i said, adding a usb condom seems to prevent it for many (maybe all?) chargers18:16
buZz(usb condom being only VCC and GND connected)18:16
buZzsome chargers get the 'PC suite' popup -every- time, some only sometimes18:17
buZzthe popup == modem is gone18:17
freemangordonmaybe your device USB port is loose18:17
freemangordonI have never seen such issues here. Mind you, I played a lot in couple of weeks ago18:18
buZzyeah that was a idea i had aswell, guess i should take the d4 apart to see18:18
freemangordontested with maybe 5 different chargers and 5 different USB ports18:19
freemangordonnever seen popup when charger is connected18:19
buZzbut you did see the popup from a laptops USB port?18:19
freemangordonyes, why not?18:20
buZzdid that make your modem disappear?18:20
freemangordonno18:20
buZz-thats- the main issue here :P18:20
freemangordonah18:20
freemangordonwell... it was 5x then18:20
freemangordon:)18:20
buZzhttp://space.nurdspace.nl/~buzz/maemo/dmesg-20221213.txt <- this was recorded when i noticed it first18:20
freemangordon5.x18:20
buZzjust booted droid4 , it was online on GPRS, connected charger -> modem disappeared from USB18:20
freemangordonhmm18:21
freemangordonseems like some HW issue to me18:21
buZzwhere is the rndis setup? i'd love to try just disabling that functionality to check18:22
freemangordonmaybe stop ke-recv18:22
buZznever used it to begin with :P18:22
freemangordonWizzup: ^^^?18:22
* freemangordon is afk18:23
* buZz waves18:23
sicelobuZz: something like `hildon-usb-gadget-*`18:26
sicelo -clear to disable them all18:26
buZzsicelo: as a proces? service?18:26
buZzooo, helper scripts?18:26
siceloit's an application in /usr/sbin :-)18:27
sicelopart of hildon-usb-gadgets18:27
buZzweird, why a application? isnt it just toggling stuff in sysfs?18:27
siceloit could be a shell script, yes18:27
sicelobut it's still clean this way too ... i don't find one approach better than the other18:28
siceloi guess one of the motivations to do it this way was to use the excellent libusbgx library18:29
sicelohttps://github.com/linux-usb-gadgets/libusbgx18:29
buZzah some kernel 3.11 tool :D18:30
buZzi've been messing with charging/discharging -a lot- lately, building a battery gui thingy in python18:31
buZzhttps://i.imgur.com/mmTpKS6.png18:31
siceloi've also been working on the n900 fuel gauge, https://lore.kernel.org/linux-pm/20230102091326.3959978-1-absicsz@gmail.com/T/#u18:33
sicelobuZz: what's on x axis? seconds?18:33
buZzsicelo: eh, 'samples' for now , i'll replace it with timestamps eventually18:33
sicelook18:34
buZzthere's no history thusfar, its only live view18:34
sicelolive  view? :o18:34
buZzthe right Y axis is now replaced with 'voltage' for way higher resolution18:34
sicelowhat's the bright green line?18:34
buZzcharging current18:34
buZzthe red is discharging current18:34
buZz(yes i use d4 usually with 1.2A charging limit, not the default 500mA)18:35
* sicelo likes the Nokia font there18:35
buZzunconfigured, i guess its default18:35
siceloyes, i might want to 'steal' it for pmOS18:36
buZz:)18:36
sicelohow long you wait between samples?18:37
sicelonice ants on top left :p18:37
buZzi think that screenshot was with 1 sample per 2 seconds18:37
buZzmight make that configurable18:38
buZzman, so weird, after ~250 samples of charging, suddenly 'charging' popup on top, and GPRS IAP is away from menu, durrrr18:40
buZzkilling ofono keeps '2G' icon in status menu :)18:42
buZzsuch a weird hw state18:42
* buZz reboots phone and all is normal again18:42
buZz:D18:42
sicelo'GPRS IAP is away from menu' means?18:43
sicelobut yeah, i guess killing ofono like that will confuse things, yes18:44
buZztap status menu , tap connections, no GPRS IAP in the list18:44
buZzi doubt modem even still works in that state18:44
buZzon boot, killing/restarting ofono -does- remove/bringback 2G icon18:44
buZzand brings the IAP to that list18:45
sicelobtw what's the lowest consumption (in mA) that you get on droid 4? i see 40mA. not sure if this is as good as what others see, or it's high19:02
bencoh40mA idle with modem on?19:08
bencohand screen off?19:08
freemangordonsicelo: measure average power, should be about 150mW19:14
freemangordonor even less19:14
bencoh40mA is about 150mW19:14
bencohat nominal voltage19:15
freemangordondepends on the voltage19:15
sicelothanks19:29
sicelobencoh: yes19:38
Wizzupfreemangordon: I'm around now, it looks like you already built mesa?19:38
siceloWizzup: btw where are the patches required for droid 4 voice calls - can't recall if they do headset or speaker19:40
Wizzupit works with hp, speaker and headset (earpiece)19:41
Wizzupthey are in kernel only19:41
siceloyes, i recall. but i can't find them :-)19:42
Wizzuplet me check19:43
WizzupI think uvos didn't rebase everything, so it's not all on top?19:44
Wizzupyeah, that's why it's harder to find19:44
Wizzupsicelo: at least:19:46
Wizzupbef96ef6af0c19e4a1653c1e854f006ccd9e81d819:46
Wizzupe97b653c2b3ed964385e29bb9379c4198672482219:46
Wizzup8fd730ad132db5d68998be9daf14aaca2f47ea3119:46
Wizzupand probably some more19:46
Wizzupsicelo: what's the idea exactly, do you want to use these in pmos?19:46
sicelomainly just to understand the required changes19:49
siceloprobably won't be easy to support this on pmOS since it will require ofono fork19:49
Wizzupyeah, patches, that they should carry also for other devices ;)19:53
Wizzuplike pp19:53
siceloyeah. so it's mainly for my enlightenment for now :-)19:54
siceloplus pmOS doesn't really support droid4 yet19:54
siceloi think in pmOS, it'd be best to go with modemmanager19:54
Wizzupsounds like you're up for writing the patches :)19:55
sicelothanks for sharing19:55
sicelohehe, i want to improve N90019:55
Wizzupofono works great for us now so I don't see a reason to complicate life even further with redhatisms :p19:55
siceloyeah, i think ofono is fine (in fact i like it better)19:56
* Wizzup bbl, work mtgs :( 19:58
uvossicelo: to find patches its usually easier to look here20:06
uvoshttps://github.com/IMbackK/droid4-linux20:06
uvosthere are the feature branches that i merge to create the maemo kernel20:06
freemangordonWizzup: yep20:35
freemangordonwe need qtwebengine20:35
Wizzupok20:36
WizzupI want to do the hildon-meta thing for uvos first, so we can get elogind going20:36
Wizzupuvos: -devel already has the xorg btw20:36
freemangordonok20:42

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