Saturday, 2018-06-02

roybentA thalassocracy (thalassa), meaning "sea", and (kratein), meaning "power", giving (thalassokratia), "sea power") is a state with primarily maritime realms, an empire at sea (such as the Phoenician network of merchant cities) or a seaborne empire.One can distinguish this traditional sense of thalassocracy from an "empire", where the state's territories, though possibly linked principally or solely by the sea lanes, generally extend into04:51
roybentmainland interiors. Compare to tellurocracy "land-based hegemony". The term thalassocracy can also simply refer to naval supremacy, in either military or commercial senses of the word supremacy. It was with the modern age, the Age of Exploration, that some of the most remarkable thalassocracies emerged.04:51
roybentMaritime history is the study of human interaction with and activity at sea. It covers a broad thematic element of history that often uses a global approach, although national and regional histories remain predominant. As an academic subject, it often crosses the boundaries of standard disciplines, focusing on understanding humankind's various relationships to the oceans, seas, and major waterways of the globe. Nautical history records and05:28
roybentinterprets past events involving ships, shipping, navigation, and seafarers.05:28
roybententerthegame, gamesurge, globalgamers hots channel05:42
roybentThe Balangay (formerly synonymous with Butuan boat)[1] is a plank boat adjoined by a carved-out plank edged through pins and dowels. It was first mentioned in the 16th Century in the Chronicles of Pigafetta, and is known as the oldest watercraft found in the Philippines.06:10
roybentPirogues in the United States is associated particularly with the Cajuns of the Louisiana marsh. The early Cajun pirogues were cypress dugouts but today they are usually flat-bottomed boats. Pirogues are not usually intended for overnight travel but are light and small enough to be easily taken onto land. The design also allows the pirogue to move through the very shallow water of marshes and be easily turned over to drain any water that may06:10
roybentget into the boat. A pirogue has "hard chines" which means that instead of a smooth curve from the gunwales to the keel, there is often a flat bottom which meets the plane of the side.06:10
bshahany ops here?06:11
bshahsledges_: ^06:14
*** Nokius_ is now known as Nokius06:49
Mister_Magistermal: any reason why wifi would not build as module?11:37
malsome kernels have issues with modules, have you verified modules are enabled?11:38
Mister_Magistermal: thanks xD i didnt think thank Keij0 could not enable them xD11:39
malsome kernels don't have module support enabled by default, that can be seen as a security feature also11:41
Mister_Magisteryeah11:41
RoybentThroughout history sailing has been instrumental in the development of civilization, affording humanity greater mobility than travel over land, whether for trade, transport or warfare, and the capacity for fishing. The earliest representation of a ship under sail appears on a painted disc found in Kuwait dating to the late 5th millennium BC.In the time before ancient maritime history, the first boats are presumed to have been dugout canoes,13:16
Roybentdeveloped independently by various stone age populations, and used for coastal fishing and travel. Since the turn of the millennium, the construction of stealth ships have occurred. These are ships which employs stealth technology construction techniques in an effort to ensure that it is harder to detect by one or more of radar, visual, sonar, and infrared methods. These techniques borrow from stealth aircraft technology, although some aspects13:16
Roybentsuch as wake reduction are unique to stealth ships' design.13:16
steeeveO.o13:21
Keij0mal: this https://github.com/VerdandiTeam/android_kernel_sony_msm8974 is sickening, keeps throwing http://paste.opensuse.org/5269532913:54
steeeveHmm, i ve never seen a qcom device having bcm wireless :/13:57
Keij0steeve: Sony is here to break it for ya13:59
Keij0these drivers are so bad13:59
steeeveAww14:00
steeeveYou can use github search :D14:01
bshahsteeeve: also, hammerhead (qcom device) uses bcm wifi14:03
steeeveBon14:05
bshahI think there are many msm8974 device with bcm wifi...14:05
malKeij0: maybe you don't need to bulld it as module, check what was done for xperia x14:14
Mister_Magistermal: when not built as module it has random mac every reboot14:19
malMister_Magister: even after using the mac address setup service?14:22
Mister_Magisterpretty much yeah14:22
malthen the service is not run properly, probably14:22
Mister_Magisteryeah thats the problem14:22
malso you copied it from xperia x configs?14:23
maland adjusted paths if needed14:23
Mister_Magisternot sure ask Keij014:23
malmaybe he'll give more information14:24
malwhat device is that?14:24
Mister_Magisterxperia z214:25
Mister_Magistermal: he did copy that script so i dunno what he did14:25
malit might need adjusting for different devices14:26
Mister_Magisteroaky14:26
Mister_Magistermal: i mean its pretty good hackerphone :D Reboot and you have different mac14:47
Keij0service is insignificant15:59
Keij0it only updates mac in the UI15:59
Keij0kernel always uses the mac it gets from the function that gets mac, if it can't get to sysfs, which apparently isn't available in kernelland it goes and generates random mac15:59
Keij0mal: take a look at arch/arm/march-msm/board-sony-shinano-wifi.c, function shinano_wifi_get_mac_addr16:01
kimmolireally annoying to use in wifi networks, as you need to login after every reboot16:02
Keij0kimmoli: wifi settings aren't even saved so after every reboot you need to connect to whatever network you were connected last16:04
kimmoliofono saves them per device MAC16:04
kimmolior connman16:05
Keij0yeah, something like this16:06
malKeij0: could you link to the device repo16:07
Keij0I don't have it forked yet, let me fork everything and commit my changes16:08
malI don't need to fork, original is ok16:09
malI just want to see the init*.rc files16:09
Keij0okay16:11
Keij0mal: https://github.com/ResurrectionRemix-Devices/android_device_sony_sirius/tree/cr-5.116:12
malKeij0: I was ust looking at the sony macaddrsetup sources and it writes mac address via ta service which afaik is a way to communicate with certain kernel things and therefore it could rewrite the mac there16:13
Keij0doesn't work for that platform as it spits out16:14
Keij0Feb 25 09:06:50 Sailfish kernel: wifi_platform_get_mac_addr16:14
Keij0Feb 25 09:06:50 Sailfish kernel: shinano_wifi_get_mac_addr: Failed to get information from file /sys/devices/platform/bcmdhd_wlan/macaddr (-2)16:14
Keij0this16:14
Keij0macaddrsetup just updated the UI mac, nothing else16:14
malKeij0: it seems that device only uses macaddrsetup in 14.116:18
Keij0So I need to check if that is thrown in android16:20
malKeij0: yep, checking what happens in android side is a good starting point16:22
malKeij0: that driver has macaddr store functionality, have you tried to just write some mac address after boot?16:25
malKeij0: https://github.com/VerdandiTeam/android_kernel_sony_msm8974/blob/cr-5.1/arch/arm/mach-msm/board-sony_shinano-wifi.c#L37616:25
malKeij0: check if android side has the mac address you could write there, it's in some file somewhere usually16:26
Keij0Nope, but that path is in the real OS, but not when that function executes and that's why I wanted to build it as a module in the first place16:27
Keij0If only there was a way to make sysfs available earlier16:27
malso you can't write it later?16:27
Keij0random_mac: in that file states that16:30
Keij0 /* Mac displayed from UI is never updated..16:30
Keij0                   So, mac obtained on initial time is used */16:30
malKeij0: what happens if you write to the sysfs path a new mac address? does it stay as that? meaning if you read from it later16:31
Keij0Haven't tried that, but that path has consistent mac address so I guess if sysfs was available earlier or it was built as a module it'd work16:33
Keij0any other way to check what mac address the device uses other than the ui?16:33
malis the mac address in that file the same that you have in android?16:34
malKeij0: I assume ifconfig lists the random address?16:35
Keij0mal: let me flash it with android kernel and check16:40
Keij0now lineage doesn't boot16:49
Keij0what the heck16:49
piggz"keep calm and debug"16:52
Keij0mal: that mac address is the same in that path and LOS UI16:58
malso the kernel driver gets initialized properly in sailfish also, but why doesn't UI get the correct address17:02
malKeij0: ifconfig shows the wrong mac address? not the one in that path?17:08
Keij0after fixing that path it works, I was wrong17:52
malKeij0: what was wrong with the path?17:58
Keij0the one in the Sailfish X script is loire-specific18:06
Keij0And I was too blind to notice it at first18:06
malKeij0: I did mention that the path probably needs adjusting..18:15
malKeij0: anyway good that it now works18:16
Keij0mal: frameworks/av/media/libavextensions/stagefright/AVUtils.cpp:48:10: fatal error: 'OMX_QCOMExtns.h' file not found19:37
malKeij0: that should be under hardware/qcom/media/19:42
malKeij0: what are you trying to build?19:42
Keij0droidmedia19:44
malKeij0: which platform is that device?19:51
malah, it's 897419:51
Keij0mal: any ideas?20:01
steeeveIt's here: https://github.com/LineageOS/android_hardware_qcom_media/blob/cm-14.1/msm8974/mm-core/inc/OMX_QCOMExtns.h20:05
Keij0steeve: put it there, still doesn't work20:07
Keij0wait wrong dir20:08
Keij0nope, still doesn't work20:11
steeeveDo you have TARGET_BOARD_PLATFORM := true in your BoardConfig?20:13
steeeveNo wait20:13
steeeveTARGET_BOARD_PLATFORM := msm8974 :P20:13
malKeij0: there are several copies of that in my source tree, for different platforms, are you using hybris-12.1 or something newer?20:14
Mister_Magistermal: 14.120:16
malhmm, the branch linked earlier was 5.1 so I assume it was using older base20:18
Mister_Magistermal: i have them in my 14.1 tree aswell20:20
malyes, many copies20:21
Mister_Magisteryep20:21
Keij05.1 of the custom rom, not the android version20:21
Mister_MagisterKeij0: so do you have that flag?20:21
malok, that confused me20:22
Keij0nope20:24
Mister_Magistersteeeve: nope20:24
steeeveMeh, without that, media dir is completely ignored20:24
steeeveAdd it and rebuild20:25
Keij0It's getting out of hand20:30
Keij0now there are two of them20:30
Keij0frameworks/av/media/libstagefright/FFMPEGSoftCodec.cpp:51:10: fatal error: 'OMX_QCOMExtns.h' file not found20:30
Keij0this boi joined the pack20:30
Mister_Magistersteeeve: steeeeeeeeeeeeeve20:33
steeeveHeeeeey20:34
Mister_Magistersteeeve: any idea?20:35
steeeveThis is the file https://github.com/LineageOS/android_hardware_qcom_media/blob/cm-14.1/Android.mk20:35
Keij0What am I supposed to do?20:36
Mister_MagisterKeij0: not sure myself xD20:37
steeeveSurely you're missing some stuff. Can you link your tree?20:38
Keij0what tree?20:39
steeeveDevice tree20:39
Keij0https://github.com/ResurrectionRemix-Devices/android_device_sony_sirius/tree/cr-5.120:39
Mister_Magisteroak tree obviously :D20:39
steeeveKeij0: do you have dependency dirs like https://github.com/CyanogenMod/android_device_sony_msm8974-common/tree/cm-12.0 and https://github.com/CyanogenMod/android_device_sony_shinano-common/tree/cm-12.0 ?20:47
steeeveAssuming that you synced 12.1 hybris branch20:48
Mister_Magistersteeeve: already said its 14.1 :P20:50
steeeveBut he linked https://github.com/ResurrectionRemix-Devices/android_device_sony_sirius/tree/cr-5.120:51
steeeve...cr-5.1...20:51
steeeve...5.1...20:51
steeeveKeij0: are you building 14.1 with 12.1 tree O.o?20:51
Mister_Magister14.120:52
Mister_Magisterlook above please20:52
Mister_Magister[22:21] <Keij0> 5.1 of the custom rom, not the android version20:52
steeeveYes, but if he builds 14.1 with 12.1 well... some flags are changed20:53
steeeve14.1 hybris i mean20:53
steeeveAnyway that tree doesnt contain anything about media20:54
steeeveSo, again 10:47 PM <steeeve> Keij0: do you have dependency dirs like https://github.com/CyanogenMod/android_device_sony_msm8974-common/tree/cm-12.0 and https://github.com/CyanogenMod/android_device_sony_shinano-common/tree/cm-12.0 ?20:55
Mister_Magisterboth hybris and android base whole is 14.120:55
Mister_Magisterdont overthink please :)20:55
Keij0if lineage14.1 built and it works then20:55
Mister_Magisterits custom rom20:55
Keij0whatever you're doing20:55
Keij0cr-5.1 is only custom rom version20:55
steeeveKeij0: do you have those dirs in the hybris tree?20:55
Mister_Magisterit can be whatever-5020:56
steeeve14.1 or 12.1 doesnt matter20:56
Mister_Magistersteeeve: i have to ping him on telegram to make him answer xD20:56
steeeveLol20:56
Keij0what dirs wtf20:57
steeeveDevice/sony/msm8974-common and device/sony/shinano-common20:58
Keij0If that wasn't there20:58
Keij0hal wouldn't have built20:59
steeeveProbably, but i was too lazy to check :D20:59
steeeveYou can always copy that header in framework dir and change the #include <...> in the .c file to #include "..". If it complains, then i dont have idea on wtf is going of, but if it doesnt, there's something wrong in your flags21:01
steeeveProbably the 2nd one21:02
Keij0probably too much shit to change for it to be effective21:09
Keij0and after that another header will pop up21:09
Keij0I suppose21:09
steeeveObviusly it's just to test the include, not to fix the error21:10
steeeveI mean, it fixes that error but creates another one21:10
steeeveOr you can do this:21:12
steeeveYou can make libOmxCore21:12
Keij0unknown target21:13
steeeveIf you get errors saying that package is not present, it means that youre missing media flags.21:13
steeeve^21:13
Keij0well shit21:13
Keij0what then21:13
steeeveDo the same on your android repo21:14
Keij0what repo? I don't understand21:14
steeeveThe repo where you built lineageos21:14
steeeveIf it builds probably you cloned wrong branches. Go in hybris tree, and in your device repos run git status, to make sure you have 14.1 branches. If you get same error, well, it's impossible because you'd get the same missing header error as during droidmedia build :P21:17
Keij0It's cloned using the same manifest21:17
Keij0so21:17
steeeveYour device repos21:18
steeeveShinano-common msm8974-common and the other one21:18
steeeveProbably you have some 12.1 stuff :P21:19
Keij0http://paste.opensuse.org/3568710021:20
Keij0if this is21:20
Keij012.121:20
Keij0Then21:20
Keij0fuck that port21:20
Keij0cr-5.1 is 14.121:20
Keij0[100% 1/1] build /root/android/lineage/out/target/product/sirius/obj/lib/libOmxCore.so.toc21:20
Keij0#### make completed successfully (03:11 (mm:ss)) ####21:20
Keij0explain dis21:20
Keij0in lineage tree21:21
steeeveBut not in hybris tree21:21
steeeveThe cause of .h missing is the same as unknown target when building libOmxCore.so21:21
Keij0so what do you propose?21:22
Keij0that --depth option isn't probably the best thing to be having after all21:22
steeeveI suppose that something is wrong in your repos but i dont know what exactly21:22
Mister_MagisterKeij0: it has nothing to do with that21:22
Mister_MagisterKeij0: re-init and re-sync everything?21:23
Keij0lol no21:23
Keij0maybe I should just clone media21:23
steeeveI think that's already present21:24
Mister_Magistertry21:24
steeeveLook in hardware/qcom/media-caf/msm897421:24
Keij0Why do I need caf21:25
Keij0if I don't have caf lineage21:25
Mister_Magisteryou do?21:25
Keij0oh shit21:25
Keij0that tree got rekt21:25
Mister_Magisterwhat?]21:25
Keij0msm8974/msm8974/directories21:25
Keij0like21:26
Keij0no thanks21:26
steeeveIn manifest,8974 is caf21:26
Keij0where do I media-caf21:27
steeeveAnyway it's present (..name="LineageOS/android_hardware_qcom_media" path="hardware/qcom/media-caf/msm8974" revision..) if you didnt delete it21:28
Keij0K21:28
Keij0Why can't everything run mainline damnit21:28
steeeveBecause caf is caf :D21:28
Keij0caf is the retarded breed21:29
Keij0https://github.com/LineageOS/android_hardware_qcom_media/tree/cm-14.1-caf-897421:29
Keij0Do I clone this or what?21:29
malthe header is also in hardware/qcom/media/msm897421:30
malit should have been in the manifest already21:30
steeevemal: he can't even build libOmxCore21:30
steeevehttps://github.com/CyanogenMod/android_hardware_qcom_media/tree/cm-14.1-caf-8974/mm-core21:30
malI just mentioned that it's also in the non-caf sources21:30
Mister_Magisterhow can you even tell if its caf21:31
steeeveThat soc is rekting me :D21:31
malit shouldn't really matter in this case as those should be there already is all were synced correctly21:32
Mister_Magistersteeeve: me too21:32
mal*if21:32
Keij0That SoC is bullshit unless it's running mainline, but I don't know the state of mainline at this point21:32
malI never even think if some build is caf or not, it doesn't matter when building hybris-hal21:32
Keij0mal: unless the build doesn't work21:33
Mister_Magistermal: i think so too21:33
Mister_Magisteri dont care about it i just build21:33
malwell since I don't know what kind of mess your source tree is it's difficult to say what causes the problem21:33
Mister_Magisterbut keij0 is persistant that he is not using caf21:34
steeeveLol21:34
malKeij0: so you have the whole hybris-14.1 source tree synced? you didn't remove anything? like the snippets21:34
Keij0I had like21:35
Keij0--depth=521:35
malMister_Magister: I don't even care what platform a device is as that doesn't affect building hybris-hal21:35
Mister_Magisteryeah21:36
malonly thing I care about is whether the device is qcom or something else21:36
steeevemal: but it's the same even in non-caf. If he cant build libOmxCore, he cant fix header error because theyre concatenated21:36
steeevehttps://github.com/CyanogenMod/android_hardware_qcom_media/blob/cm-14.1/msm8974/mm-core/Android.mk21:37
malKeij0: so how many copies of the header do you have in hardware folder?21:39
Keij0421:42
Keij0in media21:42
Mister_Magisteri have like 12 or so21:43
steeeveLol, paste output of find hardware -name HEADERNAMETHATIDONTREMEMBER.h21:45
steeeve|grep qcom21:46
Mister_Magistersteeeve: lol got ya back21:46
Mister_Magisterind hardware/ -name OMX_QCOMExtns.h21:46
steeeveHA21:46
Keij0trying to ghettofix it right now21:46
Keij0so21:46
Keij0oh boy21:47
Keij0I ghettofixed it21:47
Keij0https://github.com/LineageOS/android_hardware_qcom_media/tree/cm-14.121:47
Keij0cloned this21:47
Keij0then trashed msm8974 folder21:47
Keij0and cloned this https://github.com/LineageOS/android_hardware_qcom_media/tree/cm-14.1-caf-897421:47
Keij0into it21:47
Keij0Wondering if that'll work21:47
steeeve😴21:50
Keij0I just cloned shit so it looked like the right structure21:50
Keij0wait I could just copy that stuff from the working tree21:51
Keij0hmm21:51
steeeveJust try removing the if s21:51
malKeij0: the repos should be in manifest https://github.com/mer-hybris/android/blob/hybris-14.1/snippets/cm.xml#L9221:53
malKeij0: each of those media-caf paths contains the header21:56
steeeveOne oddy thing that you could try would be to copy this folder https://github.com/CyanogenMod/android_hardware_qcom_media/tree/cm-14.1/msm8974/mm-core/omxcore in your device tree, make sure it's included in device tree's Android.mk and make that libOmxCore lib21:58
steeeveIf that libs build then, try to build droidmedia21:59
steeeveIf droidmedia builds, find a better fix :D22:00
Mister_Magistersteeeve: resync :P22:00
steeeve^22:00
steeeveThere's obviusly something wrong in his setup ._.22:01
Mister_Magistersteeeve: yeah even sync was failing22:01
Mister_Magisterit couldnt get refs that existed22:01
steeeveAh, good22:01
Mister_Magistergood?22:02
steeeve(Ironically)22:02
Mister_Magisterkk :P22:02
Mister_Magistersteeeve: we are friends as Verdanditeam so we work together :P22:03
steeeveWut22:03
Mister_Magisteryeap22:03
Mister_Magisterme and Keij022:03
Keij0But this PC22:04
steeeveAh22:04
Keij0Is only running Gentoo22:04
Keij0sorry22:04
steeeveMine is, too22:04
Mister_Magister^he has osx and windows in vm,22:04
Mister_Magister"only"22:04
Keij0efistub is goals22:04
Keij0Mister_Magister: trashed them long ago22:04
Mister_Magisteryour pc is starting up one second faster oh boi22:04
steeeveHackintosh is better22:04
Keij0well, windows got trashed yesterday after it burnt my fucking pendrive22:05
steeeveYrots das22:05
Keij0and not doing hackintosh since Clover is crapware that refuses to boot this machine so guess it's gentoo-exclusive22:05
Mister_Magisterwell i have opensuse with ubuntu chroot (from sfossdk) and windows 10 in kvm with passthrough gpu :P22:05
Keij0and boy, efistub is goals22:06
steeeveWindows 7 is better, i hate 1022:06
Mister_Magisterwindows 7 cant into passthrough22:06
Mister_Magisterbut i agree22:06
steeeveWindows 10 used to take 5 minutes to boot in my pc22:06
Mister_Magisteri dont even remember windows installed on my pc anymore22:07
Mister_Magisterit wasnt on this pc ever22:07
Keij0last time I used Windows 10 was when TH2 builds got released22:07
Keij0and it was only getting worse since then22:07
Mister_Magisterim still registered in insiders program as i forgot to opt out xD22:07
steeeveWindows is useful, i have some software and games that need it22:08
Keij0right now it has a fucking driver storage that injects WHQL drivers even when you tell the OS not to do anything22:08
Mister_Magisterand now im just too lazy to find passwords22:08
Mister_Magisterand go through awfully web design to opt out22:08
Mister_Magistersteeeve: yeah i dont use it22:08
Mister_Magisternow i have it in vm with passedthrough gpu just to game on linux22:08
steeeveI cant play fortnite on gentoo22:09
steeeveEven if i have a perfect primus setup22:09
Mister_Magisterpassthrough gpu is the key22:09
steeeveCreating partition costs 0, and a cracked windows 7 also costs 0, so, why shouldnt i keep it?22:10
Mister_Magistercause passthrough is better22:10
Mister_Magisterit doenst force you to reboot pc22:10
Keij0I need to get a second GPU and looking glass, that stuff is good22:10
steeeveNo!22:10
Keij0Also22:10
Mister_MagisterKeij0: you dont need looking glass22:10
Keij0https://www.youtube.com/watch?v=W1mVpuFQYO822:11
Keij0Mister_Magister: If I want framerates....22:11
Mister_Magistersecond monitor22:11
Mister_Magisterand22:11
Keij0...and not slideshows22:11
Mister_MagisterHOW IS YOUR DROIDMEDIA GOING22:11
Keij0buy me a second monitor and a GPU22:11
Keij0then we'll talk22:11
Mister_Magisternvidia gpu is on video22:12
Mister_Magisternvidia gpu is best for gaming on linux but worst for opensource22:12
steeeveAnyway the only game i could run on linux has been cuphead22:12
Keij0DROIDMEDIA_VERSION=$(git --git-dir external/droidmedia/.git describe --tags | sed \22:12
Keij0-r "s/\-/\+/g")22:12
Keij0what is this supposed to do22:12
Keij0fatal: No names found, cannot describe anything.22:13
Mister_Magisterget version22:13
Keij0because it doesn't do22:13
Mister_Magisterit wont work if you have depth thingy22:13
Mister_Magistergit clone droidmedia manually22:13
Mister_Magisteryou need full history22:13
steeeveYou cant build droidmedia if you havent even build libs22:13
Keij0I built them22:13
Keij0with my ghettofixâ„¢22:13
steeeveAhh22:14
Keij0cp: cannot stat `out/target/product/*/system/lib/libminisf.so': No such file or directory22:17
Keij0the22:17
Keij0hell22:18
Mister_Magisterdid you built it?22:18
Mister_Magistertold you to add libminisf22:18
Keij0well apparently my dumbfuck brain didn't remember that22:18
Mister_Magisterto the line with droidmedia and stuff22:18
Mister_Magisteradd libminisf22:18
Keij0minisfservice target should enforce that22:21
Keij0but whatever22:21
Keij0Building of droidmedia-localbuild finished successfully22:22
Keij0now what22:22
Mister_Magisterfollow hadk?22:22
Mister_Magistermal: do you remember by a chance how to fix ServiceManager: Waiting for service media.camera...?22:57
Mister_Magisterit was somewhere in logs22:57

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