Wizzup | ok | 00:07 |
---|---|---|
Wizzup | arno11: didn't we verify that even 'sw' wasn't enough, or? | 12:28 |
Wizzup | I think booting a new image with verbose logging/serial might help, otherwise we can add some potential hack | 12:29 |
arno11 | Wizzup: i've just doublechecked on Debian.org (and ubuntu official doc) and sw seems necessary to enable swap (but not to create the partition) | 12:33 |
arno11 | i tried to add sw on my config and it works (to activate swap) | 12:34 |
arno11 | but we need to try from a fresh install... | 12:34 |
Wizzup | so we need to dd, mount the sd card, add sw, then do first boot | 12:39 |
Wizzup | technically the one time mount could make a difference, but maybe we want to rule that out for now | 12:39 |
arno11 | To be 100% sure (and avoiding bias) i think we should make a new N900image (with sw in postinst script), then dd and doing first boot | 12:44 |
Wizzup | that will be the next step I think | 12:45 |
arno11 | i already tried this: completely remove swap (swapoff and fstab cleared) then reboot, then add a new fstab line without sw and...it works. So the problem is really during install/first boot | 12:48 |
arno11 | but if you want to try the first step, i have a sd card ready for this | 12:51 |
arno11 | i just need the process to add sw before the first boot | 12:52 |
Wizzup | yes, that seems like a good step imo | 12:53 |
arno11 | ok :) | 12:54 |
arno11 | * dd new image | 12:57 |
arno11 | image ok and mounted on my desktop machine | 13:05 |
arno11 | postinstall script modified | 13:11 |
arno11 | i'll try to boot and see :) | 13:11 |
arno11 | booting | 13:14 |
arno11 | swap not activated | 13:22 |
arno11 | i'll check fstab | 13:22 |
arno11 | ah the script didn't work | 13:26 |
Wizzup | what script? | 13:27 |
Wizzup | oh | 13:27 |
Wizzup | I see | 13:27 |
Wizzup | uh | 13:27 |
arno11 | postinst | 13:27 |
Wizzup | the postinstall won't do anything on boot | 13:27 |
Wizzup | that should run in the image | 13:27 |
Wizzup | wait, so the swap line isn't in etc/fstab when you dd the image? | 13:27 |
arno11 | exactly | 13:28 |
Wizzup | ooooooooooooooooooooooo | 13:28 |
Wizzup | can you add the line before first boot, either with 'sw' or 'defaults (or default I don't remember) and sahre if it works then? | 13:28 |
arno11 | you mean in fstab ? | 13:29 |
Wizzup | yes | 13:30 |
arno11 | ok (just to be sure), let's go | 13:30 |
Wizzup | make sure you use tabs of whatever fstab wants | 13:32 |
Wizzup | (so that it can parse the line) | 13:32 |
arno11 | yep | 13:34 |
dsc_ | fstab is not a makefile :D | 13:34 |
dsc_ | dont think the tabs matter hehe | 13:34 |
arno11 | fstab edited, booting on the device | 13:41 |
Wizzup | dsc_: it does very much actually :) | 13:44 |
dsc_ | hmm | 13:44 |
arno11 | it works :) and make a HUUUUGE difference on first boot | 13:47 |
arno11 | /dev/mmcblk1p3 swap swap sw 0 0 | 13:49 |
Wizzup | great, so somehow arm-sdk overwrites the etc/fstab or the postinst doesn't work well | 13:50 |
Wizzup | in any case we can work around this easily | 13:50 |
freemangordon | does parazyd still support it? | 13:51 |
Wizzup | I support it | 13:51 |
freemangordon | ok | 13:51 |
Wizzup | arno11: ty | 13:51 |
arno11 | no probs | 13:51 |
arno11 | ah and IMO we must modify swappiness a bit | 13:52 |
arno11 | 30 is good and works well (with not too much things moved in swap and enough ram available) | 13:54 |
arno11 | 60 by default is too much, specially if the sd card is a bit low | 13:55 |
freemangordon | arno11: with swap on emmc, sdcard speed should not matter :) | 13:57 |
arno11 | pfff lol indeed | 13:57 |
freemangordon | and yes, I am using 30 on fremantle for the last 10 years or so | 13:59 |
freemangordon | so this should be the default, at least on n900 | 13:59 |
arno11 | yes | 13:59 |
freemangordon | ttyl | 14:00 |
mdz | can anyone help me with 2G internet not working on N900? | 14:03 |
mdz | also i am having trouble with phone app not really working, I understand that all of this is still in alpha but on the wiki its listed as working | 14:05 |
arno11 | mdz: hi | 14:06 |
arno11 | you need to upgrade to devel first | 14:07 |
arno11 | and phone is working 'manually' | 14:07 |
arno11 | not out of the box | 14:07 |
mdz | wdym by manually? | 14:08 |
arno11 | you need to edit pulse/daemon.conf and run manually cmtspeech to be able to use phone functionalities | 14:08 |
arno11 | anyway it is better to wait a bit to try it | 14:08 |
mdz | also any ideas on the cellular int not working? | 14:09 |
arno11 | you mean 2G data or? | 14:09 |
Wizzup | mdz: is there 2g in your area? just checking | 14:09 |
mdz | weird thing is that its trying to connect but fails to recive dhcp settings | 14:10 |
mdz | yeah 2G data | 14:10 |
Wizzup | so you are on the network, but gprs doesn't work | 14:10 |
Wizzup | ok | 14:10 |
arno11 | ah | 14:10 |
Wizzup | I *think* sicelo fixed this, and yes the fix should be in the -devel repos | 14:10 |
arno11 | you probably need to activate roaming | 14:10 |
arno11 | i mean data roaming | 14:11 |
mdz | also still have the Maemo 5 working and thats able to connect to 2.5G net | 14:11 |
arno11 | ok let me check something | 14:11 |
mdz | so dunno whats up withmthat | 14:11 |
mdz | but thanks for the devel repos advice will upgrade to that | 14:12 |
Wizzup | I think the iproute2 change + libicd-network-ofono pull request from recent days fixes this | 14:13 |
arno11 | sometimes it is not enough | 14:13 |
Wizzup | or maybe that was absense of gw | 14:13 |
arno11 | depending of the operator | 14:14 |
mdz | interesting | 14:14 |
arno11 | mdz: try /usr/share/ofono/scripts/set-roaming-allowed | 14:15 |
mdz | and also, i am having trouble with the GPS, for some reason it doesnt respond so it may be a hardware problem, cuz it also doesnt work on Ma5 | 14:16 |
mdz | anyone has any idea on how to fix or diagnose the GPS | 14:16 |
Wizzup | it can take a long time to get a gps lock, what do you mean when it does not respond? | 14:18 |
mdz | arno11: seems it worked | 14:20 |
arno11 | cool | 14:20 |
mdz | arno11: recieved an IP but no net access | 14:20 |
arno11 | ah that's normal | 14:20 |
arno11 | you have to upgrade to devel or just wait 1 min | 14:20 |
arno11 | i'm looking for the right command | 14:21 |
arno11 | mdz: try sudo ip route add default dev gprs0 | 14:22 |
Wizzup | right this is the default gw thing | 14:22 |
mdz | Wizzup: when i run the nokia-n900-gps (idk how its called exactly) the output is no response | 14:23 |
mdz | arno11 | 14:23 |
mdz | whys that normal? | 14:23 |
mdz | u meam operators firewall blocking the traffic or? | 14:23 |
arno11 | nope just Leste related | 14:23 |
Wizzup | mdz: what if you run maep or gpsrecorder? | 14:23 |
mdz | maep tryes to get a lock but nothing | 14:24 |
Wizzup | mdz: it's not 'normal', it's a bug that's fixed in the devel repo, but we didn't push it yet to stable, so until we do, this is 'expected' | 14:24 |
mdz | ookay | 14:24 |
Wizzup | mdz: gpsrecorded can show you if it seems any sattelites at all | 14:24 |
Wizzup | gpsrecorder* | 14:27 |
Wizzup | n900 is old hw, you kind of have to be outside or near a window to get a lock in say 30mins or so without agps | 14:27 |
mdz | thanks Wizzup: agps? | 14:35 |
Wizzup | something we don't support atm :) | 14:37 |
Wizzup | but once you get a lock, it should be a bit quicker to get it next time, if you're in the same area | 14:37 |
mdz | okay, anyways will upgrade to devel and ill reachout after | 14:50 |
mdz | thanks | 14:51 |
sicelo | gps should be 12 mins :-) | 14:56 |
arno11 | Wizzup: so what's the next step for swap stuff ? :P | 15:03 |
Wizzup | probably just updating the image-builder with a custom fstab file | 15:03 |
Wizzup | and then remove the postinst stuff | 15:03 |
Wizzup | or keep the postinst stuff anyway, for upgrades | 15:03 |
arno11 | ok | 15:05 |
arno11 | it will help new users a lot | 15:05 |
arno11 | (last img's are really unusable ootb) | 15:06 |
Wizzup | so also replace defaults with sw ? | 15:10 |
arno11 | yes i think | 15:13 |
arno11 | /dev/mmcblk1p3 swap swap sw 0 0 | 15:13 |
Wizzup | so I think I see what is happening | 15:16 |
Wizzup | arm-sdk will copy generic files to the n900 board, overriding the postinst in the vm | 15:16 |
Wizzup | https://github.com/maemo-leste/arm-sdk/blob/master/lib/helpers#L96 | 15:17 |
Wizzup | this will replace the fstab that we made | 15:17 |
Wizzup | and this runs after everything is run, postinst and all | 15:17 |
arno11 | ah | 15:17 |
Wizzup | and there is extra/generic-root/etc/fstab | 15:18 |
Wizzup | so we can make extra/nokia-n900/etc/fstab | 15:18 |
Wizzup | that will work around the problem | 15:18 |
arno11 | ok cool | 15:18 |
Wizzup | arno11: making the change now | 15:25 |
arno11 | Wizzup: if you change things for a new image, could be useful to add custom daemon.conf to get sip working OOTB (and voice at 90%) | 15:25 |
Wizzup | the daemon.conf we can do through apt I think | 15:25 |
Wizzup | let me make arm-sdk changes first | 15:25 |
arno11 | ok | 15:26 |
Wizzup | building now, #175 | 15:27 |
Wizzup | https://phoenix.maemo.org/view/Images/job/leste-image-n900/175/console | 15:27 |
arno11 | cool | 15:27 |
Wizzup | thanks for being persistent | 15:27 |
arno11 | :) | 15:30 |
arno11 | mdz: if you want to speed up N900 a bit, see: https://leste.maemo.org/Nokia_N900#Tips_.2F_Tweaks | 15:42 |
Wizzup | if 16bpp works well on n900 | 15:44 |
Wizzup | I wonder if it isuseful on d4 too | 15:44 |
arno11 | ah that was a question for me too | 15:44 |
sicelo | but d4 is fast enough already | 15:44 |
arno11 | maybe it can allow d4 to play higher res videos | 15:45 |
freemangordon | Wizzup: yes, it is | 15:45 |
freemangordon | but share the same problems with n900 | 15:46 |
freemangordon | like glimagesink not working | 15:46 |
Wizzup | right | 15:46 |
freemangordon | along with qtqmlwidget not working | 15:46 |
freemangordon | like, unfortunately, we shall forget about 16bpp | 15:46 |
dsc_ | can it also be set to 8bit? | 15:46 |
freemangordon | and find a way to speed-up 24bpp | 15:47 |
freemangordon | dri3 it is | 15:47 |
freemangordon | but I want to finish OMP as much as I can | 15:47 |
freemangordon | first | 15:47 |
Wizzup | freemangordon: so the always on top made it work for our leste programs | 15:48 |
freemangordon | but that's a hack | 15:48 |
arno11 | but it works :P | 15:48 |
freemangordon | but is a hack | 15:48 |
freemangordon | and does not help glimagesink | 15:48 |
freemangordon | see, I want 16bpp sisnce we started the project | 15:49 |
freemangordon | *since | 15:49 |
freemangordon | but we have too many applications not working properly | 15:49 |
freemangordon | also, n900 was way faster with older blobs and omapfb | 15:50 |
arno11 | i think that's a key point | 15:51 |
freemangordon | and at some point I had modesetting/glamor working, but then I hit omapdrm fences bug (whatever it is) and back then I didn;t know what the issue is | 15:51 |
freemangordon | but with ms/glamor it was faster | 15:51 |
freemangordon | not to say I made glamor replacement, that is using PVR blobs directly | 15:52 |
freemangordon | that should be even faster | 15:52 |
freemangordon | OTOH, I am not sure when would be ther right time to get back to it | 15:53 |
freemangordon | given the pile of pending tasks :( | 15:53 |
Wizzup | I think there are a few other things to take care of first year | 15:54 |
freemangordon | mhm | 15:56 |
Wizzup | s/year/yeah/ | 16:00 |
arno11 | Wizzup: what about light transitions ? IMO they are essential in a fresh install ATM. (i mean for calls and to not wait at least 45 sec to open a qt5 app...) | 16:39 |
arno11 | not really user-friendly without that | 16:39 |
Wizzup | arno11: so the transitions cause this 45s startup delay? | 16:55 |
Wizzup | arno11: let's first check if swap works now :) | 16:55 |
arno11 | yes ofc :) | 16:55 |
arno11 | (with light transitions: 45sec ---> 3-10sec) | 16:56 |
Wizzup | weird, how does that work | 16:57 |
arno11 | i think zoom and animations are blocking apps startup | 16:59 |
arno11 | but it is really depending of the sd card type too | 17:00 |
Wizzup | hm, maybe some shader compilation? | 17:01 |
arno11 | with U3, ootb around 12 sec to start qt5 app | 17:01 |
arno11 | and far better with no zoom/animations | 17:03 |
arno11 | once we are ok with swap, i'll dd and boot the same img with all tweaks included to see how it runs ootb | 17:06 |
Wizzup | ok, great, I hope to finally get my leste n900 going again | 17:07 |
Wizzup | I have a few other n900's here, one should work at least | 17:07 |
arno11 | ok | 17:13 |
freemangordon | afaik qml does shaders cache | 17:37 |
freemangordon | but transitions duration should not affect that | 17:37 |
arno11 | that's not transitions duration itself but zoom/animation deactivation that helps imo | 17:45 |
arno11 | from what i see in my device, transitions.ini file is not only affecting qt5 apps but it's slowing down the entire device (like Fremantle with no cssu in fact) | 17:58 |
Wizzup | arno11: the image is built | 19:50 |
arno11 | currently dd it :) | 19:50 |
arno11 | 3 min remaining before first boot | 19:54 |
Wizzup | :) | 19:58 |
arno11 | let's check fstab first | 20:00 |
arno11 | arghhh it seems erased | 20:00 |
Wizzup | wtf | 20:04 |
arno11 | don't know | 20:04 |
Wizzup | ok, I'll just keep trying to fix this until it works, I can build on my machine | 20:05 |
arno11 | ok cool | 20:07 |
arno11 | (i'm trying a first boot with tweaks to see how it works) | 20:07 |
Wizzup | arno11: btw in case this is helpful.. | 20:16 |
Wizzup | sudo losetup loop0 maemo-leste-1.0-armhf-n900-20231124.img | 20:16 |
Wizzup | sudo partprobe /dev/loop0 | 20:16 |
Wizzup | sudo mount /dev/loop0p2 /mnt/extern | 20:16 |
Wizzup | cat /mnt/extern/etc/fstab | 20:16 |
Wizzup | ... | 20:16 |
Wizzup | might save you burning to sd | 20:16 |
Wizzup | and yes indeed it doesn't contain the right data... | 20:17 |
Wizzup | (sudo losetup -D to detatch) | 20:17 |
Wizzup | detach* | 20:17 |
arno11 | ok thx | 20:17 |
arno11 | so i tried to do a first boot with emmc swap, 16bpp and custom transitions | 20:21 |
arno11 | directly usable after 2min loading stuff :) | 20:21 |
arno11 | quite fast | 20:22 |
arno11 | no bugs | 20:22 |
arno11 | i know that's just workarounds/tweaks but from a user perspective, not comparable with stock parameters | 20:25 |
arno11 | brb | 20:26 |
arno11 | back (using the n900, still first boot) | 20:36 |
Wizzup | I'm building an image on my laptop, with the same code, since I think it should work | 20:38 |
arno11 | ok | 20:38 |
Wizzup | hmm.... | 20:38 |
Wizzup | https://phoenix.maemo.org/job/leste-image-n900/175/consoleText | 20:38 |
Wizzup | below | 20:39 |
Wizzup | [35m[00m [01;32m(*)[00m [22;32mcopying generic-root[00m | 20:39 |
Wizzup | I guess skip_arm_device_root was set somehow? | 20:39 |
Wizzup | arg we set it in our config | 20:40 |
Wizzup | for n900 | 20:40 |
Wizzup | ok mystery solved... | 20:40 |
arno11 | ah | 20:40 |
Wizzup | building again | 20:46 |
arno11 | ok | 20:46 |
arno11 | fingers crossed | 20:46 |
Wizzup | this is it I'm pretty sure :) | 20:46 |
arno11 | cool :) | 20:47 |
Wizzup | now let me see if I can get a n900 going again here | 20:47 |
arno11 | yep | 20:47 |
Wizzup | looking forward, the only thing the generic-root copying gives us is an rc.local that generates a ssh-key on boot, a sshd_config and a etc/fstab that gets modified with the boot device | 21:03 |
Wizzup | and zram by default | 21:03 |
Wizzup | imo zram should be a pkg, not in there by default | 21:03 |
Wizzup | the rc.local + ssh key generation I am not sure, doesn't debian generate host keys by default? | 21:04 |
arno11 | no idea | 21:04 |
arno11 | not 100% sure but seems automatically generated | 21:18 |
Wizzup | well yes, currently by our code | 21:21 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!