Saturday, 2023-02-04

T42<rfasciani> Anyone know if Flatpak works on Xperia 5?10:45
rinigus@rfasciani: flatpak doesn't work for any aarch64 sfos devices. I have hit some blocks and couldn't resolve them11:29
T42<vsvoid> /system16:00
T42<rfasciani> Cheers. (re @SailfishFreenodeIRCBridgeBot: <rinigus>@rfasciani:...)16:07
T42<vsvoid> Okay so I have run into something am not understanding, the dynamic partition issue should only affect my system vendor and product right?16:55
T42<elros34> it's device specific16:56
T42<elros34> byt most likely system and vendor16:57
T42<vsvoid> Yeah I read that part but I flashed my hybris-boot and it couldn't even mount userdata16:57
T42<elros34> so at which stage your device is now? telnet 23 or 2323?16:58
T42<vsvoid> telnet 2316:58
T42<elros34> read what you see on screen, it should be mention where to search for switch failure reason.16:59
T42<elros34> did you format  useradata like in instruction?17:00
T42<vsvoid> Yes,17:00
T42<vsvoid> the issue is /dev/block/bootdevice is not there17:00
T42<elros34> ah so common issue, wrong fixup-mountpoints17:00
T42<vsvoid> How? I just verified again the fixup-mountpoints are the same and I reflushed lineage then rechecked17:03
T42<vsvoid> Anyways let me check incase there is something am missing17:04
T42<elros34> porters creates it wrong way in so many possible ways :)17:04
T42<vsvoid> https://pastebin.com/DuEq90LJ17:23
T42<vsvoid> 17:23
T42<vsvoid> Isn't that the correct way to do it?17:23
T42<elros34> no idea whether it's correct because as in hadk-hot instruction you need android's fstab and block device mapping to create fixup-mountpoints17:25
T42<vsvoid> Once read in halium porting guide that fixup-mountpoints should only contain non EMMC partitions, could that be the case here?18:07
T42<elros34> simply compare fstab with your fixup-mountpoints18:12
T42<vsvoid> One other weird thing I have noticed, CONFIG_DUMMY keeps reverting to y no matter how many times I turn it to n, I have gone as far as removing all other defconfig file and only remaining with lancelot_defconfig and defconfig which I have made sure are the exact copy of each other18:53
T42<elros34> did you check whether it has some dependencies? which might keep it enabled18:55
T42<vsvoid> Not sure how to check that18:57
T42<elros34> easiest way: type CONFIG_DUMMY in google and open first link18:57
T42<vsvoid> Okay thanks let me check18:58
malcan you show the .config file generated by the build18:59
T42<elros34> apparently there are no dependencies sos are you sure this the defconfig used by your device? Did you check files manually not by mer-kernel-check? Did you actually make hybris-hal after making the change?18:59
malyeah, would be good to know which defconfig is being changed?19:02
rostam98[m]Hello, I am exploring Sailfishos Sensor framework, is this a right place to ask my questions?19:17
rostam98[m]E19:17
T42<b100dian> mal: want to debug youtube 4.5.0.16 video playback for Xperia 10 on this channel? I have a device that fails, see https://forum.sailfishos.org/t/4-5-0-16-video-playback-in-browser-not-working/14409 maybe you can let me know what other logs I should try grabbing19:20
T42<b100dian> *youtube = browser video playback, bbc et all included:)19:21
T42<elros34> Do you even see gmp-droid initialization?19:23
T42<vsvoid> @SailfishFreenodeIRCBridgeBot  Just a minute cleaned my build now rebuilding19:24
T42<vsvoid> @elros34 yes I did check manually even disabled CONFIG_NETDEVICES19:25
T42<b100dian> @elros34 I don't see anything gmp related, let me compare how it should look like on 4.419:26
malit's using gecko-camera now for video playback19:26
malin browser19:26
T42<elros34> camera for video playback?19:27
T42<vsvoid> @SailfishFreenodeIRCBridgeBot  Like I mentioned I only have two defconfig in my kernel because I deleted all the rest, and the device tree is copying lancelot_defconfig19:27
mal@b100dian it's odd that I only see playback issue on first video in browser, after trying second video for example from bbc it works19:27
mal@elros34 it's a bit odd, not sure about details but you should be seeing gecko-camera messages in journal19:27
T42<elros34> I ask because on 4.4 I removed gecko-camera-droid-plugin to get gmp-droid working and video playback and was thinking about similar issue19:29
T42<elros34> @vsvoid use nick instead bot name19:30
T42<b100dian> mal: you mean you find two videos on a page and the second one works? Because browsing the site and opening after each page load the video on it doesn't work for me19:32
mal@b100dian I tested that in bbc.com, at the bottom of the main page there are links to videos on some reel thin19:34
mal*thing19:35
T42<b100dian> gotcha - but it doesn't work in my case19:43
T42<b100dian> I also have "kernel: binder: 2949:2949 transaction failed" along with gecko-camera logs https://forum.sailfishos.org/t/4-5-0-16-video-playback-in-browser-not-working/14409/419:43
T42<elros34> btw did you update droidmedia/droid-hal, is minimediaservice up?19:44
T42<parmjotsinghrobot> Check you device board config is copying the correct defconfig (re @vsvoid: @SailfishFreenodeIRC...)19:44
T42<vsvoid> mal:19:44
mal@b100dian the pid is different so likely not related19:44
T42<vsvoid> https://pastebin.com/GeniS1m119:44
T42<vsvoid> 19:44
T42<vsvoid> that's the generated config file19:44
T42<parmjotsinghrobot> In device/vendor/model/BoardConfig.mk19:45
T42<b100dian> @elros34 this is an official port, I just updated through gui and re-checked zypper ref / up19:46
T42<b100dian> next I'll try the other getenv I found, `GECKO_CAMERA_DROID_NO_MEDIA_BUFFER`19:46
T42<elros34> I do not get this gecko camera. I would remove it for test19:46
T42<b100dian> :D . Btw, no different results with that other env setting.19:47
T42<vsvoid> @parmjotsinghrobot19:47
T42<vsvoid> https://pastebin.com/ErN1T0c119:47
T42<vsvoid> That's from my device board config19:47
T42<elros34> but there was a lot of changes between droidmedia 0.20211101.0 and  0.20220929.0 so there can be regretion19:48
T42<elros34> regression*19:48
T42<b100dian> Indeed, can't wait to test this on my port ;)19:50
malI just tested that the issue is not droidmedia, on fp2 which uses 0.20211101.0 I get the same first video playback issue I get on newer droidmedia19:51
T42<vsvoid> After checking using menuconfig it shows19:56
T42<vsvoid> `Legend: [*] built-in`19:57
T42<vsvoid> And I can't dissable it from there19:57
T42<elros34> do you use menuconfig for changes in lancelot_defconfig? You know you can't run it just like that? paste both cat lancelot_defconfig and cat .config together with make hybris-hal20:01
mal@b100dian I also get the same issue when using gmp-droid instead of gecko-camera so that is the problem either20:03
T42<b100dian> *isn't ?20:06
mal*isn't20:06
T42<b100dian> mal: Ok. Just for reference, to make the switch you need to rebuild something or there are runtime browser parameters?20:07
maluninstalling gecko-camera-droid-plugin will cause browser to use gmp-droid20:08
T42<parmjotsinghrobot> Change lancelot_defconfig to the defconfig you changed (re @vsvoid: @parmjotsinghrobot20:08
T42<parmjotsinghrobot> ...)20:08
T42<vsvoid> @elros34  Am not using menuconfig for changing lancelot_defconfig I was just trying to check if there are any dependancies the are renabling it.20:10
T42<b100dian> mal: GMP now says20:12
T42<b100dian> > library "libI420colorconvert.so" not found20:12
T42<vsvoid> @parmjotsinghrobot  what do you mean?20:12
T42<elros34> @vsvoid ok but still show what I asked so there will be no any doubts that you are checking right files and doing right changes. You need this20:12
T42<vsvoid> @elros34  Okay20:12
T42<elros34> @b100dian missing "libI420colorconvert.so" should be ok20:13
T42<b100dian> I'm updating the forum link from before with logs. The behavior is the same without gecko-camera, just that I do get GMP logs now20:13
malcolor conversion is optional20:14
T42<vsvoid> @elros3420:18
T42<vsvoid> 20:18
T42<vsvoid> https://pastebin.com/wFB1a5WY20:18
T42<vsvoid> That is lancelot_defoncig20:18
T42<vsvoid> 20:18
T42<vsvoid> 20:18
T42<vsvoid> https://pastebin.com/sD9SXwP520:18
T42<vsvoid> That's defconfig20:18
T42<vsvoid> 20:18
T42<vsvoid> 20:18
T42<vsvoid> The only two configs in my config folder20:18
T42<elros34> no I explicitly mentioned cat so you show everything file names, paths and make output20:18
T42<vsvoid> @elros3420:25
T42<vsvoid> https://pastebin.com/06M5sNJy20:25
T42<elros34> so where are the rest? There is only 'cat kernel/xiaomi/mt6768/arch/arm64/configs/lancelot_defconfig'  there20:30
T42<vsvoid> https://pastebin.com/YamDGHuF20:33
T42<vsvoid> On the way am just from running make hybris-hal20:34
mal@b100dian, so if you scroll down in bbc.com main page to the part where it says REEL and select for example that "The truth behind your favourite flavours" and then in there try to play videos, for me anything I play first fails but then after failing video if I just click another video from the list then video playback works20:37
T42<vsvoid> @elros3420:47
T42<vsvoid> 20:47
T42<vsvoid> https://pastebin.com/YtA3hmgV20:47
T42<vsvoid> @elros34  There you go, I used -j1 on make hybris-hal and since I cleaned the out directory it might take a while to finish but I think the kernel build part is done20:48
T42<elros34> it will take ages, come back with one paste with cat of that files after hybris-boot/or hal finish. Now there is no point.20:55
T42<vsvoid> Okay cool20:58
T42<elros34> you could also regenerate defconfig(with but better without any changes copy .config to defconfig) and then try changes again21:00
T42<vsvoid> How do you mean? isn't that the same as copying the .config to defconfig and cleaning the out directory by make clean?21:02
T42<elros34> I am not talking about cleaning anything just regenerate your simplified defconfig to get rid of overrides warnings during kernel build. I do not have any other ideas why you can't change that config option because there is nothing suspicios in KConfig or Makefile for it21:11
T42<vsvoid> Oh okay21:12
T42<vsvoid> And you could tell from the lines in the warnings that it is actually using the right deconfig, any other changes I make are reflecting in the .config but just that one option21:13
T42<elros34> hybris-boot init script requires dummy to be disabled but you can always change this and hope nothing will broke21:23
T42<vsvoid> Just a thought, is it posible to disable it as a commandline argument? like the way selinux can be set to y in kernel but selinux=0 in kernel command line?21:26
T42<elros34> doubt it but check yourself, it's one file dummy.c or something like that21:31
T42<b100dian> mal: no video works for me, I'll never know "How a vegan diet affects your brain":)22:06
malwhich device is that?22:07
malwondering what is different on your device, I tested xa2, x10 III and fp222:07
malall behaved the same22:08
mal@b100dian so you tried one video, which showed the message about codec, then selected another video from below (without refreshing the page) and it gave the same?22:10
T42<b100dian> A second video actually gets me to a page that shows nothing video related, looks like just the footer22:10
T42<b100dian> https://irc.thaodan.de/.imgstore/97ce1110/file_4518.jpg22:11
T42<b100dian> https://irc.thaodan.de/.imgstore/97ce1110/file_4518.jpg22:12
malhmm, how did you try to start the second video?22:13
T42<b100dian> Clicking the "watch now"22:15
T42<b100dian> I reproduce this (except failing video) on my port. May be related to my adblocking hosts -> that button navigates to a page with "Explore the bbc"22:16
malwhen I play one video the video is at the top and list of other videos below it, if I click or double click it then the second video replaces the one at the top and has the play button22:16
malI mean click or double click some video of the list at the bottom22:16
T42<parmjotsinghrobot> When I run build_packages.sh —gg, I get an error saying that there are multiple files on a line. I've found the culprit, a file called file.list, at $ANDROID_ROOT/hybris/mw/droidmedia-localbuild/file.list. I feel the problem is that the script which generates this file (manual changes get overwritten) is reading each file twice. Can someone help with this? Log file: https://gist.github.com/Parmjot-Singh/71454f35b8871b98747386915c022:18
T42<b100dian> I understand what you're saying,I may get different results because of the defender hosts. I'll try to back them out for now, mal22:18
mal@b100dian ah, pressing the watch now doesn't work, if you click in some other part of the video then it starts at the top part22:19
malhopefully you understand what I mean22:20
T42<elros34> @parmjotsinghrobot as it was already mentioned reverting latest comment in droid-hal submodule should help if not tyry cleaning droidmedia related files/dirs22:22
T42<parmjotsinghrobot> I'm assuming you mean commit, not comment (re @elros34: @parmjotsinghrobot a...)22:23
T42<elros34> yes22:23
T42<elros34> unless you are building for 4.5.0 then I am not sure you can simply revert it22:24
T42<elros34> actually latest 2 commits22:25
T42<parmjotsinghrobot> @elros34 is the submodule at mer-hybris/droid-hal-devicw at github?22:32
T42<parmjotsinghrobot> Also, sorry for dumb question, how do I check what version I'm building?22:33
T42<parmjotsinghrobot> I'm pretty sure I'm building the latest release.22:33
T42<elros34> yeah, rpm/dhd on your host22:33
T42<parmjotsinghrobot> Nvm I'm building 4.4.22:33
T42<elros34> then downgrade droidmedia too (man why hadk is so incomplete so everybody falls in the same traps)22:35
T42<parmjotsinghrobot> Its not too bad because you can look at past messages and figure it out but it is weird22:38
T42<parmjotsinghrobot> @elros34 sorry where is droidmedia?22:40
T42<b100dian> mal: I understand what you're saying, I even reproduced it with my aarch64 port. The Xperia 10 however, didn't worked - I assumed it was the /etc/hosts file, so I backed that out, and rebooted. Now I can see the second video with your instructions, although without sound. However, no youtube video works. I will shut down now, but the results are definitely unclear and would like to be able to get some logs22:41
T42<b100dian> The reboot included the (previous) removal of gecko-camera-drod22:42
T42<elros34> @parmjotsinghrobot  external/droidmedia, find version here: https://etherpad.wikimedia.org/p/hadk-hot git chekout then build via make and package build_packages.sh -g22:42
T42<parmjotsinghrobot> Thank you22:42
T42<elros34> make sure you removed hybris/mw/droidmedia* because recently somebody had same issue and couldnt figure fix it even it looks pretty easy22:44
mal@b100dian I only now noticed audio doesn't work in those videos, I never paid attention to audio22:51
malin youtube audio works fine for me22:53
T42<b100dian> So you don't actually know what vegan diet does to your brain?? :p Well audio worked on my 4.4 aarch64 port. But on 4.5 Xperia 10 no audio and no youtube codecs match22:55

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