libera/#maemo-leste/ Friday, 2024-01-05

Wizzupsicelo: uvos: when you mean gpu hang, do you mean device reset, or?00:06
uvosWizzup: no its the never returing ioctl thing - or at least the symptoms are the same00:35
uvosthe device fails to render any new frames, the last frame is displayed forever but the kernel is alive enough to never trigger a wdr00:36
Wizzupuvos: I see02:19
Wizzupto be honest I'm quite happy with how this is working out wrt tp02:55
WizzupI think if we can implement some history fetching for some of the more important protocols, we're quite far then02:56
freemangordonWizzup: yes, your messages from web client (or another leste device) are reported as scrollback messages to tp07:50
freemangordonwhat is the issue with password field?07:51
freemangordonif it is either password or api token, just enter it there07:51
freemangordonarno11: did you manage to fix you fb plugin issues?09:27
freemangordonWizzup: hmm, sometimes sent messages got lost09:43
freemangordonlike, I type something on the kbd, press send and nothing happens, besides that message field is cleared09:45
freemangordonif I kill conversations, it starts to work09:47
Wizzupfreemangordon: it's not either api_token or password, they are seperate things for the plugin11:06
Wizzupfreemangordon: I have never gotten a message that I have sent myself delivered, not as scrollback or otherwise, but I don't do fb11:06
arno11freemangordon: no, i still have issues with FB plugin: purple-FB is perfectly working through pidgin but not through tp-haze/conversations (from a fresh install, i tried twice, with devel upgrade and FB plugin from extras testing)11:06
arno11maybe that's something due to my account, i don't know, otherwise everything is fine (even with overclock :P, btw my n900 is stable @1GHz with Fremantle and works @1.1GHz)11:09
Wizzupdoes it not log into the account, or do messages not get reported?11:10
arno11it refuses to log in fact11:10
arno11and when i start presence-ui from command line it show 'network error')11:11
arno11what i don't understand is why it works in pidgin with exactly the same settings and same network11:16
freemangordonarno11: hmm, weird11:21
freemangordonwill ping you later on to check what haze is doing11:21
arno11ok11:21
freemangordonWizzup: maybe I didn't explain it properly - it is not about messages from other channels, but IM message (person-to-person)12:09
WizzupI understand12:10
Wizzupso on xmpp with gabble you won't get these currently12:10
Wizzupwe'd need the xep 0313 MAM support for this I believe12:10
freemangordonagain, it is not about any history12:12
freemangordonI just type a message, press 'Send" and nothinbg :)12:12
Wizzupwhat if you're offline on the phone at that moment?12:12
freemangordonI am not12:12
Wizzupso there are two things12:13
Wizzupif a protocol supports real time sending your sent messages, handle them well12:13
freemangordonbut even if I am, I should be given at least error message or something12:13
Wizzupand then there is the more general case12:13
Wizzupyeah, we don't handle the offline / not in a room case yet12:13
Wizzupwe will12:13
Wizzupbut the more general case is that various protocols can send you message history from channels, like slack, xmpp, etc12:13
freemangordonok, I think I am  just hitting some bug12:13
freemangordonright12:14
Wizzupso that your phone can have the 'full/correct' log12:14
freemangordonright12:14
freemangordongot it12:14
freemangordonbut all this has nothing to do with what I reported ^^^ :)12:15
Wizzupif tp-haze reports your message sent from another device and conversations doesn't log it, that's a bug12:15
Wizzupconversations currently ignores messages marked as delivery reports12:15
Wizzupbut it doesn't look at the scrollback status12:15
freemangordonI know12:15
freemangordonit is not about scrollback or delivery report12:15
freemangordonagain:12:15
freemangordonI press on a IM action in addressbook, conversations open IM channel, I type something, press send, message field gets cleared and that's all12:16
WizzupI see, and if you re-open the window in conversations, is the message there?12:16
freemangordonthe message is neither received on the other side, nor does it appear in the history12:17
freemangordonno, it is not12:17
Wizzupok, so the sending just goes awry12:17
freemangordonyes12:17
freemangordonthat's what I am trying to say all the time :)12:17
freemangordonunfortunately no idea how to repro12:17
freemangordonmaybe if account re-connects ?12:17
WizzupI think the first thing to do is the handle the status of a sent message12:18
Wizzupwe don't track that currently12:18
Wizzupwe just fire and forget12:18
freemangordonok, but when do you add it to history and to scrollback?12:18
Wizzupwhen it is sent successfully12:18
freemangordonhow do you know that?12:18
Wizzuptp lets us know though the channel onMessageSent signal12:19
freemangordonok12:19
Wizzupbut if we want to get specific errors for a msg, we will need to follow it12:19
freemangordonBTW, I suspect once you open a channel and account re-connects, the handle is no longer valid12:19
Wizzupand then we would log messages to the db, set flags that they aren't sent yet, and then update those flags instead of logging a new message in onmessagesent12:19
Wizzupthat is correct, at least for rooms12:19
WizzupI am not sure if this is the same for direct 1:1 messages too12:20
freemangordonit should be the same for IM channels as well12:20
Wizzupoh, wait, I see, yes.12:20
freemangordon;)12:20
Wizzupyes, this is probably it12:20
Wizzupwe'll have to handle the channel invalidation then12:20
freemangordonso you should handle acount status12:20
Wizzupbecause we have a channel 'cache', so we don't make double channels12:21
freemangordonyes12:21
freemangordonI don;t think that's needed12:21
WizzupI think we just handle channel invalidation, not check onOnline or something12:21
freemangordonat least haze does that for you12:21
Wizzupno, this can definitely happen12:21
freemangordonfor group chats that is12:21
Wizzupeven if it is the same channel, we would connect() the qt signal twice12:21
Wizzupresulting in double messages :)12:21
freemangordonah12:21
freemangordonanyway, have to run, ttyl12:21
Wizzupttyl12:24
rafael2kHappy 2024 everybody!13:20
rafael2kThe maemo is running on the PPP here for 2 week without reboot. At least the kernel from Mobian is very stable.13:20
Wizzupright, but the display/hildon-desktop still needs to be figured out, right?13:21
Wizzupalso, happy new year13:21
rafael2kyeap13:24
Wizzupwe're making lots of progress I think :)13:24
rafael2kanyone with time, lemme know, I too a look in the code, but I feel I'll spend much more time than any of you13:24
WizzupI think fmg is the best candidate to take a look13:25
WizzupI don't know too much about h-d13:25
rafael2kI have a feeling there could be some issue at panfrost too. I hope not13:26
Wizzupcould be, but let's exclude that for now13:26
Wizzuprotation is likely not 3d related13:26
rafael2kright13:42
rafael2kand the lock screen is perfectly working, no lags, correct aspect and so on13:43
freemangordonrafael2k: how can I copnnect?14:53
freemangordon*connect14:54
arno11freemangordon: i got logs fron tp-haze and issue seems related to recent changes with my ISP !14:56
freemangordonugh14:56
freemangordonbut why it affects haze only?14:56
arno11because it seems to be related to tricky stuff with ipv614:57
freemangordonso, can we do anything to fix that?14:58
arno11and pidgin seems to have patch for that issue14:58
freemangordonahaaa14:58
arno11not at the moment14:58
arno11and this issue seems to affect FB and google mainly14:58
arno11so anyway14:59
freemangordonwtym 'pidgin has a patch", isn't it the same plugin?14:59
arno11same plugin yes, but i mean pidgin itself14:59
freemangordonok, but pidgin is just an UI, it is the plugin that does all the job14:59
arno11apparently not all the job iiuc15:00
freemangordonah, maybe the fix is in libpurple15:00
arno11ah yes probably15:00
freemangordon but... they use the same libpurple15:00
arno11i'll have a 'deeper' look and let you know15:00
freemangordonok, LMK if you find some details15:01
freemangordonok15:01
freemangordonI wonder shall we do PR for our changes to upstream15:01
rafael2khey16:20
rafael2kI'll write to you in pvt16:20
freemangordonrafael2k: so, does that run some kind of zaphod head or?17:27
freemangordonwhy do we have 2 crtcs connected to the output?17:28
freemangordonWizzup: so the issue with ppp is that we h-d cannot identify the primary crtc17:28
rafael2kno, just one output17:28
rafael2kI mean, not that I know, but it is just the stock phone connected to the pp keyboard17:29
freemangordonok, but xrandr reports 2 crtcs connected, 63 and 6417:29
rafael2kDP-1 disconnected primary (normal left inverted right x axis y axis)17:29
rafael2kthis one right ^17:30
freemangordonyes17:30
freemangordonand root window is reported to be on that output :D17:30
freemangordonthat's a mess17:30
rafael2kI have a feeling this is for connecting an external monitor17:30
rafael2kuff17:30
freemangordonrafael2k: this https://github.com/maemo-leste/hildon-desktop/blob/master/src/util/hd-util.c#L278C7-L278C1517:31
freemangordonreceives DP-1 as output17:31
freemangordonlemme check xorg.log17:32
rafael2klets try to  XRRSetOutputPrimary to force the correct one?17:34
rafael2klemme test17:34
freemangordonwait a second17:34
rafael2kok17:35
freemangordonthe fuck? where is xorg log file?17:35
dsc_/home/user/.local/share/xorg/Xorg.0.log17:37
freemangordonok, I can't find Xorg log file17:38
freemangordonthanks17:38
dsc_maybe, idk17:38
freemangordonah17:38
rafael2k /var/log/Xorg.0.log17:40
freemangordonno, dsc_ is right17:40
rafael2kgood to know17:40
freemangordonkeep in mind we run xorg as user17:40
rafael2k: )17:40
rafael2khummm, that was myself then17:40
freemangordonyeah, that's new to me as well :)17:40
dsc_(found via lsof :P)17:40
freemangordondoes nto matter17:41
rafael2kinteresting17:41
rafael2kfreemangordon: https://gist.github.com/oranenj/365844617:41
rafael2kdoes this make sense to have ^17:41
rafael2kcheck if display is connected, then set it as primary17:42
rafael2k(the first connected, I mean)17:42
freemangordonno, because we might want to have multiple connected tisplays17:42
freemangordonthe issue here is that someone reports that xorg root window is on disconncted output17:42
freemangordonwhat image is that? PP?17:43
rafael2kyes17:43
rafael2kPP one17:43
freemangordonhmm, I was thinking there is xorg.conf file for it17:43
freemangordonobviously not17:43
freemangordon to me this is a bug in modesetting17:46
freemangordonI wonder if we can fix that with .conf wile17:46
freemangordonrafael2k: no idea what to do17:50
freemangordonlike, to me this is a bug in modesetting (perhaps)17:50
freemangordonalso, kernel driver lacks connector type property17:50
freemangordonwithout knowing which screen to rotate...17:51
freemangordonh-d simply assumes it is in landscape17:52
freemangordonand it is not that simple to just hardcode something17:52
freemangordonbecause that affects touchscreen as well17:53
freemangordonugh17:58
freemangordondp-1 is primary17:58
freemangordonso, how could root window be on the disconnected output is beyond my understanding18:00
freemangordonuvos: ^^^ any cluie18:00
freemangordon*clue18:00
freemangordonrafael2k: does it look better now?18:03
freemangordonrafael2k: ok, I am disconnecting, I think as a workaround you may want to put:18:13
rafael2klemme check18:13
freemangordonxrandr --output DSI-1 --primary18:13
freemangordonin .xinitrc or some other script18:13
freemangordonuntil the issue is fixed18:13
rafael2kyay18:14
rafael2kperfect now18:14
rafael2k: )18:14
freemangordonyeah, but will be broken on reboot18:14
freemangordonI am not sure how to fix that18:14
rafael2kat least you found the root cause!18:14
freemangordonyeah18:14
rafael2kthat is already big advancement18:14
freemangordonwe shall find someone that knows xrandr better than me to see if this is normal behaviour18:16
freemangordon(primary output to be disconnected)18:16
freemangordonand root to be reported to live there18:16
rafael2kyeap, but at least we can workaround this issue until properly fixed18:19
rafael2ktouch and screen works pretty nice and fast, no artifacts or anything I can see!18:20
freemangordon:)18:23
rafael2kmuch fast than PP 1!18:28
freemangordonwell, pp1 is ok in portrait18:32
rafael2kno problem with PP1 indeed18:34
rafael2kcomparing PPP with maemo now, and plasma or mobian... maemo is so much faster and "snapier¨18:35
rafael2k: )18:35
freemangordonwhich makes sense, given how light it is18:35
freemangordonand optimized for low-end devices18:35
rafael2kbtw, and if one has indeed an external DP connected19:16
rafael2kshouldn't we default the root display to the device one anyway?19:17
Wizzupare both displays 'connected'19:55
Wizzupeven the external one?19:56
Wizzupfreemangordon: dsc_: looks like my local_uid calc was wrong, I've just commit a fix to master20:22
Wizzupin conversations20:22
Wizzupso we'll probably want to clean the db20:23
Wizzuprecreate*20:23
Wizzup(it's only in -devel so no harm done)20:23
rafael2kno, just the DSI display device shows as connected20:59
Wizzupthen h-d shouldn't pick it, weird that it would be primary though21:59
Wizzupfreemangordon: rtcom-accounts-ui won't expand my jabber account when clicked on from status menu -> accounts22:50
freemangordonWizzup: the issue is that display type is not reported23:32
freemangordonand we look for "Panel" do determine which is the built-in one23:32
freemangordonWizzup:  is that account enabled?23:33

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