libera/#maemo-leste/ Sunday, 2021-06-27

stanwould you be interested in SDL1.2 and SDL2 modified to use the OK+ mapped keys in maemo-leste? (e.g. 'ESC') key?07:53
staneither SDL gets modified to use the remapped keys, or every game needs a leste version modified for N900 and Droid407:54
Wizzupmarex: hi! that would definitely be appreciated09:15
Wizzup(I might be out parts of today, and Ivo ( freemangordon ) is gone for 2-3 more days, though09:16
Wizzupstan: if you have patches for the maemo keymappings, you can submit the patch09:16
stani see sdl's sym->unicode gets our mapped keys but sym->sym does not09:18
stani'll try to find some relevant discussion in sdl mailing lists or issues09:20
stanother devices probably face similar issues09:20
stanthe 5-level brightness applet should map to 4-7 without dynamic brightness09:48
stanor 3-7 rather09:49
stanhow are you using your droid4's at all right now?  it's either too dark or full-on bright.10:38
lelclort81 opened an issue: https://github.com/maemo-leste/bugtracker/issues/549 (Getting SDL apps to recognize mapped keys (particularly Esc))10:51
stan<Wizzup> parazyd has taken surf, which uses webkit-gtk3 << nicely minimal and pinch to zoom works, but Xorg sits at 88% cpu on idle page13:24
parazydstan: It's possible that is happening because of opengl14:32
stanidk. i just see a lot of modern software redrawing when it doesn't need to.  that's a common culprit of the modern 'cycles are free' attitude14:35
parazydYup14:36
parazydAll mainstream web browsers/engines are like this14:36
stanbut i doubt the commercial phone browsers do it14:39
bencohsurprisingly enough, I found firefox to give better results once you disable prefetch and a few other similar options14:41
bencoh(oh and, I use it with ublock origin as well)14:41
parazydYes it seems faster14:42
bencohthis might sounds like pure heresy for maemo, but maybe we should add some configurable per-app SIGSTOP facility for unfocused app in hildon-desktop14:44
bencoh-s14:44
stansomeone wrote this and it is great14:44
parazydhttps://github.com/maemo-leste-extras/sigstoped14:44
stansigstoped14:44
bencohoh, really?14:44
bencohthat's great14:45
bencohI just tried it, and it really seems awesome14:53
stanit could be a useful addition to some desktop environments, with a little gui.  few know about it, or even the ability to SIGSTOP14:55
bencohI'd even suggest installing it by default with maemo and let the user decide whether to enable it / populate the blacklist15:00
stani'm having to force backlight on in a permanent while loop in bash17:37
stanthis was not a good state to leave backlight control in17:37
bencohbacklight control is a bit funky at times here as well, yeah17:47
bencohI think it depends on whether the sensor faces the light source or not17:48
stani should complain about my own poor results though.  i'm reducing wasted cycles in a game that could run nicely on droid417:54
stanbut this trivial 2x scaled blit from one surface to another is not working17:54
stanbencoh: do you have a way to disable the charging notifications?18:51
stani *RUN* the device on USB power18:51
uvossigstoped has a gui: qsigstoped19:05
stannice19:06
lelclort81 opened a pull request: https://github.com/maemo-leste/status-area-applet-battery/pull/6 (Removed battery full and disconnect charger popup notifications.)19:46
parazydwat19:47
Danct12wat indeed19:49
Danct12i guess someone was really annoyed by the notifications19:49
uvoslol20:20
Wizzupit's probably as a workaround for the d4 charge/discharge notifications20:25
parazydYeah20:26
uvosthis is silly, but we should maybe conisder an option to hide all notifications, like android's do-not-disturb20:26
stanI'm testing it now.  It works.20:29
stanThese notifications are redundant to the green charging light.20:30
stanBlocking useful/wanted notifications in order to stop being interrupted by redundant ones does not seem optimal to me.20:31
uvosleste is not droid4OS so they are usefull regardless of the light20:31
Danct12charging led doesn't seem to work on the n900 though, so that notification is very important20:32
uvoscharging led should work on n90020:32
uvosleds generally work20:32
parazyduvos: Is there a way to get firefox-esr in portrait mode?20:32
uvosparazyd: yes20:32
Danct12well sometimes there's this flickering red led thing20:32
parazydDo tell :)20:32
Danct12maybe something's wrong with my n900 setup20:33
uvosparazyd: really i thought you only wanted confirmation :P20:33
parazydoh20:33
Danct12(i checked, charging led works perfectly fine on fremantle)20:33
uvosDanct12: is should work fine on leste too20:33
parazydIt doesn't on Pinephone20:33
uvosparazyd: you broke it :P20:33
parazyd(portrait ff)20:33
uvosoh20:33
uvosright20:34
uvosDanct12: it worked for me when i reimplemented the led for n90020:34
uvosso idk20:34
uvosill try to check at some point20:34
uvos(my n900 is perpetully empty)20:34
Danct12uvos it looks like it *does* work as i see the red led flickers20:34
uvosok20:34
uvosparazyd:  /usr/share/hildon-desktop/transitions.ini20:34
uvosforcerotation = 120:34
uvosor add firefox to whitelist =20:35
uvosid reccoment  forcerotation = 1 it makes everything nicer20:35
parazydThanks20:35
uvos(except breaking tklock but i dont use that)20:35
uvosalso tklock mostly works, it just looks a bit wrong if you rotate with it open20:36
parazydYeah20:37
uvossince latest mce you can avoid tklock if you want btw20:38
Wizzupuvos: maybe we can make the d4 report another state than charging, like full21:03
Wizzupwe do the same on the n90021:03
uvosit dose report full21:03
uvosjust that it dosent last21:03
parazydYeah it enters a fast loop21:03
uvoskernel wise21:03
uvosi guess the n900 driver reports full untill its below 90% again or something like that21:04
uvosor it dosent use the battery while on usb21:04
uvoscpcap cant do that (or rather it can but we are concerned about running it in a register state android dosent)21:04
parazydWhat about charging thresholds?21:04
parazydPerhaps in userspace we could let it drain a bit before charging again21:05
Wizzupthat still means it will happen every now and then, not ideal21:05
parazydTrue21:05
Wizzupwe want it to still keep the battery charged but not report charging/discharging from kernel21:05
uvosthat would mean the kernel has to lie21:05
uvoswhich it really should not21:05
Wizzupok21:06
Wizzupsorry, back later, dinner, will read backlog21:06
uvoswe could make the battery status applet report on charging/not charging based on if usb power is connected21:06
uvosi think this is how android works too21:06
uvosand is also how charging-mode now works21:07
parazydThis sounds like it should keep some state in userspace?21:11
parazydLike remembering if USB is disconnected or not?21:11
uvosso charging mode just shows charging if power supply has a type of USB or AC eg  /sys/class/power_supply/usb/type and /sys/class/power_supply/usb/online of this device is 121:13
uvosthis works in all cases21:13
uvosbut has the downside that charging-mode will show charging, 100% instead of "full"21:13
parazydYeah21:14
parazydThat's just aesthetics though21:14
siceloDanct12: you're getting red led with Leste? At least in Fremantle, red led means something is not right22:17
Danct12yep, red led blinking without breathe effect22:18
Danct12but nonetheless, it still says it's charging and it does charge to 100 just fine22:18
siceloOh, you probably mean amber/orange?22:20
sicelo:-)22:20
Danct12it's red, not amber22:24
siceloWeird22:25
siceloI guess I've lost touch with Leste :-p22:35
siceloYou say it charges with amber in Fremantle?22:35
bencohnormal charge in fremantle is blinking "yellow"22:37
bencohdo you refer to that one by "amber", or to another color?22:37
siceloI'll say yes (else the ladies will say men are color blind)22:50
standpkg-shlibdeps: error: no dependency information found for /usr/lib/libSDL-1.2.so.0 (used by debian/drnoksnes/usr/games/drnoksnes)23:15
stanldd debian/drnoksnes/usr/games/drnoksnes |grep libSDL23:16
stan libSDL-1.2.so.0 => /usr/lib/arm-linux-gnueabihf/libSDL-1.2.so.0 (0xb6cf1000)23:16
stanwhy does dpkg-shlibdeps think libSDL-1.2.so.0 should be in /usr/lib and not in the correct place23:18
stangrep -r doesn't show any textstring pointing to the wrong place23:18
stanahh no it's in the wrong place23:20
stanpk dpkg-buildpackage succeeds now23:24
stanbut it segfaults whereas the previous build did not23:56

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