Tuesday, 2014-08-05

vgradedmt__: http://pastebin.com/jdFsUH2p looks like mka hybris-hal failed to complete00:06
vgradelooking better with -j 100:11
*** beidl_ has joined #sailfishos-porters01:59
*** beidl has quit IRC02:00
*** piggz has quit IRC03:48
*** iTune has joined #sailfishos-porters04:11
dmt__vgrade: interesting, never experienced it and i always run -j8. wondering shall i add a warning..04:19
*** VDVsx has quit IRC04:34
*** dmt__ has quit IRC05:03
*** VDVsx has joined #sailfishos-porters05:07
*** gogeta_ has joined #sailfishos-porters05:08
junnuvialterego: sledges said that you are working on grouper sounds? FYI: I just got it working (sounds will work, mixer not yet). I just needed to add configuration files to /usr/share/alsa/ucm/tegra-rt564005:44
junnuvialterego: and also looks like bt audio is not yet working05:50
*** mailyaseen has joined #sailfishos-porters05:51
*** uvatbc has joined #sailfishos-porters05:57
*** Nokius has joined #sailfishos-porters05:58
*** gogeta_ has quit IRC06:03
*** Sequenced has joined #sailfishos-porters06:04
*** uvatbc has left #sailfishos-porters06:10
*** phdeswer has quit IRC06:14
*** SfietKonstantin has joined #sailfishos-porters06:18
*** SfietKonstantin has quit IRC06:51
*** VDVsx has quit IRC06:54
*** alin has quit IRC07:05
*** phdeswer has joined #sailfishos-porters07:09
*** carepack has joined #sailfishos-porters07:13
*** VDVsx has joined #sailfishos-porters07:14
*** mailyaseen has quit IRC07:21
*** mailyaseen has joined #sailfishos-porters07:21
*** giucam has quit IRC07:24
*** giucam has joined #sailfishos-porters07:25
*** giucam has joined #sailfishos-porters07:25
*** lpotter has quit IRC07:33
*** lpotter has joined #sailfishos-porters07:33
*** lpotter has quit IRC07:37
*** lpotter has joined #sailfishos-porters07:37
*** SK_work has quit IRC07:39
*** SK_work has joined #sailfishos-porters07:46
*** d4rkf4b has joined #sailfishos-porters07:56
sledgesgood morgning!07:57
*** furikku has joined #sailfishos-porters07:57
d4rkf4bgood morning07:57
*** cxl000 has joined #sailfishos-porters08:02
*** giucam has quit IRC08:04
*** giucam has joined #sailfishos-porters08:05
*** giucam has joined #sailfishos-porters08:05
*** dmt__ has joined #sailfishos-porters08:05
sledgesd4rkf4b: howdy? welcome to the channel :)08:14
d4rkf4bthanks! ;)08:23
sledgeswhat's your scratch to itch then? :)08:25
sledgeseven other way round, needs coffee :D08:25
d4rkf4bhow can i help?08:25
sledgesit's more what area you're interested in08:26
sledgeswhat phone you've got08:26
d4rkf4bnexus 408:27
d4rkf4band nexus one08:27
d4rkf4band nexus 7 (grouper)08:27
sledgesand i'm proud to say all 3 have been ported to ;)08:27
sledgesthat's some hw caps range :)08:28
d4rkf4bbut i'm not a dev :(08:28
d4rkf4bif i can help for bad tasks08:29
sledgeshttp://bit.ly/1s7LB34 needs some lovin :)08:30
d4rkf4bI see it08:30
sledgeswell, the page is fine ;p08:31
sledgeswe need to create a go-to article for each device08:31
d4rkf4bOk! have you got the template?08:32
sledgeswe'll have to DIT ;)08:32
sledgesthe idea is to have a CyanogenMod-like template08:33
d4rkf4bNexus 5 and Nexus 7 already have it?08:34
d4rkf4bI go to CyanogenMod to see this08:35
sledgesgo here: http://wiki.cyanogenmod.org/w/Devices08:35
sledges(why is this coming up in Polish for me?? :))08:35
d4rkf4bI can translate in French08:37
sledgeswhat default language have you got on that page?08:38
sledgesi think it automagically fails :))08:38
d4rkf4bfor the text but the wiki page is in spanich08:39
sledgesok, so it's not only me :)08:41
sledgeslet's try again08:41
sledgesgo to the bottom08:41
sledgesand click [Expand] on the right08:41
d4rkf4bnow it's in asian language08:42
d4rkf4bi can't read [expand]08:42
d4rkf4bI reload and with your link, I'm now in English08:43
vgradeyea I noticed the language detection on that page is stange08:44
*** vrutkovs has joined #sailfishos-porters08:48
sledgesd4rkf4b: if you could go through the steps and play on cyanogenmod with some dummytest device as codename, then have a vision on how this could be simplified on our wiki, that would be awesome08:48
sledgeswe really don't need so many fields now08:48
sledgesmainly: Porters (with names who's working on it); Known Issues (with link to bugs.nemomobile.org showing search for that device); Installation (which android factory and CM image versions to use); Status of any per-device features (like HDMI is not on every device)08:50
sledgesso keep-it-simple principle :)08:50
sledgesd4rkf4b: you were right, grouper already has a link, but it's pointing to a very old article08:50
d4rkf4bOk  ;)08:52
d4rkf4bI check this08:52
sledgesd4rkf4b: good man!08:54
sledges(or woman :D i should tune real-life phrases to IRC :))08:54
d4rkf4bman ;)08:54
vgradedmt__: woke up to a nice zip08:56
sledgesvgrade: 1+? ;)08:56
sledgesusing dmt__ script system?08:57
vgradesledges: already have one of those08:57
vgradesledges: no N508:57
vgrade1+ was killing me so I thought I'd try dmt__ script for N508:58
sledgessurely you got property service out of the way08:59
*** Sequenced has quit IRC09:00
*** dmt__ has quit IRC09:00
vgradesledges: ?09:02
vgradeits using the right gralloc.msm8974.so if thats what you mean09:02
*** mailyaseen has quit IRC09:02
vgradeI can see it gralloc twice and 3rd time it fails09:03
sledgesdoes it read gralloc multiple times on n5?09:03
vgradelogs match very well, just 1+ 3 one fails09:04
vgradeI've been comparing the device trees to see if ION heaps are same sizes etc09:04
vgradeno luck yet09:05
*** dr_gogeta86 has joined #sailfishos-porters09:12
sledgesvgrade: we need CM11 M9, as anything <23rd July is too ole09:13
vgradesledges: yes, fix was merged 22 july, http://review.cyanogenmod.org/#/c/67489/09:17
dr_gogeta86guys good morning09:18
dr_gogeta86I'm not disappeard not for your joy09:18
*** mailyaseen has joined #sailfishos-porters09:19
dr_gogeta86sledges, china guy answered09:19
dr_gogeta86he sent me a full kener sources package09:19
sledgesvgrade: M9 is not out yet :/09:19
sledgesdr_gogeta86: good newsz %)09:20
*** arcean has joined #sailfishos-porters09:20
sledgesi remember you pointing me to M8, if i wasn't dreaming :))09:20
dr_gogeta86is a bing bunch of porkarround09:20
dmtvgrade: glad it worked :)09:38
d4rkf4bvgrade: see this http://bit.ly/1mibtDy09:44
d4rkf4bIt is correct?09:44
sledgesd4rkf4b: the data on phones already exists: http://wiki.cyanogenmod.org/index.php?title=Template:Device_mako&action=edit09:48
sledgesmy suggestion was to create a new device codename:dummyphone and see which fields we can omit (i guess there'll by many to omit)09:48
d4rkf4bsome fields must be create?...09:50
sledgeswe don't need to duplicate information - too much maintenance09:52
d4rkf4bhow can i point out fields we can omit09:52
sledgesdevice name and codename it's neough09:52
sledgeswe'll add extra if it deems necessary09:52
sledgesis just sandbox stage09:52
sledgesso, a template of just two lines to start with d4rkf4b :)09:57
sledgesalso you can leave device_CM_versions_supported09:57
sledgeswill be learning how wiki templates work ;)09:58
*** VDVsx has quit IRC10:03
*** VDVsx has joined #sailfishos-porters10:18
*** maiyaseen has joined #sailfishos-porters10:19
*** deztructor has joined #sailfishos-porters10:35
flyseroh1jty: did you add the photon q to https://wiki.merproject.org/wiki/Adaptations/libhybris10:53
flysersledges: "vakko'v gave me some links to check on 2S3D_adreno200.so" <- what links? anything I should try?10:57
sledgesflyser: adreno is of no importance anymore10:58
sledgesnexus5 is looking for it too10:58
sledgesbut gui works10:58
flyserno importance? so I can just delete the 2s3d?10:59
sledgesthis is what we currently think10:59
sledges2s3d wasn't there on the first place ;)10:59
sledgeshow was your cm11 attem?t10:59
flyserhad some problems regarding manifest and didn't find time to fix them since then11:00
flyserbreakfast failed with "duplicate path in manifest.xml", but there were no duplicate paths11:01
sledgestry lunch11:01
*** d4rkf4b has quit IRC11:10
*** vakkov_ has joined #sailfishos-porters11:12
*** vakkov_ has quit IRC11:15
*** vakkov has quit IRC11:16
flyserlipstick does indeed "work" without the 2s3d.so. "work" means, it does not crash, but the screen is still black11:22
sledgeslipstick works when =fbdev ?11:26
sledgesbut nothing on screen11:26
sledgesyet crashes with =hwcomposer11:26
sledgesthat's what on find511:30
vgradeflyser: can you pastie a strace11:32
*** vakkov has joined #sailfishos-porters11:32
flysersledges: exactly11:32
flysercrashes with segfault with =hwcomposer11:32
flyservgrade: with =hwc or =fbdev?11:33
flyserlast strace lines with =hwc mention "debug.egl.swapinterval"11:33
flyservgrade: okay, sec11:33
*** Nokius has quit IRC11:37
flyservgrade: the filesize of the strace is 1,2MB11:38
flyserDo you really want the complete log or just the last 1000 lines11:38
vgradeflyser: full log would be best11:39
flysercurl "http://bpaste.net/raw/560975/" | base64 -d | zcat11:41
flyservgrade: see line 1130411:43
flyserIt seems, that it tries to load the 2s3d.so only with =hwcomposer11:43
flyserwhich causes the segfault11:43
sledges(regardless of the file being there?)11:44
flyserthe log above is with the file deleted obviously11:45
flyserif I start it with the file, it also segfaults11:45
flyserbut due to other problems11:45
vgradeflyser http://pastebin.com/u1E2H5S611:47
flyserthat's what I meant11:47
vgradeyea and that is the log from N% where UI works11:47
vgradeat least your ION gralloc is working11:48
flyserwith =hwcomposer?11:48
*** d4rkf4b has joined #sailfishos-porters11:48
vgradeflyser: ping me yuor email and I'll forward the N5 strace11:49
vgradeflyser: you seem to be crashing on ioctl to fd 13 (unluck for some)11:51
vgradejust looking what fd 13 is11:51
flyseropen("/dev/kgsl-3d0", O_RDWR|O_SYNC|O_LARGEFILE) = 1311:52
*** d4rkf4b has quit IRC12:03
flyserIt's odd that you don't  have /dev/kgsl-2d[01] on your device, but I do12:09
flyseralso you have /vendor/lib/libadreno_utils.so and I don't12:12
flyserdoes anyone know what the libadreno_utils.so is for?12:13
sledgesvgrade: permission denied shouldn't be hard to fix12:14
flyserits not a permission problem12:15
flyser"/dev/kgsl-3d0" has 666 permissions12:15
*** SK_work has quit IRC12:24
sledgesah fd=13 ofc12:24
* sledges makes some stronger tea12:25
phdeswerflyser: libadreno_utils would somehow be related to graphics I guess13:08
*** situ has quit IRC13:09
phdesweradreno == QC graphics core13:09
*** giucam has quit IRC13:09
*** giucam has joined #sailfishos-porters13:10
*** giucam has joined #sailfishos-porters13:10
*** jobe-m has joined #sailfishos-porters13:12
*** situ has joined #sailfishos-porters13:14
*** vakkov has quit IRC13:14
*** iTune has quit IRC13:14
*** MSameer has quit IRC13:14
*** keithzg has quit IRC13:14
*** lpotter has quit IRC13:14
*** vakkov has joined #sailfishos-porters13:15
*** lpotter has joined #sailfishos-porters13:15
*** iTune has joined #sailfishos-porters13:15
*** MSameer has joined #sailfishos-porters13:15
*** keithzg has joined #sailfishos-porters13:15
*** MSameer_ has joined #sailfishos-porters13:27
MSameervakkov: any progress?13:28
*** MSameer_ has left #sailfishos-porters13:29
dr_gogeta86hi MSameer13:32
MSameerhi dr_gogeta8613:32
dr_gogeta86glad to see you here13:32
MSameerglad to be here13:33
dr_gogeta86are you working on cameras also on ported device ?13:33
MSameerI am not working on camera at all :D13:33
MSameerdr_gogeta86: what's the issue?13:37
MSameervakkov: where did you go!13:39
dr_gogeta86I know you are the gstreamer hero13:40
dr_gogeta86so or camera or omx13:40
MSameerdr_gogeta86: what is the issue?13:40
sledgesis that an issue?13:40
MSameerI am overrated13:40
* MSameer is just a simple guy13:40
dr_gogeta86is not true13:40
dr_gogeta86apart jolla cannot read some aac files13:41
dr_gogeta86an n9 yes13:41
MSameerjolla phone?13:41
* sledges confused to bits13:41
* MSameer too13:41
dr_gogeta86especially iPhone creted ones13:42
vakkovsorry, another hail started here and since we have some broken windows from the last one i went to check if everything is ok :D13:42
vakkovMSameer: http://pastebin.com/LSR3TN7K13:44
MSameeryour hal reports no cameras!13:46
vakkovMSameer: hold on, hold on.. i will have to finally flash the phone (which will be hard because i dont have volume keys)13:46
MSameervakkov: try GST_DEBUG='*:3'13:46
MSameerwhy do you need to reflash?13:47
vakkovyep, i will have to flash a newer build that has the kernel fixed.. i just remembered that the ducati firmware is not loaded ..13:47
vakkovthat's why i dont have cameras ...13:47
dr_gogeta86vakkov, ducati ?13:47
MSameersledges: any idea why I get no sound from my nexus4?13:48
vakkovdr_gogeta86: OMAP's imaging firmware13:48
dr_gogeta86lack of inspiration ?13:48
sledgessitu: vgrade: your pa patches are breaking HALv1, trying to sort them out with jusa_13:49
*** VDVsx has quit IRC13:49
MSameerdr_gogeta86: jolla phone bugs go to either #sailfishos or together.jolla.com13:49
dr_gogeta86time to create aac sample13:49
sledgesMSameer: which image?13:50
situsledges: What is HALv1 ?13:51
sledgesgoogle sound api (or the whole hardware adaptation api) version13:51
*** vakkov has quit IRC13:59
*** VDVsx has joined #sailfishos-porters14:04
*** situ has quit IRC14:05
vgradesledges: so we need a branch for CM11?14:06
dr_gogeta86git://github.com/mer-hybris/android.git -b hybris-11.014:07
vgradeif its a newer sound HAL14:07
sledgesvgrade: no, just an ifdef14:07
sledgesuntil there's mor14:07
sledgesonly 1 line offending so far14:07
vgradewhich one?14:07
vgradein config parser code14:08
*** situ has joined #sailfishos-porters14:09
vgradeah right , because SPEAKER_DRC_ENABLED_TAG is only defined in 4.4 headers14:11
sledgescan we user #ifdef HAL_V2 ?14:12
sledgesfor elegancy purpose14:12
MSameeri guess there is a bug too in my source. it should not try to open the camera if it's not there to begin with14:13
sledgesMSameer: we're about nexus514:13
vgradesledges: or #if ANDROID_VERSION_MAJOR == 4 && ANDROID_VERSION_MINOR == 4 around new parser code14:14
sledgesvgrade: sure14:14
*** vakkov has joined #sailfishos-porters14:14
sledgesbut not elegant :D14:14
vgradeor https://github.com/siteshwar/pulseaudio-modules-droid/blob/testing-new/src/droid/droid-util-44.h#L2514:15
*** vakkov_ has joined #sailfishos-porters14:43
*** vakkov has quit IRC14:47
*** VDVsx has quit IRC15:01
*** vakkov_ is now known as vakkov15:03
*** phdeswer has quit IRC15:05
*** JohnyZ has quit IRC15:07
*** JohnyZ has joined #sailfishos-porters15:09
*** maiyaseen has quit IRC15:20
*** mailyaseen has quit IRC15:21
*** zZz0n is now known as zon15:33
*** carepack has quit IRC15:36
dr_gogeta86sledges, mokee sources are not viable ... :-(15:48
*** vakkov has quit IRC15:49
*** vrutkovs has quit IRC15:50
*** Nokius has joined #sailfishos-porters15:51
* sledges decrypting...15:51
dr_gogeta86Mokee is a chinese enhanced  cyanongemod fork15:52
dr_gogeta86especially crafted for chinese only phone and derivatives15:53
sledgesi got that far :)15:54
*** VDVsx has joined #sailfishos-porters15:54
*** vakkov has joined #sailfishos-porters15:56
sledgeswhat do you mean, not viable?15:56
dr_gogeta86diverge too much from cyano15:59
dr_gogeta86and use their on mk prefix15:59
sledgeswhy do you want to uset them anyhow?15:59
sledgeswe barely take anything above middleware, mostly lows16:00
dr_gogeta86but to date for my phone is the only fully functional16:00
dr_gogeta86but also device declaration differ16:00
sledgesare they improving low levels?16:00
dr_gogeta86quiet a bit16:00
dr_gogeta86is near a full fork16:00
dr_gogeta86also frameworks16:00
sledgesthey should upstream common bits >.<16:01
sledgesthat they improve16:01
vgradedr_gogeta86: I did a port to Nexus One which had Evervolve source ev.mk16:01
dr_gogeta86are chinese ... so forgot16:01
vakkovit seems that beidl and i have missed something16:02
dr_gogeta86vgrade, here is based on 4.4.416:02
vakkovcameras are not even found16:02
vakkovalthough we built in the kernel module that loads the ducati firmware16:02
vakkovbut is it really loaded? kernel messages through uart say nothing16:02
dr_gogeta86sledges, look here16:03
sledgesdr_gogeta86: if vgrade did it, means it's doable ;)16:05
dr_gogeta86for sure ... but i need just a running kernel16:05
sledgesmka hybris-boot16:05
dr_gogeta86why you use16:06
dr_gogeta86and not make16:06
*** alin has joined #sailfishos-porters16:10
*** alin has joined #sailfishos-porters16:10
*** dr_gogeta86 has quit IRC16:17
vakkovoops, wrong chat16:20
MSameervakkov: did you flash your phone?16:28
vakkovyes, cameras still not detected16:28
MSameerGST_DEBUG='*:4' harbour-cameraplus16:28
vakkovrpmsg_resmgr           10160  016:29
vakkovrpmsg_omx               6647  016:29
vakkovomap_rpmsg              5010  016:29
vakkovhmm modules are loaded16:29
vakkovas user nemo?16:29
MSameervakkov: yes as nemo16:30
MSameerare you sure the formware is loaded?16:30
vakkovMSameer: http://pastebin.com/4kmcJVgd16:31
vakkovstill not, these modules load it16:32
vakkovideas how to check if they are loaded?16:32
vakkovdmesg says nothing16:32
MSameerit opens the hal but cannot find cameras...16:34
vakkovthose cameras16:34
vakkovshould they be some kind of devices in /dev16:34
vakkov/dev/video0 iirc16:35
MSameervakkov: GST_PLUGIN_SYSTEM_PATH_1_0=/usr/share/harbour-cameraplus/lib/gstreamer-1.0/  strace -f -o log.txt /usr/share/harbour-cameraplus/bin/gst-launch-1.0 -e droidcamsrc ! droideglsink16:35
vakkovMSameer: http://pastebin.com/magBXfDR16:37
MSameervakkov: chmod 777 /dev/rpmsg-omx116:39
MSameervakkov: and launch harbour-cameraplus16:39
vakkovlaunch as user?16:39
MSameerbut chmod as root16:39
vakkovofc ;)16:39
MSameer777 is bad but let's do it for the sake of testing16:39
MSameerand /dev/rproc_user too16:40
vakkovit force stops16:41
MSameerGST_DEBUG='*:2' harbour-cameraplus16:42
MSameervakkov: we are making progress16:42
MSameerdoes it crash?16:43
vakkovhaven't read the log but i think it's the same16:43
vakkovmabe a strace?16:43
MSameertry with gst-launch16:43
MSameerGST_PLUGIN_SYSTEM_PATH_1_0=/usr/share/harbour-cameraplus/lib/gstreamer-1.0/  strace -f -o log.txt /usr/share/harbour-cameraplus/bin/gst-launch-1.0 -e droidcamsrc ! droideglsink16:43
MSameeror wait16:44
MSameerno need for strace16:44
MSameerGST_PLUGIN_SYSTEM_PATH_1_0=/usr/share/harbour-cameraplus/lib/gstreamer-1.0/   /usr/share/harbour-cameraplus/bin/gst-launch-1.0 -e droidcamsrc ! droideglsink16:44
vakkovCaught SIGSEGV16:44
vakkovSpinning.  Please run 'gdb gst-launch-1.0 2129' to continue debugging, Ctrl-C to quit, or Ctrl-\ to dump core.16:44
vakkovwell, i started with a strace16:45
MSameerwe need to debug under gdb16:45
vakkovit doesnt matter i guess (the strace)16:45
MSameerat least now we are progressing16:45
MSameerbut I need to go for food16:45
vakkovinstalling gdb now16:45
MSameervakkov: we will use gdb next but after food16:46
*** alin_ has joined #sailfishos-porters16:48
*** phdeswer has joined #sailfishos-porters16:49
vakkovMSameer: http://pastebin.com/r3wiB8tw16:50
*** alin has quit IRC16:51
*** alin_ has quit IRC16:54
*** iTune has quit IRC16:55
*** alin_ has joined #sailfishos-porters16:56
MSameerGST_PLUGIN_SYSTEM_PATH_1_0=/usr/share/harbour-cameraplus/lib/gstreamer-1.0/  gst --args  /usr/share/harbour-cameraplus/bin/gst-launch-1.0 -e droidcamsrc ! droideglsink17:02
MSameervakkov: ^17:02
vakkovbash: gst: command not found17:05
MSameergdb --args17:05
vakkovbtw i installed gstreamer1.0-tools-debuginfo-1.4.0+master.12.11cadbf-10.29.1.jolla.armv7hl17:05
MSameeryou can also install gstreamer-debuginfo17:05
MSameeryou can also install gstreamer1.0-debuginfo17:05
vakkovand it now says17:06
vakkovReading symbols from /usr/share/harbour-cameraplus/bin/gst-launch-1.0...Reading symbols from /usr/lib/debug/usr/bin/gst-launch-1.0.debug...done.17:06
MSameertype "r"17:06
MSameermy irc client switches small letter R to "are"17:06
MSameeror run should work too17:07
vakkovi guess i will just isntall everything from your repo :D17:07
MSameerdid it crash?17:08
MSameervakkov: ^17:09
vakkovMSameer: Program received signal SIGSEGV, Segmentation fault.17:10
vakkov0x40cf9502 in ?? ()17:10
MSameertype bt17:10
*** alin_ has quit IRC17:10
vakkov(gdb) bt17:10
vakkov#0  0x40cf9502 in ?? ()17:10
vakkov#1  0x40cf94fc in ?? ()17:10
vakkov#2  0x40cf94fc in ?? ()17:10
vakkovBacktrace stopped: previous frame identical to this frame (corrupt stack?)17:10
MSameerin hybris git repos there is a python script17:11
MSameercopy that to the phone17:11
MSameerand from gdb do: source /<path to that file>/load_sym_files.py17:12
MSameerthen load-sym-files /17:12
MSameer(wait for it to finish(17:12
MSameer(wait for it to finish)17:12
MSameerthen type bt17:12
MSameerand also show me logcat output17:12
*** alin_ has joined #sailfishos-porters17:13
* MSameer whips vakkov 17:16
vakkov(gdb) source /home/nemo/load_sym_files.py17:16
vakkov(gdb) bt17:16
vakkov#0  0x40cf9502 in ?? ()17:16
vakkov#1  0x40cf94fc in ?? ()17:16
vakkov#2  0x40cf94fc in ?? ()17:16
vakkovBacktrace stopped: previous frame identical to this frame (corrupt stack?)17:16
MSameer load-sym-files /17:16
MSameerthen bt17:16
vakkovthere is a python version installed by default, isn't it17:17
MSameerand show me logcat output too please17:17
vakkov/home/nemo/load_sym_files.py /: No such file or directory.17:17
vakkovwhat the?17:17
vakkovhold on :D17:17
* MSameer holds vakkov on17:18
* sledges takes whip away from MSameer 17:18
sledgesas i've seen more lashes incomin' :))17:18
vakkovE/NetlinkListener(  388): recvmsg failed (I/O error)    all over the logcat17:18
vakkovit has always been flooding ;D17:18
MSameerwe waited for a long time before getting logcat17:19
*** Nokius1 has joined #sailfishos-porters17:19
vakkovE/NetlinkListener(  388): recvmsg failed (I/O error)17:19
vakkovE/        ( 2835): num_cameras = 217:19
vakkovI/CameraHAL( 2835): camera_device open17:19
vakkovI/ServiceManager( 2835): Waiting for service sensorservice...17:19
MSameernothing else?17:19
MSameerok quit gdb and try with strace17:21
sledgesvakkov: wait17:21
*** Nokius has quit IRC17:21
sledgesyou haven't done17:21
sledgesload-sym-files /17:21
sledges(exactly as written :p)17:21
vakkovlet's try ;P17:22
vakkov(gdb) source /home/nemo/load_sym_files.py17:23
vakkov(gdb) load_sym_files /17:23
vakkovUndefined command: "load_sym_files".  Try "help".17:23
*** Nokius has joined #sailfishos-porters17:23
vakkovthe script has chmod +x if that matters17:23
MSameerload-sym-files /17:24
MSameerdash "-" not underscore "_"17:24
vakkovomg :D17:24
* sledges hands the whip back to MSameer 17:24
*** alin_ has quit IRC17:24
* MSameer whips sledges :D17:24
*** Nokius1 has quit IRC17:25
MSameersledges: love your spirit man :)17:25
vakkovMSameer: http://pastebin.com/QLvYzML417:25
vakkovsorry guys, i'm a little bit tired17:25
MSameerno use17:25
MSameervakkov: want to postpone it for now?17:25
MSameertry with strace17:25
sledgeslove the spirit of two of you ;)17:26
MSameeryou can also do logcat 2>&1 | grep -v "recvmsg failed"17:26
MSameerto filter out that crap17:26
vakkovand we'll get ril crap17:27
* MSameer knows nothing about RIL crap :D17:27
vakkovoh there is something aout omx17:28
MSameershow me please :D17:28
*** alin_ has joined #sailfishos-porters17:28
vakkovnow tell me that the firmware is not even loaded :D17:29
MSameervakkov: strace please17:29
vakkovGST_PLUGIN_SYSTEM_PATH_1_0=/usr/share/harbour-cameraplus/lib/gstreamer-1.0/  strace -f -o log.txt /usr/share/harbour-cameraplus/bin/gst-launch-1.0 -e droidcamsrc ! droideglsink17:29
MSameerGST_PLUGIN_SYSTEM_PATH_1_0=/usr/share/harbour-cameraplus/lib/gstreamer-1.0/  strace -f -o log.txt /usr/share/harbour-cameraplus/bin/gst-launch-1.0 -e droidcamsrc ! droideglsink17:29
vakkovok :d17:29
MSameervakkov: you gotta love android. camera open fails to manipulate omx yet it returns success apparently (or it crashes instead of returning a proper error)17:30
vakkovshould i wait it to crash or smth17:31
vakkovstays on Setting pipeline to PAUSED ...17:31
vakkovfor a long time17:31
MSameerjust wait17:31
vakkovare you sure that we dont have to use that special omap gstreamer :D17:31
*** Sequenced has joined #sailfishos-porters17:31
*** VDVsx has quit IRC17:33
MSameervakkov: ofc I don't know but feel free to use it (we will have to tweak some stuff somewhere)17:33
MSameervakkov: no crash yet?17:33
MSameernothing in logcat?17:35
MSameervakkov:  nothing in logcat?17:35
*** VDVsx has joined #sailfishos-porters17:36
MSameernot even the omx errors?17:36
vakkovhaven't even stopped logcat17:36
MSameermaybe reboot then17:36
MSameerand chmod the devices 777 and try again17:36
MSameerwith strace17:36
MSameeroh boy. wait until we try to get the omx codecs to work. it will be a mess :)17:37
*** Nokius1 has joined #sailfishos-porters17:37
vakkovwanna take a look of the strace before i stopped it?17:38
MSameeryes please17:38
*** Nokius has quit IRC17:39
vakkovMSameer: this omap gstream seems to be 0.1017:40
MSameervakkov: nothing useful in that strace17:40
MSameerjust reboot; chmod and run strace again17:41
MSameervakkov: the issue with gst-omap is it might not be using android hal so it's not going to be easy to get everything to work17:41
vakkovmaybe it's for the ubuntu layer17:43
vakkovstill not crashing17:45
MSameershow me the output then?17:46
MSameerand logcat?17:46
vakkovE/        ( 1497): num_cameras = 217:46
vakkovI/CameraHAL( 1497): camera_device open17:46
vakkovI/ServiceManager( 1497): Waiting for service sensorservice...17:46
vakkovI/ServiceManager( 1497): Waiting for service sensorservice...17:46
MSameerabove that please17:46
vakkovi crashed17:46
MSameeri don't want you to crash :D17:46
vakkovabove it: D/libEGL  ( 1212): loaded /vendor/lib/egl/libGLESv2_POWERVR_SGX540_120.so17:46
vakkovD/libEGL  ( 1238): loaded /vendor/lib/egl/libEGL_POWERVR_SGX540_120.so17:46
vakkovD/libEGL  ( 1238): loaded /vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_120.so17:46
vakkovD/libEGL  ( 1238): loaded /vendor/lib/egl/libGLESv2_POWERVR_SGX540_120.so17:46
vakkovW/Netd    (  381): No subsystem found in netlink event17:46
vakkovD/NetlinkEvent(  381): Unexpected netlink message. type=0x1117:46
vakkov... this was there before i started it17:46
MSameerand it did not crash?17:47
vakkovCaught SIGSEGV17:48
vakkovSpinning.  Please run 'gdb gst-launch-1.0 1511' to continue debugging, Ctrl-C to quit, or Ctrl-\ to dump core.17:48
vakkovpulling the log17:48
vakkovit's big17:48
MSameerpull it and then hit ctrl-\17:49
MSameerand pull it again17:49
MSameerkeep both just in case17:49
MSameerwant to email it instead of using pastebin?17:49
vakkovwould be nice17:50
vakkovpastebin doesnt want to take it ;d17:50
vakkovpm me your mail17:51
MSameerhow large is it?17:51
vakkov336 kb17:51
MSameernot much17:51
MSameergot it17:55
MSameer1511  --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0} ---17:56
vakkovall those waiting for service messages... should mediaserver be started for this things17:59
MSameer1511  openat(AT_FDCWD, "/data/misc/camera/R5_MVEN003_LD2_ND0_IR0_SH0_FL1_SVEN003_DCCID1044/", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = -1 EACCES (Permission denied)18:00
MSameer1511  openat(AT_FDCWD, "/data/misc/camera/R1_3_MVEN003_LD2_ND0_IR0_SH0_FL1_SVEN003_DCCID1045/", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = -1 EACCES (Permission denied)18:00
MSameerthat sounds like something vakkov ^18:00
MSameervakkov: give permission to that folder and try again without strace18:00
vakkovhell yeah, that's the calibration18:01
vakkovwhat permission should i give it18:01
vakkovthere is no *45 directory here18:02
vakkovmine's 44 ;)18:02
vakkovfrom init.tuna.rc  - mkdir /data/misc/camera 0770 media media18:06
vakkovmkdir /data/misc/camera/R5_MVEN003_LD2_ND0_IR0_SH0_FL1_SVEN003_DCCID1044 0770 media media18:06
vakkovstill hasnt crashed wih 77718:06
MSameerstrace or without?18:07
MSameervakkov:  with strace or without?18:08
MSameerso what does it show now?18:08
vakkovstays at Setting pipeline to PAUSED ...18:08
vakkovand i dont see new I/ServiceManager( 1511): Waiting for service sensorservice...18:09
MSameerGST_DEBUG='droidcamsrc:7' GST_PLUGIN_SYSTEM_PATH_1_0=/usr/share/harbour-cameraplus/lib/gstreamer-1.0/   /usr/share/harbour-cameraplus/bin/gst-launch-1.0 -e droidcamsrc ! droideglsink18:09
MSameerwe might need to reboot18:09
MSameeronly that?18:10
vakkovnew just came :D18:10
MSameerseems it might fail18:10
MSameerlooks like it tries to do something which takes some time18:11
vakkovi hit the limit in pastebin :(18:11
vakkovwhy are those cameras not found18:12
*** gogeta_ has joined #sailfishos-porters18:13
*** Nokius1 has quit IRC18:13
MSameerununtu layer would have suffered from all those issues as well18:14
*** Nokius has joined #sailfishos-porters18:14
vakkovMSameer: got mail :p18:17
vakkovthe ubuntu layer is known to already work on the hardware :P18:17
vakkovi still don't know if the firmware was loaded18:17
*** Aquilum has quit IRC18:18
*** Aquilum has joined #sailfishos-porters18:18
alin_vakkov: MSameer how did you compile the ubutu layer...18:20
alin_I looked into it and rien18:20
MSameer1606  open("/dev/rpmsg-omx1", O_RDWR|O_LARGEFILE) = 518:20
MSameer1606  ioctl(5, PACKET_CTRL_CMD, 0xbedf3f24) = -1 ETIMEDOUT (Connection timed out)18:20
MSameeralin_: I did not18:20
MSameer1606  open("/dev/rpmsg-omx1", O_RDWR|O_LARGEFILE) = 518:20
MSameer1606  ioctl(5, PACKET_CTRL_CMD, 0xbedf3f24) = -1 ETIMEDOUT (Connection timed out)18:20
MSameervakkov: logcat should have something18:20
MSameervakkov: or reboot; give permissions on 2 devices and the 2 folders and try again18:21
vakkovit's one folder18:21
vakkovalin: i already have it compiled from ubuntu18:21
vakkovit's just a lib and it works18:21
MSameerD/DOMX    ( 1599): ERROR: failed check:status >= 0 - returning error: 0x81000 - Can't connect18:22
vakkovit's tricky to get it compiled now, haven't investigated18:22
vakkovclone a hybris tree in the android one and try with the target from the android.mk18:22
vakkovMSameer: should i reboot18:22
alin_vakkov: we downloaded the last hammerhead of u touch and was not there18:24
vakkovalin_: saucy_preinstalled_system or smth like that had it :D in system/lib18:25
vakkovcheck if they even use that layer for n518:25
vakkovwhy can't i reboot with the usb cable in ..18:26
vakkovall i get is a black screen18:31
vakkovwtf ..18:31
vakkovand beidl has disabled the pre_init loader18:31
vakkovthis is the release iamge18:31
*** alin_ has quit IRC18:31
vakkov it's like i dont have a ui18:32
vakkovwehn i hold the power button the phone vibrates and turns itself off18:32
vakkovno telnet or ssh :(18:33
*** alin_ has joined #sailfishos-porters18:37
vakkovi cant boot up, the device went too hot18:39
vakkovhooked up uart18:39
vakkovomap_thermal_throttle: temperature too high, cpu throttle at max 92000018:39
MSameerbake some bread :)18:40
alin_vakkov: how the hell?18:40
vakkovwell, i rebooted18:41
vakkovbut those chmods shouldnt have damaged anything18:41
vakkovand i don't have keys to just flash from recovery ;(18:42
vakkovMSameer: that's for today. I need to rest and study a little18:42
vakkovthanks ;)18:43
vakkovi will flash tomorrow18:43
MSameerwe can continue later18:43
vakkovor probably build a build with Mer Boat Loader18:43
vakkovsledges: http://pastie.org/944839018:46
vakkovall the processes after that get a SIGCHLD18:46
*** alin_ has quit IRC18:47
*** Nokius1 has joined #sailfishos-porters18:47
*** Sequenced has quit IRC18:49
*** Nokius has quit IRC18:50
*** furikku has quit IRC19:01
*** dmt__ has joined #sailfishos-porters19:26
*** piggz has joined #sailfishos-porters19:30
*** SfietKonstantin has joined #sailfishos-porters19:32
*** SfietKonstantin has quit IRC19:43
*** piggz has quit IRC20:10
*** piggz has joined #sailfishos-porters20:10
* Stskeeps yawns20:12
vgradehey Stskeeps20:21
*** diverse has joined #sailfishos-porters20:21
diverseHello, does sailfish support Samsung Galaxy S3 i747? If so, how do I get it setup?20:23
Stskeepsmoo vgrade20:25
flyserdiverse: you can help to port it http://releases.sailfishos.org/sfa-ea/2014-07-21_SailfishOSHardwareAdaptationDevelopmentKit.pdf20:26
flyserdiverse: there is a WIP port of the i9305, that you could use as a reference20:26
*** dmt__ has quit IRC20:31
*** piggz has quit IRC20:54
gogeta_flyser: different product20:55
gogeta_i747 if I wrong is an exynos based20:56
gogeta_is similar to note 220:56
vakkovi747 is qualcomm20:57
vakkovi9305 is an exynos one20:59
*** piggz has joined #sailfishos-porters21:04
*** alin has joined #sailfishos-porters21:06
sledgesStskeeps: gralloc failure specialists wanted ^_^21:16
*** dmt__ has joined #sailfishos-porters21:18
vgradedmt__: zip is working well.21:19
dmt__vgrade: cool21:19
dmt__vgrade: this is for n5 or other?21:20
vgraden5. it has the system mount issue and time issue but those are expected21:20
*** dmt__ has quit IRC21:25
*** dmt_ has joined #sailfishos-porters21:25
alinvgrade: system mount issue?21:33
alindmt: did you remove the workaround?21:33
vgrade alin yes21:35
alinvakkov: any success with yout camera?21:35
alinvgrade: you get the google logo forever?21:35
alinvgrade: can you check if build-ing.sh has the seds inside?21:37
alinsledges: can we get a repo for middleware for hammerhead?21:38
*** zon is now known as zZz0n21:39
alinvgrade: I see by default there are no workarounds in the ks...21:40
vgradealin: thats best then21:41
alinvgrade: yap...21:41
alinvgrade: kosher...21:41
alinvgrade: now we need the mw repo that sledges promised21:42
vgradewhat do you need in mw21:42
alinvgrade: all the hal craps we keep rebuild21:42
alinsledges: remember when you said that situ's repo will move somewhere more official?21:43
vgradealin: you mean you want to get the hal rpms onto OBS21:43
sledgeswhat is blocking you atm?21:43
alinvgrade: I would like to generate all the image on the obs21:44
alinsledges: the organisation bit... I think we need a repo created by someone with higher powers...21:44
alinsledges: something like hammerhead:mw21:44
alinor the other way round...21:44
alinsledges: and I do not mean god...21:44
sledgesalin: that's not a problem21:45
sledgesbut until repo is in place21:45
sledgeswhy you cannot use situ's one?21:45
sledgeshammerhead is still under works21:45
sledgesfor pulseaudio, race and clock21:45
alinsledges: of course I can...21:45
alinsledges: vgrade got the race by the way21:45
alinsledges: pulseaudio I do not know what is wrong with it21:46
sledgesas in, reproduced?21:46
alinsledges: vgrade yes21:46
sledgesalin: nothing, i'm tidying it up atm21:46
sledgestesting on jolla21:46
vgradealin: we've had the race since systemd update in u8, was not there in u521:46
alinvs u5?21:47
alin208 from 205?21:47
vgradejolla update 5 had systemd 187 and we had no races21:47
vgradejolla update 8 has updated systemd and we have system mount issue21:48
alinvgrade: 187.... he he... that is old like hell...21:48
vgradealin: don't knock the oldies21:49
sledgesold = stable21:49
alinvgrade: nope.... but for progess the old saying if ain't broken do not fix it... does not work21:49
alinsledges: old=boring... we know all the bugs and the limitations...21:50
alinanyhow 208 is not very green21:50
alini think current is 210 or so21:50
sledgesif not broken, don't fix it, but improve it ;p agree21:50
alinsledges: first step to improve something... break it...21:50
sledgesyet new = new bugs; especially on environment they don't test - smartphone21:50
sledgeswhy we don't have a single phone out there running >=3.10 kernel?21:51
alinsledges: sent a jolla to pottering... and maybe he wil test it21:51
sledgesbecause they are still busy back porting patches to 3.021:51
sledgesand that's on ODM level21:51
alinsledges: for that greg kh21:51
sledgesin 2011 i had embedded boards from customers with 2.16.x21:52
sledgesbecause newer BSP didn't exist21:52
vgradealin: he haas one, https://plus.google.com/+LennartPoetteringTheOneAndOnly/posts/Vk77SRrqNEy21:52
sledgesfrom manufacturer, far from mainstreaming21:52
vgradesledges: so just the ifdef for pulse required?21:53
alinvgrade:  good I shall add a blob and comment in it... systemd really sucks on this one21:53
alinvgrade: or maybe we shall complain about pulse... he was behind it too21:53
sledgesvgrade: can't say internal obs blocked :D21:54
sledgesshould do though21:54
vgradesledges: I'll see if situ can do as he can work git much better than I.  I promised him I'd look at timr21:55
sledgesvgrade: im on it if you're about pulse21:56
vgradealin: I saw you forked dsme, what did you conclude?21:56
sledgeswill PR21:56
vgradesledges: oh ok, I was21:56
alinvgrade: a piece of crap... makes no sense...21:56
sledgesyup, no biggie, just brought you guys up to speed21:56
vgradealin: thanks21:56
vgradeso thats systemd, pulseaudio, dsme, anything else ? :)21:57
alinvgrade: that wrong ioctl shall not fail... all looks ok... they you discover that /dev/rtc0 is in use21:57
alinby whom... nobody knows21:57
sledgesalin: im handling GPS internally, will need a sailfish mw plugin21:57
alinvgrade: joke aside... on ubuntu they do not use dsme21:57
sledgesthanks for submitting those bugs, it's working :)21:58
sledges(the communication with sailors ;)21:58
alinsledges: what do you mean it is working?21:58
alinsledges: there is another one... the one about persistent log21:58
sledgesah that should be just a switch21:58
sledgeswill revice bug list, ta21:59
alinvgrade: but pulse works... I had no issues with it21:59
vgradealin: the code was a piece of crap21:59
alinvgrade: of pulse?21:59
vgradeand I can say that because I wrote it :)21:59
alinvgrade: I do not know... because it worked I did not look22:00
vgradeno the code to make droid-pulse work on CM11 and N522:00
alinvgrade: i looked in dsme but I do not think is an issue in dsme22:00
alinvgrade: something spookier happens22:00
vgradeis there an android service running ? which could have rtc0 open/22:01
alinvgrade: I do not know lsof on it showed only dsme22:01
vgradelsof might only work on linux side22:03
alinsledges: there is bootgraph option for systemd...22:04
alinvgrade: no idea22:04
sledgesalin: there's a bootgraph binary from systemd22:04
sledgesand it's to time the race issues22:04
MSameervakkov: if you want to run sailfish without hybris then you need to provide a wayland implementation22:06
MSameervakkov: an example is n9 which can run an older version of sailfish without hybris22:07
MSameervakkov: it can run a new version once its kernel gets upgraded22:08
MSameervakkov: hybris allows you to reuse android HW adaptation22:08
MSameervakkov: so if you have native HW adaptation then you can use it without hybris22:09
MSameervakkov: I have a low power arm board (cubieboard) which runs XBMC on top of the frame buffer directly and I use hybris for media decoding22:09
MSameervakkov: by loading android media decoding libraries via hybris, I can let XBMC which is a native app do HW accelerated media playback22:10
*** lbt has quit IRC22:12
*** lbt has joined #sailfishos-porters22:12
vgradegot to love the qcom guy, "Have you modified the DT to have this property set to 1?22:41
vgradeIf so, don't do that."22:41
sledgesi even got convinced ;)22:46
hurriandevicetree :(22:46
hurrianwhat a world of hurt.22:46
sledgesto rule them all devices :)22:46
vgradei note from the logs , even if that call did suceed it would only set the date correctly as the time is incorrect22:48
vgradeSep 25 21:58:05 Jolla DSME[674]: IPHB: rtc at 1970-09-25 20:58:05 GMT22:48
vgradeSep 25 21:58:05 Jolla DSME[674]: IPHB: set to 2014-08-05 01:22:54 GMT22:48
vgradeand that log was from 21:00 or so22:49
vgradeinteresting that rtc time seems correct before the call22:49
vgradeto set22:50
*** hurrian has quit IRC22:51
*** hurrian has joined #sailfishos-porters22:55
*** hurrian has joined #sailfishos-porters22:55
*** gogeta_ has quit IRC22:58
MSameerso it seems ubuntu's camera compat lyer needs media service23:02
MSameerthat's already a discouragement from my POV :p23:03
sledgessitu: jusa_: vgrade: https://github.com/mer-hybris/pulseaudio-modules-droid/pull/1323:53

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