Wednesday, 2019-07-10

liuxmet with strange bug, somtimes first boot shows lockscreen directly without asking set security code, and can not do anything on lockscreen00:25
T42<adampigg> ah, thats why i dont have any media symlinks....theyre in vendor not system05:47
T42<adampigg> fixing all the broken symlinks has got youtube to work06:05
T42<adampigg> still no gps sattelites tho...it tries to get a lock, maybe this pre prod device doesnthave the antennas06:05
Mister_Magisterthanks 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 why06:26
Mister_Magister@adampigg try moving phone to low earth orbit for better signal06:27
T42<adampigg> mal, i should update mesa to 19.1.207:34
vup1608:37
deathmistgood 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 base10:06
deathmistthe base rom itself shuts down fully in 8 seconds10:07
T42<adampigg> if you turn on persistent logs, you could look at the journal10:08
deathmistalright, found it! connman service is hanging for some reason and seems to time out after 15s https://pastebin.com/RriB8vEC11: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 pinephone12:58
T42<adampigg> i think it was the lock code though12:58
T42<adampigg> swiping down from the top would bring the top menu down, and could interact with it12:59
mal@adampigg what aspect ratio and resolution does that device have?13:08
T42<adampigg> Mal, just a stock 720p iirc13:12
mal@adampigg hmm, some sites say 1440x72013:13
T42<adampigg> ill ask....13:14
T42<adampigg> mal, yes, 720 144013:23
mal@adampigg did startupwizard work successfully for you in pinephone?13:26
malboth of the wizards13:26
T42<adampigg> mal, i would say it worked -better- .... didnt feel great, but was able to interact with it13:26
malI mean did you finish those without problems13:27
T42<adampigg> im talking about the pin setup page13:27
malok13:27
T42<adampigg> i think i forced the wizards not to show13:27
malI'm talking about the wizards at first boot13:27
T42<adampigg> i can try them ... i disabled them with the hidden file13:28
mal@adampigg ah, that could explain the issue partially, side swipes are disabled before wizards are run once13:28
T42<adampigg> oh13:28
malas you might have noticed that you cannot swipe away the wizards13:28
T42<adampigg> ill have to find out what the other devs did, sure they wont all have disabled the wizards....13:29
malworth a try13:30
malhmm13:30
T42<adampigg> i think it was just me n dylan that got it running, so ill just ask him13: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 irc14:38
T42<adampigg> Mal, ta, ill see it later then:)14:38
T42<adampigg> Will hopefully tidy up droodmedia too14:39
malnice14:44
piggzmal: abranson: https://github.com/sailfishos/droidmedia/pull/5017:28
malpiggz: one question, did you verify that the data.ts is 64-bit int in all android bases?17:37
malI think it probably is but good to verify17:37
malpiggz: should isUidActive return always true? we want android to think that recording is allowed17:38
malor do we17:38
malmaybe we don't, this way only sfos is allowed to record I think, in case something in android side would call that17:39
piggzmal:17:40
piggz  int64_t ts;17:40
malpiggz: 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#L44717:41
malthat is an example that in other parts the everything is not in same line17:41
piggzi expect nothing less17:43
piggzill push after eating :P17:44
malpiggz: 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 used17:45
malpiggz: otherwise that seems good, I'll test it also17:48
piggzmal: i always thought you kept virtual ... although, new code uses override instead17:50
malpiggz: ok, fine for me, just fix the formatting and it should be ok17:50
piggzmal: seems optional https://stackoverflow.com/questions/5309414/in-c-when-subclassing-why-sometimes-need-to-add-virtual-keyword-to-overridden17:51
malpiggz: yes, in a way it makes it easier to read the code to see directly when something overrides a virtual function17:52
piggzi always thought so17:53
maloverride keyword is of course quite nice for that17:57
piggzmal: i could use override here, its just not used elsewhere17:58
malpiggz: it's fine that way, just the formatting issues need fixing17:59
piggzmal: its done18:00
piggzmal: be sure to test it on android 9 sf-X too18:01
malI'm already building it18:01
malpiggz: nitpick, empty line inside registerUidObserver and onTransact is not formatted correctly18:03
malsorry :)18:04
piggzmal: well, if youre getting picky, FakeBatteryStats is badly formatted and MiniSurfaceFlinger::setPowerMode has a blank line in it!18:07
maltrue, doesn't mean new code shouldn't be nice18:08
malalthough I could have fixed all of the formatting when I made the android 9 support18:08
piggz:)18:08
malthose are usually mostly copied from older bases and only fixes where needed18:08
piggzso, if jolla could send me a faster laptop to aid me in implementing their software thats be gr8 :P18:09
vknechtgetting signal :-) https://imgur.com/a/ZZqEyVG18:30
vknecht(stuck there for now, tho)18:31
piggzmal: i guess droid-configs auto creates usual symlinks?18:39
electro575hi all18:54
electro575what is the manner to port sailfishOS on a galaxy note II18:55
electro575by example, just to test the OS18:55
piggzelectro575: is that the n9000?19:00
piggzin any case, the method is the same, follow the hadk ;)19:01
electro575n710519:02
electro575hadk ?19:02
electro575is it possible to flash .zip of xperia to galaxy note II N710519:03
electro575with TWRP ?19:03
electro575piggz19:03
piggzelectro575: years ago i ported the n7000....19:04
piggzno, you cant just flash another device onto it19:04
piggzyou need to follow all the instructions linked at the top of this channel19:05
electro575ok19:06
electro575thanks19:06
piggzmal: i think part of the problem on the  pinephone is dbus on the user session....19:06
piggzwhen i run dbus-monitor --session as nemo i get19:07
piggzFailed to open connection to session bus: Using X11 for dbus-daemon autolaunch was disabled at compile time, set your DBUS_SESSION_BUS_ADDRESS instead19:07
piggzworks ok on fxtec19:07
piggzps shows a session bus running though19:07
electro575i will see all link19:12
electro575and work it19:12
piggzpls try, then ask questions19:17
piggzmal: maybe im wrong about dbus19:17
piggzthat env var is only set in devleoper mode i think19:17
malpiggz: fake activity manager seems to work19:22
malI'll need to do some testing to see if the issues I have are related to that or not19:22
piggzmal: fab, what other issues do you have?19:24
malpiggz: camera hangs after taking a photo19:25
piggzmal: i havnt tried to take a photo yet :D19:25
piggzlets try!19:25
piggzmal: yeah, it doesnt lock up here19:28
piggzseems ok19:28
malpiggz: probably not related to that PR, jpeg encoder fails19:33
malvideo recording works fine19:34
piggzmal: back to the pine phone....19:43
piggzevery time it boots it shows the welcome wizard......19:43
piggzthen, it closes and shows the lock screen19:44
piggzsorry, pin setup page19:44
piggzi can click skip and it shows the lockscreen19:44
malpiggz: hmm, not good19:45
piggznone of the /home/nemo/.jolla-* files exist19:46
piggznow, the rootfs was create by Nokius_ .... not sure if anything could have been missed?19:46
piggzNokius_: thoughts?19:46
malpiggz: camera issue I have is because of kernel it seems19:47
malneed to update kernel19:47
piggzmal: the xa2 kernel has piggz-o-vision issues too doesnt it? X works from my understanding19:47
malI didn't try adv-cam19:48
malyet19:48
piggzmal: it doesnt work on the fxtec yet19:48
piggzshows 1 frame in the viewfinder19:49
malok19:49
piggzmal: and i get this19:50
piggz[W] unknown:0 - CameraBin error: "failed to negotiate caps"19:50
piggz[D] onCameraStatusChanged:130 - Camera status: 119: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
piggzlast line is repeated19:50
malhmm19:50
malpiggz: could be related to the issues I had, have you tried to set some reasonable starting value to dconf?19:51
piggznot yet .... too much going on!19:51
piggzhavnt managed to commit the symlinks either tonigh19:52
piggzor fix this damn pinephone swipe19:52
piggzmal: ah, jolla-startupwizard-pre-user-session fails19:53
piggzit doesnt show the accept license screen19:53
electro5751do you know where are located sailfish OS source ?19:54
piggzmal:19:54
piggzMay 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 int19:54
piggzMay 06 16:34:31 Sailfish jolla-startupwizard-pre-user-session[3146]: [W] unknown:0 - GlassItemNode: invalid angle -9019:54
piggzMay 06 16:34:31 Sailfish systemd[3060]: jolla-startupwizard-pre-user-session.service: Main process exited, code=killed, status=11/SEGV19:54
piggzelectro5751: various repositorie, github.com/sailfishos github.com/mer-hybris, git.merproject.org19:55
piggzfor anything open source19:55
piggzthere are closed bits only jolla has19:55
electro5751what do you want to say ?19:55
piggzi was giving yo pointers to source code repos19:56
malpiggz: gdb time?19:57
piggzmal: yeah but not tonight19:58
piggzat least i have a pointer19:59
electro5751sailfish os is merproject ?19:59
malmost of the open source core is there20:00
malelectro5751: the more proper url for that is https://git.sailfishos.org/mer-core20:01
electro5751thanks20:02
electro5751i supposed it's necessary to follow this guide20:05
piggzmal: error has ocurred before: https://piggz.co.uk/sailfishos-porters-archive/index.php?log=2017-11-04.txt#line11120:05
electro5751https://sailfishos.org/content/uploads/2019/03/SailfishOS-HardwareAdaptationDevelopmentKit-3.0.1.0.pdf20:06
electro5751no ?20:06
malelectro5751: yes, that is the guide to use, also the faq linked in the channel topic is often useful later20:06
electro5751but so for this guide, we must download this OS ?20:06
electro5751ok20:07
electro5751https://git.sailfishos.org/mer-core20:07
electro5751it's the source for Nokia Team who developped sailfish OS ?20:07
electro5751what is the link FAQ mal ?20:11
malelectro5751: no, you only build very small parts, just things needed for adaptation, just follow the guide20:11
electro5751ok20:11
malhttp://bit.ly/faq-hadk20:11
electro5751thk20:11
electro5751have a nice day, bye20:11
electro5751see you latter20:11
TheKitpiggz, on PinePhone, do you use MESA with Lima support?20:20
NokiusTheKit: yes he does20:24
Nokiuspiggz: it should be normal the rootfs https://gitlab.com/sailfishos-porters-ci/dont_be_evil-ci/blob/master/Jolla-@RELEASE@-dont_be_evil-@ARCH@.ks20:24
piggzTheKit: yup20:32
piggzmal: managed to take a pic in p-o-v ... it was the viewfinder resolution20:43
Nokiuspiggz: maybe we miss something :-/ but I'm not sure what it could be20:50
malpiggz: I have seen that error also20:53
malpiggz: I mean the wizard crash20:53
piggzmal: there are a few referneces in the archives, but not a lot, and no soltion i can see20:53
malpiggz: what do you have in /etc/dconf/db/vendor.d/screen-rotation.txt20:55
piggzmal: doesnt exist20:56
maladd it with this content20:56
mal[desktop/jolla/components]20:56
malscreen_rotation_angle=020:56
malpiggz: how can that file be missing21:00
malit comes from submodule21:00
piggzwell, its not there21:01
piggzand the config package is installed21:01
malhttps://github.com/mer-hybris/droid-hal-configs/blob/master/sparse/etc/dconf/db/vendor.d/screen-rotation.txt21:02
piggzrpm -ql doesnt show it21:02
malwhich rpm?21:02
malit should be droid-config-*-sailfish21:03
piggzmal: ah, that isnt installed21:04
malpiggz: that would mean pixel ratio config is not there either21:10
piggzmal: and, i cant install it atm either!21:10
piggzfristrating21:10
piggzwill have to wait until tomorrow21:11
malpiggz: just copy the files from config repo21:11
piggzmal: i need to recompile the system dconf database too?21:11
malpiggz: touch /etc/dconf/db/vendor.d and then dconf update21:11
malthat should work21:12
piggzno, dconf dump doesnt list it...21:13
piggzive done this before....need to remember21:13
malhmm, usually touch and dconf update is enough21:14
piggzwhat is the location of the system database?21:15
piggzcompile one21:15
malnot sure21:15
piggzmal: got it21:16
piggztouch vendor, not vendor.d21:16
malah21:17
malhopefully that helps21:17
piggzmal: just done the startup wizard21:21
piggzmal: funny ....21:23
piggzi nafivated the whole wizard and the tutorial, and swipe still doesnt work on the lockscreen!21:23
malpiggz: no difference at which part of the screen you swipe?21:25
piggzmal: nope21:26
malpiggz: but at least some progress, if only that wizard now works21:26
malpiggz: so then you probably have the issue I mentioned in private21:27
piggzmal: thats cool i think21:27
piggzfixed in 3.2?21:27
malneed to see if there could be some way to hack around it21:27

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