libera/#maemo-leste/ Sunday, 2022-07-03

missMyN900wow I put the Pinephone away the day before yesterday in a drawer after having installed Mobian00:09
missMyN900not sure if it was even fully charged but I forgot it was still on and now I see the battery is still 34%!00:09
missMyN900this is really an insane difference compared to pmOS and ML00:10
missMyN900suspend is working really well on Mobian00:10
missMyN900not going to change my decision to sell it but it does show what is possible with the PP for ML eventually00:11
missMyN900having to rely only on suspend is primitive PM for sure but it does work really well00:12
uvosyou can suspend in ml00:14
uvosnothings stopping you00:14
missMyN900but I thought there was a bug?00:14
missMyN900oh it just dropped to 20% suddenly after using it briefly...00:14
missMyN900someone on here said it would crash sometimes00:15
uvosyou have to disable longpress action00:15
uvosin mce00:15
uvosits not a crash00:15
uvosits shuting down because you pressed the power button00:15
missMyN900but would that not occur consistently?00:15
missMyN900I am talking about something that would happen randomly00:16
missMyN900but yeah I did try suspend once briefly using ssh00:16
uvosyes because mce by default shutsdown when you longpress the power button00:16
uvosdepending how long you press and the interval between the press and the real resume00:16
missMyN900and it was working but did not test it for an extended period of time to study the power consumption00:16
uvosit might end up looking like longpress00:16
missMyN900I thought you were talking about something like that wrt a mapphone yesterday?00:17
uvosno that was about the pp00:17
uvosthe mapphones obv dont have sutch an issue00:17
uvosthey suspend/resume 30 times a second00:17
uvosor more00:17
missMyN900yes TI OMAP is very nice00:17
missMyN900I wonder if the i.MX6/8 are just as good in that aspect00:18
missMyN900(I have an old Wandboard Dual with i.MX6)00:18
missMyN900I have always liked i.MX00:18
uvosanyhow00:18
missMyN900sadly there are not that many images for the Wandboard00:18
missMyN900and most require using the serial port which is annoying00:18
missMyN900I never got a serial cable00:19
uvosif you have even trival c knowlage you could write a mce module to suspend when the screen is off00:19
missMyN900I see, that is nice00:19
missMyN900I will still sell the PP though because of other things00:19
missMyN900I am hoping I can get a DB eventually00:19
missMyN900but right now it does not work for me00:20
missMyN900too much stuff to do and too many devices already00:20
missMyN900I would like to but I have to be realistic00:20
uvosi mean bionics are <30 euro and installing leste on one takes 45min but ok00:21
missMyN900in theory it takes 45 min for an experienced person like you ;)00:21
missMyN900for me it will probably take much more than that00:21
missMyN900and it is not just installation00:22
missMyN900I also need to find the time to actually do something with it00:22
uvossure00:22
missMyN900otherwise it will just be sitting there with an empty battery that is degrading00:22
missMyN900so I will have to see how things go00:23
missMyN900I have still have many things to do and I want to mod qtwebbrowser first anyway00:23
missMyN900if I am going to use the DB once every 6 months, I might as well just run the QEMU VM00:24
missMyN900uvos: by the way, have you seen the new Pocket Reform Mini00:27
missMyN900it is really awesome00:27
missMyN900don't think it has touch screen so not really a potential ML target but still a really cool mobile Linux device00:27
missMyN900it comes with an i.MX8M Plus by default but can also use a Raspberry Pi CM4 or Pine64 RK3566-based SO module as motherboard00:28
missMyN900uvos: do you think you will ever get the Motorola LTE modem to work on the DB and other mapphones?00:34
missMyN900because I recall you saying that it is possible to make it work on other bands than the official ones or maybe that was referring to another modem00:34
uvosi dont see the point of those types of devices really00:34
missMyN900DB?00:34
missMyN900or the Motorola modem in the mapphones?00:35
uvosprm00:35
missMyN900what is prm?00:35
missMyN900oh00:35
missMyN900the Reform laptop00:35
missMyN900why not?00:35
missMyN900the size?00:35
missMyN900or are you also referring to the original Reform?00:35
uvosi dont see the usecase where i could carry that00:35
uvosbut not a laptop00:35
missMyN900yeah00:35
uvosand laptops are plety linux compatabil00:36
missMyN900I can understand that00:36
missMyN900true00:36
missMyN900but there are no proprietary blobs on the i.MX8 AFAIK00:36
uvossure00:36
missMyN900there is no proprietary BIOS00:36
missMyN900and no proprietary firmware00:36
missMyN900*UEFI00:36
uvosi could still buy a old thinkpad if that was a priority for me00:36
uvosand get better perf00:36
missMyN900sure but this is something that you can buy new00:36
uvos(it isent a priority tho)00:36
missMyN900those won't be available forever00:37
missMyN900that is why the PP project was also started, I think00:37
uvosthen a chromebook fits the bill00:37
uvosanyhow00:37
uvoswirt the modem00:37
uvosno idea00:37
missMyN900of course, the Reform is closer to a Librem 5 than the PP00:37
missMyN900PBP is of course closer to the PP;)00:37
uvosits not a priority atm00:37
uvosi also have a limesdr00:38
missMyN900LOL00:38
uvosthat could be a lte basestation00:38
uvosto try it00:38
missMyN900are you going to iplemet LTE on it?00:38
uvossure would not be so hard00:38
uvosto test the modem00:38
missMyN900I don't think the power consumption is going to be good for mobile...00:38
missMyN900oh00:38
uvosno i mean as a basestation00:38
uvoswith us specs00:38
uvosbut its not a priority as you can imagine00:38
missMyN900I have an RTL-SDR00:38
missMyN900but I am not doing that advanced stuff00:39
missMyN900I failed to decode any digital signal with it00:39
missMyN900compiled lots of stuff manually00:39
uvoswell that dosent have close to the specs to do lte anyhow00:39
missMyN900yep00:39
missMyN900but you said 2G and 3G are also shutting down in Europe?00:41
uvosonly 3g00:42
uvosfor now (2030 ish)00:42
missMyN900oh00:43
missMyN900then there is still plenty of time to get the Motorola modem working ;)00:43
missMyN900or to start a NeoDroid4 project :D00:43
missMyN900it can have a 5G modem ;)00:44
missMyN900hopefully Mediatek learns something from their Chromebook experience00:44
norayruvos, Wizzup, this atrix 2 device will work with lapdock under linux?01:16
uvosnorayr: sure01:17
uvosnorayr: but so dose droid 4 or bionic01:17
uvosthey all share the same port layout so you can connect them to eatch others lapdocks01:18
uvos(except the atrix 1 one its reversed)01:18
norayromg i did not know.01:27
norayrand what about droid 3?01:27
uvosi think it should work to01:27
norayri don't know actually how they connect. via usb?01:27
uvosbut it dosent have offical support i think01:28
uvosso all motorla devices of this time period have hdmi out and usb otg in the same place01:28
uvosthe lapdock has a cradle that connects to both01:28
norayrunderstand.01:29
uvosfor the first lapdock the cradle was specifc to the deivce01:29
uvos(ie the atrix 4g)01:29
uvosbut later its just a slot with the connectors01:29
uvosso any phone will fit that has the same port layout01:29
uvosand all the phones also had the linux install in parralell with android01:30
uvos(ie ubuntu 12.04 based linux/xorg)01:30
norayroh true, i start to remember that.01:32
norayrso when connected to lapdock they were running ubuntu.01:32
norayrnot android.01:32
uvosboth01:32
norayrwow.01:32
uvosit spins up a container01:32
norayryes.01:32
uvosthe d3 cant do it01:33
uvos(probubly because of the 512mb ram)01:33
norayri probably won't get a lapdock, but it's interesting.01:33
norayrand for d3 i would run only linux anyway.01:34
norayrthe possibility to reuse old mapphones is amazing.01:35
norayrsince i only use d4 recently01:35
norayri noticed people don't even realize it is an old device.01:35
norayrthey think it is something new and shiny.01:35
norayri just had this idea that we already live in a dystopia.01:42
norayrit's there when 'war is peace' and when (also in post apocalyptic societies) people search and trade devices that are no more produced.01:51
norayrwhy omap chipsets were well supported in mainline? should we thank ti for that? did they contribute to mainline?01:53
norayrand are.01:53
mglbg[m]I have been fiddling around with ML for a bit now, and it appears that removing the NOPASSWORD: part from /etc/sudoers.d/maemo breaks the app manager. how do you guys feel about that safety wise, and is this a correct observation or did I do some other stuff as well that broke it?09:26
uvosmglbg[m]: that is correct10:27
Wizzupmglbg[m]: yeah that is a problem10:27
uvosmglbg[m]: you must provide a askpass implmentation10:27
Wizzupmglbg[m]: although I think the app manager has it's own specific entry in sudoers AFAIK10:27
uvosit dosent work10:27
uvosnever did10:27
uvosi reported this before10:27
Wizzupok, well, we'd need to fix that10:28
Wizzupuvos: sorry, didn't remember10:28
uvosthers also a bug somewhere10:28
uvosin git10:28
Wizzuphm10:28
uvosi mean a bug report10:28
uvosbtw did you see the kernel?10:28
Wizzupuvos: will fix perms, just woke up10:28
Wizzupvi10:28
uvosok i wont be around today10:29
uvosmaybe just pull from my repo and do a release10:29
uvosi hope i dident miss anything10:29
WizzupI will also be with my parents part of the time10:29
Wizzuplet me give you perms anyway10:29
uvospatch wise10:29
uvosanyhow i dident test it on n900 yet10:29
uvosso we have to do that too10:30
Wizzupok10:30
Wizzupwe can use -experimental10:30
Wizzupnice work on the audio patch, at least starts ofi t10:30
WizzupI was thinking to write to sre/tmlind and the list and see what they think - since sre wrote a lot of the audio stuff (at least per the copyright in the file)10:30
uvoshe did10:31
uvosbut the modem audio stuff isent form him10:31
uvos(nor is it in mainline)10:31
uvosits something tmlind hacked in there10:31
Wizzupok10:36
Wizzupmglbg[m]: can you file an issue for this problem? (if it doesn't exist already)10:37
uvoshttps://github.com/maemo-leste/bugtracker/issues/40310:38
Wizzupty10:38
WizzupI don't think we want to use askpass for this per se if it calls sudo for various things10:38
Wizzupright?10:38
uvoswe def want askpass as a backup10:39
uvosalso i dont like ham being able to use apt10:39
uvoswithout pw10:39
uvosanyhow its not just ham10:39
uvosthe theme switcher and qutie some other stuff also breaks10:39
Wizzupyeah10:40
uvosaskpass also makes you see all of these10:40
Wizzupso which branches do you want me to sync over to droid4-linux, or will you do it?10:40
uvoswell maemo-5.18 at least10:40
uvosif you want he feature branches -516 -518 then those too10:41
uvosmaemo-5.18 comes to be by merging tmlinds -pending with all of the feature branches10:41
uvos(and 5.18.8 stable)10:41
bencohrafael2k: bayer can be anywhere between 8 and 16, it's often 10b or 12b11:00
bencohit really depends on the sensor and how it was configured11:01
Wizzupwhat do you think makes the most sense for our -dbgsym packages and h-a-m12:11
Wizzupwe can either hide them alltogether, or show them only in 'all', or give them a 'debug' section12:11
WizzupI think we should just hide them, no developer will use h-a-m to install the debug symbols imho12:11
Wizzuphttps://github.com/maemo-leste/bugtracker/issues/482 relevant issue12:12
Wizzuphttps://github.com/maemo-leste/hildon-application-manager/commit/37bf83aacce04c8ce36cd9a83c67fbcf71bee63e12:16
lelMerlijnWajer closed an issue: https://github.com/maemo-leste/bugtracker/issues/482 (HAM: Hide (or toggle) dbgsyms)12:54
bencohWizzup: yeah, I'd just hide them13:30
rafael2kbencoh: right, tks14:06
rafael2ktook just my pinephone to the weekend (without the keyboard), I was pretty happy to read news and listen you youtube music on the LTE connection, using QT WebBrowser, which has a nice vkb14:37
rafael2kbtw, good news from camera side, it seems libcamera's gui app, qcam, is closer to working15:29
rafael2kaaaand, we have /usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstlibcamera.so15:31
rafael2k: )15:31
rafael2kso no urgency for chimaera15:32
rafael2kI just have some some colorspace conversions to sort out in order qcam start to work... it seems. At least it opens up already and correctly list the cameras.15:44
bencohneat16:15
rafael2kjust got it working, with fields looking funny in the screen, dunno why I'm getting an error when I set qcam to use gles rending16:17
rafael2k*rendering16:17
rafael2khum QXcb in qcam says neither GLX nor EGL is enabled16:22
rafael2kwe should have some of those right?16:22
rafael2k qcam -s pixelformat=YUYV16:23
rafael2kit starts, but colorspace conversion is fuck up, funny images on screen16:23
bencohwell, if it receives bayer, that's expected16:24
bencohif you really want to render bayer without converting it, you should choose a grayscale pixelformat16:24
bencoh(luminance-only, 8b if working with RAW8)16:25
bencoh(and 16b if working with RAW10/RAW12, and expect endianness issues)16:25
rafael2kwriting to libcamera crew... they seem to be interested in supporting us to have it working, lets see16:25
bencohregarding glx/egl, we should support EGL outofthebox (at least a certain version/subset of it)16:26
rafael2kindeed, nobody really made libcamera work properly with the PP cameras setup16:26
rafael2kright16:26
rafael2kbtw, can anyone remind me again how to set a volume button to trigger the vkb?16:33
rafael2kthis is very useful when not having a working keyboard16:34
rafael2kbtw, anyone wanting to play with libcamera in ML: https://www.abradig.org.br/maemo-crazyness/libcamera/16:38
rafael2kthese are libcamera packages without any change from upstream (I just set a 0.1 version)16:38
rafael2khopefully soon in our repos16:40
rafael2k: )16:40
rafael2kI already uploaded my pet repo to https://github.com/maemo-leste-upstream-forks/libcamera16:40
rafael2kbtw, libcamera was supposed to convert from bayer to yuyv automatically when I chose a different color spacẹ.. which clearly did not happen - more likely an implementation bug in libcamera16:42
rafael2kQXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled19:50
rafael2khum19:50
rafael2kin mobian it seems to work19:50
rafael2kI wonder what it could be19:55
uvosrafael2k: try with -platform xcb21:08
rafael2klemme try21:13
rafael2khum, images appear now! but with some crazy swapped fields21:18
rafael2kwhat does it mean this "-platform xcb"21:21
uvosuses desktop linux qt21:22
uvosinstead of maemo qt21:22
rafael2kqcam -r gles -spixelformat=SBGGR8,width=1280,height=720 -platform xcb21:23
rafael2kfucking shit, it worked!!21:23
rafael2k7 fps for the viewer21:23
rafael2knot bad21:23
rafael2k: )))21:24
rafael2know we can take pictures with a gui in ML in PP21:25
rafael2k: )))21:25
rafael2kfront camera driver still needs some love (image is a but funny still) but the main rear camera is looking fine!21:28
dsc_nice one21:30
rafael2kyay!21:42
rafael2ktks uvos!21:43
rafael2kstill some artifacts... https://www.abradig.org.br/maemo-crazyness/back_camera-qcam-2.jpg21:58
rafael2kbut my daughter seems happy with it already21:58
rafael2kbencoh: gimme some hint of this type of artifact ^21:59
bencoh:]22:05
bencohare you sure it's supposed to be BGGR8?22:06
bencohand are you using the right picture size?22:06
rafael2kNow I'm just driving a truck đownstream without breaks22:07
bencohuh22:07
rafael2krunning "qcam" with all autogatic conversions22:07
bencohoh22:07
rafael2k*automagic22:08
rafael2kseems to work almost ok, tbh22:08
bencohpersonally I'd use v4l2 without libcamera, convert it manually using makeDNG+ufraw, check I understand what really happens there, compare with what libcamera does (just to make sure you use the same format)22:08
rafael2kno need to go that far, with libcamera "cam" app I can get the "original" raw pictures, which look fine indeed22:09
rafael2kusing any canonical color conversion tool gives me an output which says the capture side is "ok"22:10
rafael2klibcamera "raw" capture seems ok... automagic conversion seems a bit fucked up22:11
bencohah, I see22:12
rafael2keven considering trashy fffmpeg conversion22:13
rafael2khttps://www.abradig.org.br/maemo-crazyness/back_camera.jpg22:13
rafael2kI don't see those strange "blocky" patterns I get from qcam22:13
uvospixel format is clearly wrong22:14
rafael2kclearly seem here https://www.abradig.org.br/maemo-crazyness/back_camera-qcam-2.jpg22:14
rafael2kuhum22:14
uvosit has less lines22:14
uvosprobubly be even factor22:14
rafael2kI think developers realized that22:14
rafael2ktrying to push them to fix... as it is clear the error22:14
rafael2khummmm true22:15
rafael2klemme try another res22:15
rafael2kanyway, need to sleep, tomorrow I'll try a bit more, but anyway, the packages are up for anyone with a PP willing to try the luck: https://www.abradig.org.br/maemo-crazyness/libcamera/22:17
rafael2kwith the help of uvos, anyone wanting risk yourself: qcam -r gles -spixelformat=SBGGR8,width=1280,height=720 -platform xcb22:18
rafael2kis a starting point22:18
Wizzupuvos: will do the kernel now22:35
Wizzuprafael2k: great news re: kernel22:43
Wizzupwell, re: camera22:44
Wizzupuvos: I need to make the version 5.18.8 instead of 5.18.0 but otherwise it's running atm22:56
uvoson what?23:06
Wizzupd4 linux for beowulf experimental23:21
Wizzuphmm the source build failed23:22
Wizzupshould I remove the debian/patches ?23:22
Wizzupoooh I built the wrong repo23:22

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