libera/#maemo-leste/ Thursday, 2021-06-24

Daanct12One thing i realized is that Leste uses less ram than stock Maemo04:42
stani just discovered droid4 can playback 960x540 h265 if encoded with -tune fastdecode06:16
stanat least with some material, low bitrate, far superior quality and filesize to h264.  cpu has been 70-80% with mplayer06:17
stanthis might not be true for all source material: higher framerates than 30fps and high > 1mbit/s bitrates are not likely achievable06:19
stanhowever anyone transcoding for droid4 may be advised to try shooting for h265 with -fastdecode06:20
mighty17[m]Isn't video decoding done by the 2 Cortex M3s in Droid4?06:45
freemangordonDaanct12: not really, we don;t have contacts and conversations07:38
freemangordonphone application too07:38
Danct12freemangordon i see, so these essential stuffs uses more ram09:12
parazydI'd still expect the N900 to be fine once we have all that.09:17
parazydAlso now we have zram, which also helps.09:17
parazydfreemangordon: btw, if you know someone who needs to practice their English: https://hosted.weblate.org/translate/maemo-leste/osso-tutorial-l10n/bg/09:19
parazyd:p09:19
Danct12i'm waiting! been using my N900 as hexchat system for few weeks now09:56
parazyd:)09:59
Wizzupfreemangordon: ok, I am reday whenever10:49
Wizzupfreemangordon: ah, until tuesday next week, ok10:50
Wizzupenjoy10:50
WizzupDanct12: one reason it uses a bit less ram is maybe because we have a few less apps running still (phone/sms ui is always running on fremantle)10:51
bencohwe could probably reduce memory impact by using a native app here (vs the browser-based Conversation)10:56
Wizzupyup11:16
pereI just tested maemo leste on my n900 just now.  it was upgraded a while back, but now it fail to find any wifi networks.21:00
Wizzuppere: dpkg -l | grep supplicant, what versions does it show?21:04
pereno idea where to find | on the keyboard.  clues?21:06
Wizzupraise the special virtual keyboard, perhaps21:07
perelooked to the output from dpkg -l, and I see 2:2.7+git20190128+0c1e29f-6+ (and something I can not see)21:08
pereiwconfig show no wifi capable network card.21:09
Wizzupdid you reboot after the upgrade?21:09
pereyes21:12
pereit is a while since the upgrade, but I have not looked at the status until today, when I notice there is no network.21:12
peremessed up kernel?21:13
Wizzupif iwconfig does not show a capable network card, it sounds like a kernel problem21:13
perewlan0 no wireless extension...21:16
uvosiwconfig just fails often these days21:16
Wizzupproblem persists after reboot?21:16
uvoson my laptop it claims that i have no wifi too21:17
perebooted twice so far.21:17
uvosits just unmaintained and obsolete21:17
uvoswhat dose iw say21:17
Wizzupdoes '/sbin/ifconfig -a' show anything related to wlan021:17
pereno iw, the reason I tested iwconfig.21:17
pereWizzup: yes, wlan show up with a mac address.21:18
uvosthen likely iwconfig is just lieing21:19
pereany ideas for a solution to the missing network?21:20
LangoorI just keep having issues with my N900 not booting... It's stuck on a black screen, and when i unlock it with the button (not slider) I see half a lockscreen :s21:21
LangoorI tried 2 SD cards and all builds that are online... I just DD'd the image21:21
uvoslovely to see everything is working fine21:22
uvospere: try wpa_cli21:22
uvosand see if it can scann21:22
uvosalso just leave the device alone for 10 minutes21:22
uvosthere is some bug with wifi scanning21:22
uvosit sometimes fails to scann21:23
uvosbut will upon the next autoscann interval21:23
Wizzuppere: yes, knowing the wpa supplicant version and the libicd-network-wpasupplicant versions is key21:25
WizzupLangoor: does usbnet work on that device?21:25
pere"wpa_cli scan" just return OK21:29
Wizzupdon't run it like that, run wpa_cli, then from interactive prompt type "scan", wait a bit, and then type "scan_results"21:32
pereget an scan failed event with ret=-2221:33
pereand the scan_results seem to only list header names.21:33
LangoorWizzup: uhh.. I'm not sure!21:34
Langoorhow do I check?21:34
Langoorshould it just expose an usb network interface?21:34
WizzupLangoor: if you connect it over usb to a linux pc, you might see a usb interface show up21:35
Wizzuppere: hm, that is strange, can you check if apt/dpkg is happy with the system state?21:35
perejust checked dpkg, and it claim something was interrupted.  completed the run now.21:36
perewill try a reboot again.21:37
Wizzup*nod*21:37
Langoorit indeed has an usb network interface21:40
Wizzupok, perhaps you could help us by inspecting it via terminal, if you feel up for it21:40
Wizzuphttps://leste.maemo.org/Status/USB_Peripheral21:40
WizzupI have a work meeting in a bit, but if ssh works over the usb link, maybe we can pry inside the device and see why it's so unhappy21:41
LangoorAight thanks! I added the IP, and changed the interface to the corrosponding one on my pc21:43
Langoorssh is giving me a connection refused21:43
Wizzupthat means that it's likely stuck in the boot process, which i sperhaps not such a surprise given your bug report21:43
WizzupI assume you typed this: ssh root@192.168.42.221:43
LangoorAye21:44
Wizzupwell, we could make ssh start earlier, but that will require mounting the sd card21:44
Wizzupparazyd: should we just always start ssh much earier?21:44
Wizzups/earier/earlier/21:44
Langoorthe weird thing is that I do get half a lockscreen, which (Seems to me) that something seems to be running21:44
Wizzupyes, it sounds like hildon-desktop is not starting or something21:44
uvosprv and or hildon is failing21:45
Wizzupdid we try to inspect the log files on the sd card before?21:45
Langoornope21:45
Wizzupparazyd: also, should we enable rc_logger ?21:45
Wizzupparazyd: rc_logger="YES" in /etc/rc.conf21:46
LangoorI had the same issue a while ago, and the weird thing was that someone else mentioned the recent builds working fine on their device21:46
WizzupLangoor: ok, I guess the next step is either analyzing the log files on the device, or adding more debug info21:47
Wizzupcan you make a tar of /var/log/ ?21:47
LangoorWhat would be the best way to turn it off now?21:47
Wizzuphold the power button for ~6 seconds21:47
LangoorI have the targz, any specific place to upload it?21:50
Wizzupanything that is convenient for you I guess21:50
Wizzupif it's small you can also email it to me21:50
perelook like it was the dpkg state.  after boot, wifi networks are found.21:51
Wizzuppere: glad to hear that it works now, too bad too hear that the ke-recv thing was the problem21:51
WizzupI did build a newer version of ke-recv to maybe debug the reset problems21:51
Wizzup(which cause dpkg interruptions)21:52
pereI'm upgrading again now from the command line21:52
LangoorOh, e-mail is fine21:52
Wizzupmail to merlijn@wizzup.org please21:53
parazydWizzup: Regarding ssh, we could add it to sysinit, but this is a bit inconvenient as it'll then slow down charge-mode and all.21:53
Wizzupslow down by how much?21:54
parazydWizzup: rc_logger - sure. I'd also start thinking about rc_parallel21:54
WizzupI think we already do parallel, don't we?21:54
parazydWe don't21:54
parazydSlowdown, at least 2 services, possibly more21:54
WizzupI mean in time, if it's not like 5 seconds it's probably worth it for these cases21:55
Wizzupjust my opinion anyway21:55
perewhy not? sysvinit in debian with startpar would run in parallel.21:55
Wizzupwrt parallel, I think it would be good to have, but I don't want it to create more headaches21:55
peresystemd too. :)21:55
parazydWell21:56
parazydTesting it should show real results :)21:56
parazydbiab21:56
Wizzuppere: the point was *less* headaches :P21:56
perewow, 532 packages to upgrade on my n900 now.  been a while since the last time, apparently.21:57
Wizzuppere: oh yeah, maybe you can check if the proper norwegian stuff is in place now21:58
pere"systemd-analyze blame" might provide useful information.  was a similar system for sysvinit, do not remember its name.21:58
Wizzupand if not, we should be prtty close to get there21:58
Wizzuppere: we don't use systemd21:58
Wizzup(you probably already knew, just fyi)21:58
perebenchmarking is simple with systemd.  did bench startpar boots in Debian using bootchart or something like that before systemd, and it provided useful feedback on what took so long to boot. :)21:59
Wizzupyes, that's nice indeed22:09
uvoswhat would be the point of doing ssh in sysinit22:13
uvosas oposed to the start of default22:13
uvosits not like your going to be able to ssh in during charge-mode22:13
Wizzupuvos: for Langoor it would allow him to log before hildon is started22:25
WizzupLangoor: I received the logs22:26
Wizzupuvos: this looks a bit odd:22:28
WizzupMay 29 00:00:46 localhost mce[2603]: Error sending with reply to com.nokia.system_ui.request.powerkeymenu_close: The name com.nokia.system_ui was not provided by any .service files22:28
WizzupMay 29 00:00:47 localhost mce[2603]: Error sending with reply to com.nokia.system_ui.request.tklock_close: The name com.nokia.system_ui was not provided by any .service files22:28
Wizzupit looks like systemui is not starting perhaps22:28
Wizzupoh, it does start after that22:29
Wizzupuvos: can you fix this typo in your mce tree: x11-ctrl: Dsiplay dose not support DPMS22:30
Wizzup'Display does' as opposed to 'Dsiplay dose'22:30
WizzupLangoor: did you have a lock code set in fremantle, or not?22:31
Wizzupuvos: also for example if we have ssh, we can type 'rc-status'22:33
LangoorIt's the first boot22:33
WizzupLangoor: right, but the lock codes are not stored on the sd card but somewhere in the hardware22:34
LangoorAh right22:34
LangoorNo, don't think i had22:34
Wizzup(we should deal with those gracefully now, btw, but just checking)22:34
LangoorFremantle is broken actually, I have booted Leste before on it sucessfully22:34
Wizzuphmmm22:35
Wizzupcan you edit /etc/rc.conf on the sd card and set rc_logger="YES" (instead of #rc_logger="NO")22:35
Wizzupand perhaps 'mv /etc/runlevel/default/ssh /etc/runlevel/sysvinit' (this is a guess, I haven't tried, but basically move the symlink to another runlevel)22:36
LangoorYes! let me try that22:37
Wizzupgreat, I need to go outside for a bit. I might not be back for ~1.5 hours, but I'll be around after that, and/or tomorrow22:38
WizzupLangoor: neither of those will make the system automatically work, but they aid in debuggen22:38
Wizzupdebugging* even22:38
Wizzuprc_logger will create /var/log/rc.log and having ssh start earlier can help with logging in over usbnet22:39
* Wizzup afk22:39
LangoorI don't have an /etc/rc.conf22:39
Wizzupok, in that case just added the rc_logger="YES" line22:41
LangoorMy bad, I do have it. I made the changes and am now rebooting the phone :)22:42
Wizzupbtw, you said fremantle was broken, can you describe how it is broken?22:44
* Wizzup afk22:45
Langoorssh is working now!22:48
Langoorbooting the internal eMMC results in a lot of mmc1(part 0) is current device, invalid partition 3 (/4/2), file not found uImage, FIle not found boot.src22:52
LangoorI don't actually know what happend to fremantle. I didn't install uboot on this device22:52
siceloif it wants uImage, then u-boot is installed (or flashed) :)22:54
siceloif you want to try your fremantle (i'm not saying you must, or mustn't), you could start with just flashing or loading the maemo kernel using flasher-3.5 or 0xFFFF. there's stock kernel and power kernel ... possibly stock kernel would be better option (assuming its modules still exist in your fs ...)23:00
LangoorI mean, I could give it a try!23:00
Langoorhow uh, would one go about that? I have 0xFFFF installed23:03
parazydWizzup: We could try utilizing some of our initscripts to make ssh start sooner in the default runlevel.23:23
parazydSee https://www.funtoo.org/Openrc for depends() keywords23:28

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