libera/#maemo-leste/ Sunday, 2024-05-26

inkyWizzup: yes, if you start the docking version, it forces the window to be smaller, so that all the fields in the window are visible.01:48
inkyWizzup: the most important thing is that nothing prevents us from adding functionality to type in _any_ window by using maemo keyboard. there's this function i mentioned several times, which is used in coolkbd, and svkbd, which adds the letter to the current layout.01:50
inkyi would try to integrate it myself, but was discouraged.01:51
inkyso today i need coolkbd, yes. i can type in any field. and it doesn't open a separate window to type, it just types in any input field, like it is on any other mobile linux.01:51
inkypinephone is convenient to use with web in portrait mode, but all the programs, including browsers from regular devuan repos only work in default mode, which is landscape. all the browsers from maemo repos except qtwebbrowser also turn the screen to landscape mode. only qtwebbrowser is able to work in portrait mode. of course lagrange gemini browser i packaged is also not able to switch to portrait mode.02:50
unic0rnfound a 32gb sd, no reader though. solution: installing it backwards, boot at the end, first adb push, adb root, dd08:29
unic0rnnot sure what's slower, writes to sd or xz decompression on d408:29
unic0rnsidenote, does d4 have some preapplied screen protector, or is it the actual guerilla glass that's not reaching the frame?08:35
unic0rnit had some plastic protector that didn't look good, I've peeled that one off, but it looks like there's an additional glass as well08:36
unic0rnsomething's wrong with dd in busybox, at least in the cyanogen I have. tens of kB/s cannot be called "speed". on the other hand, turns out cat img >mmc0 takes less than 5min11:32
arno11Wizzup: i'll have time this afternoon to have a look @emulators: pcsx is almost ready, few things are wrong in /debian but it should build fine11:50
arno11picodrive as well11:50
arno11drnoksnes is a bit more tricky: it works well only in 16bpp mode (hard coded stuff) and needs additional libs not available in Leste repos but easy to build anyway11:53
arno11UI is still broken btw but games run with no problem @full speed + sound11:55
arno11picodrive and pcsx use gtk generic UI atm so we don't need old tricky maemo5 deps12:00
arno11pico and pcsx already work fine from a local .deb build12:04
arno11*made from N900 btw :P12:04
arno11bbl12:05
Wizzuparno11: ok let me know if/how I can help12:18
inkyhow does our gtk program feel that screen has been rotated?12:46
inkyto handle it somehow. and have a rotated screen.12:46
inkysome programs are forcing maemo to the default mode. i wonder how can i feel it in my program, maybe, and how do i do something to not force maemo to landscape mode.12:47
unic0rnjudging by how smooth the animations are, hardware acceleration works. I've installed kitty term though, and it's throwing libGL error: failed to load driver: omapdrm12:47
unic0rnit works anyways12:47
inkyunic0rn: i think i missed it, you use d4?12:54
unic0rninky: yes, and I'm having way too much fun https://i.imgur.com/HGJmrdv.jpeg12:55
inkyyeah, i can imagine, and i am glad you have.13:02
inkytwo of my friends were inspired, got d4, and don't use it at all. :/13:02
inkyi use it every day. i am trying to use pinephone with maemo these couple of days too.13:02
unic0rnhttps://i.imgur.com/LMzQnVk.png boot logo. couldn't resist.13:07
unic0rnas for kitty, throws a GLX failed to create context error as a user, and doesn't work13:09
unic0rnworks as root, with the libGL error from above13:09
inkyhaha, this is cool.13:13
inkyi never understood what i want to change the boot logo to, so i never changed. (:13:13
unic0rnI'm starting to think I am missing something. under xterm, htop shows little cpu usage, but when I'll launch htop under kitty, cpu goes brrr13:13
unic0rnthat shouldn't happen I think13:14
unic0rnok, time for a break before further testing. as for people not using such thing while having it, I'm not sure.13:30
unic0rnI had this phone for years, a friend gave it to me before moving to Japan, but I didn't really need it / specs weren't as good as current phones at the time, and android is bloated13:31
unic0rnbut when I found leste, I had to give it a try, because I remember using pIII and p4 2 decades ago13:32
unic0rnwith slackware and suse 10.0 as desktops13:32
unic0rnthis phone is faster than those machines were, has more ram, so it definitely CAN be useful. it's just a matter of software not being a modern "I'll eat 100MB of ram while running 50 threads doing nothing" solution13:33
unic0rnI have an android phone for games, heck, it's much faster than this chromebook or even the old iMac I'm using13:34
unic0rnbut I won't ssh using touch keyboard, I'm not suicidal13:35
Wizzupunic0rn: we only do gles not gl, but it is possible to use some library to provide basic gl13:45
Wizzupis kitty does gles then that might work13:45
Wizzupif kitty13:45
Wizzupinky: mce detects rotation and hildon-desktop acts on it13:46
Wizzupif applications indicate they want portait or suppor both, hildon-desktop will rotate13:46
Wizzupif nothing is indicated, the current default is landscape only, which we might chagne in the future to auto13:46
Wizzupon the keyboard, you could make a package that users can optionally install to get coolkbd13:47
Wizzupbut our aim is to make 'proper' integrated solution13:47
Wizzuparno11: sounds good local deb build btw13:47
Wizzupfyi, building mz617, mz617 tiny bootstrap, xt910 and xt912 images in jenkins now14:14
arno11Wizzup: currently adding missing libs in my repo for pcsx. atm i just need your help to create an empty pcsx_rearmed repos in -extras :P15:16
arno11then i'll be ready to make a PR and then need you to review it15:17
Wizzupok16:20
Wizzuparno11: https://github.com/maemo-leste-extras/pcsx_rearmed16:26
WizzupI added 'arno11' on github16:27
arno11Wizzup: i'm blocked with 3 bloody submodules...17:08
arno11bbl (kids time)17:15
unic0rnobservations so far: there's an error in the welcome to leste message (ssh is not disabled for root by default), and - I'm still diagnosing it - d4 seems to lose 1 cpu core at some point, likely after connecting via usb to a laptop for charging17:21
unic0rnI also wonder how does encryption factor into everything. that is, is it possible to have leste encrypted17:25
unic0rnasking because I didn't have time to analyze the whole init process yet, I only learned the hard way (by doing a silly thing - creating a user with a different name and renaming user's home folder) that some things are way more hardcoded than in regular desktop distros17:28
d4dscmade the messages in conv. a bit more compact, for better reading17:31
unic0rnaaaand the second cpu core came back without reboot...17:33
unic0rnalso, the maemo-org-based theme is PRETTY17:34
unic0rnI wanted to connect usb to see if the cpu core will disappear in that second. I wasn't fast enough, it vanished on its own17:38
unic0rnhttps://i.imgur.com/BLbl61G.png17:38
unic0rnit's getting powered down?17:38
unic0rnit's connected to screen turning off17:40
unic0rnthe moment I press any key on d4 and the screen comes back, the second core comes back as well17:40
unic0rnI was using ssh so I didn't notice earlier17:40
Wizzup17:33 < unic0rn> aaaand the second cpu core came back without reboot...18:36
WizzupThe second core is disabled when the scree nis off18:37
Wizzupthis saves power18:37
unic0rnyeah, noticed18:40
unic0rnnow I have an actual issue, one of the themes crashes hildon and the phone reboots18:42
unic0rnwill have to remove it from rescue18:42
Wizzupwhat theme is this?18:42
WizzupI have never had this, so I am wondering if something else is going on18:42
unic0rnokuda18:43
Wizzuphm...18:43
unic0rnit was fine until reboot18:43
unic0rnbut the install info mentioned to reboot after install, so there's that18:44
Wizzupso when you reboot, what happens exactly18:44
unic0rnit goes as usual, then when hildon is supposed to launch, black screen, notification led lights up, then power down18:45
unic0rnjust did apt remove, will see after reboot18:46
unic0rnit's not some fancy install either, regular sdcard boot by the book18:47
Wizzupyou did the /etc/expandcard.sh thing?18:49
unic0rnyeah18:50
unic0rnsame thing18:51
unic0rnled lights up for between 5 and 10s, then power down, or it looks like power down18:52
unic0rntrying again but connected for charging, if nothing will change, rescue mode and checking the logs18:53
WizzupI haven't personally experienced this so I'm curious what it will turn out to be18:57
unic0rnwhere is the current theme setting stored and what happens when it doesn't exist?19:05
Wizzupif it doesn't exist you get a very ugly desktop but it should work19:06
unic0rnzramswap19:25
unic0rnwhat in the..19:26
Wizzupit is hard for others to know what you're trying to say exactly :)19:26
unic0rnit booted to desktop this time. I've opened the keyboard - black screen, led, dead19:26
Wizzuplow battery?19:26
Wizzupit sounds like it powers off due to lowbat19:27
Wizzupis this with your own custom battery?19:27
unic0rnnope, it's an original one19:27
unic0rnas for zramswap, it booted to desktop when I've commented out it's settings19:29
Wizzupbbiab19:29
unic0rnbecause as I understand it, zramswap should work out of the box, but it throws an error on default compression. I've changed it, activated it manually and it was fine. then after reboot it started. now, maybe it's all due to the batt19:30
unic0rnbut now it's powered up and charging and it shows 38%19:30
unic0rnmaybe it's a matter of calibration, no idea19:31
inkySo it it not possible to add a radio station to media player withou hardware keyboard, i. e. not possible at all if u have no hwkbd.19:48
inkyDoesnt work even with coolkbd because the input fields are in overlayed? Window19:48
inkyEh.19:48
gnarfacepossible to edit the config file directly?19:49
inkyI think/guess there is a db, not a conf file, in maemo everything is a db.20:14
uvosWizzup: please do move sphone to stable20:17
uvosjust dont move the config file in leste-config to stable20:17
uvosinky: by chainging trasitions.ini you can make hildon rotate every application20:18
uvosthis is imo generally mutch nicer20:18
freemangordonWizzup: hi!20:23
Wizzuphi20:23
Wizzupgimme 15 mins20:23
freemangordonI think addressbook dial shall be fixed before moving devel->stable20:23
freemangordonsur20:23
freemangordone20:23
Wizzupdid that ever work?20:55
uvosyes20:58
uvosand it still works for me20:58
uvosso tp broke it20:58
uvosthis makes sense since iirc abook tries to find a tp ring account first20:59
uvosthen if that fails it tries to summon tel:// via xdg-open20:59
uvosthe latter path works fine20:59
Wizzupabook tries to find a tp ring account?21:00
uvosthe former i gues not21:00
WizzupI think abook just tries to use dbus to open a channel no?21:00
uvosWizzup: theres some tp code there i dont remember what it dose exacly21:00
uvospoint is it uses xdg-open in absence21:00
uvosof top21:00
uvos*tp21:00
inkyUvos, oh, ty.21:01
inkyI'll try to find the file21:01
uvos /etc/hilldon-desktop/transtion.ini iirc21:01
uvosor maybe /usr/share/hildon-desktop21:02
uvosWizzup: anyhow this issue wont affect sable21:02
inkyAnd how the app understands that it should be rotated? And tells maemo that it can be rotated?21:02
inkyIn hildon i guess some function?21:02
uvosinky: there is a xatom the app can set21:02
uvosthis logic is dumb since standart xorg has window size and window aspect ratio limits21:03
inkyWhat is that?21:03
uvosthat hildon should respect instead21:03
uvossince those are set by all apps21:03
Wizzupuvos: yes, I know it doesn't effect stable currently, I already pushed through leste-config with tp-ring dep21:03
WizzupI got enough from devel to stable in any case to make xt91? images21:03
uvosWizzup: well i mean if you update sphone in stable21:03
uvosthe issue will remain gohn as long as stable dosent get the leste-config sphone config file21:04
uvosthat flipps it from ofono to vcm21:04
uvosany you avoid installing ring on stable too ofc21:04
uvosinky: an xatom is just number in the protocoll that you can assign as a proparty in various places21:04
uvosin this case the app asigns this xatom to its window21:05
uvoswhch then every other x11 client can see21:05
uvosincl hildon-desktop which decides if it allows rotation based on that21:05
Wizzupuvos: I suspect all we need to do is to tell osso-abook/dbus what program to talk to21:06
Wizzupand then the rest will just work21:06
Wizzupbut I will look at that a bit later21:07
Wizzupsignal time=1716750422.302246 sender=:1.39 -> destination=(null destination) serial=851 path=/org/freedesktop/Telepathy/ChannelDispatcher/Request4; interface=org.freedesktop.Telepathy.ChannelRequest; member=Failed string "org.freedesktop.Telepathy.Error.NotImplemented" string "Not implemented"21:09
Wizzupeither vcm doesn't do it, or it doesn't report wanting to do it21:09
uvosWizzup: sure, just dont promote it to stable while its broken :P21:09
WizzupI'm pretty sure it should21:09
Wizzupuvos: yes :)21:09
freemangordonWizzup: abook just try to open TP channel if ther is ring account21:31
freemangordonWizzup: https://github.com/maemo-leste/osso-abook/blob/master/lib/osso-abook-contact-field.c#L476121:31
freemangordonand https://github.com/maemo-leste/osso-abook/blob/master/lib/osso-abook-contact-field.c#L478221:32
freemangordonWizzup: who registers ofono as call handler?21:34
freemangordons/ofono/sphone21:34
Wizzupfreemangordon: wait a second21:35
WizzupI added a voicecall.client file21:36
Wizzupnow I get 'internal error' dialog and in dbus it says not implement still21:36
Wizzupvoicecall being the dbus name of voicecall manager of course21:36
freemangordonhmm, see https://github.com/maemo-leste-upstream-forks/voicecall/blob/master/plugins/providers/telepathy/src/telepathyproviderplugin.cpp#L7421:36
Wizzup  string "No such interface 'org.freedesktop.Telepathy.Client.Interface.Requests' at object path '/org/freedesktop/Telepathy/Client/voicecall'"21:36
freemangordonwho loads TelepathyProviderPlugin ?21:37
Wizzuphm, good point21:39
WizzupI think vcm21:39
freemangordonis it running?21:39
Wizzupof course21:39
Wizzup# mdbus2 | grep voicecall21:40
Wizzuporg.freedesktop.Telepathy.Client.voicecall21:40
Wizzuporg.nemomobile.voicecall21:40
Wizzuphm, I don't see it handlnig handlechannels21:41
Wizzupin dbus I mean21:41
WizzupI do see: org.freedesktop.Telepathy.Client.Handler.HandledChannels21:42
WizzupHandleD21:42
WizzupI will have to manually run vociecall manager21:44
freemangordonthat's what I do, no cluse so far though21:44
freemangordon*clue21:44
Wizzupok21:49
WizzupI will let you take a look for a bit21:49
Wizzupunrelated but mem usage is really much better now of conversations21:49
freemangordonWizzup: can't find anything related to call handler registration21:56
freemangordonno idea how's that supposed to work21:56
freemangordonwill stop for now, I just came home from a long trip :)21:57
WizzuphandleChannels should be called and that's it22:01
WizzupI'll check voicecall manager flags and such22:01
Wizzupfreemangordon: a few other things that I think are important/relevant:23:05
Wizzupwe should see if we can make hildon-desktop / libmatchbox2 play nice with the qtvirtualkeyboard, so that the window is just on top of another, like dialogs are in a way23:05
Wizzupand secondly I think we should probably just make the default to auto rotate applications even if the x atom is not set23:05

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