Tuesday, 2019-02-12

*** spiiroin_ is now known as spiiroin06:27
spiiroinvknecht is gone, but... having wonky system time at bootup is expected if rtc time-of-day is not writable06:30
spiiroinsometimes it depends on device tree / board config setting, but sometimes modifying just can't be enabled06:32
spiiroinin those cases sfos uses "rtc tod + offset" to keep track of what system time ought to be06:32
spiirointhat is handled by dsme -> system time / statistics for systemd units started before dsme will be off06:33
spiirointhe solution could be to handle the same / similar offsetting in something that gets executed earlier - preinit / stte06:34
vknechtspiiroin_, thanks, I'll investigate this :)08:58
maccraft123how powerful computer i need to port?17:25
maccraft123i want compile times for kernel to be around 10-20min17:25
maccraft123and will thinkpad z60m suffice? 2gb ram, 1 core pentium m, 2ghz17:26
maccraft123(i have also desktop)17:26
maccraft123qno, s4 mini lte is done?17:29
maccraft123i mean usable state at least17:29
piggzmaccraft123: power doesnt really come into it17:48
maccraft123piggz: doesnt porting involve compilation?17:49
piggzmaccraft123: well yes, but I use an old i5, and a lot of compilation can be done on obs17:57
maccraft123piggz: ok17:59
T4<eugenio_g7> Most of the things are pulled by Jolla's repositories in binary form17:59
T4<eugenio_g7> I think the most time consuming bit is the kernel17:59
maccraft123And how to actually start working?18:00
TheKitmaccraft123, but with 2gb RAM you will pretty likely run into OOM on mer-hybris bits compilation18:01
T4<eugenio_g7> maccraft123: https://sailfishos.org/develop/hadk/18:01
maccraft123TheKit: Oh, ok, my desktop has 4gb and phenom 9650. Would it suffice?18:02
TheKitshould be better18:02
maccraft123If device works with postmarketOS, porting would be easier?18:05
TheKitit is not very related, as postmarketOS generally does not use Android drivers via libhybris18:07
maccraft123TheKit: But kernel is same?18:08
TheKitkernel sources are, but enabled set of options might be different18:09
piggzr0kk3rz: where is your build server logated again?18:14
piggzr0kk3rz: ive added config for latte-ci, what do i need to do to make it build?18:50
piggzsorry, got it maybe18:51
piggzr0kk3rz[m]: @eugenio_g7, rats, first attempt failed https://gitlab.com/sailfishos-porters-ci/latte-ci/-/jobs/16037454019:00
malpiggz: are you missing some package from OBS?19:03
*** olesalscheider_ is now known as olesalscheider19:04
piggzmal: i'll try a local build...19:04
piggzmal: https://paste.gnome.org/pxrcleexa19:11
piggzthe pacakge seems ok https://build.merproject.org/package/show/nemo:devel:hw:xiaomi:latte/mce-plugin-libhybris-nondroid19:11
piggzProblem: mce- conflicts with mce-plugin-libhybris < 1.3.0 provided by mce-plugin-libhybris-nondroid-1.12.3+nondroid.20190209185149.4.g6b53138-1.3.1.jolla.i48619:13
piggz Solution 1: do not install mce-plugin-libhybris-nondroid-1.12.3+nondroid.20190209185149.4.g6b53138-1.3.1.jolla.i48619:13
T4<eugenio_g7> Wut19:15
piggzhmm, version seems ok19:16
piggz@eugenio_g7 get that error trying to install -nondroid on device, which is probably why the image build fails19:16
malpiggz: maybe tag that?19:18
piggzone moment, i'll have to fork it to the shared repo19:20
piggzmal: tag as just 1.12.3?19:21
piggzoh, that tag exists19:21
malpiggz: maybe Provides: xxx = yy.y19:23
malpiggz: to spec19:23
malinstead of just Provides: xxx19:23
malpiggz: I think tag is not the problem but that Provides19:24
T4<eugenio_g7> Could be19:24
malpiggz: maybe Provides:         mce-plugin-libhybris = %{version}19:24
mal@eugenio_g7 try that latest line I just gave19:25
T4<eugenio_g7> piggz, I can fix that in ~30 min if you don't fork19:25
T4<eugenio_g7> Don't want to*19:25
piggz building now on obs!19:26
piggzbuilding again with correct url19:27
malpiggz: hopefully that helps19:30
piggzmal: it does19:30
malpiggz: good :)19:31
piggz@eugenio_g7 so ...... about the test image build ...... i kinda like my tablet how it is, so how about you try it :D19:32
T4<eugenio_g7> Cool! Will try tonight :) Have to do a TWRP backup first!19:47
piggz@eugenio_g7 https://gitlab.com/sailfishos-porters-ci/latte-ci/-/jobs19:51
piggzi might just post it to XDA and hope for the best!19:51
piggzso, bug wise, we have a BT problem ... it seems sometimes i cant connect stuff and need to reboot19:52
malpiggz: the legendary release after it builds :)19:52
piggzmal: yup ... if it builds, ship it :D19:52
T4<eugenio_g7> Heh, I'd avoid posting to xda for now19:53
piggzyeah, i'll let you check it installs and runs first19:53
T4<eugenio_g7> I'd like to post to XDA an image using LVM rather than stowawaying on the base android rom FWIW19:55
T4<eugenio_g7> Given that we don't actually need it19:56
piggzi know what you;re saying, but it would ne nice to share our efforts, and we could do that later couldnt we?19:57
piggzmal: anyone using opencv on sfos?19:58
T4<eugenio_g7> Yes absolutely, the only thing that bugs me is that will need a reflash on their part19:58
piggzyes, but I would write that as a warning19:59
T4<eugenio_g7> Ok19:59
maccraft123what did i missed?20:08
malpiggz: not sure if using, I did test it a bit20:13
malpiggz: if you want to try https://build.merproject.org/project/show/home:mal:opencv20:13
maccraft123(163/256) Installing: rpm- .....................................................................................................................[error]20:17
maccraft123Installation of rpm- failed:20:17
maccraft123Error: Subprocess failed. Error: RPM failed: rpm: error while loading shared libraries: librpm.so.8: cannot open shared object file: No such file or directory20:17
maccraft123cant zypper dup20:17
malmaccraft123: in which environment?20:17
maccraft123completely broke it now20:18
maccraft123PlatformSDK bash-3.2$ zypper20:18
maccraft123zypper: error while loading shared libraries: librpm.so.8: cannot open shared object file: No such file or directory20:18
maccraft123redoing it20:18
piggzmal: i was thinking of doing facial recognition in harbour-advanced-camera ... tho ... that is maybe getting ahead of myself a bit feature wise for now!20:22
malpiggz: android cameras usually have it already20:27
piggzmal: yes, but, NIH20:30
malpiggz: ?20:30
piggza syndrome20:30
piggzwhere devs always have to roll their own implementation of something20:31
malpiggz: I still don't understand, camera hal provides that20:32
piggzmal: i mean, where is the fun in engineering it using the camera hal, when you can write it using opencv and qt video filters20:34
malpiggz: ok20:34
piggzi mean, it will just be an interesting experiment, and, fune20:34
piggzbut, as I say, maybe for later...20:34
piggzsomeone offered to write icons20:35
malpiggz: opencv examples have something you can easily use20:35
maccraft123what if my device has -common in repo?20:39
maccraft123i mean requiers both -common and -$DEVICE github repo20:40
piggzmaccraft123: they all do...if you mean obs repo20:42
maccraft123piggz: and how to fix it?20:43
malfix what?20:45
maccraft123How to make config?20:46
maccraft123local_manifest i mean20:46
piggzah, earlier in process....you just need to sync up you tree to be valid20:48
maland check dependencies from the repos from lineage.dependencies20:50
maccraft123apps also count to manifest?20:54
maccraft123FlipFlap app is needed afaik21:00
malyou probably can skip the app21:00
maccraft123can recovery zip be made with sailfish?21:10
vknechtspiiroin_, too bad, enabling qcom,qpnp-rtc-write in dtsi file causes bootloop... will have to try dsme way21:44
maccraft123ok so i did local_manifest21:46
vknechtmaccraft123, afaik one can flash or fastboot the produced hybris-recovery.img21:47
vknechttho I only ever tried it on xperia x21:47
maccraft123vknecht: i have serranoltexx21:48
maccraft123i mean s4 mini i919521:49
maccraft123the danm repo synchronizes _S L O W L Y_21:49
vknechtyou're eager :)21:50
vknechtmaybe I misunderstood your question ; what I meant is that "make hybris-recovery" (included in "make hybris-hal") produces a recovery image, but nothing like twrp...21:53
vknechtmaccraft123, just curious, how did you skip FlipFlap ? using <remove-project name="..." /> in local manifest, or directly modifying lineage.dependencies ?21:55
maccraft123vknecht: i didnt specify it21:56
* vknecht is currently adding FlipFlap to his los base, so curious about the reverse operation :)21:56
* maccraft123 takes a break, fixing second monitor21:57
eugenio@adampigg: this should be merged otherwise BT doesn't get set-up https://github.com/sailfish-on-latte/droid-config-latte/pull/1222:05
eugenio(haven't tried the build yet, waiting for the pad to charge...)22:06
spiiroin_vknecht: apart from incorrect system time early in the bootup it should be harmless22:17
spiiroin_vknecht: but if you really want to try to do something about, it then something like: test -f /var/tmp/delta-time && date -s @$(($(date +%s)+$(cat /var/tmp/delta-time)))22:20
spiiroin_... should appy the same fixup as what dsme is going to do -> doing it early enough should make large system time jumps go away22:21
spiiroin_well, "hwclock -s" before that22:21
spiiroin_i.e. set system time to rtc tod, then adjust it by using the offset file written by dsme22:22
spiiroin_(if it is there)22:22
T4<adampigg> @eugenio_g7 ah ok, hope it works well when you get charge!22:44
T4<adampigg> btw, mine seems to work absolutley fine if it has a solid good charge22:44
T4<adampigg> works all day22:44
T4<adampigg> but, sometimes it seems like it doesnt get a full charge, but still says 100%, but then falls really quickly and gets sporadic22:45
T4<adampigg> and, I dont seem able to add you to the porters-ci group, maybe only r0kk3rz can22:46
eugenioyup, requested access22:47
eugenioanyway yesterday I emptied the battery in the hope to trigger a recalibration, not sure how well it works now22:48
eugenioI tried the build and it boots fine, so that's great22:48
eugeniosensors doesn't seem to work, haven't looked at them yet22:49
eugenioUI, audio, wifi works22:50
eugeniosome icons seem small, not sure if that's how it should be on tablets as I haven't had the fortune to get a tbj :D22:51
eugeniorpm installation via libzypp seem broken22:57
eugeniohmmm nothing provides requested libhybris-libGLESv222:58
eugeniodhi should be masked23:08
eugenioI'd refrain for releasing just now but we're close23:09
eugeniowill hack more on it tomorrow, good night ;)23:10

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