T42 | Deadman96385 was added by: Deadman96385 | 01: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 |
r0kk3rz | theres not many mtk devices | 01:50 |
r0kk3rz | there was a couple of official devices for russian market | 01:51 |
r0kk3rz | you can try porting yours | 01: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 |
r0kk3rz | thats a good start | 01:53 |
r0kk3rz | rinigus: riddle me this: https://gist.github.com/r0kk3rz/dbe2e6e4a1196a7c1327562a1c7d1b3c | 02:17 |
r0kk3rz | woo it wurks | 02:28 |
r0kk3rz | i wonder why its looking for apps in the wrong folder | 02:28 |
r0kk3rz | it installs it under arm/stable and then looks for arm/master | 02:32 |
rinigus | r0kk3rz: in short, no idea. but let's poke around. do you have several org.qutebrowser.qutebrowser's installed? | 06:27 |
rinigus | maybe keep only one. note that plain `flatpak run` will not work, you need to hook hybris and set few env variables as flatpak-runner does | 06:28 |
r0kk3rz | i tried not installing it as user, so i think i have two installs | 06:29 |
r0kk3rz | i didnt expect it to run successfully, but it should at least find the app | 06:29 |
r0kk3rz | which it did once i symlinked the folder | 06:30 |
r0kk3rz | but im not sure why i had to do that | 06:30 |
rinigus | I would suggest not to install into the system. | 06:31 |
rinigus | remove 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 it | 06:32 |
r0kk3rz | thats what i did first | 06:33 |
r0kk3rz | its possible i did something wrong at some step | 06:33 |
rinigus | r0kk3rz: maybe, but docs probably need some refresh as well. | 06:37 |
rinigus | I should clearly update 'installation and usage', will try to do so tonigh | 06:38 |
rinigus | t | 06:38 |
rinigus | r0kk3rz: readme updated in https://github.com/sailfishos-flatpak/main/blob/master/README.md , should be up-to-date now | 06:46 |
r0kk3rz | rinigus: how do you install apps? i downloaded a flatref thingie from flathub | 06:50 |
rinigus | r0kk3rz: 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 install | 06:52 |
r0kk3rz | maybe thats what im doing different | 06:53 |
rinigus | for kde, repo addition doesn't work that easy. you have to download flatpakrepo file by curl and then add repo using file, not url | 06:54 |
rinigus | (will add a note) | 06:55 |
rinigus | sounds like you overcomplicated it a bit | 06:55 |
rinigus | r0kk3rz: added a note regarding kde apps and app install | 06:57 |
Mister_Magister | abranson: 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 it | 07:42 |
Mister_Magister | if it's not funny enough… different video in same format plays fine | 07:42 |
Mister_Magister | like… in one it suddenly changes pixel ratio to 1/1 and then crashes | 07:43 |
abranson | Mister_Magister: it's not very good at coping with codec reconfigurations. it just aborts. | 07:46 |
abranson | quickddit had problems with that. seemed to be coming from DASH streams, which we can't support right now | 07:47 |
abranson | https://github.com/sailfishos/gst-droid/blob/master/gst/droidcodec/gstdroidvdec.c#L1058 | 07:48 |
abranson | you could try this. it's more of a demotion than a fix though: https://github.com/sailfishos/gst-droid/pull/34 | 07:49 |
Mister_Magister | abranson: ye exactly | 07:49 |
Mister_Magister | it's pseudo dash stream, from youtube | 07:50 |
abranson | iirc for quickddit he changed it to fetch a different stream | 07:50 |
Mister_Magister | abranson: Great fix :P | 07:50 |
Mister_Magister | abranson: i am not sure what youtue does tbh | 07:50 |
abranson | it's not merged for a reason :) | 07:50 |
Mister_Magister | abranson: is there any possibility of fixing it? | 07:51 |
Mister_Magister | abranson: and also that seems like per device fix… it's not possible to include that inside app is it | 07:52 |
abranson | not 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 |
abranson | yeah those packages are per-device | 07:54 |
Mister_Magister | abranson: hmmmmm so if i'm making app using that i'm basically fucked? | 07:54 |
abranson | Mister_Magister: this seemed to fix it for them: https://github.com/accumulator/Quickddit/commit/02267bad4d6ad1349306b49c5d22aa123ff6b6d4 | 07:55 |
Mister_Magister | abranson: ye those videos are non-dash but google is removing them already there are only 720p rarely available | 07:56 |
Mister_Magister | the point is to use dash | 07:57 |
Mister_Magister | hmm abranson could i somehow reencode video on the fly to stabilise it? | 07:57 |
Mister_Magister | or something | 07: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 config | 07:59 |
Mister_Magister | abranson: 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 know | 07:59 |
rinigus | faenil: I will try to look into it tonight. please remind me what do you want to do | 08:00 |
abranson | Mister_Magister: i think that's what that quickddit patch does | 08:01 |
Mister_Magister | abranson: no, no it doesn't it changes from DASH to non-DASH | 08: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 |
abranson | Mister_Magister: well after he did that those videos stopped doing this | 08:03 |
Mister_Magister | abranson: yes because he changed from dash to non dash, did you read my message? | 08:03 |
abranson | but i haven't noticed any failures from the videos being missing | 08:03 |
Mister_Magister | abranson: yt is removing non-dash format and you are locked to only 720p | 08:04 |
Mister_Magister | [08:57] <Mister_Magister> the point is to use dash | 08:04 |
rinigus | faenil: thanks! I'll check it out later | 08:04 |
abranson | dash needs a license though | 08:04 |
Mister_Magister | i don't think so | 08:04 |
Mister_Magister | for making dash videos maybe but not for playing them | 08:05 |
T42 | <faenil> rinigus: cool, cheers | 08:05 |
Mister_Magister | and it's not really dash, it's separate video and audio streams | 08:05 |
Mister_Magister | dash gives you .mpd file | 08:05 |
Mister_Magister | it's pseudodash | 08:05 |
Mister_Magister | abranson: how comes there are tons of opensource dash playback libs and apps and none of them have any fancy license | 08:06 |
T42 | <faenil> rinigus: pls also add the @ before my nickname so I also get notified on Telegram :) | 08:06 |
rinigus | faenil: | 08:06 |
rinigus | @faenil ok, will do | 08:07 |
abranson | Mister_Magister: 'DASH clients' need licenses. but anyway it looks like adding reconfig to droidmedia is the only way to support those streams you want | 08:08 |
T42 | <faenil> rinigus: perfect, thanks | 08:08 |
Mister_Magister | abranson: :/ | 08:10 |
Mister_Magister | and also abranson like i said, it's not DASH. There is no mpd file | 08:13 |
Mister_Magister | argh so annoyed | 08:18 |
Mister_Magister | abranson: does gst-droid support muiltiple decoder instances? i could switch to different decoder when caps change | 08:57 |
abranson | yeah it does. that's part of the problem with playing twitter videos in the browser atm | 08:58 |
Mister_Magister | abranson: what do you mean? | 09:01 |
Mister_Magister | abranson: i have option to add reconfiguration to gst-droid or change decoder on the fly and i feel to dumb to do either of them | 09:07 |
abranson | Mister_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_Magister | abranson: so if you don't even know where to start then i'm going with the first one, seems simpler | 09:12 |
abranson | needs doing in droidmedia though, then just called from gst-droid | 09:13 |
Mister_Magister | huh | 09:22 |
Mister_Magister | i'm wondering if playbacking youtube videos in separate video and audio streams is considered DASH or not, if it requires license | 09:23 |
vknecht | uh... https://www.qt.io/blog/qt-offering-changes-2020 | 16:19 |
mal | Mister_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_Magister | mal: are you talking about something in far past? | 17:20 |
mal | earlier today | 17:20 |
Mister_Magister | format was changing not resolution | 17:20 |
mal | oh, ok | 17:20 |
Mister_Magister | and gst-droid lacks support for that | 17:20 |
piggz | mal: abranson: can i call myself a sailor? | 19:55 |
T42 | <adampigg> (Photo, 1280x960) https://irc.thaodan.de/.imgstore/6KTPkCLIbz.png | 19:55 |
piggz | :D | 19:55 |
mal | piggz: :D | 20:05 |
T42 | <edp_17> @piggz: You can when this one is on the sea. 😃 | 20:06 |
abranson | piggz: best check the shipping forecast first! | 20:14 |
T42 | <edp_17> And stay close to the shore. | 20:21 |
piggz | abranson: ive got those ssud/dbus errors now.... | 20:25 |
piggz | https://paste.gnome.org/psbjpklzn | 20:26 |
piggz | and https://paste.gnome.org/pqdmwxdut | 20:29 |
piggz | mal: abranson: i have an idea........ | 20:30 |
piggz | or do i | 20:30 |
piggz | hmmmm | 20:30 |
piggz | no i dont :D | 20:31 |
piggz | nemo is a member of ssu | 20: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 viceversa | 20: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 |
rinigus | but let me see | 20:42 |
T42 | <faenil> well, I worked it around by building both specs as part of the same build() call | 20: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 obs | 20: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 release | 20:52 |
T42 | <faenil> rinigus: yeah that should be easy to fix, thanks anyway | 20:52 |
rinigus | OBS builds them separately and combines RPMs into the same repo | 20:52 |
T42 | <faenil> right | 20: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 space | 20: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.sh | 20:54 |
T42 | <faenil> rinigus: I will have a look at it later, I haven't used OBS in about 7 years | 20:55 |
rinigus | faenil: 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 :D | 20: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 |
rinigus | faenil: nope, never been there | 20:59 |
T42 | <faenil> ah too bad | 21:00 |
rinigus | not sure :) | 21:02 |
*** zama_ is now known as zama | 21: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 repos | 21:52 |
mal | @edp_17 you don't need to check partitions usually anymore, did you do the android specific things mentioned in faq | 22:04 |
mal | for modem issues that is | 22: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 |
mal | like I said, that part is mostly obsolete in faq | 22:08 |
mal | did you do the android specific things mentioned in faq? | 22:08 |
mal | *android base specific | 22:08 |
mal | like for hybris-15.1 or whatever your base is | 22: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 |
mal | no need to do that anymore | 22:24 |
mal | about the other issues, you need to provide logs | 22:25 |
T42 | <edp_17> Sorry, about which issues? | 22:26 |
mal | like modem etc | 22:27 |
piggz | mal: anythoughts on https://paste.gnome.org/pqdmwxdut ? | 22:27 |
T42 | <edp_17> @mal: journalctl: https://pastebin.com/jMzYcK72 | 22: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/kG4yHFuW | 22:32 |
piggz | similar errors when opening developer settings page in settings https://paste.gnome.org/pwlxaf5b3 | 22:33 |
piggz | ah, think i found it | 22:42 |
mal | @edp_17 the usual logs are dmesg, journalctl and /usr/libexec/droid-hybris/system/bin/logcat | 22:42 |
mal | piggz: are you sure you use correct dhd submodule? | 22:42 |
mal | piggz: or have otherwise made sure all groups etc are correct | 22:43 |
piggz | mal: yes ... its a groups issue ... i would argue that its a bug in the dbus config | 22:43 |
piggz | mal: see this file: https://paste.gnome.org/pjlwe3gqz | 22:44 |
piggz | uses group system .... system is an android group created in DHD .... we dont have DHD | 22:44 |
piggz | so, no system group for nemo | 22:44 |
T42 | <edp_17> @mal: Thanks. I posted the dmesg and journalctl above, and here is the logcat: https://pastebin.com/KFb7ydpm | 22:45 |
piggz | mal: abranson: so, editing that file and changing hte group to nemo fixes it ..... need to think about solutions, but glad i found the problem | 22:47 |
piggz | mal: abranson: many of my dbus errors gone with: https://paste.gnome.org/pogg83sbg | 22: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 android | 22: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/E1JGs8iK | 22:58 |
abranson | piggz: 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/modprobe | 23: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 0 | 23:04 |
T42 | <edp_17> It looks like the module loaded this way. | 23:04 |
T42 | <elros34> check rfkill, ifconfig -a | 23:04 |
T42 | <edp_17> Yeah, wifi works. 😄 | 23:06 |
T42 | <edp_17> rfkill gives me 3 entries: | 23:07 |
T42 | <edp_17> 0 bluetooth bcm4330 | 23:07 |
T42 | <edp_17> 3 wlan phy1 | 23:07 |
T42 | <edp_17> 4 wlan brcmfmac-wifi | 23: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.d | 23: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/02vBX13W | 23:12 |
T42 | <edp_17> @elros34 : I cannot find .scmversion in the kernel dir. | 23:13 |
mal | piggz: quite interesting, need to ask about that tomorrow | 23:13 |
mal | ah there was an answer already | 23:14 |
T42 | <elros34> @edp_17? touch will create it | 23:14 |
T42 | <edp_17> @elros34: Ah, ok thanks. I misunderstood. Should I run this in the kernel root directory? | 23:16 |
T42 | <elros34> yes | 23: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 something | 23:35 |
T42 | <edp_17> With htop the cpu usage between 8.9% and 14%. The mem is 255M/786M. Swap is 0K/0K | 23: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/home | 23:46 |
T42 | <elros34> these looks ok | 23: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?], Beryllium | 23:49 |
T42 | <elros34> looks like there is something: https://github.com/SailfishOS-Xiaomi-PocoF1 | 23: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-in | 23:57 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!