Wednesday, 2022-03-16

T42<edp_17> On this forum, I don't think that need to mention no blobs. If I was happy with what current android offered, I wouldn't be here. :)06:11
T42<edp_17> mal, @elros34 : Using focal chroot, the hybris-hal building has completed. I got some warnings and this error "cp: bad 'out/target/product/treltexx/boot.img.lok': No such file or directory" but "build completed successfully".07:22
T42<edp_17> @elros34 : When building droid-hal, I got this https://paste.ubuntu.com/p/KZw6C8Z6gB/07:38
T42<edp_17> I've seen you recommended to comment out /default.prop from droid-hal-device.inc.07:38
T42<edp_17> Is that really the solution? If so, why this wasn't a problem on other android bases?07:39
ThaodanI see you run a 3.10 kernel that can be an issue later down the line since older kernels usually have bugs when it comes to mount bind07:49
T42<edp_17> Thaodan: Yeah, I know that is an old kernel. Fingers-crossed it will be okay.07:51
T42<edp_17> When I commented that /default.prop in droid-hal-device.inc, I got other errors: https://paste.ubuntu.com/p/7Yn5RzW3Tv/07:52
Thaodancheck if straggler files is up to date07:52
T42<edp_17> Thanks.07:54
T42<edp_17> It looks like there are some straggler_files defined. Perhaps I need to add more from this error.07:55
T42<edp_17> Hmm, except the default.prop, all those are already added to straggler_files.08:17
T42<edp_17> Okay, I've found the solution. Comment /default.prop in rpm/dhd/droid-hal-device.inc AND remove all straggler files from rpm/droid-hal-$DEVICE.spec. This way, droid-hal has built. 👍😃08:28
jusapiggz: commented to your commit09:36
T42<adampigg> Ooo, thx09:37
piggzjusa: still goes to speaker, and toggling doesnt put to earpiece09:56
jusahmh can you paste pulseaudio logs?10:02
piggzjusa: ofc...10:03
piggzjusa: here is everything https://gist.github.com/piggz/514062ed4afc9d9bf48163ba3553ef1b .... starts with a journalctl -b, then a journalctl -f as i make an incoming call .... there are some gaps where I have annotated such as << about to press speaker button >>10:13
piggzmal: Thaodan: any idea why lipstick would fall back to swrast with new mesa? some devs trying to tell me its a compostor issue. https://paste.mozilla.org/atocH50y#L6111:01
ThaodanWhy is it a compositor issue?11:25
Thaodanpiggz: ^11:25
piggzThaodan: *shrug*11:25
piggzthey say the compositor chooses the driver11:26
piggzpersonally i dont agree, but ive not much experience with all these egl internals11:27
piggzThaodan: so, lipstick itself is rendering with LIMA i think ... but, then when apps open, they use SWRAST, would that be right?11:30
piggzbecause, if i remove swrast-dri.so, lipstick still opens, but apps cant load11:30
piggzand they complain about missing swrast11:31
T42<elros34> maybe missing some env variable11:31
jusapiggz: I guess journal rate limiter is on? :/11:32
Thaodanyeah11:33
Thaodanpiggz: try opening fingerterm and then run env11:33
Thaodanthen you can see if something is missing11:33
jusapiggz: hey, could you use this to get the logs? https://gist.github.com/jusa/91a86d589b0c2c58e95c9d63247686e811:33
piggzjusa: sure..11:34
jusarun once, reboot, try the calling thing a bit, then re-run the scirpt11:34
piggzjusa: Thaodan: battery died, both jobs stalled whil i take car to garage!11:39
piggzThaodan: fingerterm env https://paste.mozilla.org/jVxDp7de13:05
piggzjusa: https://www.piggz.co.uk/index.php/s/X3zK7jA9wFqnSmT13:10
malpiggz: have you checked strace for the mesa issue?13:15
Thaodanpiggz: Did you start the app from fingerterm?13:15
piggzThaodan: i ran env from fingerterm yes... and it was painful!13:16
piggzmal: do irun strace on an app, or on lipstick?13:16
malnot sure :)13:17
Thaodanpiggz: I mean the example app from there13:17
Thaodanstrace on the example app13:18
Thaodanlipstick would be much harder to decifer13:18
piggzThaodan: which example app?13:18
piggzif a run strace on fingerterm, i can see swrast_dri.so get loaded13:20
Thaodanpiggz: the app you got the mesa output from13:21
ThaodanIs there no other dri present?13:22
piggzah, eglinfo13:22
Thaodanyes that one13:22
ThaodanI assumed a.out = example app13:22
piggzyeah, i just ran gcc on the source file...13:23
piggzThaodan: this is eglinfo ran from fingerterm. https://paste.mozilla.org/LZndLwFy ... you can see GBM, Surfaceless and Device platforms use lima, but wayland is using swrast13:26
piggzegl debugging looks like https://paste.mozilla.org/wRuo8Q9a13:29
malpiggz: do you have full build log of mesa build?13:30
piggzmal: yes, its on obs...13:31
piggzhttps://build.merproject.org/build/nemo:devel:hw:native-common/sailfish_latest_aarch64/aarch64/mesa/_log13:31
malpiggz: use build.sailfishos.org :)13:32
malinstead of that old url13:32
piggzmal: when i type in build. ... ff always siggests old url :)13:34
malcan you grab a strace of that same run you did just now?13:37
Thaodanhttps://doc.qt.io/qt-5/embedded-linux.html offers some debug helpers notably enabling these debug categories: qt.qpa.egldeviceintegration and t.qpa.eglfs.kms13:37
piggzmal: https://paste.mozilla.org/Z3nHXp2w14:06
T42<elros34> in this strace Wayland platform is not loaded at all: wayland-0 -> ECONNREFUSED14:52
piggzyeah, sorry, i messd that one up...14:57
piggz@elros34: mal: https://paste.mozilla.org/o0KQzGZV14:58
T42<elros34> so it makes connection to compositor and then decide to use swrast_dri.so15:04
malwhere is the selection done?15:05
T42<elros34> somewhere between 858-874, so you really needs to debug in at higher level than strace15:08
T42<elros34> maybe it would be easier with https://github.com/sailfishos/qtwayland/tree/mer-5.6/examples/wayland/qml-compositor instead lipstick15:09
T42<edp_17> Building hybris-hal has been running over 7 hours now. Is it normal? (los 17.1)15:50
T42<Mister_Magister> depends on cpu16:03
Mister_Magisterand ram16:03
Mister_Magisterand memory speed16:03
Mister_Magisterand disk speed16:03
T42<edp_17> Thanks. Great. :( This process is killing my PC. (i3 - 4 cores, 8GB ram, sata  hdd)16:19
T42<edp_17> Building 14.1 takes few minutes but this...16:20
mal@edp_17 did you remember to apply patches?16:21
malalthough I would assume it would break if patches were not applied16:22
T42<edp_17> Nope. I mean not yet.16:23
T42<elros34> so you are building android:)16:24
T42<edp_17> Oh, you were talking about those in hadk-faq (hybris 16 and 17.1)? Yes, I've applied them.16:25
T42<edp_17> I've already built this hybris-hal yesterday and it didn't take this long.16:25
T42<edp_17> But I had to replace the trusty chroot with focal and updated something else in kernel, then this thing started to rebuild hybris-hal from scrach again.16:27
T42<edp_17> Now it's completed. And the best part: "failed to build some targets (06:21:45 (hh:mm:ss))"16:28
T42<elros34> you forgot about -jX?16:28
T42<edp_17> Aahh, I can start it again. 😭16:28
T42<edp_17> No, I didn't forget that. I used: make -j$(nproc --all) hybris-hal droidmedia16:29
maldid you see any progress in the build or was it stuck?16:30
T42<edp_17> I've seen the progress. (percentage counter counting and the files in compilation were shown)16:32
T42<edp_17> Should I build audioflingerglue with command: "make -j$(nproc --all) $(external/audioflingerglue/detect_build_targets.sh $PORT_ARCH $(gettargetarch))"?16:34
T42<edp_17> mal: @elros34 ^^16:39
T42<elros34> no16:43
T42<edp_17> Great. Thanks.16:43
T42<edp_17> Does it hurt if I did? 😊16:45
T42<edp_17> Well, it's just failed, so doesn't matter anymore.16:46
*** piggz_ is now known as piggz17:16
deathmist@slavamon https://github.com/mer-hybris/dummy_netd/pull/4 (& https://github.com/mer-hybris/bluebinder/pull/22) :)18:22
T42<Hogir> Hello! Can you help me?18:48
T42<edp_17> Hogir : It depends. :) With what?19:16
piggzdeathmist: who would use a non systemd system??? :D19:19
Thaodanpiggz: Esp on a mobile device..19:19
Thaodanbut I guess NIH people19:19
deathmistpiggz: I do in fact and I prefer it that way for various reasons. I also would like to be able to do so on my phone in the very near future20:26
T42<Hogir> I want to switch my phone system to Selfish (re @edp_17: Hogir : It depends. ...)20:38
T42<edp_17> Hogir : What phone?20:52
T42<edp_17> Oh, and that's Sailfish not selfish.20:54
T42<Mister_Magister> i hate it when that happens22:36
T42<Hogir> Redmi note 8 pro (begonia) (re @edp_17: Hogir : What phone?)23:31
T42<Hogir> Sorry about the mistake23:33

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