Wednesday, 2020-06-17

r0kk3rz@edp_17 you'll need lbt to patternise those repos as well00:22
T42<edp_17> Thank you r0kk3rz, first I have to fix droid-hal-version-i9100 in there because that is unresolvable at the moment.07:27
T42<ankaos> İnteresting error have my device.07:49
T42<ankaos> A1 have two sim kart slot.07:49
T42<ankaos> Add sim cart slot 1 device restart07:49
T42<ankaos> Add sim cart slot 2 dwvice open07:49
Tofeankaos: FYI, I have it in slot 1, and that works; I never tested slot 207:51
Mister_Magisterguys (mal, TheKit) i need to change lipstick window size to use less screen, in qml it's too low level and in hwc plugin it doesn't change so i need to change it somewhere in between, ideas?07:52
T42<ankaos> Tofe: tested slot 1. Device is bootlop08:03
Tofeok, strange08:33
T42<ankaos> add 2 simcard. device is bootloop08:34
Mister_Magisterye hwc plugin either spits at you for not validating screen or does nothing08:41
T42<Coltor %lastname%> Hi guys,Does sfos plan to support Android 10?08:51
T42<Coltor %lastname%> https://github.com/libhybris/libhybris/pull/42508:51
T42<Coltor %lastname%> https://github.com/Thaodan/hybris-patches/tree/hybris-sony-aosp-1008:52
T42<Coltor %lastname%> this repo not update any more08:52
Mister_Magisterhwc2_compat_layer_set_display_frame(layer, 0, 0, width, 0); even setting it to 0 has no effect08:55
Mister_Magisterand yes this is correct file08:55
T42<edp_17> Guys, Using the new hadk and based on what you said here I am rebuilding the packages with a hope that will fix some issues on my Note 4 (treltexx).09:36
T42<edp_17> When I ran the "rpm/dhd/helpers/build_packages.sh --gg" I got: "* Not building audioflingerglue and pulseaudio-modules-droid-glue due to pulseaudio-modules-droid-hidl in patterns"09:36
T42<edp_17> Not building audioflingerglue and pulseaudio-modules-droid-glue as I removed them from the pattern file but I cannot find pulseaudio-modules-droid-hidl package either.09:37
T42<elros34> look at PR mentioned by mal yesterday or build hidl manually09:41
Mister_Magisteranyone?09:44
T42<edp_17> Thanks. I missed that. So do I need to edit the local build_packages.sh and re-run the "rpm/dhd/helpers/build_packages.sh --gg"?09:44
TofeMister_Magister: I'm just passing by, but to me the hwc layer is always fullscreen09:46
Mister_MagisterTofe: that is correct i cannot unfullscreen it :<09:46
Mister_Magistereven tho it has options :<09:46
Mister_Magisteri need to unfullscreen it09:47
TofeMister_Magister: what about the compositor window09:47
Mister_Magisteridk about it09:47
Mister_Magisterwhere to find it?09:48
Tofeit's lipstick itself, or the root qml Compositor component09:48
Tofebut take my hints with care, I haven't played with a Jolla device quite some time09:49
Mister_Magisteri would love to play with modifying lipstick but i can't compile it09:49
Mister_Magisterand noone on build.merproject.org was able to either09:49
T42<elros34> @edp_17 no, https://github.com/mer-hybris/droid-hal-device/pull/271/files the are not in -gg section but -mw09:50
T42<edp_17> @elros34: This is how I meant, I need to edit the local build_packages.sh according that pr and I was not sure which one to re-run. I thought -gg but now it is clear that is -mw. Thanks.09:54
Mister_MagisterTofe: what about surfaceDamage?10:02
T42<elros34> what issue you have with compiling lipstick-qt5? I compile It for every release locally10:04
Mister_Magister@elros34 how10:05
Mister_Magisteri get fatal error: notificationmanageradaptor.h: No such file or directory10:06
T42<adampigg> @elros34 [what issue you have with compiling lipstick-qt …], thats not a package requiring local mw build afaik10:06
T42<elros34> yes but I need patch because glreadpixel fails on my device10:07
T42<adampigg> ah10:07
Mister_Magister@elros34 how do you build it10:07
T42<elros34> Mister_Magister do you checkout correct tag?10:07
Mister_Magisterno10:07
T42<elros34> regualr mb2 build10:07
Mister_Magisterjust got master ^^'10:07
Mister_Magisteri'm dumdum10:07
T42<elros34> side note: add QMAKE_STRIP = strip to plugin.pro and replace it in src.pro otherwise it will be not striped10:11
T42<elros34> if you are building in platfromsdk, I guess in obs it handled somehow10:12
TofeMister_Magister: surfaceDamage will probably just end in incorrect display of surfaces10:12
Mister_Magisterkk10:12
Mister_Magister@elros34 striped?10:13
Mister_Magisterapparently latest target is still 3.2.1.20 not 3.310:13
TofeMister_Magister: if you want to "reserve" a space on the screen, that's the compositor job, and hopefully with lipstick/qtwayland it's all in QML10:13
T42<elros34> yeah from unneeded symbols10:13
Mister_MagisterTofe: not all QML cause i want to limit it for SDL aswell10:14
TofeMister_Magister: you're looking for trouble... but it's still the compositor job, if it's for multiple "unknown" apps. I would be looking in the compositorwindow source code to see what can be done. But it probably isn't going to be trivial...10:21
Mister_MagisterTofe: it needs to be done10:21
Mister_Magisterthe best would be to make patch with environmental variable of how much you wanna shift it10:21
Mister_Magisteras to answer why is there are thing that noone likes called notch10:22
Mister_Magisternot the swedish one10:22
Mister_Magisterseems like it's building!10:25
Mister_Magisteroh… no longer10:25
TofeMister_Magister: another lead is patching SDL, somehow10:25
Mister_MagisterSDL? why?10:25
TofeMister_Magister: you wanted to limit it to SDL ?10:25
TofeOr did I misunderstand10:26
Mister_Magisterif i limited it in compositor SDL would be limited too right10:26
Mister_Magisterbasically i wanna entire screen to be bit shorter10:26
Tofeok; then it's the compositor, yes10:26
TofeI don't have the compositor's root QML file at hand, but that's probably where it should be patched10:27
Mister_Magistercompositor has root qml file?10:27
TofeWell, iirc ... But again I might be wrong here10:28
Mister_Magister@elros34 /srv/mer/toolings/asus-5z/opt/cross/bin/armv7hl-meego-linux-gnueabi-ld: /srv/mer/targets/asus-5z-armv7hl/usr/lib/libQt5Gui.so: undefined reference to `operator delete(void*, unsigned int)@CXXABI_1.3.9' :C10:28
T42<elros34> as every qml app?10:28
Mister_Magisterwho said compositor is qml app10:28
Tofelipstick uses qtwayland, and using QML to describe the compositor behavior is one great advantage of qtwayland10:29
Mister_Magisternice10:29
Mister_Magisterbut it doesn't build :<10:29
T42<elros34> sb2 ssu re returns 3.3.0.16?10:30
Mister_Magisteryeah i just updated it10:30
Mister_Magistercause latest is still 3.2.110:30
T42<elros34> so clean leftovers from previous build10:30
Mister_Magisteroh where are they10:30
T42<elros34> dunno, use git clean -xdf & git checkout -- .10:30
TofeMister_Magister: for example, in glacier's UI, you'll probably want to change this: https://github.com/nemomobile-ux/glacier-home/blob/master/src/qml/compositor.qml#L12210:36
TofeWith all the guys patching the compositor's qml code I thought there would already be something for the notch area :p10:40
Mister_MagisterTofe: aye margin-top and shit :P10:40
Mister_MagisterTofe: neh noone cares about it10:40
Mister_Magisterand 5z is like… i don't think there is second notch phone… or there is one10:40
Mister_Magister@elros34 same thing :<10:41
TofeMister_Magister: yes, a margin would be what I'd try first10:41
Mister_Magister:/10:41
T42<elros34> do you have updated tooling also?10:42
Mister_Magisterno shoot'10:42
Mister_Magisterhow do i get onto tooling10:43
T42<elros34> there were some script in tooling directory10:44
T42<elros34> latest > 3.2.1.x cause a lot of headache.  I don't understand why it's still not updated.10:44
Mister_Magisterye latest tooling and target are 3.2.110:44
Mister_Magisterheyyyyyyyy it worked!10:50
Mister_MagisterTofe: sadly there is no qml10:52
T42<elros34> ? of course there is qml: rpm -ql lipstick-jolla-home-qt510:52
Mister_Magisteri can't find any single qml file in source10:53
Mister_MagisterQWaylandCompositor::setOutputGeometry(QRect(0, 0, width(), height())); hmm let's find every height and -1000 it10:53
TofeMister_Magister: it's not open, so it's only on device10:54
Mister_Magisteryeah10:55
*** kimmoli_ is now known as kimmoli10:55
Mister_Magisterhey i didn't need to compile lipstick at all10:59
Mister_Magisterehh it's working super weirdly10:59
TofeMister_Magister: you modified the qml on device ?11:00
Mister_Magisteryes11:00
Tofewhat's weird ? rotation maybe?11:00
Mister_Magisterno… the shift is being added up11:03
Mister_Magisterlike… on lockscreen top edge is 2x lower than on home screen11:03
Mister_Magisterand app drawer is below home screen top edge11:04
Mister_Magistersame is top menu11:04
TofeMister_Magister: the margin might not be at the right place; or maybe they do some weird reparenting or so11:05
Mister_Magisteryeah kinda, had same effect while editing ApplicationWindow.qml11:05
Mister_Magisteri have no idea really11:17
T42<ankaos> https://paste.ubuntu.com/p/jXt6Mmz3cy/11:53
T42<ankaos> usr/lib/ofono/test/list-modems output11:53
T42<ankaos> Tofe: question this is. but answer dont say me O.o11:56
T42<ankaos> volumes 0 O.o11:56
T42<Coltor %lastname%> [root@Xperia10-DualSIM nemo]# EGL_PLATFORM=hwcomposer test_hwcomposer12:00
T42<Coltor %lastname%> Segmentation fault12:00
T42<Coltor %lastname%> Hi guys, why execute libhybris-test-gl* failed in sfos ?12:00
T42<Coltor %lastname%> [root@Xperia10-DualSIM bin]# EGL_PLATFORM=hwcomposer test_hwc212:01
T42<Coltor %lastname%> failed to create composer client12:01
T42<Coltor %lastname%> Aborted12:01
T42<Coltor %lastname%> my sfos version is 3.3.0.1612:11
T42<ankaos> not use root12:17
T42<ankaos> $EGL_PLATFORM=hwcomposer test_hwc212:18
T42<Coltor %lastname%> [nemo@Xperia10-DualSIM ~]$ export EGL_PLATFORM=hwcomposer test_hwc212:19
T42<Coltor %lastname%> [nemo@Xperia10-DualSIM ~]$ echo $EGL_PLATFORM12:19
T42<Coltor %lastname%> hwcomposer12:19
T42<Coltor %lastname%> [nemo@Xperia10-DualSIM ~]$ test_hwc212:19
T42<Coltor %lastname%> failed to create composer client12:19
T42<Coltor %lastname%> Aborted12:19
T42<Coltor %lastname%> failed too12:19
T42<ankaos> whay use export?12:20
T42<Coltor %lastname%> [nemo@Xperia10-DualSIM ~]$ $EGL_PLATFORM=hwcomposer test_hwc212:21
T42<Coltor %lastname%> -bash: wayland=hwcomposer: command not found12:21
T42<Coltor %lastname%> [nemo@Xperia10-DualSIM ~]$ EGL_PLATFORM=hwcomposer test_hwc212:21
T42<Coltor %lastname%> failed to create composer client12:21
T42<Coltor %lastname%> Aborted12:21
T42<elros34> it can be anything, without full logs is impossible to tell. At start check journalctl --no-page12:23
T42<elros34> make sure droid-hal-init runs correctly12:24
T42<Coltor %lastname%> EGL_PLATFORM=hwcomposer strace test_hwc2  https://paste.ubuntu.com/p/vbzF5hdKkr/12:24
T42<Coltor %lastname%> @elros34 [make sure droid-hal-init runs correctly], i installed the offical SFOS's package for SONY xperia 10.12:25
T42<Coltor %lastname%> i think the droid-hal-init should runs correctly12:25
T42<elros34> so maybe explain what you are trying to do12:27
T42<ankaos> @ankaos [https://paste.ubuntu.com/p/jXt6Mmz3cy/], @elros34 where is problem?12:29
T42<Coltor %lastname%> i just want to debug libhybris code on sfos's device.12:29
T42<elros34> @ankaos if you are trying to fix ril then first thing is to grab /proc/last_kmsg or pstore content after it reboots itself. Then maybe enable persistent logging in journal (faq)12:30
T42<ankaos> @elros34 [@ankaos if you are trying to fix ril then firs …], no ı look voice call12:31
T42<elros34> did you finally install hidl module?12:31
T42<ankaos> @elros34 [did you finally install hidl module?], no12:36
T42<ankaos> dont find hidl module12:36
T42<elros34> why?12:36
T42<elros34> apply this https://github.com/mer-hybris/droid-hal-device/pull/271/files and run build_packages.sh --mw12:37
T42<ankaos> now okey test12:39
T42<elros34> and next time tell that you coudn't do something instead showing new logs12:40
T42<ankaos> @elros34 [why?], I cannot follow updates.12:41
T42<edp_17> @elros34: I am trying to upload the proc/last_kmsg that you recommended into ubuntu pastebin but it seems it is too large to upload. How can I show you this log to help me to find out why the rild is crashing on my port?12:53
T42<edp_17> I have rebuild based on the new hadk but installing the pulseaudio-modules-droid-hidl and the new stuff didn't solve the issue. (I hoped that it would.)12:55
T42<elros34> last_kmsg is only usefull when your device crash, not when some processes12:55
T42<elros34> this file containst just kernel log from last kernel crash12:56
T42<edp_17> Oh, I see.12:59
T42<edp_17> After I rebuilt all the packages I expected the vibra to work, but it still doesn't.13:00
T42<edp_17> And still it says no SIM inserted, so no calls/msg/data.13:00
T42<elros34> did you apply patch or update system/core repo?13:01
T42<edp_17> What patch? No, I have not updated the system/core repo? How do I dod that?13:02
T42<elros34> check yourself last commit from android_system_core13:07
T42<edp_17> I have applied the https://github.com/mer-hybris/android_system_core/commit/a0b101d77f29a60c6b7d2fc6badf33298134fc73 on the device and rebooted. Still not vibrating.13:13
T42<elros34> does it work when you write to /sys/class/timed_output/vibrator/enable?13:14
T42<edp_17> Yes, it does work for a moment, then it's gone and the value there goes back to 0.13:16
T42<elros34> so it's correct path. Did you reboot device? do you have vibra plugins installed for ngfd and qt?13:17
T42<edp_17> ngfd-plugin-native-vibrator is installed and yes, I did reboot after I changed init.rc. (I commented out that line rather than deleting but it shouldn't make any difference.)13:19
T42<elros34> what about qt vibra package? have you tried to write to tha tsysfs file as nemo?13:30
T42<edp_17> qt5-feedback-haptics-native-vibrator is also installed13:31
T42<edp_17> No, I have tried to write into there as root. I try it as nemo now.13:32
T42<edp_17> Yep, as nemo I got: permission denied.13:33
T42<edp_17> -rw-rw-r--    1 system   system        4096 Jun 17 14:31 /sys/class/timed_output/vibrator/enable13:33
T42<elros34> so you didn't apply that patch13:35
T42<edp_17> I did change init.rc on the device.13:35
T42<edp_17> I have manually changed the owner of that file and it works now. Thank you!13:39
T42<edp_17> Plus I have applied the fix on my local repo.13:40
T42<edp_17> I don't understand why it didn't work when I changed it in /init.rc on the device.13:40
T42<elros34> it's hard to believe that it doesn't work: grep '/sys/class/timed_output/vibrator/enable' /init*rc13:42
T42<edp_17> 3 lines:13:43
T42<edp_17> I see now.13:44
T42<edp_17> The "chown system system /sys/class/timed_output/vibrator/enable" was in two places!!! I removed the first and added the fix, but the second has overwritten that.13:45
T42<edp_17> I have the same scenario in my local repo!13:45
T42<edp_17> In mer/android/droid/system/core/rootdir/init.rc I have this line "hown system system /sys/class/timed_output/vibrator/enable" twice!!13:46
T42<edp_17> How is it possible as I have never touched that file before?13:48
T42<elros34> git should record all changes on that file13:49
T42<edp_17> Yep, it was there twice. The latest commit removed both and changed the owner: https://github.com/mer-hybris/android_system_core/commit/87a761850ba5e006cfc16ddaa8b32bdd277d139113:53
T42<edp_17> The mystery is solved. 😊13:53
T42<edp_17> @elros34: You said the the /etc/gst-droid/gstdroidcamsrc-0/1 confs are no longer needed but the current/latet hadk still says that we need to create them.14:00
T42<edp_17> However the command "mk-cam-conf 0 /etc/gst-droid/gstdroidcamsrc-0.conf" fails to create.14:00
T42<edp_17> So I am not sure.14:00
T42<elros34> I removed those files long time ago, make your own a decision:)14:03
T42<edp_17> I believe you in that they are not needed as the camera works without them. 😊 However In Settings/Apps/Camera the Mpix is a ? for the photo resolution 16:9.14:08
T42<edp_17> Plus the camera app cannot be used after I record a video. I need to reboot the phone to get the app working again. 😊14:09
T42<ankaos> Miklos. I have a question.14:09
T42<edp_17> However I think this is not a porting question.14:09
T42<ankaos> 😂14:09
T42<ankaos> @edp_17 [However I think this is not a porting question …], 😢14:10
T42<edp_17> @ankaos: Try to rebuild gst-droid.14:10
T42<elros34> AFAIK jolla-camera settings are in dconf db (droid-camres output) not gstdroid*conf14:10
kimmolicamera app not working after video - check audiopolicyservice from logcat14:11
T42<edp_17> Thanks!14:11
kimmolii.e. https://github.com/sailfishos/droidmedia/pull/1114:12
T42<adampigg> kimmoli: @edp_17 see final comment https://github.com/sailfishos/droidmedia/pull/11#issuecomment-54649426314:13
T42<edp_17> Thank you. I guess after adding this into the env.mk on my local repo, I need to re-build droidmedia?14:18
T42<adampigg> yes14:18
T42<edp_17> Is it necessary to re-build anything else like droid-hal?14:24
T42<ankaos> @edp_17 [@ankaos: Try to rebuild gst-droid.], thanks14:24
T42<edp_17> @adampigg: Thanks, it helped with the video recording.14:28
T42<edp_17> You may help with two other questions: a., when I swap the camera from front to back your app stuck with resolution 320x200 and I need to restart the app to get it to work again. b., When I try to play a recorded video from the Gallery app, I get a 'Could not load the video'14:30
T42<edp_17> When I do a 'GST_DEBUG=droid*:5 jolla-gallery' on the device and trying to play a video I get an 'Error - "No valid frames decoded before the end of stream"' Is this something that is causing the video playback issue and can I fix somewhere?14:41
T42<adampigg> does recording work with jolla-camera?14:49
T42<adampigg> i need to give my app a little attention14:49
T42<adampigg> i thought the issue wth resolution sticking was resolved a long time ago :/14:50
T42<edp_17> @adampigg: Yes, the jolla-camera records video but once I stop the recording and try to take some pictures or record another video, it goes blank and I need to reboot the phone.14:53
T42<edp_17> I thought that pr would fix this or perhaps I didn't apply it properly. I added the "MINIMEDIA_AUDIOPOLICYSERVICE_ENABLE := 1" without the quotes into the env.mk file. Should I add it with the quotes?14:55
T42<adampigg> You probably also need audioflinger14:59
T42<edp_17> You mean audioflingerglue? Isn't what we should stop using from now on?15:00
T42<edp_17> What about if I add FORCE_HAL:=1, does it make any difference?15:01
T42<elros34> how about checking logcat?15:03
T42<edp_17> 😊 Yeah, it could help.15:04
T42<edp_17> logcat when I tried to play video: https://paste.ubuntu.com/p/VknngfbW6W/15:05
T42<edp_17> logcat when I recorded a video with jolla-camera and tried to take a picture at the end: https://paste.ubuntu.com/p/zwwqbtZM9k/15:08
T42<elros34> doesn't last line ring any bell for you?15:13
T42<elros34> also you were supposed to get rid of that tvout service15:14
T42<edp_17> I have removed that tvout a few times on the device but when I install the image again, it comes back. 😊15:20
T42<edp_17> Re the line, are you referring to "AudioPolicyService not published, waiting..."?15:21
T42<adampigg> Yes, seems like you havnt enabled it correctly15:22
T42<edp_17> I'll try to add that with the quotes. Thanks.15:22
T42<elros34> silly question but: do you rebuild droidmedia?15:24
T42<edp_17> Yes, I did and installed that on the device.15:24
malhow did you do it?15:26
T42<edp_17> rpm/dhd/helpers/build_packages.sh --build=hybris/mw/droidmedia-localbuild15:29
T42<elros34> that's all?15:30
T42<edp_17> Yes. Plus before this I added the line into the env..mk15:30
T42<elros34> ... make droidmedia, then build_packages.sh --gg15:31
T42<edp_17> Ok, I'll try this.15:32
T42<elros34> the command you used just put some old droidmedia files to rpm15:34
mal"build_packages.sh --gg" is the simpler new way to build droidmedia and gst-droid15:38
malof course make droidmedia is needed15:40
T42<edp_17> The make droidconfig doesn't work. Either in habuild nor in platform. How can I rebuild droidmedia?16:50
T42<edp_17> I ran build_packages.sh -gg16:50
T42<edp_17> But I am not sure that's enough.17:01
T42<elros34> of course it's not, you need to build binary files via: make droidmedia. Could you tell what do you mean by 'it doesn't work'?17:08
T42<edp_17> I meant, the command didn't work.17:33
T42<ankaos> camera only black secreen.18:18
T42<ankaos> and `mk-cam-conf 0 /etc/gst-droid/gstdroidcamsrc-0.conf ` Failed to start pipeline say me18:19
Tofeankaos: for me mk-cam-conf works now; however, I'm now using the version from end of february for gst-droid, droidmedia etc18:21
T42<ankaos> "failed to start playback" why say me?18:26
T42<ankaos> @Tofe [ankaos: for me mk-cam-conf works now; however, …], how to work mk-cam-conf18:30
Tofeankaos: take an earlier version of gst-droid, droidmedia, etc. Or, find why it doesn't work with latest version.18:31
T42<elros34> Tofe we don't use that tool anymore, it's not needed18:32
Tofeah, ok, well , one problem goes away :)18:34
T42quertyvs was added by: quertyvs19:06
malnobody should use mk-cam-conf anymore!19:23
Tofemal: I only ran it because it was there ;)19:24
malI think droid-camres is not working at the moment because of some changes19:25
Tofedump-resolutions is working fine here19:26
malhmm, actually droid-camres does seem to work on fp2 3.3.019:26
mal@ankaos did droid-camres work for you?19:29
T42<ankaos> mal: only black screen19:29
maldroid-camres is a commandline tool to create camere configs19:29
T42<ankaos> mal: ""failed to start playback" say me,19:29
malas nemo?19:30
T42<ankaos> nemo????19:30
malI mean what user are you using the terminal where you run droid-camres?19:30
T42<ankaos> yes nemo19:31
T42Herrie1982 was added by: Herrie198219:33
T42<elros34> mal: the point is mk-cam-conf is still in updated HADK so people will keep using it19:37
maloh, then I need mention about that so it will be removed20:41
Tofemy viewfinder is still ko, but I could take a photo. Progress!21:20

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