Monday, 2020-01-27

T42Deadman96385 was added by: Deadman9638501:43
T42<Deadman96385> Does anybody know if anyone has done a port for a mt6580 device? I looked around and couldn't find many mtk ports just Gemini/Cosmo as the main ones.01:48
r0kk3rztheres not many mtk devices01:50
r0kk3rzthere was a couple of official devices for russian market01:51
r0kk3rzyou can try porting yours01:51
T42<Deadman96385> Yeah going to take a crack at it because I have lineage 15.1 fully working and kernel source so it should be possible.01:52
r0kk3rzthats a good start01:53
r0kk3rzrinigus: riddle me this: https://gist.github.com/r0kk3rz/dbe2e6e4a1196a7c1327562a1c7d1b3c02:17
r0kk3rzwoo it wurks02:28
r0kk3rzi wonder why its looking for apps in the wrong folder02:28
r0kk3rzit installs it under arm/stable and then looks for arm/master02:32
rinigusr0kk3rz: in short, no idea. but let's poke around. do you have several org.qutebrowser.qutebrowser's installed?06:27
rinigusmaybe keep only one. note that plain `flatpak run` will not work, you need to hook hybris and set few env variables as flatpak-runner does06:28
r0kk3rzi tried not installing it as user, so i think i have two installs06:29
r0kk3rzi didnt expect it to run successfully, but it should at least find the app06:29
r0kk3rzwhich it did once i symlinked the folder06:30
r0kk3rzbut im not sure why i had to do that06:30
rinigusI would suggest not to install into the system.06:31
rinigusremove all you have there and use --user always. at least, as it is, that's the only scenario I am considering when writing scripts around it06:32
r0kk3rzthats what i did first06:33
r0kk3rzits possible i did something wrong at some step06:33
rinigusr0kk3rz: maybe, but docs probably need some refresh as well.06:37
rinigusI should clearly update 'installation and usage', will try to do so tonigh06:38
rinigust06:38
rinigusr0kk3rz: readme updated in https://github.com/sailfishos-flatpak/main/blob/master/README.md , should be up-to-date now06:46
r0kk3rzrinigus: how do you install apps? i downloaded a flatref thingie from flathub06:50
rinigusr0kk3rz:  you add flathub repository first. after that its `flatpak install --user appname` in terminal. it will complain about gpg, ask you few things, and then install06:52
r0kk3rzmaybe thats what im doing different06:53
rinigusfor kde, repo addition doesn't work that easy. you have to download flatpakrepo file by curl and then add repo using file, not url06:54
rinigus(will add a note)06:55
rinigussounds like you overcomplicated it a bit06:55
rinigusr0kk3rz: added a note regarding kde apps and app install06:57
Mister_Magisterabranson: hi do you maybe know what are limitations of gstdroid? Cause i got couple videos that play fine on pc but gstdrod says no and i'm wondering if it can be fixed or it's limited and there is nothing we can do about it07:42
Mister_Magisterif it's not funny enough… different video in same format plays fine07:42
Mister_Magisterlike… in one it suddenly changes pixel ratio to 1/1 and then crashes07:43
abransonMister_Magister: it's not very good at coping with codec reconfigurations. it just aborts.07:46
abransonquickddit had problems with that. seemed to be coming from DASH streams, which we can't support right now07:47
abransonhttps://github.com/sailfishos/gst-droid/blob/master/gst/droidcodec/gstdroidvdec.c#L105807:48
abransonyou could try this. it's more of a demotion than a fix though: https://github.com/sailfishos/gst-droid/pull/3407:49
Mister_Magisterabranson: ye exactly07:49
Mister_Magisterit's pseudo dash stream, from youtube07:50
abransoniirc for quickddit he changed it to fetch a different stream07:50
Mister_Magisterabranson: Great fix :P07:50
Mister_Magisterabranson: i am not sure what youtue does tbh07:50
abransonit's not merged for a reason :)07:50
Mister_Magisterabranson: is there any possibility of fixing it?07:51
Mister_Magisterabranson: and also that seems like per device fix… it's not possible to include that inside app is it07:52
abransonnot sure. it would be quite a lot of work in droidmedia to add codec reconfiguration support. i guess that should be possible in stagefright, but I don't know for sure.07:53
abransonyeah those packages are per-device07:54
Mister_Magisterabranson: hmmmmm so if i'm making app using that i'm basically fucked?07:54
abransonMister_Magister: this seemed to fix it for them: https://github.com/accumulator/Quickddit/commit/02267bad4d6ad1349306b49c5d22aa123ff6b6d407:55
Mister_Magisterabranson: ye those videos are non-dash but google is removing them already there are only 720p rarely available07:56
Mister_Magisterthe point is to use dash07:57
Mister_Magisterhmm abranson could i somehow reencode video on the fly to stabilise it?07:57
Mister_Magisteror something07:58
T42<faenil> rinigus: hi there. I finally managed to spend some time on the xz2 port setup again last night. I updated all repos and built again... It all went smooth except the last step.07:59
T42<faenil> Building the droid-configs pkg with --not-install removes the ks file so the ks sed cmd fails.07:59
T42<faenil> So you have to build --configs again, then create the ks, then build again with --not-install or fs creation will fail.07:59
T42<faenil> However, even after that, it still fails because it can't find bluez5 device config07:59
Mister_Magisterabranson: basically is there way to make video not change format?07:59
T42<faenil> I have not done any investigation on the bluez5 configure failure yet, it was late and called it a day :)07:59
T42<faenil> Just thought I'd let you know07:59
rinigusfaenil: I will try to look into it tonight. please remind me what do you want to do08:00
abransonMister_Magister: i think that's what that quickddit patch does08:01
Mister_Magisterabranson: no, no it doesn't it changes from DASH to non-DASH08:02
T42<faenil> rinigus: the plan is to help with the h8314 port.08:03
T42<faenil> Do not spend time on it, I just thought you might already have the solution ;)08:03
abransonMister_Magister: well after he did that those videos stopped doing this08:03
Mister_Magisterabranson: yes because he changed from dash to non dash, did you read my message?08:03
abransonbut i haven't noticed any failures from the videos being missing08:03
Mister_Magisterabranson: yt is removing non-dash format and you are locked to only 720p08:04
Mister_Magister[08:57] <Mister_Magister> the point is to use dash08:04
rinigusfaenil: thanks! I'll check it out later08:04
abransondash needs a license though08:04
Mister_Magisteri don't think so08:04
Mister_Magisterfor making dash videos maybe but not for playing them08:05
T42<faenil> rinigus: cool, cheers08:05
Mister_Magisterand it's not really dash, it's separate video and audio streams08:05
Mister_Magisterdash gives you .mpd file08:05
Mister_Magisterit's pseudodash08:05
Mister_Magisterabranson: how comes there are tons of opensource dash playback libs and apps and none of them have any fancy license08:06
T42<faenil> rinigus: pls also add the @ before my nickname so I also get notified on Telegram :)08:06
rinigusfaenil:08:06
rinigus@faenil ok, will do08:07
abransonMister_Magister: 'DASH clients' need licenses. but anyway it looks like adding reconfig to droidmedia is the only way to support those streams you want08:08
T42<faenil> rinigus: perfect, thanks08:08
Mister_Magisterabranson: :/08:10
Mister_Magisterand also abranson like i said, it's not DASH. There is no mpd file08:13
Mister_Magisterargh so annoyed08:18
Mister_Magisterabranson: does gst-droid support muiltiple decoder instances? i could switch to different decoder when caps change08:57
abransonyeah it does. that's part of the problem with playing twitter videos in the browser atm08:58
Mister_Magisterabranson: what do you mean?09:01
Mister_Magisterabranson: i have option to add reconfiguration to gst-droid or change decoder on the fly and i feel to dumb to do either of them09:07
abransonMister_Magister: i think the first one would be easier myself. but then I wouldn't know where to start with the latter.09:10
Mister_Magisterabranson: so if you don't even know where to start then i'm going with the first one, seems simpler09:12
abransonneeds doing in droidmedia though, then just called from gst-droid09:13
Mister_Magisterhuh09:22
Mister_Magisteri'm wondering if playbacking youtube videos in separate video and audio streams is considered DASH or not, if it requires license09:23
vknechtuh... https://www.qt.io/blog/qt-offering-changes-202016:19
malMister_Magister: you had issues with the video playback when resolution changes, just curious do you have use-codec-supplied-* quirks enabled in gst-droid config?17:19
Mister_Magistermal: are you talking about something in far past?17:20
malearlier today17:20
Mister_Magisterformat was changing not resolution17:20
maloh, ok17:20
Mister_Magisterand gst-droid lacks support for that17:20
piggzmal: abranson: can i call myself a sailor?19:55
T42<adampigg> (Photo, 1280x960) https://irc.thaodan.de/.imgstore/6KTPkCLIbz.png19:55
piggz:D19:55
malpiggz: :D20:05
T42<edp_17> @piggz: You can when this one is on the sea. 😃20:06
abransonpiggz: best check the shipping forecast first!20:14
T42<edp_17> And stay close to the shore.20:21
piggzabranson: ive got those ssud/dbus errors now....20:25
piggzhttps://paste.gnome.org/psbjpklzn20:26
piggzand https://paste.gnome.org/pqdmwxdut20:29
piggzmal: abranson: i have an idea........20:30
piggzor do i20:30
piggzhmmmm20:30
piggzno i dont :D20:31
piggznemo is a member of ssu20:32
T42<faenil> rinigus: so the problem is jolla-configuration-$DEVICE and droid-config-* are part of the same package, so if you build jolla-configuration-$DEVICE with a separate commands, that will cause droid-configs-* rpms to be deleted, and viceversa20:39
T42<edp_17> Hi guys, I have a few missing bits and bobs in my S2 port. I would like to fix them one by one. The first one is the sim card is not detected. How can I see why it is not there? Thanks.20:40
T42<edp_17> I found 9.3 in hadk-faq. I try to follow that. 😁20:42
rinigus@faenil: sorry, didn't have a chance to look into it - fighting with lipstick and flatpak apps interaction.20:42
T42<faenil> that's okay, I am doing it :)20:42
rinigusbut let me see20:42
T42<faenil> well, I worked it around by building both specs as part of the same build() call20:44
T42<faenil> now moved on to "nothing provides pulseaudio >= 12.2+git6 needed by pulseaudio-module-keepalive-1.0.1-1.2.3.jolla.armv7hl"20:44
T42<edp_17> Yeah, the faq suggest to run 'ls -lR /dev/block' in CM and Sailfish and compare the output. How can I run this in CM? (I don't have recovery because I had to flash the kernel file directly into the KERNEL partition. With the hybris-boot.img the device doesn't boot because it has a different format.)20:46
rinigus@faenil: OK, I can see it now. your workaround seems fine in this respect. Please update hadk readme accordingly and send the PR. its obviously not an issue when we build at obs20:51
T42<faenil> rinigus: why is it not an issue on obs?20:52
rinigus@faenil: with pulseaudio check if you pulled something too new - newer than the current release20:52
T42<faenil> rinigus: yeah that should be easy to fix, thanks anyway20:52
rinigusOBS builds them separately and combines RPMs into the same repo20:52
T42<faenil> right20:53
rinigus@faenil: you may want to setup a project at obs under your account to simplify working with it. just checkout devel project, change the names in repos to yours, as needed, and copy over to your project space20:54
T42<faenil> I modified the utils.sh script, it's a hack, but I don't see a clean way of doing it with the current implementation of build() in utils.sh20:54
T42<faenil> rinigus: I will have a look at it later, I haven't used OBS in about 7 years20:55
rinigusfaenil: with our speed of development, it may feel like you never been away (joke)20:56
T42<faenil> I can imagine! haha...if only I could remember what I knew back then :D20:56
T42<faenil> I just remember fixing _service files for Nemo over and over again ^^20:57
T42<faenil> rinigus: will you be at fosdem?20:58
rinigusfaenil: nope, never been there20:59
T42<faenil> ah too bad21:00
rinigusnot sure :)21:02
*** zama_ is now known as zama21:45
T42<faenil> rinigus: adaptation-community-common is using _latest repo, and that has the newer keepalive module which requires a pulseaudio that is not in the Jolla release repos21:52
mal@edp_17 you don't need to check partitions usually anymore, did you do the android specific things mentioned in faq22:04
malfor modem issues that is22:05
T42<edp_17> @mal: for sim card detection? No because now I cannot go back to android (at least I don't know how) without destroying sailfish on the device.22:07
mallike I said, that part is mostly obsolete in faq22:08
maldid you do the android specific things mentioned in faq?22:08
mal*android base specific22:08
mallike for hybris-15.1 or whatever your base is22:09
T42<edp_17> I am using cm12.1.22:09
T42<edp_17> I am not sure what is for this base in faq.22:10
T42<edp_17> I have seen hybris14.1, 15.1 and 16 but no 12.1.22:10
T42<edp_17> When I try to generate the gstdroidcamsrc conf file with 'mk-cam-conf 1 /etc/gst-droid/gstdroidcamsrc-1.conf', I got an error: 'Failed to create element droidcamsrc'22:24
T42<edp_17> Where can I see more details about this error?22:24
malno need to do that anymore22:24
malabout the other issues, you need to provide logs22:25
T42<edp_17> Sorry, about which issues?22:26
mallike modem etc22:27
piggzmal: anythoughts on https://paste.gnome.org/pqdmwxdut ?22:27
T42<edp_17> @mal: journalctl: https://pastebin.com/jMzYcK7222:31
T42<edp_17> I am not sure what else I can give. Please let me know.22:31
T42<edp_17> @mal: dmesg -w: https://pastebin.com/kG4yHFuW22:32
piggzsimilar errors when opening developer settings page in settings https://paste.gnome.org/pwlxaf5b322:33
piggzah, think i found it22:42
mal@edp_17 the usual logs are dmesg, journalctl and /usr/libexec/droid-hybris/system/bin/logcat22:42
malpiggz: are you sure you use correct dhd submodule?22:42
malpiggz: or have otherwise made sure all groups etc are correct22:43
piggzmal: yes ... its a groups issue ... i would argue that its a bug in the dbus config22:43
piggzmal: see this file: https://paste.gnome.org/pjlwe3gqz22:44
piggzuses group system .... system is an android group created in DHD .... we dont have DHD22:44
piggzso, no system group for nemo22:44
T42<edp_17> @mal: Thanks. I posted the dmesg and journalctl above, and here is the logcat: https://pastebin.com/KFb7ydpm22:45
piggzmal: abranson: so, editing that file and changing hte group to nemo fixes it ..... need to think about solutions, but glad i found the problem22:47
piggzmal: abranson: many of my dbus errors gone with: https://paste.gnome.org/pogg83sbg22:54
T42<elros34> @edp17: your dhd.ko fails, have you tried to modprobe it with same parameters as in BoardConfig? AFAIK that is what libhardware_legacy/wifi do in android22:54
T42<edp_17> No, I have only tried with 'insmod dhd.ko'. I am not sure how to pass parameters and what parameters to pass.22:58
T42<edp_17> Here is the relevant part from BoardConfig: https://pastebin.com/E1JGs8iK22:58
abransonpiggz: newer versions will use sailfish-system instead, so maybe go with that?22:58
T42<elros34> @edp_17 just add what is in WIFI_DRIVER_MODULE_ARG to insmod/modprobe23:00
T42<edp_17> Thanks. The 'insmod dhd.ko firmware_path=/system/etc/wifi/bcmdhd_sta.bin nvram_path=/system/etc/wifi/nvram_net.txt' ran without error.23:03
T42<edp_17> The lsmod, gives me: Module                  Size  Used bydhd                   504975  023:04
T42<edp_17> It looks like the module loaded this way.23:04
T42<elros34> check rfkill, ifconfig -a23:04
T42<edp_17> Yeah, wifi works. 😄23:06
T42<edp_17> rfkill gives me 3 entries:23:07
T42<edp_17> 0 bluetooth bcm433023:07
T42<edp_17> 3 wlan phy123:07
T42<edp_17> 4 wlan brcmfmac-wifi23:07
T42<edp_17> The soft and hard are unblocked for all.23:08
T42<edp_17> How can I make the wifi start automatically? I have a dhd.conf in /etc/modules-load.d23:09
T42<elros34> Instruction is in faq. Also touch .scmversion in your kernel dir so your kernel version (uname -r) will stay same when you change something and modprobe will works even after you flash kernel.23:10
T42<edp_17> Yes, sorry I forgot that one.23:10
T42<edp_17> I meant I forgot the ifconfig -a. It gives me: https://pastebin.com/02vBX13W23:12
T42<edp_17> @elros34 : I cannot find .scmversion in the kernel dir.23:13
malpiggz: quite interesting, need to ask about that tomorrow23:13
malah there was an answer already23:14
T42<elros34> @edp_17? touch will create it23:14
T42<edp_17> @elros34: Ah, ok thanks. I misunderstood. Should I run this in the kernel root directory?23:16
T42<elros34> yes23:17
T42<edp_17> Thank you. Now I am trying to make the wifi module load persistent.23:18
T42<edp_17> How the 'wlan-module-load.service' will know that it should load dhd.ko?23:20
T42<edp_17> There is something frustrating on the phone. It is very slow and the apps almost all the time hangs and terminates themselves. Basically I cannot test anything in messwerk because when I tap on e.g. rotation, the app quits.23:31
T42<edp_17> How can I give you logs about this issue?23:32
T42<elros34> first check htop to see if anything use too much cpu and slow downs everything. For crashing apps check logs, they should have something23:35
T42<edp_17> With htop the cpu usage between 8.9% and 14%. The mem is 255M/786M. Swap is 0K/0K23:38
T42<edp_17> Now I have internet on the device I have managed to fix the pixel ratio. It is way better that the big, overlapped icons. 😃23:38
T42<edp_17> About the app crashes. Interesting because the fingerterm and filetug root are never crashing.23:39
T42<edp_17> Maybe this is related to the app crash issue: "WindowPixmapItem does not have a source texture, cover will be dropped."23:45
T42<edp_17> And what is this about?: "encsfa[1834]: Device /dev/sailfish/home doesn't exist or access denied."23:46
T42<edp_17> There is no /dev/sailfish/home23:46
T42<elros34> these looks ok23:47
T42<edp_17> Oh, ok. I thought these were related.23:47
T42<AnonGhost_3301> Hey any build available for poco devices?23:48
T42<elros34> whats codename?23:49
T42<edp_17> When the settings app hangs it only says in journalctl: "lipstick[4249]: [D] onTriggered:103 - Application "Settings" with PID 4589 is not responding"23:49
T42<AnonGhost_3301> @elros34 [whats codename?], Beryllium23:49
T42<elros34> looks like there is something: https://github.com/SailfishOS-Xiaomi-PocoF123:51
T42<AnonGhost_3301> Yeah i got the same but I'm new here so if possible could you guide me about it ?23:54
T42<elros34> Doesn't looks like finished, but at least you can find author: nit-in23:57

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