T4 | <adampigg> Mal, i wonder if it is the crash i.already fixed in lipstick | 05:06 |
---|---|---|
T4 | <adampigg> In eithet case, i will try that first, then install debug packages | 05:06 |
T4 | <adampigg> mal, it was liptick-qt5 where my crash fix was | 06:11 |
ghosalmartin | morning all | 07:54 |
mal | @adampigg what was causing it? | 08:49 |
T4 | <adampigg> mal, in compositor/eglhybrisfunctios.cpp rash crash in check for egl_hybris_nativebuffer2 | 08:59 |
mal | @adampigg ok, now you have UI? | 09:07 |
T4 | <adampigg> mal, no, ill try when i get home, dont have devkit at work! | 09:16 |
mal | ok | 09:19 |
T4 | <adampigg> mal, u think we should package mesa differently...maybe more like fedora, with the pacakge being called mesa, not mesa-<plaform> and just include all the drivers we can as sub pacakges? | 11:02 |
mal | @adampigg I would add a generic dri-drivers package with all we support like fedora does | 11:04 |
T4 | <adampigg> yes ive just read that in their spec | 11:04 |
mal | @adampigg need to check how big the drivers are to see whether we should have separate packages or not | 11:06 |
T4 | <adampigg> mal, with a single mesa,we could have mesa-dri-driver and mesa-llvm, probably not a mesa-libhybris tho | 11:40 |
mal | @adampigg we need to think about the naming | 11:46 |
mal | it would also just be mesa, and mesa-llvmpipe would be for the other one, mesa-dri-drivers is only one subpackage anyway | 11:47 |
*** ChanServ sets mode: +v T4 | 11:48 | |
T4 | <adampigg> so, keep mesa-llvmpipe as a seperate package? and use similar /to my i915 and lima spec to build a drivers package? | 11:51 |
mal | yes, at least for now | 11:52 |
ghosalmartin | did the lad that was porting to the pixel xl get it fully working? | 14:37 |
mal | what was the codename of the device? | 14:38 |
ghosalmartin | marlin? | 15:33 |
ghosalmartin | he might of been using the normal pixel tbf | 15:34 |
ghosalmartin | ousa something was his name :P | 15:34 |
T4 | <adampigg> Just gonna post this here :D | 16:08 |
T4 | <adampigg> (Photo, 960x1280) https://af42kgggd3mfqvgy.tor2web.io/7O7tdnYRie.png | 16:08 |
vknecht | victory ? congrats :-) | 16:11 |
T4 | <adampigg> yes, failure was already known, and fixed upstream lipstick bug | 16:12 |
vknecht | lucky you... I'm hitting this connectivity issue now I did the 3.0.2.8 release :-( https://together.jolla.com/question/202278/sms-does-not-work-after-installing-3028/ | 16:14 |
vknecht | and no 4G/LTE, only for a really short time in CSD | 16:15 |
vknecht | "airplane-mode on, reboot, airplane-mode off" seems to help, but stuck to 3G | 16:16 |
mal | @adampigg yay | 16:18 |
T4 | <KartikGada> Can't any of you try to port Sailfish OS to some Nokia Android smartphone? | 16:19 |
T4 | <KartikGada> Is it possible? | 16:19 |
T4 | <elros34> @vknecht: it's bug in ofono, try mer/1.21+git36 version | 16:20 |
mal | @KartikGada are there custom roms or android kernel/device repo sources for those | 16:20 |
vknecht | @elros34: thanks, will do... | 16:21 |
T4 | <KartikGada> @mal [@KartikGada are there custom roms or android k …], @Akilesh_15 would know better. | 16:21 |
T4 | <KartikGada> @mal [@KartikGada are there custom roms or android k …], Miui is available for Nokia 7 plus | 16:28 |
T4 | <KartikGada> You can check out @nokiaupdates | 16:28 |
T4 | <KartikGada> [Edit] You can check out @nokiaupdate | 16:28 |
T4 | <KartikGada> @mal [@KartikGada are there custom roms or android k …], Here is the link to source codes: https://www.nokia.com/phones/en_int/opensource | 16:32 |
mal | are bootloaders open? | 16:33 |
T4 | <KartikGada> @mal [are bootloaders open?], Naa but there's an unofficial way to unlock them | 16:34 |
vknecht | will my own ofono-1.21+git36 take precedence over 1.21+git38 which is in 3.0.2.8 if I simply put it in testing, or is there something special to do ? | 17:13 |
vknecht | iirc the highest version wins, which is not what I want here, right ? | 17:14 |
mal | what commit is the one breaking that | 17:14 |
T4 | <elros34> @vknecht: I just fake bumped it | 17:15 |
T4 | <elros34> mal: reverting this commit: https://git.merproject.org/mer-core/ofono/commit/549fe2355f6a63059a4ecae904388856185a50ad | 17:16 |
T4 | <elros34> helps little: sms works after reboot with airplane mode on and off but after some time I notice issues connection | 17:17 |
T4 | <elros34> iirc I lost connection and have to reboot to bring it back | 17:20 |
mal | wondering why only some devices are affected | 17:20 |
mal | I haven't noticed any issues on fp2 | 17:21 |
vknecht | @elros34: in fact, I could just reuse your _service file, setting sms-3.0.2 branch right ? | 17:31 |
vknecht | https://build.merproject.org/package/view_file/nemo:devel:hw:motorola:moto_msm8960_jbbl/ofono/_service?expand=1 | 17:32 |
T4 | <elros34> I would suggest sms-3.0.3 branch from testing. As I said earlier reverting this commit (sms-3.0.2 branch) helps with sms issue but breaks connection | 17:33 |
vknecht | ah, well, if it works with 3.0.2.8 too... | 17:34 |
T4 | <elros34> sure it's ofono from 3.0.1 | 17:35 |
piggz | mal: https://paste.gnome.org/pkizxdjvu | 17:35 |
piggz | the above shows 4 touches, top left, right, bottom right, left | 17:35 |
piggz | i think it is maybe the wrong orientation | 17:35 |
piggz | i think that is handled somewhere isnt it? | 17:36 |
mal | piggz: but UI is correct orientation? | 17:36 |
piggz | mal: yes | 17:36 |
piggz | i think the X is flipped | 17:36 |
piggz | if 0,0= top left ? | 17:36 |
vknecht | I wonder, if 3.0.2.8 is not a stop release, maybe I can skip it and go to 3.0.3.9 directly ? | 17:37 |
T4 | <elros34> piggz: touchscreen dts should have flags to flip x/y | 17:37 |
vknecht | it's not mentioned in https://jolla.zendesk.com/hc/en-us/articles/201836347#4 but last update was in february... | 17:38 |
piggz | @elros34 ... ah, it contains: | 17:39 |
piggz | touchscreen-inverted-x; | 17:39 |
mal | piggz: :rotate=180 or :invertx or :inverty to evdevtouch in compositor config | 17:40 |
piggz | mal: https://git.merproject.org/mer-core/qtbase/commit/45326692857c558bea4b263899bcae7ec88535aa yup | 17:41 |
piggz | tho, it didnt work.... | 17:43 |
mal | show what you added | 17:43 |
piggz | mal: | 17:48 |
piggz | LIPSTICK_OPTIONS="-plugin evdevtouch:/dev/input/event0:invertx -plugin evdevkeyy | 17:48 |
piggz | board:keymap=/usr/share/qt5/keymaps/droid.qmap" | 17:48 |
piggz | thats not a double yy .... its ther serial terminal | 17:49 |
piggz | mal: i fixed intert with this: | 18:21 |
piggz | QT_QPA_EVDEV_TOUCHSCREEN_PARAMETERS=/dev/input/event0:invertx | 18:21 |
piggz | and removing lipstick_options | 18:21 |
piggz | however, next issue | 18:21 |
piggz | swiping doesnt work | 18:21 |
piggz | actually, swiping from top works | 18:22 |
piggz | mal: could you paste output of evdev_trace -t <your touchscreen> just moving finger across screen | 20:05 |
mal | piggz: does device matter? | 20:22 |
piggz | mal: just the ts device | 20:28 |
mal | piggz: I mean does it matter which phone | 20:34 |
piggz | mal: well, just one tht works well, im sure any of yours will be fine | 20:35 |
mal | piggz: https://pastebin.com/ZdQeRGwN | 20:36 |
piggz | mal: interesting | 20:37 |
piggz | compare https://paste.gnome.org/pkd0lgwv5 | 20:38 |
piggz | i get absolute events in the middle | 20:38 |
mal | piggz: based on some web search that should be ok also | 20:42 |
mal | but not sure why my phone doesn't have those | 20:42 |
mal | piggz: https://lists.x.org/archives/xorg-devel/2014-June/042886.html | 20:43 |
mal | piggz: so it's android kernel that is misbehaving | 20:44 |
T4 | <Harsh18262> is the jolla store repo down i cant download adaptation plugin using sudo zypper ref command | 20:52 |
mal | piggz: show evdev_trace -i | 20:52 |
mal | which package? | 20:52 |
T4 | <Harsh18262> adaptation0 | 20:53 |
mal | package not repo | 20:54 |
mal | what are you trying to install | 20:54 |
T4 | <Harsh18262> i am trying to use sudo zypper ref command to install plugins requried by the platformsdk but it is giving this error https://paste.ubuntu.com/p/CFNb2bp2mK/ | 20:56 |
T4 | <Harsh18262> someone else also posted the same problem on jolla forums https://together.jolla.com/question/206530/repository-adaptation0-is-invalid-in-platformsdk/ | 20:57 |
mal | you still didn't say what you are trying to install | 20:58 |
mal | I also get the same error and I have no issues | 20:59 |
mal | piggz: I had a look at evdevtouch code in Qt and it ignores ABS_X if there are multitouch values present | 21:00 |
mal | piggz: https://github.com/qt/qtbase/blob/5.6/src/platformsupport/input/evdevtouch/qevdevtouchhandler.cpp#L214 | 21:01 |
mal | @Harsh18262 I also don't understand what you would want to install to sdk, most things happen in the target not sdk | 21:07 |
T4 | <Harsh18262> i am runnig the command from pg 10 from the hadk guide | 21:11 |
mal | so what error do you get when running the install commands? | 21:13 |
T4 | <Harsh18262> Repository 'adaptation0' is invalid. | 21:14 |
T4 | <Harsh18262> full error here https://paste.ubuntu.com/p/CFNb2bp2mK/ | 21:14 |
mal | INSTALL COMMAND, NOT REF | 21:17 |
mal | what the hell does this return: sudo zypper in android-tools-hadk tar | 21:17 |
T4 | <Harsh18262> https://paste.ubuntu.com/p/dksnxJxHsy/ | 21:19 |
T4 | <Harsh18262> sorry | 21:19 |
mal | so you have everything installed | 21:19 |
mal | so you got stuck in a message which is not an error and you have everything already installed | 21:19 |
T4 | <Harsh18262> yes except the adaptation0 plugin due to that i am getting error while running the buildpackages.sh script https://paste.ubuntu.com/p/hJx2SFBGgf/ | 21:21 |
mal | I still cannot understand how it is possible to get that error there | 21:23 |
mal | you see the error there "Fatal: asus-X00td-armv7hl is an invalid sb2 target" | 21:24 |
T4 | <Harsh18262> yes while running rpm/dhd/helpers/build_packages.sh | 21:24 |
mal | show output of "sdk-assistant list" | 21:24 |
T4 | <Harsh18262> found the problem my fault extremely sorry https://paste.ubuntu.com/p/rmfmWVmPFB/ | 21:26 |
mal | @Harsh18262 PORT_ARCH is never arm64 | 21:27 |
mal | fix it in your ~/.hadk.env file | 21:27 |
T4 | <Harsh18262> yes changed to armv7hl | 21:28 |
mal | now reinstall the target with correct name | 21:28 |
mal | you can use sdk-assistant to remove the old wrong one | 21:28 |
mal | also you don't need that SailfishOS-latest-i486 | 21:28 |
mal | it's just in the instructions to tell how to do it when porting to x86 devices | 21:29 |
T4 | <Harsh18262> yes i named the tooling wrong i dont know what was i thinking | 21:30 |
T4 | <Harsh18262> srry target | 21:31 |
mal | tooling is fine | 21:31 |
mal | the other target is useless | 21:31 |
mal | but also tooling probably should be 3.0.3 not 3.0.0 | 21:32 |
T4 | <Harsh18262> is there any command to update it to the latest or i have to remove the old one and then install the new one again i have downloded the latest tooling package | 21:35 |
mal | I would just follow the instructions to install latest one | 21:36 |
piggz | mal: https://paste.gnome.org/p6r64fhcr | 21:40 |
piggz | oddness with x swipes though | 21:41 |
mal | piggz: only x swipes? | 21:44 |
piggz | well, y sort of works, but not great ... i can swipe down to bring up the top menu... | 21:44 |
piggz | but x swipes do nothing | 21:45 |
piggz | reminds me of latte actually | 21:45 |
piggz | not using evdevtouch there worked | 21:45 |
piggz | but, that isnt working here | 21:45 |
piggz | on latte, no lipstick-options worked fine, and qt detected a touchscreen somehow | 21:46 |
T4 | <Harsh18262> https://paste.ubuntu.com/p/gqDxWgzM8t/ | 21:47 |
mal | piggz: but doesn't help on this device? | 21:47 |
mal | @Harsh18262 error is clear, you need to fix kernel defconfig | 21:48 |
mal | @Harsh18262 wait, it doesn't find the android side build | 21:48 |
mal | what do you have in $ANDROID_ROOT/out/target/product/ | 21:49 |
T4 | <Harsh18262> 2 folders generic and X00TD | 21:49 |
T4 | <Harsh18262> folder name prob fixed | 21:50 |
mal | @Harsh18262 I think you did a small mistake, in sfos side device codename should not contain capital letters, so you need to define two different things in droid-hal spec (and reinstall target again using new name) | 21:51 |
mal | so fix the codename in .hadk.env | 21:51 |
T4 | <Harsh18262> ok on it | 21:52 |
mal | and then reinstall target, then do like this https://github.com/mlehtima/droid-hal-fp2-sibon/blob/master/droid-hal-fp2-sibon.spec#L2 | 21:52 |
T4 | <elros34> piggz: you could try to increase /desktop/lipstick-jolla-home/peekfilter/boundaryWidth | 21:53 |
mal | so in your case device should be X00TD and rpm_device x00td, vendor and rpm_vendor can both be asus | 21:53 |
piggz | @elros34 what does that do? | 21:53 |
T4 | <elros34> set edge swipe margins | 21:54 |
T4 | <Harsh18262> so the full file should be the same just replacing the vendr and name or just the first 4 lines? | 21:54 |
mal | @Harsh18262 no, just edit your file and replace the device and vendor stuff | 21:55 |
mal | do not copy my file | 21:55 |
T4 | <Harsh18262> ok | 21:55 |
mal | you can show the file after your modifications if you want | 21:56 |
T4 | <Harsh18262> https://paste.ubuntu.com/p/nkrhNcythf/ i have made it X00TD as i have done the stuff before with capital TD | 22:01 |
piggz | mal: debug output shows the evdevtouch plugin always being loaded for the device.... | 22:03 |
piggz | i even uninstalled that package with that plugin and restarted lipstick! | 22:03 |
piggz | is it compiled in? | 22:04 |
mal | I think it's included in qtbase | 22:06 |
mal | @Harsh18262 you misunderstood, NO capital letter in rpm_device | 22:08 |
piggz | mal: i think it is compiled into the eglfs plugin if not using android... | 22:08 |
piggz | #if !defined(QT_NO_EVDEV) && (!defined(Q_OS_ANDROID) || defined(Q_OS_ANDROID_NO_SDK)) | 22:08 |
piggz | #include <QtPlatformSupport/private/qevdevmousemanager_p.h> | 22:08 |
piggz | #include <QtPlatformSupport/private/qevdevkeyboardmanager_p.h> | 22:08 |
piggz | #include <QtPlatformSupport/private/qevdevtouchmanager_p.h> | 22:08 |
piggz | #endif | 22:08 |
mal | piggz: what does the generic-evdev package contain | 22:09 |
piggz | mal: | 22:11 |
piggz | [root@Sailfish lib]# rpm -ql qt5-plugin-generic-evdev | 22:11 |
piggz | /usr/lib/qt5/plugins/generic/libqevdevkeyboardplugin.so | 22:11 |
piggz | /usr/lib/qt5/plugins/generic/libqevdevmouseplugin.so | 22:11 |
piggz | /usr/lib/qt5/plugins/generic/libqevdevtabletplugin.so | 22:11 |
piggz | /usr/lib/qt5/plugins/generic/libqevdevtouchplugin.so | 22:11 |
piggz | ie, the ones built into the eglfs plugin + tablet | 22:11 |
mal | ok | 22:11 |
piggz | mal: the built in ones can be turned off with QT_QPA_EGLFS_DISABLE_INPUT=1 | 22:15 |
mal | does it help? | 22:15 |
piggz | well | 22:16 |
piggz | i dont get input that way | 22:16 |
piggz | and, when i use the plugin | 22:16 |
piggz | i get the same odd behaviour | 22:16 |
piggz | so, no, not really! | 22:16 |
mal | strange | 22:17 |
piggz | mal: calling it a night, cya! | 22:18 |
mal | piggz: good night | 22:18 |
mal | @Harsh18262 did you now get the spec file correct? | 22:31 |
T4 | <Harsh18262> yes but now i am getting another error which is showing the small "td" i have converted the small "td" to capital td as i have used capital TD everywhere else even in the mountpoint file | 22:34 |
T4 | <Harsh18262> https://paste.ubuntu.com/p/SmtdsGgkZZ/ | 22:34 |
mal | you again misunderstood, spec files also need to have small letters | 22:38 |
mal | did you fix .hadk.env already to use x00td | 22:38 |
mal | you are now completely missing what mean | 22:39 |
T4 | <Harsh18262> is there small letters compulsory i thought they were just for naming the device | 22:39 |
mal | there are some scripts that fail if you use capital letters in device codename | 22:39 |
mal | (except the device one in droid-hal spec as I told before) | 22:39 |
T4 | <Harsh18262> but right now all the other files use capital letters will they be a problem in fture | 22:40 |
mal | fixup-mountpoints still should use the capital letter version | 22:40 |
mal | so probably easier to recreate the config and droid-hal version repos after fixing .hadk.env | 22:41 |
T4 | <Harsh18262> yes | 22:42 |
mal | as those now probably have capital letters in many places | 22:42 |
mal | the droid-hal spec should be fine after renaming | 22:42 |
T4 | <Harsh18262> and what about the failed build dependencies error will that also be solved? | 22:43 |
mal | not sure | 22:43 |
mal | since that never made any sense | 22:43 |
mal | probably could be related to somethign being wrong in naming | 22:44 |
T4 | <Harsh18262> ok | 22:44 |
mal | do you now understand what you need to do | 22:44 |
mal | are you sure .hadk.env file is correct now | 22:45 |
mal | show it | 22:45 |
T4 | <Harsh18262> https://paste.ubuntu.com/p/R4xxR5wtKX/ | 22:45 |
mal | that looks ok | 22:47 |
mal | just to be sure it's used correctly run command "hadk" in sdk | 22:47 |
mal | or exit and re-enter sdk | 22:47 |
mal | latter is safer way | 22:47 |
T4 | <Harsh18262> i think fixed it is not showing this "Env setup for x00td" | 22:48 |
mal | yes, it should show that small letter version, now resetup the config and droid-hal-version repos | 22:49 |
T4 | <Harsh18262> https://paste.ubuntu.com/p/k27t57pYfT/ getting this after correct the codename the error: Failed build dependencies | 22:55 |
mal | ah, go to config submodule folder (i.e. hybris/droid-configs/droid-configs-device) and run git reset --hard 746de04dd318127044d163a4f4f69b1867789eb8 | 23:00 |
mal | then back to $ANDROID_ROOT and try again | 23:00 |
mal | wait | 23:01 |
mal | do this istead: in config submodule folder (i.e. hybris/droid-configs/droid-configs-device) and run git reset --hard 5758d400b50a4d391af268376d716f2456c1690d | 23:02 |
T4 | <Harsh18262> it worked | 23:08 |
T4 | <Harsh18262> btw what did tht commnd do | 23:09 |
mal | it checked out a different git commit because the latest master branch requires not yet released sfos version | 23:10 |
T4 | <Harsh18262> ok so then 58d... should be the commit id | 23:11 |
mal | ? | 23:15 |
T4 | <Harsh18262> what is this part of the command 5758d400b50a4d391af268376d716f2456c1690d? | 23:15 |
mal | yes, the last parameter is the commit id | 23:15 |
mal | in this case that is the latest commit in this branch https://github.com/mer-hybris/droid-hal-configs/tree/upgrade-3.0.3 | 23:16 |
mal | it's a good idea to read some basics of how git is used, you probably will need to use it later also | 23:17 |
T4 | <Harsh18262> ok | 23:18 |
mal | btw, which android base are you using? | 23:20 |
T4 | <Harsh18262> lineage 15.1 android 8.1 | 23:23 |
mal | ok, did you do the stuff in faq for 15.1 porting, you must have done some of if, check it again, the config package needs changes | 23:25 |
T4 | <Harsh18262> which faq | 23:28 |
mal | https://public.etherpad-mozilla.org/p/faq-hadk | 23:28 |
mal | find LOS15.1 porting part in there | 23:29 |
T4 | <Harsh18262> Copy files from https://github.com/mer-hybris/droid-config-sony-nile/tree/91c15efb576c29a9d41cc4cd1d40c62ddcce9824/sparse/usr/libexec/droid-hybris/system/etc/init to your config repo (to hybris/droid-configs/sparse/usr/libexec/droid-hybris/system/etc/init) and rebuild config packages using "build_packages.sh -c" | 23:32 |
T4 | <Harsh18262> Copy files from https://github.com/mer-hybris/droid-config-sony-nile/tree/91c15efb576c29a9d41cc4cd1d40c62ddcce9824/sparse/usr/libexec/droid-hybris/system/etc/init to your config repo (to hybris/droid-configs/sparse/usr/libexec/droid-hybris/system/etc/init) | 23:33 |
T4 | <Harsh18262> how to do this | 23:33 |
mal | either just click each file and then select Raw above the content to get the raw text file and the save the file to correct place, or clone the repo to somewhere and copy the files from there to correct place | 23:35 |
T4 | <Harsh18262> ok | 23:35 |
T4 | <Harsh18262> hybris-hal means the packages which are built using the build_packages.sh script right? | 23:41 |
mal | no hybris-hal is the android side build, droid-hal packages then contain what was built there | 23:49 |
mal | build_packages.sh build many other things also | 23:49 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!