libera/#maemo-leste/ Sunday, 2023-10-08

siceloWizzup: we are now able to set sphone to stick to landscape on N900 (and VM, for example). https://github.com/maemo-leste/sphone/commit/e4f6af0d4d744f189ea0382846a6c1d9789c112e14:49
siceloso we need to have a default sphone.ini on N900 that has LandscapeCalls=True. I can't tell if leste-config-n900 requires just the specific bits we want to change, or it would be better to provide the full sphone.ini file?14:50
Wizzupgreat, hm16:01
arno11Wizzup: sicelo: i just sent you an email with transitions ini stuff16:36
Wizzupty16:44
uvos__sicelo: Wizzup: while i merged the sphone pr and think its fine as a user preferance, please please just fix omapddx to not advertise rotation on n900, or make rotation fail instead of crashing or fix hildon-desktop/home to use xvidinfo when xrandr is not available (this would fix the issue that h-d dosent work with the randr extension disabled), instead of conintueing to try and work around the real issue.20:48
uvos__makeing sphone not ask for portait fixes nothing, any application could still ask for portrait and make the n900 crash20:49
uvos__atm having sphone.ini channged by leste-config is also impossible, as sphone uses only the fiiles /usr/share/sphone.ini (which its package owns) and ~/.config/sphone/*.ini (which are ofc outside the acceptable range of paths for package files)20:51
uvos__a pr adding /usr/share/sphone/sphone.ini.d/*.ini and /etc equivalents would be welcome, and this is something i will do myself at some point otherwise anyhow20:52
siceloi'm open to a working way to fix it in xorg. the previously suggested method didn't work21:01
sicelothankfully there are, as yet, no other applications in leste that request portrait21:01
uvos__as mentioned the previously suggested method uncovers another bug in hildon - it presumes randr is availbe instead of getting the resolution from core x11 or xvidinfo when its not21:02
uvos__there are multiple ways to attack this problem, but i strongly suggest looking at sphone is barking up the wrong tree21:03
sicelook. i trust we'll get to that stage eventually. in the meantime, at least what we have now takes us closer to having calls working ootb for one more device21:05
uvos__well you can do what you want, and i will accept the additional sphone pr you would need to make it work, but i think it a bad idea, even as a temporary hack21:07
uvos__the function that collects the config files is here: https://github.com/maemo-leste/sphone/blob/e4f6af0d4d744f189ea0382846a6c1d9789c112e/src/utils/sphone-conf.c#L362 the stuff loading the override files in the directory i probubly should be split into its own function21:13
uvos__that could then be called multiple times for various directories21:13
uvos__to allow leste-config to override defaults in sphone.ini21:13
maxwelldwhy on n900 memory is an issue today? hildon desktop didn't change much, does that mean that underlying debian with just x11 running eat much more memory than back then?21:51
maxwellddid the minimal memory usage increase noticably or the problem is not just debian + hilden, the problem is modern firefox or somehhing else that runs over the standard setup?21:52
maxwellddid the minimal memory usage increase noticably or the problem is not just debian + hildon, the problem is modern firefox or somehhing else that runs over the standard setup?21:53
uvos__well all the low level stuff (like kernel, the init system, udev, basic libs etc) got a bit more ram hungy this isent really much or a prolem, we use less ram than freemantle at boot after all (mostly due to missing features but still).22:39
uvos__but running anything modern - modern gui toolkits use way more ram (mostly due to the ability to perform scaling and increased usage of gl acceleration)22:40
uvos__and then browsers uses way more ram, because web standarts they implement have grown immensly in scope, and then the websites themselves are absurldly bloated using these new standarts22:41
uvos__so yeah its totaly out of our controll, and will only get worse. Our stuff is tiny and efficant but even it will grow, without us haveing any ability to do anything about it, when we inevitably have to move more stuff away from gtk2 to gtk3+ or qt5+22:43
uvos__the n900 can still be used for some stuff, but its usefull life as a general purpose smartphone is simply over22:44
uvos__also imo even when the n900 was released 256mb ram was just bearly enough to do what it wanted to with the os it had.22:46

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