liux | met with strange bug, somtimes first boot shows lockscreen directly without asking set security code, and can not do anything on lockscreen | 00:25 |
---|---|---|
T42 | <adampigg> ah, thats why i dont have any media symlinks....theyre in vendor not system | 05:47 |
T42 | <adampigg> fixing all the broken symlinks has got youtube to work | 06:05 |
T42 | <adampigg> still no gps sattelites tho...it tries to get a lock, maybe this pre prod device doesnthave the antennas | 06:05 |
Mister_Magister | thanks mal for obs projects! | 06:25 |
Mister_Magister | @adampigg it does have antennas but they are prototype antenas (no wifi if you hold it) so maybe that's why | 06:26 |
Mister_Magister | @adampigg try moving phone to low earth orbit for better signal | 06:27 |
T42 | <adampigg> mal, i should update mesa to 19.1.2 | 07:34 |
vup | 16 | 08:37 |
deathmist | good morning! thanks to vknecht's info I finally got a fully working custom solution for hybris installer zips :) next I'd like to analyze why fully shutting down seems to take 30 seconds consistently (takes 8 s for UI), how would one do that? probably not useful, but here's systemd-analyze blame https://pastebin.com/bwJuSYW9 this is on 15.1 base | 10:06 |
deathmist | the base rom itself shuts down fully in 8 seconds | 10:07 |
T42 | <adampigg> if you turn on persistent logs, you could look at the journal | 10:08 |
deathmist | alright, found it! connman service is hanging for some reason and seems to time out after 15s https://pastebin.com/RriB8vEC | 11:42 |
mal | @adampigg was it so that only side swipes failed on that one devel board? | 12:19 |
T42 | <adampigg> mal, what is that question referring to? | 12:58 |
T42 | <adampigg> yes, side swipes didnt sem to work on the pinephone | 12:58 |
T42 | <adampigg> i think it was the lock code though | 12:58 |
T42 | <adampigg> swiping down from the top would bring the top menu down, and could interact with it | 12:59 |
mal | @adampigg what aspect ratio and resolution does that device have? | 13:08 |
T42 | <adampigg> Mal, just a stock 720p iirc | 13:12 |
mal | @adampigg hmm, some sites say 1440x720 | 13:13 |
T42 | <adampigg> ill ask.... | 13:14 |
T42 | <adampigg> mal, yes, 720 1440 | 13:23 |
mal | @adampigg did startupwizard work successfully for you in pinephone? | 13:26 |
mal | both of the wizards | 13:26 |
T42 | <adampigg> mal, i would say it worked -better- .... didnt feel great, but was able to interact with it | 13:26 |
mal | I mean did you finish those without problems | 13:27 |
T42 | <adampigg> im talking about the pin setup page | 13:27 |
mal | ok | 13:27 |
T42 | <adampigg> i think i forced the wizards not to show | 13:27 |
mal | I'm talking about the wizards at first boot | 13:27 |
T42 | <adampigg> i can try them ... i disabled them with the hidden file | 13:28 |
mal | @adampigg ah, that could explain the issue partially, side swipes are disabled before wizards are run once | 13:28 |
T42 | <adampigg> oh | 13:28 |
mal | as you might have noticed that you cannot swipe away the wizards | 13:28 |
T42 | <adampigg> ill have to find out what the other devs did, sure they wont all have disabled the wizards.... | 13:29 |
mal | worth a try | 13:30 |
mal | hmm | 13:30 |
T42 | <adampigg> i think it was just me n dylan that got it running, so ill just ask him | 13:31 |
T42 | <adampigg> mal, how do you undisable side swipes? | 13:33 |
T42 | <adampigg> Mal, and also, is there an issue with the resolution? | 14:36 |
mal | @adampigg I sent you a private message in irc | 14:38 |
T42 | <adampigg> Mal, ta, ill see it later then:) | 14:38 |
T42 | <adampigg> Will hopefully tidy up droodmedia too | 14:39 |
mal | nice | 14:44 |
piggz | mal: abranson: https://github.com/sailfishos/droidmedia/pull/50 | 17:28 |
mal | piggz: one question, did you verify that the data.ts is 64-bit int in all android bases? | 17:37 |
mal | I think it probably is but good to verify | 17:37 |
mal | piggz: should isUidActive return always true? we want android to think that recording is allowed | 17:38 |
mal | or do we | 17:38 |
mal | maybe we don't, this way only sfos is allowed to record I think, in case something in android side would call that | 17:39 |
piggz | mal: | 17:40 |
piggz | int64_t ts; | 17:40 |
mal | piggz: nitpicking, the formatting of the fake class implementations do not those of other parts of the file https://github.com/sailfishos/droidmedia/blob/master/services/services_9_0_0.h#L447 | 17:41 |
mal | that is an example that in other parts the everything is not in same line | 17:41 |
piggz | i expect nothing less | 17:43 |
piggz | ill push after eating :P | 17:44 |
mal | piggz: also should those still be virtual? isn't implementation usually removing the virtual keywork, doesn't really matter though as both ways work, looking at the old code both ways are used | 17:45 |
mal | piggz: otherwise that seems good, I'll test it also | 17:48 |
piggz | mal: i always thought you kept virtual ... although, new code uses override instead | 17:50 |
mal | piggz: ok, fine for me, just fix the formatting and it should be ok | 17:50 |
piggz | mal: seems optional https://stackoverflow.com/questions/5309414/in-c-when-subclassing-why-sometimes-need-to-add-virtual-keyword-to-overridden | 17:51 |
mal | piggz: yes, in a way it makes it easier to read the code to see directly when something overrides a virtual function | 17:52 |
piggz | i always thought so | 17:53 |
mal | override keyword is of course quite nice for that | 17:57 |
piggz | mal: i could use override here, its just not used elsewhere | 17:58 |
mal | piggz: it's fine that way, just the formatting issues need fixing | 17:59 |
piggz | mal: its done | 18:00 |
piggz | mal: be sure to test it on android 9 sf-X too | 18:01 |
mal | I'm already building it | 18:01 |
mal | piggz: nitpick, empty line inside registerUidObserver and onTransact is not formatted correctly | 18:03 |
mal | sorry :) | 18:04 |
piggz | mal: well, if youre getting picky, FakeBatteryStats is badly formatted and MiniSurfaceFlinger::setPowerMode has a blank line in it! | 18:07 |
mal | true, doesn't mean new code shouldn't be nice | 18:08 |
mal | although I could have fixed all of the formatting when I made the android 9 support | 18:08 |
piggz | :) | 18:08 |
mal | those are usually mostly copied from older bases and only fixes where needed | 18:08 |
piggz | so, if jolla could send me a faster laptop to aid me in implementing their software thats be gr8 :P | 18:09 |
vknecht | getting signal :-) https://imgur.com/a/ZZqEyVG | 18:30 |
vknecht | (stuck there for now, tho) | 18:31 |
piggz | mal: i guess droid-configs auto creates usual symlinks? | 18:39 |
electro575 | hi all | 18:54 |
electro575 | what is the manner to port sailfishOS on a galaxy note II | 18:55 |
electro575 | by example, just to test the OS | 18:55 |
piggz | electro575: is that the n9000? | 19:00 |
piggz | in any case, the method is the same, follow the hadk ;) | 19:01 |
electro575 | n7105 | 19:02 |
electro575 | hadk ? | 19:02 |
electro575 | is it possible to flash .zip of xperia to galaxy note II N7105 | 19:03 |
electro575 | with TWRP ? | 19:03 |
electro575 | piggz | 19:03 |
piggz | electro575: years ago i ported the n7000.... | 19:04 |
piggz | no, you cant just flash another device onto it | 19:04 |
piggz | you need to follow all the instructions linked at the top of this channel | 19:05 |
electro575 | ok | 19:06 |
electro575 | thanks | 19:06 |
piggz | mal: i think part of the problem on the pinephone is dbus on the user session.... | 19:06 |
piggz | when i run dbus-monitor --session as nemo i get | 19:07 |
piggz | Failed to open connection to session bus: Using X11 for dbus-daemon autolaunch was disabled at compile time, set your DBUS_SESSION_BUS_ADDRESS instead | 19:07 |
piggz | works ok on fxtec | 19:07 |
piggz | ps shows a session bus running though | 19:07 |
electro575 | i will see all link | 19:12 |
electro575 | and work it | 19:12 |
piggz | pls try, then ask questions | 19:17 |
piggz | mal: maybe im wrong about dbus | 19:17 |
piggz | that env var is only set in devleoper mode i think | 19:17 |
mal | piggz: fake activity manager seems to work | 19:22 |
mal | I'll need to do some testing to see if the issues I have are related to that or not | 19:22 |
piggz | mal: fab, what other issues do you have? | 19:24 |
mal | piggz: camera hangs after taking a photo | 19:25 |
piggz | mal: i havnt tried to take a photo yet :D | 19:25 |
piggz | lets try! | 19:25 |
piggz | mal: yeah, it doesnt lock up here | 19:28 |
piggz | seems ok | 19:28 |
mal | piggz: probably not related to that PR, jpeg encoder fails | 19:33 |
mal | video recording works fine | 19:34 |
piggz | mal: back to the pine phone.... | 19:43 |
piggz | every time it boots it shows the welcome wizard...... | 19:43 |
piggz | then, it closes and shows the lock screen | 19:44 |
piggz | sorry, pin setup page | 19:44 |
piggz | i can click skip and it shows the lockscreen | 19:44 |
mal | piggz: hmm, not good | 19:45 |
piggz | none of the /home/nemo/.jolla-* files exist | 19:46 |
piggz | now, the rootfs was create by Nokius_ .... not sure if anything could have been missed? | 19:46 |
piggz | Nokius_: thoughts? | 19:46 |
mal | piggz: camera issue I have is because of kernel it seems | 19:47 |
mal | need to update kernel | 19:47 |
piggz | mal: the xa2 kernel has piggz-o-vision issues too doesnt it? X works from my understanding | 19:47 |
mal | I didn't try adv-cam | 19:48 |
mal | yet | 19:48 |
piggz | mal: it doesnt work on the fxtec yet | 19:48 |
piggz | shows 1 frame in the viewfinder | 19:49 |
mal | ok | 19:49 |
piggz | mal: and i get this | 19:50 |
piggz | [W] unknown:0 - CameraBin error: "failed to negotiate caps" | 19:50 |
piggz | [D] onCameraStatusChanged:130 - Camera status: 1 | 19:50 |
piggz | [W] unknown:0 - CameraBin error: "The stream is in the wrong format." | 19:50 |
piggz | [W] unknown:0 - CameraBin error: "Filter caps do not completely specify the output format" | 19:50 |
piggz | [W] unknown:0 - CameraBin error: "Internal data stream error." | 19:50 |
piggz | last line is repeated | 19:50 |
mal | hmm | 19:50 |
mal | piggz: could be related to the issues I had, have you tried to set some reasonable starting value to dconf? | 19:51 |
piggz | not yet .... too much going on! | 19:51 |
piggz | havnt managed to commit the symlinks either tonigh | 19:52 |
piggz | or fix this damn pinephone swipe | 19:52 |
piggz | mal: ah, jolla-startupwizard-pre-user-session fails | 19:53 |
piggz | it doesnt show the accept license screen | 19:53 |
electro5751 | do you know where are located sailfish OS source ? | 19:54 |
piggz | mal: | 19:54 |
piggz | May 06 16:34:31 Sailfish jolla-startupwizard-pre-user-session[3146]: [W] unknown:8 - file:///usr/lib/qt5/qml/com/jolla/startupwizard/PlatformTermsOfUseDialog.qml:8:12: Unable to assign [undefined] to int | 19:54 |
piggz | May 06 16:34:31 Sailfish jolla-startupwizard-pre-user-session[3146]: [W] unknown:0 - GlassItemNode: invalid angle -90 | 19:54 |
piggz | May 06 16:34:31 Sailfish systemd[3060]: jolla-startupwizard-pre-user-session.service: Main process exited, code=killed, status=11/SEGV | 19:54 |
piggz | electro5751: various repositorie, github.com/sailfishos github.com/mer-hybris, git.merproject.org | 19:55 |
piggz | for anything open source | 19:55 |
piggz | there are closed bits only jolla has | 19:55 |
electro5751 | what do you want to say ? | 19:55 |
piggz | i was giving yo pointers to source code repos | 19:56 |
mal | piggz: gdb time? | 19:57 |
piggz | mal: yeah but not tonight | 19:58 |
piggz | at least i have a pointer | 19:59 |
electro5751 | sailfish os is merproject ? | 19:59 |
mal | most of the open source core is there | 20:00 |
mal | electro5751: the more proper url for that is https://git.sailfishos.org/mer-core | 20:01 |
electro5751 | thanks | 20:02 |
electro5751 | i supposed it's necessary to follow this guide | 20:05 |
piggz | mal: error has ocurred before: https://piggz.co.uk/sailfishos-porters-archive/index.php?log=2017-11-04.txt#line111 | 20:05 |
electro5751 | https://sailfishos.org/content/uploads/2019/03/SailfishOS-HardwareAdaptationDevelopmentKit-3.0.1.0.pdf | 20:06 |
electro5751 | no ? | 20:06 |
mal | electro5751: yes, that is the guide to use, also the faq linked in the channel topic is often useful later | 20:06 |
electro5751 | but so for this guide, we must download this OS ? | 20:06 |
electro5751 | ok | 20:07 |
electro5751 | https://git.sailfishos.org/mer-core | 20:07 |
electro5751 | it's the source for Nokia Team who developped sailfish OS ? | 20:07 |
electro5751 | what is the link FAQ mal ? | 20:11 |
mal | electro5751: no, you only build very small parts, just things needed for adaptation, just follow the guide | 20:11 |
electro5751 | ok | 20:11 |
mal | http://bit.ly/faq-hadk | 20:11 |
electro5751 | thk | 20:11 |
electro5751 | have a nice day, bye | 20:11 |
electro5751 | see you latter | 20:11 |
TheKit | piggz, on PinePhone, do you use MESA with Lima support? | 20:20 |
Nokius | TheKit: yes he does | 20:24 |
Nokius | piggz: it should be normal the rootfs https://gitlab.com/sailfishos-porters-ci/dont_be_evil-ci/blob/master/Jolla-@RELEASE@-dont_be_evil-@ARCH@.ks | 20:24 |
piggz | TheKit: yup | 20:32 |
piggz | mal: managed to take a pic in p-o-v ... it was the viewfinder resolution | 20:43 |
Nokius | piggz: maybe we miss something :-/ but I'm not sure what it could be | 20:50 |
mal | piggz: I have seen that error also | 20:53 |
mal | piggz: I mean the wizard crash | 20:53 |
piggz | mal: there are a few referneces in the archives, but not a lot, and no soltion i can see | 20:53 |
mal | piggz: what do you have in /etc/dconf/db/vendor.d/screen-rotation.txt | 20:55 |
piggz | mal: doesnt exist | 20:56 |
mal | add it with this content | 20:56 |
mal | [desktop/jolla/components] | 20:56 |
mal | screen_rotation_angle=0 | 20:56 |
mal | piggz: how can that file be missing | 21:00 |
mal | it comes from submodule | 21:00 |
piggz | well, its not there | 21:01 |
piggz | and the config package is installed | 21:01 |
mal | https://github.com/mer-hybris/droid-hal-configs/blob/master/sparse/etc/dconf/db/vendor.d/screen-rotation.txt | 21:02 |
piggz | rpm -ql doesnt show it | 21:02 |
mal | which rpm? | 21:02 |
mal | it should be droid-config-*-sailfish | 21:03 |
piggz | mal: ah, that isnt installed | 21:04 |
mal | piggz: that would mean pixel ratio config is not there either | 21:10 |
piggz | mal: and, i cant install it atm either! | 21:10 |
piggz | fristrating | 21:10 |
piggz | will have to wait until tomorrow | 21:11 |
mal | piggz: just copy the files from config repo | 21:11 |
piggz | mal: i need to recompile the system dconf database too? | 21:11 |
mal | piggz: touch /etc/dconf/db/vendor.d and then dconf update | 21:11 |
mal | that should work | 21:12 |
piggz | no, dconf dump doesnt list it... | 21:13 |
piggz | ive done this before....need to remember | 21:13 |
mal | hmm, usually touch and dconf update is enough | 21:14 |
piggz | what is the location of the system database? | 21:15 |
piggz | compile one | 21:15 |
mal | not sure | 21:15 |
piggz | mal: got it | 21:16 |
piggz | touch vendor, not vendor.d | 21:16 |
mal | ah | 21:17 |
mal | hopefully that helps | 21:17 |
piggz | mal: just done the startup wizard | 21:21 |
piggz | mal: funny .... | 21:23 |
piggz | i nafivated the whole wizard and the tutorial, and swipe still doesnt work on the lockscreen! | 21:23 |
mal | piggz: no difference at which part of the screen you swipe? | 21:25 |
piggz | mal: nope | 21:26 |
mal | piggz: but at least some progress, if only that wizard now works | 21:26 |
mal | piggz: so then you probably have the issue I mentioned in private | 21:27 |
piggz | mal: thats cool i think | 21:27 |
piggz | fixed in 3.2? | 21:27 |
mal | need to see if there could be some way to hack around it | 21:27 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!