libera/#maemo-leste/ Monday, 2022-12-05

buZzhmm meh, "battery-charging-blink-full-solid" trigger doesnt turn solid on 'full'01:22
tmlindWizzup: ok pushed out droid4-kexecboot with xt912 support and initramfs offset read dynamically: https://github.com/tmlind/droid4-kexecboot/tree/master/2022-12-0507:21
tmlindthe issue was there's no hd in busybox there, changed to use od instead07:22
freemangordonWizzup: ugh, isn't that a double-free? https://github.com/maemo-leste/eds-backend-telepathy/blob/b96f28389554f2a1d39d6b8eeef3bd1a66e701fc/src/e-book-backend-tp.c#L267008:34
tmlinduvos: maybe try setting razr_xt9xx_data te_support = 1 assuming you merged with the pvr hacks and have 7c72e56fd0a2 ("WIP: Forward port of droid4 stock kernel changes to prevent tearing")09:25
tmlindnote the te_type in the v3.0.8 stock kernel is different between xt894 and xt910, so some other changes may be needed09:26
uvos__tmlind: thanks for the lead09:36
uvos__ill try that09:36
tmlindok09:38
uvos__tmlind: do you happen to come across what the touch buttons are connected to on xt910 in the stock kernel? they arnt on the lcds touch controller so xt910 must have somthing sperate for those09:38
tmlindyeah there's some separate controller, let me check09:38
uvos__really wierd that they did that, the whole point of touch buttons was that its cheap becaue you can just use the display touch controller09:40
tmlindyeah09:41
tmlindi think it might be the drivers/input/misc/cy8c201xx_core.c in the stock kernel09:41
uvos__ok ill take a look09:41
tmlindprobably takes less power compared to keeping the lcd controller enabled09:41
uvos__the touch buttons are never active when the display is not in android09:42
uvos__so idk where that helps09:42
tmlindok09:43
tmlindmight be this one in the mainline kernel Documentation/devicetree/bindings/pinctrl/cypress,cy8c95x0.yaml09:44
tmlindor similar09:44
tmlinddrivers/input/touchscreen/cy8ctm*.c09:44
tmlindso the mxt touch screen works fine, right?09:45
uvos__tmlind: yeah09:45
uvos__well idk09:45
uvos__it often dosent resigter touches09:46
uvos__but that might also be the display09:46
uvos__it works at least sometimes09:46
uvos__it seams like the display also hangs often09:46
uvos__(see video this happens at the beginning)09:46
tmlindok maybe different firmware09:46
tmlindembedded in the dts09:47
uvos__maybe or its just the entire device/or display hanging for 1-2 sec09:47
tmlindyeah ok09:47
uvos__not sure its the mx touch controllers fault09:47
tmlindi'm also seeing the sideways jumping with just dd if=/dev/urandom of=/dev/fb009:48
tmlindsideways as in portrait mode09:48
uvos__ok09:48
uvos__hblank issues :P09:48
tmlindthe timings should be the same, well what is used for timings in the command mode case09:49
tmlindas on xt89409:49
uvos__ok, at lesat it looks like hblank not syncing up, could be another cause09:50
tmlindi guess i'll continue on the mz61x bridge stuff when i get a chance09:53
tmlindi mean mz6xx. i need to also figure out why memtester fails on my mz609 while android works happily09:54
tmlindcould be some cpcap regulator low level init thingy09:54
uvos__tmlind: that would be neat. im mutch more excited about leste on mz6xx than xt910 (or mb865)09:56
Wizzupfreemangordon: will take a look, I didn't look anymore after this weekend10:00
* tmlind bbl tonight10:06
uvos__ttyl tmlind10:06
Wizzupfreemangordon: looks like it likely is a double free yes10:27
Wizzupfreemangordon: I see you pushed already10:27
Wizzuptmlind: thanks, will try the new kexecboot10:35
freemangordonWizzup: yes10:44
Wizzupty10:48
Wizzuphttps://www.phoronix.com/news/SDL-3.0-Drops-Open-GLES-1.010:55
uvos__droppting gles makes so little sense if your not going to drop ogl 1.x too11:30
uvos__i  just dont get it at all11:30
uvos__and you cant possibly drop ogl 1.x because almost everything is still part of the ogl 3.0 compat spec11:32
uvos__so unless your willing to drop ogl 3.011:32
uvos__i dont get it11:32
Wizzupfreemangordon: btw, when you get back later today, maybe we can talk my qt idea through for menus11:50
freemangordonok11:56
Wizzupfreemangordon: basically https://github.com/maemo-leste/bugtracker/issues/67912:02
Wizzupuvos__: btw I have these, but none have mbm allow flashing: VRZ_7.7.1-85_MZ617-27_CFC_1FF.xml.zip VRZ_9.8.2OT_127_MZ617_CFC_1FF.xml.zip VRZ_MZ617_1.6.0_279_CFC_1FF.xml.zip12:16
uvos__Wizzup: yes i downloaded all mz6xx updates12:16
uvos__none have it12:16
uvos__only the otg updates have12:16
uvos__but bearly anyone saved the otg updates12:17
Wizzuphmm12:17
Wizzupdo we have any file hashes?12:17
uvos__i dont think so12:17
uvos__but can look in my notes later12:17
Wizzupcool, I'm heading out first now anyway12:17
uvos__i have never seen a otg update at all12:17
uvos__i only know from xda12:17
uvos__and someone posted the mz607 file there with the comment that it came from otg12:18
freemangordonWizzup: hmm, why do we need that?12:53
freemangordon(thi issue)12:53
freemangordon*the12:53
uvos__desktop applications are unsable without12:53
uvos__since they tend to have alot of actions12:53
freemangordonuvos__: see the issue12:54
freemangordonit is not about meus12:54
freemangordon*menus12:54
freemangordonalso, if we are going to implement stacked menus, I don;t see why we shall do that for qt apps only12:54
uvos__sorry right12:54
uvos__freemangordon: because we can for qt12:55
freemangordonok, but IIUC it is the WM that draws menus, no?12:55
uvos__sure13:06
uvos__or no13:06
uvos__th application draws the menu13:06
uvos__the wm just places it13:06
uvos__but the point is that the qt definiton of the menu allready contains a hieracy that we are not useing13:06
uvos__while the gtk2 menus are indeed flat13:07
uvos__in gtk2 the menu is formed by the application implementing a custom window and teling the wm that this is the menu13:07
uvos__so only mameo applications do this ofc13:08
uvos__in qt the qmenu is used to generate a window. the qmenu is the same thing that generates the file, edit, help etc buttons in a desktop application13:08
uvos__so all of the regular desktop applications have a maemo menu13:09
uvos__thats great! .. in theroy, in practice it dosent work so well becasue the actions are flattend, Wizzup wants to improve this13:09
uvos__so implementing stacked windows in gtk2 would be possibe, but would be an entirely seperate piece of code and would have no current users13:11
uvos__while stacked windows in qt are instantly usefull and used by various applications13:12
uvos__freemangordon: the qt application featherpad is a good demonstator of how current behavior is undesirable13:14
uvos__run it first the normal way13:14
uvos__and then with -platform xcb13:14
Wizzupfreemangordon: this is about menus13:55
Wizzupfreemangordon: so for example, when do we render the arrow at the top indicating there is a maemo menu?13:55
Wizzupcurrently we don't at all, but if I implement it, I have to check (1) if there is a qmenu and (2) if the app wants a menu there13:55
Wizzupqt maemo just hacked it13:56
WizzupI think we ideally support applications with qmenu but not with hildon menu13:56
Wizzupand applications that want a hidon menu13:56
Wizzupand optionally, later, a way to use hildon menu for nested menus13:56
Wizzupfor this we have to know if the app wants to use maemo menus or not13:56
Wizzupfor example, currently all 'maemo qt' apps manually "hide" their qmenu13:56
Wizzuplike, in C++ code13:56
uvos__if netsted windows work we can presumably just hide the qmenu attached to qmainwindow13:58
uvos__or?13:58
uvos__for everyone13:58
uvos__the arrow is more tricky with qmenu or gtk2 menus used by otherwise qt apps13:59
Wizzupuvos__: ok, I have a xt160214:00
Wizzupuvos__: if nested menus work you mean?14:00
uvos__nice14:00
uvos__yes14:00
WizzupI still think we should have an option for using regular menus14:01
uvos__ok like in code or env override?14:01
Wizzupboth14:01
Wizzupthen we could set the env override by default if we want it for everything eventually14:01
uvos__ok14:01
Wizzuppmos doesn't mention ofono for xt160214:05
WizzupI find it amusing that folks on that page write that the 1GB ram version is 'very slow'14:06
uvos__Wizzup: yes14:06
Wizzupthis page I mean: https://wiki.postmarketos.org/wiki/Motorola_Moto_G4_Play_(motorola-harpia)14:06
WizzupI guess they are using phosh or something14:06
uvos__Wizzup: but it works, at least ofono sees the modem14:06
Wizzupuvos__: cool14:06
uvos__idk if it _really_ works14:07
Wizzupmhm14:07
uvos__yeah 1gb slow seams wierd14:08
uvos__besides the ram the device is more performant than pp14:08
Wizzuppretty sure it's just phosh using a lot of ram or something14:08
WizzupI read somewhere that people had to wait 60 seconds for the phone app to launch on a pinephone14:09
Wizzupmaybe I read that here :D14:09
Wizzupmemory is hazy14:09
uvos__heh sphone has that beat14:09
uvos__ist 1604 the 1gb ram version?14:11
uvos__i dont really know how the xt160x relate to the features14:11
Wizzupuvos__: yeap @ beat14:12
uvos__xt1602 gpu is 22 gflops vs pps 814:17
uvos__i wonder how this will affect hildon14:17
Wizzupprobably not negatively? :P14:20
The_Niz1514:38
The_Nizwoops14:38
The_Nizwindow change typo ;)14:39
Wizzuptmlind: new kexecboot allows me to boot to android14:58
Wizzup(on the 4.0.x device)14:58
uvos__xt912?14:59
Wizzupyes14:59
uvos__ill check if it works x910 4,0,414:59
Wizzupfwiw it's 2022-12-05/droid4-kexecboot.img14:59
Wizzupand I also flashed xt912 tags, although iirc they are the same as xt910 :)14:59
Wizzuper, they are different, but yeah15:00
Wizzupin any case it worked for me :)15:00
siceloWizzup: re:ofono/pmos - nearly everything switched to modemmanager in pmos16:52
Wizzupsicelo: doesn't that depend on what the mobile frontend wants?17:55
uvosWizzup: everything has ditched ofono18:34
uvosboth calls (the phosh frontend) and the plamo one moved from ofono to ofono and modemanager to just modemmanager18:35
uvosi do intend to do the same with sphone (well not the ditch the ofono backend part)18:36
uvoshopefully leste on xt1602 will provide a good test case were i can use both mm and ofono18:36
Wizzupofono seems to do bluetooth well18:37
uvossure maybe idk the merits of these systems18:37
uvosthats a reason why i want to try write a sphoen backend for it18:38
uvospresumably modemmanager has some merrits (maybe just better support for modern phones) otherwise the other uis would not be switching18:38
siceloWizzup: mm does bluetooth just fine too19:16
Wizzupuvos: I thought for gnome it was just nih or something :p19:35
Wizzupsicelo: did you test it?19:38
uvosWizzup: so in leste-config19:56
uvoshttps://github.com/maemo-leste/leste-config/blob/master/debian/leste-config-droid4.undisplace19:57
uvosundisplaces files it dosent ad (the mapphone package adds these)19:57
uvosi presume this is an error19:57
uvosalso none of the other packages have an undisplace at all19:58
uvosis it even nessecary?19:58
tmlindWizzup: ok good to hear it booted :)19:58
uvosWizzup: https://github.com/maemo-leste/leste-config/pull/3420:04
uvostmlind: is the XT910-16 XT912-16 in utags really nessecay?20:08
uvosbootloader dosent seam to care20:08
uvostmlind: latest kexecboot also manages to boot android on my xt910 (dident work before)20:10
tmlinduvos: yeah not sure if it matters, that's the naming the mz6xx use, different from what xt8xx use20:31
tmlindmakes more sense for the naming than the proto naming..20:32
tmlindit might make some difference on 16gb vs 32gb emmc tablets but i doubt it20:33
uvostmlind: ok yeah thats what i though20:33
uvost20:33
uvoswhy dont like solana, maserati, targa, edison, spyder and pasteur? :P20:34
uvostotaly makes sense and is easy to remember20:34
tmlindis there a car model called pasteur? why not edsel?20:35
uvosmz60920:36
uvosoh car model20:36
uvosno idea20:36
uvosboth mz609 and mz617 being called pastuer feals like them giveing up anyhow :P20:36
tmlindcanning it? :)20:39
uvosxD20:39
Wizzupuvos: what does git log say about it? (undisplace)21:12
Wizzupuvos: merged, shall I release for -devel?21:15
uvosWizzup: dunno what you want to know about git log22:21
uvosit was added before -mapphone existed22:21
uvosWizzup: its broken for sure22:21
uvossince this way uninstalling -droid4 breaks lots of files in -mapphone22:22
uvosi just dont know how its supposed to be22:22
uvosWizzup: not dont release22:22
uvosthere is another problem22:22
uvosthis https://github.com/maemo-leste/leste-config/blob/deb9a79200993b6e43ce4bceca71ce901c33dafe/debian/control#L2922:23
uvosyou need to add razr here to make it work, but then i think razr needs to be in its own section22:23
uvosotherwise i have no idea what happens when you install -mapphone22:23
uvostmlind: enableing te_support apears to make things worse22:41
Wizzupuvos: ok, I'll investigate23:01
Wizzupuvos: looks like undisplace does nothing23:28
Wizzupto me at least23:28
Wizzupuvos: hmm, right, that's why we had the sections I guess23:29
Wizzupuvos: well the images will have one specified in the meta23:29
WizzupPackage: hildon-meta-bionic23:30
Wizzup...23:30
Wizzup leste-config-mapphone,23:30
Wizzupuvos: actually, it doesn't contain leste-config-bionic23:30

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