Tuesday, 2023-05-30

*** amccarthy is now known as Guest171602:51
*** amccarthy_ is now known as amccarthy02:51
*** amccarthy is now known as Guest172806:03
*** amccarthy_ is now known as amccarthy06:03
T42<adampigg> Any way to tell connman to tether on a specific device? Eg this device has ap0 specifically for tethering07:50
T42<adampigg> With wlan0, it sets up the network, but no clients can see it07:51
T42<abranson> No, I don't think so. We'd disabled that on the xperias because it couldn't.15:06
mal@adampigg check if you can do something like this https://github.com/mer-hybris/hybris-patches/blob/hybris-sony-aosp-11/device/sony/seine/0001-hybris-WCNSS-Disable-gEnableConcurrentSTA.patch of course different vendors can have different ways15:20
T42<adampigg> @abranson mal: i almost got it to work, the connman wmt tethering plugin does the right thing to set up the device, conman then tries to use wlan1, so i disabled that. Connman then tried to use ap0, though, clients could see it, but kept failing to connect, saying the pssword was wrong15:55
T42<abranson> @adampigg I think connman needs modification to first of all always use a specified interface for tethering, then the rest needs to know that it doesn't need to turn wlan off to enable wifi tethering. that's the point of it I think.16:47
T42<abranson> i think the ui is also maybe setting the pwd on the wrong interface in your case too maybe16:48
T42<adampigg> @abranson ah, that would make sense18:27
T42<adampigg> right now its choosing wlan0 and not ap0 anyway!18:27
T42<abranson> I think on the xperia it chose a random one each time, but there was a build setting to disable the second one18:33
T42<abranson> https://github.com/mer-hybris/droid-src-sony/pull/9/files18:36
T42<b100dian> Still on my video decoding errors: just after Format changed from codec includes "int32_t color-format = 2130708361" i have "DroidMediaBufferQueue: Client wasn't able to handle a received frame." and other errors20:14
T42<b100dian> logcat https://pastebin.ubuntu.com/p/ZtpxQxrZ3V/20:14
T42<b100dian> The GST_DEBUG=5 contains this "The HAL codec format 0x7f000789 is unrecognized"   which looks like hitting https://github.com/sailfishos/gst-droid/blob/master/gst/droidcodec/gstdroidvdec.c#L828 being hit with OMX_COLOR_FormatAndroidOpaque20:15
T42<b100dian> GST_DEBUG=5 jolla-gallery  https://paste.ubuntu.com/p/VZ8DYt4pc8/20:15
T42<b100dian> The OMX_COLOR_FormatAndroidOpaque seems to be there all this time?, but the video only plays the first seconds20:16
maldo the first seconds look ok?20:19
T42<b100dian> Yes, color-wise and everything20:19
T42<b100dian> Previously I thought that the videos were playing OK within the browser, what happens is that they get the same error just many more seconds later. Also, waydroid doesn't have this, so it could be "fixable" from droidmedia/gstdroid..20:23
mal@b100dian you are using 4.5.0? which version of droidmedia do you have20:35
T42<b100dian> Yes, 4.5.0 and 0.20220929.020:36
malquite odd errors in gst_debug20:42
mal@b100dian which device is that?20:46
T42<b100dian> mal: asus sake, hybris 18.121:21
T42<Mister_Magister> now the question is21:21
T42<Mister_Magister> is it fish or alcohol21:21
T42<b100dian> the other asus is vodka so..21:22
T42<Mister_Magister> oh then 100% alcohol21:22
T42<b100dian> mal: what errors in the GST_DEBUG do you think are worth for me to dig into?21:23
T42<b100dian> @Mister_Magister true story https://github.com/search?q=repo%3ALineageOS%2Fandroid_kernel_asus_sm8350%20vodka&type=code21:26
T42<Mister_Magister> yee cool21:26
mal@b100dian those "Dropping frame due to QoS" which match those "DroidMediaBufferQueue: Client wasn't able to handle a received frame" in logcat22:07
malnot sure what could be slowness22:07
mal*be causing the slowness22:07
T42<Mister_Magister> processing frames by clinet22:13
T42<Mister_Magister> processing frames by client (edited)22:13
T42<Mister_Magister> or dropping them22:13
T42<Mister_Magister> perhaps?22:13
T42<b100dian> The device does not seem to get sluggish, the results are exact every time.22:33
T42<b100dian> How can I GST_DEBUG the sailfish-browser? I kikled all boosters and stil it ignores me22:34
T42<b100dian> I've added an abort to that gst-droid error and jolla,gallery crashes instantly, no frames played22:35
T42<b100dian> Browser plays happily for like 15 seconds and errora out, doesn't crash22:36
T42<b100dian> *errors22:36
T42<b100dian> Same sfos3 video22:36
T42<Mister_Magister> i should buy the sake22:37
T42<b100dian> Yes please:)22:42
T42<b100dian> or the vodka, to have the full bar experience, I think it's Zenfone 8 Flip22:44
T42<Mister_Magister> vodka would be better for my polish roots but i like japan more than pooland22:44
T42<b100dian> The flip has larger. everything, sdcard, but no jack or FM, but also no f*cking whole in the screen22:46
T42<b100dian> *hole22:46
T42<Mister_Magister> sdcard is rarity in these times22:46
T42<Mister_Magister> but 3.5 TRRS or i don't buy it22:47
T42<Mister_Magister> i've been living with a dent in the screen for past 5 years (re @b100dian: The flip has larger....)22:47
T42<b100dian> https://irc.thaodan.de/.imgstore/c95499ab/file_5013.jpg22:50
T42<b100dian> Dont know if picture comes in : https://irc.thaodan.de/.imgstore/c95499ab/file_5013.jpg22:51
mal@b100dian browser doesn't use gstreamer23:02
malit does use droidmedia via other way23:02
T42<b100dian> oh, that surely explains the differences in behavior, thank you23:02
T42<Mister_Magister> mal i should start doing the same23:03
T42<b100dian> GECKO_CAMERA_DEBUG=1 then ;)23:03
maldo you see the same messages in logcat when using browser23:04
T42<b100dian> mal: it's other erros, like "dequeueBuffer: createGraphicBuffer failed" and "A buffer we don't know about is being finished"23:08
T42<b100dian> logcat https://pastebin.ubuntu.com/p/ctkSbb49Ws/23:08
Mister_Magistermal: do you think its that phones don't necessarily support the old camera api fully?23:09
T42<b100dian> /command@SailfishFreenodeIRCBridgeBot23:10
T42<b100dian> sorry hovered something in tg desktop and clicked23:11
T42<Mister_Magister> banned23:12
T42<b100dian> your trrs will forever ctia23:12
T42<Mister_Magister> ctia?23:13
malMister_Magister: some might have issue with old one, not sure23:17
mal@b100dian hmm, need to check how those errors happen23:18
T42<b100dian> Search ctia vs omtp to for the trrs reference, not all sleeves were equal23:19
T42<Mister_Magister> it's jut ground and mic swapped?23:21
T42<b100dian> mal: if you have an idea where to add logs to droidmedia or even gst-droid please ping me whenever23:21
T42<Mister_Magister> thats dumb23:21
T42<b100dian> Yeah, but when that happened, people hated it. Mostly nokia headsets with apple vs the other way around. Now everything is more or less as apple23:23
T42<Mister_Magister> everything is OMTP now i guess23:24
T42<b100dian> no, CTIA23:28
T42<Mister_Magister> no i'm pretty sure it's OMTP23:30
T42<Mister_Magister> it's GND, MIC, RIGHT, LEFT23:31
mal@b100dian about your nfc issue, do you have nfcd-mce-plugin installed on your device?23:33
T42<b100dian> yes, I saw the github message, let me check23:33
T42<b100dian> nope. let me try to install it23:34
T42<b100dian> seems that on reboot, with screen on, after installing nfcd-mce-plugin, all is fine. Here is the list of packages https://pastebin.ubuntu.com/p/xKvxDkM2X2/ @adampigg23:42
T42<b100dian> gtg, almost 3am here23:45
malmaybe try with unmodified ncfd and nfcd-binder-plugin also23:53
maland of course that nfcd-mce-plugin23:53

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